Commit Graph

276 Commits

Author SHA1 Message Date
narf0708@gmail.com
53835af289 Polish & renaming 2025-03-08 09:33:17 -05:00
Eduardo Quezada
f7f2ade2b6 Document params used with Heap_AllocFromHeap - Part 1 2025-03-03 19:12:57 -03:00
Kuruyia
3c903a6649 Document model attributes
This documents the `ov5_021D5878.c` file, which manages a data structure
containing various attributes used when rendering 3D models.

Those attributes directly map to polygon attributes/parameters that are
exposed by the NDS 3D hardware.

Signed-off-by: Kuruyia <github@kuruyia.net>
2025-02-27 17:25:22 +01:00
Rachel
dc5440a466
Merge pull request #393 from Viperio19/document-scripts
Some checks failed
build / build (push) Has been cancelled
Document lake trio cavern scripts
2025-02-23 12:38:27 -08:00
Gudf
bfa39b9d0d Rename FieldMenu to StartMenu 2025-02-20 21:54:54 +01:00
Viperio19
913d67dd10 Document lake trio caverns 2025-02-20 18:14:04 +01:00
Rachel
8204088ea4 Delete unused struct_defs/sprite_template.h 2025-02-13 19:07:40 -08: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
Rachel
02870538aa Identify unk_0200C6E4 -> sprite_system and document structs 2025-02-13 18:37:08 -08:00
Lucie
d7aca4616d Updated SCREEN macros and moved struct into main file 2025-02-13 03:15:10 +00:00
Lucie
759423c9af Labeled Brightness Controller 2025-02-13 01:30:22 +00:00
Rachel
b48080e37e Clean up some lingering mess in heap.{h,c} 2025-02-07 21:43:33 -08:00
Rachel
f1ac42f387
Merge pull request #361 from lhearachel/sprite-util
Some checks failed
build / build (push) Has been cancelled
Document sprite_util.c
2025-02-05 21:27:40 -08:00
TheSylphIsIn
38a4eed067 wild_encounter PR cleanup 2025-02-05 01:16:46 -05:00
Rachel
6ae0808081 Document sprite_util structs 2025-02-04 18:52:36 -08:00
Rachel
7f3e09fc33 Identify unk_020093B4 -> sprite_util 2025-02-04 18:52:36 -08:00
TheSylphIsIn
faae53c119 Merge branch 'main' of https://github.com/pret/pokeplatinum 2025-02-04 17:06:09 -05:00
TheSylphIsIn
5cfa8894af Finish documenting special_encounter
Documents the last unknown components of SpecialEncounter. Also some other things, sorry.
2025-02-04 16:52:48 -05:00
TheSylphIsIn
f8f514931e Merge branch 'main' of https://github.com/pret/pokeplatinum 2025-02-03 22:59:00 -05:00
TheSylphIsIn
b4229dbac1 Honey Trees
Documents honey_tree. Mostly. There are some functions related to the overworld tree shaking animation that I didn't document, but it's at least contextually obvious what the end result is.

Also might have a bit of roamer stuff, idk, this commit was sitting for 2 weeks
2025-02-03 22:44:28 -05:00
Rachel
47f8382923 Identify unk_0201F834 -> pltt_transfer 2025-02-02 19:58:28 -08:00
Rachel
81cb1b2f27 Identify structs used in char_transfer + document templates 2025-02-02 19:55:58 -08:00
Rachel
14b7a95da0 Identify unk_0201E86C -> char_transfer 2025-02-02 19:55:58 -08:00
Rachel
7e5f0e62b8 Port trainer data archive packing to C++ 2025-01-31 19:42:24 -08:00
Rachel
38436e0741 Split NARC-related trainer structs from main Trainer struct 2025-01-30 20:42:15 -08:00
Rachel
26db7b2f7e Migrate constants used by battle and AI scripting to metang 2025-01-27 20:46:35 -08:00
TheSylphIsIn
233169c647 FEEBAS
Document OV6_02247660, which handles Feebas tile fishing. Could probably be merged into another file but I leave decisions like that to the smart people.
2025-01-27 00:17:43 -05:00
TheSylphIsIn
1e195adf04 format + cleanup
changed a name on Roamers to be less ambiguous
2025-01-26 22:29:42 -05:00
TheSylphIsIn
4f4d81db5b Merge branch 'main' of https://github.com/pret/pokeplatinum 2025-01-26 22:14:21 -05:00
TheSylphIsIn
c21bf5586d Document ov6_02240D5C -> WildEncounter_TryWildEncounter
This had a lot of collateral because it also touches Poke Radar, Roamers, Repels, etc
2025-01-26 22:13:21 -05:00
Rachel
2c410b8046 Replace python scripts for packing species archives with C++
This new code is responsible for packing the following archives:

- `pl_personal` -> basic information for each species: stats, types, etc.
- `evo` -> evolution lines for each species
- `wotbl` -> by-level learnsets for each species
- `ppark` -> catching show data for each species
- `height` -> y-offsets for front and back sprites for each species
- `pl_poke_data` -> sprite-rendering data for each species: animation
  ID, frame data, shadow size and offsets, etc.

Additionally, the following headers are generated:

- `res/pokemon/tutorable_moves.h` -> A listing of moves taught by each
  tutor and how much each move costs to be tutored
- `res/pokemon/species_learnsets_by_tutor.h` -> An array of bitmasks for
  each species designating which moves can be tutored to that species
2025-01-21 22:46:39 -08:00
Rachel
d9df079829 Use array for TM Learnset bitmasks 2025-01-21 22:46:39 -08:00
Rachel
2e09fce6a2 Extract species-related structs to species.h 2025-01-21 22:46:38 -08:00
Rachel
0c1aada00c
Merge pull request #345 from TheSylphIsIn/main
Some checks are pending
build / build (push) Waiting to run
Great Marsh lookout documentation
2025-01-21 22:44:04 -08:00
Viperio19
0e277166d2 Fix imports formatting 2025-01-19 23:34:54 +01:00
Viperio19
5890159b78 Move Party struct to party.h 2025-01-19 23:15:36 +01:00
Rachel
b48793e3b2
Merge pull request #339 from fakuzatsu/main
Some checks failed
build / build (push) Has been cancelled
document poffin.c and poffin case struct
2025-01-19 13:50:59 -08: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
Viperio19
1fe280ea15 Splitting pokemon.h into include/pokemon.h and struct_defs/pokemon.h 2025-01-19 16:24:29 +01:00
fakuzatsu
2b21d7b7ec zip poffin structs into poffin.h change func names 2025-01-18 07:48:26 +00:00
Adrienn Tindall
089afc8e94
Merge branch 'main' into main 2025-01-17 23:24:34 -05:00
Adrienn Tindall
992d32bdac Requested changes 2025-01-17 23:22:10 -05:00
fakuzatsu
0bba4d78d5 document poffin.c and poffin case struct 2025-01-17 22:06:58 +00:00
Adrienn Tindall
b5f5526988 Fix Merge Errors 2025-01-14 07:03:54 -05:00
Adrienn Tindall
856e02c669 Merge branch 'main' of https://github.com/pret/pokeplatinum 2025-01-09 13:36:22 -05:00
Viperio19
4a4d0c8297 Moving MapObjectSave to map_object.h 2025-01-07 13:42:04 +01:00
Viperio19
0fa801b670 More documentation centered around map_object.c and map_object_move.c 2024-12-29 16:37:02 +01:00
Viperio19
5fd11e8086 Documenting journal_controller.c (function names etc.), renaming UnkStruct_020BCC8 and UnkStruct_0202BFCC to ...LocationEvent and ...OnlineEvent and documenting those (struct member names, enums, etc.) 2024-12-07 00:44:11 +01:00
Rachel
ad4db9b44f
Merge pull request #312 from Viperio19/journal-documentation
Some checks failed
build / build (push) Has been cancelled
Journal documentation
2024-12-05 11:38:03 -08:00