Kuruyia
caa281efea
Document BDHC util
...
This documents the `bdhc_util.c` file, which mainly contains the
function used to calculated an object's height based on its 2D position
and the BDHC of the map its currently on.
Signed-off-by: Kuruyia <github@kuruyia.net>
2025-02-08 21:19:13 +01:00
Rachel
10c283da33
Merge pull request #362 from Kuruyia/feat/document-bdhc-loading
...
build / build (push) Waiting to run
Document BDHC file loading
2025-02-05 10:38:23 -08:00
Kuruyia
3f8301106c
Document BDHC file loading
...
This documents the loading of BDHC files that are embedded in files of
the land data NARC.
Credits goes to Mikelan98, HiroTDK and HumanGamer for their resources
(listed below). It would have been a lot more painful having to reverse
this file format.
Resources used:
* https://hirotdk.neocities.org/FileSpecs#Terrain
* https://www.pokecommunity.com/threads/i-solved-the-final-piece-of-the-terrain-bdhc-files-in-gen-4-inclines.424428/
Signed-off-by: Kuruyia <github@kuruyia.net>
2025-02-05 19:27:30 +01:00
TheSylphIsIn
b9e12c1f2d
format
...
lol
2025-02-05 01:21:52 -05:00
TheSylphIsIn
38a4eed067
wild_encounter PR cleanup
2025-02-05 01:16:46 -05: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
Rachel
c4675f88c3
Merge pull request #357 from lhearachel/vram-transfer
...
build / build (push) Waiting to run
Document VRAM transfer managers for sprite components
2025-02-04 10:40:55 -08:00
Rachel
a61adca7af
Merge pull request #359 from Kuruyia/feat/document-map-matrix
...
Document map matrix
2025-02-04 10:33:16 -08:00
Kuruyia
6c3b457001
Expose map matrix structs
...
Signed-off-by: Kuruyia <github@kuruyia.net>
2025-02-04 10:07:38 +01:00
Rachel
221efb9186
Address first round of PR feedback
2025-02-03 22:55:34 -08: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
justusaac
95ee238ba6
Merge branch 'pret:main' into main
2025-02-03 20:39:11 -06:00
Kuruyia
817e8e4a53
Document map matrix
...
Signed-off-by: Kuruyia <github@kuruyia.net>
2025-02-03 12:35:18 +01:00
Rachel
51d7e9a5dd
Document sprite_transfer.c
2025-02-02 19:58:29 -08:00
Rachel
fd2c81fcc7
Identify extern functions in sprite_transfer.c
2025-02-02 19:58:29 -08:00
Rachel
228ca9713e
Identify unk_0200A328 -> sprite_transfer
2025-02-02 19:58:29 -08:00
Rachel
14f82b8ee0
Document and clean up pltt_transfer.c
2025-02-02 19:58:29 -08:00
Rachel
e46dd56a55
Mass-identify pltt_transfer functions
2025-02-02 19:58:29 -08:00
Rachel
df569849ad
Document static routines in pltt_transfer.c
2025-02-02 19:58:28 -08:00
Rachel
92a9d28d56
Document structs used for pltt_transfer
2025-02-02 19:58:28 -08:00
Rachel
47f8382923
Identify unk_0201F834 -> pltt_transfer
2025-02-02 19:58:28 -08:00
Rachel
df99a19798
Document and clean up char_transfer.c
2025-02-02 19:58:28 -08:00
Rachel
4be75d22fb
Identify extern functions in char_transfer.c
2025-02-02 19:58:28 -08:00
Rachel
4f262485e3
Document vram_transfer
2025-02-02 19:58:28 -08:00
Rachel
8b81828d6c
Document cell_transfer.c
2025-02-02 19:58:28 -08:00
Rachel
8481bf85fc
Identify unk_0201DBEC -> vram_transfer + cell_transfer
2025-02-02 19:58:27 -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
30de61be38
Merge pull request #354 from Gudf/math_helpers
...
build / build (push) Has been cancelled
Document some math helpers
2025-02-01 16:46:40 -08:00
Rachel
5f63fd2e80
Merge pull request #355 from lhearachel/trainer-datagen
...
build / build (push) Waiting to run
Re-implement data generation for trainers
2025-01-31 20:32:31 -08:00
Rachel
7e5f0e62b8
Port trainer data archive packing to C++
2025-01-31 19:42:24 -08:00
Gudf
af5d60d4a0
Rename unk_0201E190 and unk_0201E3BC
...
`unk_0201E190` to `fx_util`
`unk_0201E3BC` to `int_distance`
2025-01-31 14:34:48 +01:00
Rachel
bc5976dfc9
Merge pull request #352 from estellarc/doc/map_name_popup
...
build / build (push) Waiting to run
MapNamePopUp Documentation
2025-01-30 21:33:36 -08:00
Rachel
38436e0741
Split NARC-related trainer structs from main Trainer struct
2025-01-30 20:42:15 -08:00
Gudf
ac81792c99
sub_0201E34C to CalcLinearFov
2025-01-30 17:49:09 +01:00
Gudf
0e3bac52fe
Rotation matrices functions
...
Rename `sub_0201E268` to `MTX_Rot33Vec`
Rename `sub_0201E2E0` to `MTX_Rot33Angles`
2025-01-30 17:45:19 +01:00
Gudf
56f6b80fdb
Fixed-point min and max function
...
Rename `sub_0201E190` to `FX_Min`
Rename `sub_0201E198` to `FX_Max`
2025-01-30 17:36:00 +01:00
Gudf
4789dbe95a
sub_0201E3BC to CalcDistance2D
2025-01-30 17:27:08 +01:00
Rachel
5957413979
Move footprint header generation into datagen-species
2025-01-29 23:19:17 -08:00
Rachel
2e4e858081
Migrate remaining generated constants to metang
2025-01-29 22:43:45 -08:00
justusaac
1bbebd1439
Documenting this code related to the Stats Judge
2025-01-29 23:38:27 -06:00
Estellar
8d09ab0765
Fixes with generated files in map_header_util
2025-01-29 22:19:32 -03:00
Estellar
b1388c6b99
Merge branch 'main' of https://github.com/pret/pokeplatinum into doc/map_name_popup
2025-01-29 21:41:47 -03:00
Estellar
8b4a94d0a3
MapHeader_GetStringWidth -> MapHeader_LoadString and sub_02071D10 -> MapHeader_LoadName
2025-01-29 20:38:57 -03:00
Estellar
35429ff194
MapNamePop_Show -> MapNamePopUp_Show
2025-01-29 16:18:13 -03:00
Estellar
8f2cdb5c06
Merge branch 'main' of https://github.com/pret/pokeplatinum into doc/map_name_popup
2025-01-28 13:26:24 -03:00
Estellar
d430e2b7c3
unk_02071CFC -> map_header_util
2025-01-28 13:02:47 -03:00
Estellar
f2e07a8e5f
Clean up
2025-01-28 12:56:15 -03:00