Commit Graph

60 Commits

Author SHA1 Message Date
VicSevenT
41c9036def
Remove more unnecessary struct_decls (#1006)
Some checks failed
build / build (push) Has been cancelled
2026-03-15 18:33:16 -04:00
Eduardo Quezada
8bcb66b1f2
Convert multiple int heapID to enum HeapID heapID (#879) 2026-01-08 16:36:05 -08:00
VicSevenT
24ed52d82f
Document Poketch Marking Map (Overlay 47) (#797) 2025-10-11 14:02:41 -07:00
scbroede
af1c790766
document gts + networking (#673)
Co-authored-by: ellieplayswow <164806095+ellieplayswow@users.noreply.github.com>
2025-08-23 10:41:11 -07:00
Fexty12573
67ee46c85f Document earthquake script func partially 2025-08-17 11:52:04 +02:00
Eduardo Quezada
e2a3e1303a
Sync Heap functions with pokeheartgold (#584) 2025-07-11 19:03:34 -07:00
Rachel
3f95533254 Rename math -> math_util
This resolves an issue when compiling native utilities with older
versions of Clang (and maybe GCC?) where C++ tools would include this
project header instead of the C standard library's math.h.
2025-04-28 02:03:39 -07:00
Eduardo Quezada
cb256f45b5
Document location data (#472)
* Initial location names + Journal exited buildings

* Map header flags

* Map header battle BG

* Location names

* Weather

* Music IDs

* Format

* IsLeapYear

* Yearly weather
2025-04-13 13:23:49 -07:00
TheSylphIsIn
03684d7360 Great Marsh lookout documentation
Documents:
 - great_marsh_lookout, which handles the scene launched by interacting with the binoculars in the Great Marsh lookout
 - great_marsh_binoculars, which handles the map/mon sprite view part of that scene
 - some incidental stuff I found while working on those, including the func that loads dual slot encounters and some stuff with the SpecialEncounter struct
2025-01-19 16:06:39 -05:00
RavePossum
73de6094f6
Merge pull request #307 from Viperio19/overworld-renaming
Some checks failed
build / build (push) Has been cancelled
Renaming variables and functions related to overworld poison damage and FieldOverworldState
2024-11-22 21:10:15 -05:00
Rachel
0c0edafa26 Identify unk_0201D15C -> math 2024-11-18 20:00:38 -08:00
Viperio19
0dea833d8e Rename variables related to FieldOverworldState 2024-11-18 21:48:58 +01:00
Viperio19
00890c6262 Rename variable and function names from field_overworld_state.c 2024-11-18 20:50:16 +01:00
Rachel
5aa97bc404 Fix format hook 2024-11-03 16:08:01 -08:00
Rachel
7be948e872 Document system_flags.c 2024-11-03 16:08:01 -08:00
Rachel
3e6bf725ac Identify unk_0206A8DC -> system_flags 2024-11-03 16:08:01 -08:00
Rachel
119135dde3 Document location.c, TryLoadingSave, StartNewSave 2024-11-01 11:03:29 -07:00
Rachel
fa194563da Identify extern functions in graphics.h 2024-10-23 16:42:39 -07:00
Rachel
a96c89a124 Identify unk_02006E3C -> graphics 2024-10-23 13:52:26 -07:00
Rachel
97d1986ee1 Collapse NARC struct decl into narc.h, clean up narc.c 2024-10-23 13:48:18 -07:00
Rachel
5f3e1eb7a0 Identify extern functions in palette.h 2024-10-23 13:27:54 -07:00
Rachel
75e11a716f Identify unk_02002F38 -> palette 2024-10-23 13:27:54 -07:00
Rachel
36045f723b Format the source tree 2024-07-06 14:40:34 -07:00
RavePossum
b8b63a7ae0 Rename unk_0203E880 -> script_manager 2024-06-27 23:02:21 -04:00
RavePossum
52da4e9219 Rename function that was named incorrectly, TryGetVarPointer->TryGetVar 2024-06-24 19:02:10 -04:00
RavePossum
5d1b785722 Begin to document ScriptManager, a couple script commands, and scrcmd constgen 2024-06-23 23:42:51 -04:00
Fexty12573
5be7310c57 Note about task priority, renamed 2 functions and files 2024-06-21 18:21:29 +02:00
Fexty12573
3c96d1ab7f PR Feedback: Move struct definitions and fix includes 2024-06-21 18:20:45 +02:00
RavePossum
7a665c426a PR feedback: macro arg countdownVarID, GetVar->GetVarPointer 2024-06-18 00:25:33 -04:00
Rachel
6d682931f0
Merge pull request #219 from Fexty12573/encounter-effect
Document Encounter Effects
2024-06-17 18:57:01 -07:00
RavePossum
b0d0e431ad PR feedback: re/name DecrementTimer and GetVar 2024-06-15 14:51:48 -04:00
Fexty12573
a011156c3e Improved some names 2024-06-12 10:07:12 +02:00
cbt6
1319c90b00 Document vars_flags.c 2024-06-08 11:05:00 +08:00
Adrienn Tindall
d88da37bba FieldEvents -> VarsFlags 2024-06-05 11:06:25 -04:00
Adrienn Tindall
ccaeaa1cd3 field_overworld_state 2024-06-05 07:37:13 -04:00
Adrienn Tindall
10d33c357a Name journal files 2024-06-02 22:07:41 -04:00
Adrienn Tindall
40930d8f58 Begin documenting FieldStatus struct functions 2024-06-02 06:24:08 -04:00
Adrienn Tindall
0e4cdd87b6 Location->unk_08, unk_0C => x, z 2024-06-02 04:47:32 -04:00
Adrienn Tindall
c8650b9da1 Events -> FieldEvents
Just for clarity
2024-06-02 03:09:27 -04:00
Adrienn Tindall
011c9463a6 UnkStruct_020507E4 -> Events
Based on SaveData_Events function
2024-06-02 03:08:42 -04:00
Adrienn Tindall
0adf43c584 Location->unk_00 => mapId 2024-06-02 02:38:18 -04:00
Adrienn Tindall
276897d6c8 fieldSystem->unk_1C => location 2024-06-02 01:40:20 -04:00
Adrienn Tindall
2b17be4805 Every instance of FieldSystem 2024-05-27 17:33:40 -04:00
Adrienn Tindall
35de262ebd UnkStruct_02049FA8 -> Location 2024-05-19 18:04:51 -04:00
cbt6
80b6d912fd Rename unk_0203E724.c to field_script_context.c 2024-04-18 10:19:09 +08:00
cbt6
a90ee90900 Document unk_0203E724.c 2024-04-18 01:29:07 +08:00
cbt6
7ba592f6f4 Move UnkStruct_0203E724 to unk_0203E724.h 2024-04-18 01:12:58 +08:00
Adrienn Tindall
84ab81d010 Rename unk_0C -> saveData in FieldSystem struct 2024-04-12 21:01:15 -04:00
Adrienn Tindall
0f2291efad Destroy all traces of struct_0203CDB0 2024-04-02 11:51:00 -04:00
Adrienn Tindall
360517a451 UnkStruct_0203CDB0 -> FieldSystem 2024-04-01 12:44:02 -04:00