Commit Graph

30 Commits

Author SHA1 Message Date
Rachel
6e9b4c3adb
Document screen fades and hardware windows (#529)
* Identify palette_fade and hardware_window modules

* Document hardware_window.c

* Document palette_fade.c

* Terminology shift: PaletteFade -> ScreenFade

* Decorate screen fade calls with appropriate constants

* PR feedback
2025-05-27 20:56:46 -07:00
Fexty
0263b008b5
Document Particle System (#490)
Some checks failed
build / build (push) Has been cancelled
* Remove decl files and rename main ParticleSystem struct

* Document particle system new/init

* Document generic particle system functions

* Document particle system allocation functions

* Document remaining particle system getters and setters

* Particle system cleanup

* Rename particle system files

* Format files

* PR feedback
2025-05-04 11:55:13 -07:00
CharlesFolz4
3c206367aa
Document touch screen hit table action handling and Box action handling functions (#480)
Some checks are pending
build / build (push) Waiting to run
Co-authored-by: narf0708@gmail.com <narf0708@gmail.com>
2025-04-30 17:54:20 -07:00
Zatsu
c8d41bc96a
Document field moves (#430)
* initial documentation of unk_0207070C->field moves

* changes for PR suggestions + menu taskdata

* symbols in FieldMoveTaskData + fieldMoveMon done

* function name changes, document badges, cleanup

* Use enum FieldMoveError as return type for FieldMoveErrContext functions

* badge enum and bool constants

---------

Co-authored-by: Rachel <lhearachel@proton.me>
2025-04-11 19:47:01 -07:00
Kuruyia
8c206e0283 Document dynamic map features
This documents the `unk_02068344.c` file, which is in charge of calling
the correct init/free functions for the dynamic map features, and call
the correct map-specific collision check function.

Dynamic map features are defined as features that can change the layout
of a map according to player inputs, potentially also affecting their
collision.

Dynamic map features may encompass multiple map headers. Examples
include the Sunyshore Gym dynamic map features with its bridges in
multiple rooms, or the Platform Lift dynamic map features that handles
maps with platform lifts (some rooms in Iron Island and the Pokémon
League).

Signed-off-by: Kuruyia <github@kuruyia.net>
2025-03-24 08:05:26 +01:00
Rachel
c807806d15 Zip def and decl for PokemonSprite into one header 2025-02-13 19:07:16 -08:00
Rachel
41abbde3c6 Mass terminology update: CellActor -> Sprite, etc. 2025-02-13 18:43:23 -08:00
Viperio19
5890159b78 Move Party struct to party.h 2025-01-19 23:15:36 +01:00
Rachel
b83538a1c5 Identify unk_020508D4 -> field_task; rename FieldTask -> FieldTaskFunc, TaskManager -> FieldTask 2024-11-03 16:08:01 -08:00
Rachel
e92094c0fb Zip component structs and function types into render_text:
- funcptr_0201D834
- struct_0201D738
- struct_0201D834
2024-09-25 13:02:35 -07:00
Fexty12573
ff7d189af6 Mostly decompile spl 2024-07-17 16:27:59 +02:00
Rachel
36045f723b Format the source tree 2024-07-06 14:40:34 -07:00
Fexty12573
3c96d1ab7f PR Feedback: Move struct definitions and fix includes 2024-06-21 18:20:45 +02:00
Adrienn Tindall
9ece715560 More FieldTask functions 2024-06-02 05:46:01 -04:00
Adrienn Tindall
f8ce642c12 LocalMapObj -> MapObk 2024-05-17 13:11:34 -04:00
cbt6
7ba592f6f4 Move UnkStruct_0203E724 to unk_0203E724.h 2024-04-18 01:12:58 +08:00
Adrienn Tindall
6bae1c3e78 Identify TaskManager 2024-04-12 21:42:04 -04:00
Adrienn Tindall
aa6d519b1e Identify LocalMapObject 2024-04-03 12:29:34 -04:00
Adrienn Tindall
0f2291efad Destroy all traces of struct_0203CDB0 2024-04-02 11:51:00 -04:00
Adrienn Tindall
20a0be2890 rename field_comm_manager 2024-04-01 14:34:02 -04:00
Adrienn Tindall
b414311232 Begin documenting field communication manager 2024-04-01 14:07:28 -04:00
Adrienn Tindall
360517a451 UnkStruct_0203CDB0 -> FieldSystem 2024-04-01 12:44:02 -04:00
Maja Kądziołka
f3604018fe
Label some code referenced by main (#133)
* main callback, hblank

* HandleConsoleFold

* WaitFrame, SoftReset, UpdateSound

* HeapCanary

* Label the RTC code

* Address review comments
2024-01-29 12:14:41 -08:00
Rachel
b7fffbfc76
Rebase + clean-up PR#115 with current project state (#134)
* improving readability

also seemingly located the party healing function

* readability

* clean it up

* Update pokemon.h

* add function names

Adds names to many unnamed functions for readability. Also adds names to a couple structs.

* add function names

* add struct names

* more functions with human names

* rename chatotcrydata

* doxygen documentation

* update box mon function

ProcessBoxPokemonWithTrainerInfo is now UpdateBoxMonStatusAndTrainerInfo and all params are labeled

* fixing formatting

---------

Co-authored-by: Jack <schoenjack98@gmail.com>
2024-01-28 19:05:12 -08:00
Rachel
1d055f3048 Document structs used for loading data from pl_poke_data.narc 2023-11-18 21:17:55 -08:00
lhearachel
fb3af3b9fc Label core SysTask struct + funcptr
UnkStruct_0201CD38 -> SysTask
UnkFuncPtr_0201CE28 -> SysTaskFunc
2023-10-13 09:59:51 -07:00
lhearachel
641ed12e6a Clean up SaveTableEntry struct + consolidate extraneous files 2023-09-23 13:57:54 -07:00
Nomura
040fa22df8 Finalize Meson build system 2023-07-18 19:58:03 +02:00
Nomura
d476d0ebdc Document struct Party 2023-01-29 10:23:57 +01:00
luckytyphlosion
46f6dc3bf4 Add in headers. 2022-12-23 14:05:03 -05:00