Commit Graph

2877 Commits

Author SHA1 Message Date
Kuruyia
00a7c5dd3d Move some map-related constant files to the field sub-directory
This moves the files holding constants for the BDHC, map matrix and map
prop subsystems to the `include/constants/field` directory.

Signed-off-by: Kuruyia <github@kuruyia.net>
2025-03-19 18:46:19 +01:00
Kuruyia
8eda7bb52a Rename Id to ID in map-related code
This simply capitalizes the "D" in "ID" in map-related code.

Signed-off-by: Kuruyia <github@kuruyia.net>
2025-03-19 18:27:22 +01:00
Rachel
d3134b7a99 Merge pull request #440 from Kuruyia/docs/fix-arealight
Some checks failed
build / build (push) Has been cancelled
Small fixes in the area light Markdown doc
2025-03-19 16:08:48 +00:00
Rachel
7fb18f939f Merge pull request #437 from ravepossum/map_bins
Dump map data binaries, texture sets, and matrices
2025-03-19 16:08:06 +00:00
Kuruyia
67bf6c7eee Small fixes in the area light Markdown doc
This fixes the following related to area light in the file format
specifications Markdown document:

- change the name of the area light NARC file from `area_light.narc` to
  `arealight.narc` to reflect its real name in the repo
- change the "light enabled" parameter to "light valid", as documented
  in area light-related code.

Signed-off-by: Kuruyia <github@kuruyia.net>
2025-03-19 13:24:56 +01:00
RavePossum
5bb9556a4c Dump map matrices 2025-03-17 17:39:12 -04:00
RavePossum
04d18dd474 Generate map ID constants 2025-03-17 17:39:12 -04:00
RavePossum
84372b4827 Dump map texture sets 2025-03-17 17:39:03 -04:00
Rachel
f60f5f0b46 Merge pull request #434 from Kuruyia/docs/maps
Some checks failed
build / build (push) Has been cancelled
Start Markdown documentation of the maps system
2025-03-17 17:09:34 +00:00
RavePossum
536799a102 Merge pull request #435 from AsparagusEduardo/messageFunctions
Message functions literals to constants
2025-03-17 11:05:41 -04:00
RavePossum
5bff852559 Dump map data files 2025-03-17 09:46:33 -04:00
Kuruyia
eab4f9a4ad Start Markdown documentation of the maps system
This starts a human-readable documentation of the various subsystems
used in the game's map system. The following files are included in this
commit:

- `maps.md`: a general overview of maps
- `bdhc.md`: an overview of the BDHC subsystem, which is used to provide
  height information on maps
- `loading_maps.md`: an overview of how maps are loaded by the game
- `file_format_specifications.md`: specs for the maps data structures

The `file_format_specifications.md` is meant to be a purely technical
document that contains a precise description of the data structures used
by the game's map system.

The other files are meant to be semi-technical documentation, where some
of the nitty-gritty details have been either simplified or left out
entirely.

Some of the maps subsystems were purposefully left out of this commit,
such as map objects and map scripts. They will need to be addressed in
future updates to those documents.

Signed-off-by: Kuruyia <github@kuruyia.net>
2025-03-16 21:40:56 +01:00
Rachel
5c4943582b Merge pull request #429 from CharlesFolz4/boxDisplayData
Some checks failed
build / build (push) Has been cancelled
Documenting UnkStruct_ov19_021D4F5C as BoxCustomization
2025-03-16 10:02:36 -07:00
Eduardo Quezada
4e9a2a62c6 Text Bank IDs 2025-03-15 12:48:09 -03:00
Eduardo Quezada
392d94611a sub_02014B34, MessageUtil_ExpandedStrbuf, MessageUtil_MoveName and MessageUtil_SpeciesName 2025-03-15 12:34:40 -03:00
Eduardo Quezada
1894139a22 Text banks 2025-03-15 12:32:39 -03:00
Eduardo Quezada
db41c75d26 Ribbon Documentation + Footstep House scripts (#427)
Some checks failed
build / build (push) Has been cancelled
* Footstep house types and script commands

* Generated ribbons + messages

* Get Friendship + Get/Set Ribbon map scripts

* First non egg in party

* Standarized "ribbonID" as "monDataParam" and "ribbonNum" as "ribbonID"
2025-03-15 09:16:21 -04:00
Eduardo Quezada
400ec4eb43 MessageLoader_Init message loader type and narc ID 2025-03-15 01:01:35 -03:00
Eduardo Quezada
83f42dde1f sub_02014B34, MessageUtil_ExpandedStrbuf, MessageUtil_MoveName and MessageUtil_SpeciesName 2025-03-15 00:27:37 -03:00
narf0708@gmail.com
09591db39c Refactor box -> boxID 2025-03-13 17:55:26 -04:00
narf0708@gmail.com
1cb844256b Documenting UnkStruct_ov19_021D4F5C as BoxCustomization 2025-03-13 17:47:53 -04:00
Rachel
30b901cbd5 Merge pull request #432 from AsparagusEduardo/soundEffect
Some checks failed
build / build (push) Has been cancelled
Sound_PlayEffect literals to constants
2025-03-12 22:21:14 -07:00
Rachel
ec82048cb0 Merge pull request #431 from AsparagusEduardo/eggMoves
Document Egg Moves
2025-03-12 22:10:48 -07:00
Eduardo Quezada
9b91475cd8 Document Egg Moves 2025-03-12 22:41:33 -03:00
Eduardo Quezada
f883bca9d5 Sound_PlayEffect literals to constants 2025-03-12 22:33:32 -03:00
Rachel
4fc59bfe4c Merge pull request #329 from lhearachel/make-venv
Some checks are pending
build / build (push) Waiting to run
Pull Meson as a subproject
2025-03-12 08:26:37 -07:00
Rachel
bb093d841b Merge pull request #425 from CharlesFolz4/pcCompare
Documenting UnkStruct_ov19_021D5FAC as PCCompareMon
2025-03-12 08:18:21 -07:00
Rachel
44915351ee Merge pull request #424 from ravepossum/mon_sprites
Document PokemonSprite and related structs
2025-03-12 07:59:02 -07:00
narf0708@gmail.com
6e413f6c8d PR feedback 2025-03-11 20:52:35 -04:00
RavePossum
ac37372667 Address PR feedback 2025-03-11 20:06:15 -04:00
Rachel
3820258a4e Update NitroWiFi subproject wrap to satisfy meson subprojects update 2025-03-11 10:25:11 -07:00
Rachel
a8f23f4447 Merge pull request #420 from AsparagusEduardo/document12
Some checks failed
build / build (push) Has been cancelled
GBA Migration labeling
2025-03-11 08:57:50 -07:00
narf0708@gmail.com
ab01106dc3 Documentign UnkStruct_ov19_021D5FAC as PCCompareMon 2025-03-09 21:30:36 -04:00
Eduardo Quezada
1d33088d8c Merge branch 'main' into document12 2025-03-09 22:11:08 -03:00
Eduardo Quezada
cc312c627c continue_menu to main_menu 2025-03-09 22:05:52 -03:00
RavePossum
7c701a376d Document mon sprite magic numbers, generate otherpoke naix 2025-03-09 19:29:06 -04:00
RavePossum
7d5e2a0365 Mass document mon sprite attribute constants 2025-03-09 19:29:06 -04:00
RavePossum
bf5ac11a52 Improve some PokemonSprite names 2025-03-09 19:29:06 -04:00
RavePossum
cb30afbe26 Document PokemonSpriteTaskAnim 2025-03-09 19:29:06 -04:00
RavePossum
f20ec79157 Add inlines for unintuitive bitmask hideShadows field 2025-03-09 19:29:06 -04:00
RavePossum
a2480dfa73 Mass renames for pokemon_sprite 2025-03-09 19:29:06 -04:00
RavePossum
be5355af20 Document most of pokemon_sprite.c 2025-03-09 19:28:45 -04:00
RavePossum
ad79c0418c unk_0200762C -> pokemon_sprite 2025-03-09 19:24:44 -04:00
RavePossum
f0ff83c47a Remove pokemon sprite struct def file and move to unk_0200762C.h 2025-03-09 19:24:43 -04:00
RavePossum
8c388258e3 Name PokemonSprite fields based on pokeheartgold 2025-03-09 19:24:43 -04:00
RavePossum
dd7046ff07 Move PokemonSpriteTransforms to pokemon sprite struct def header 2025-03-09 19:24:43 -04:00
RavePossum
0d8a1f1259 UnkFuncPtr_02007C34 -> PokemonSpriteCallback 2025-03-09 19:24:43 -04:00
RavePossum
34be0bc7db Name PokemonSpriteTransforms and fields based on pokeheartgold 2025-03-09 19:24:43 -04:00
RavePossum
b37e5caf9a Move PokemonSpriteShadow to pokemon sprite struct def header 2025-03-09 19:24:43 -04:00
RavePossum
ae19bfe5ee Name PokemonSpriteShadow and fields based on pokeheartgold 2025-03-09 19:24:43 -04:00