Skip to content

Commit

Permalink
Document area data
Browse files Browse the repository at this point in the history
This documents the `ov5_021EF75C.c` file, which is in charge of loading
various "area data" NARCs that, in the end, contain the textures of
maps, the textures and models of map props, and lighting information.

Also, renamed `MapProp.id` to `MapProp.modelID` for more clarity
(especially when interacting with the new area data functions).

Signed-off-by: Kuruyia <[email protected]>
  • Loading branch information
Kuruyia committed Feb 20, 2025
1 parent 49650d5 commit ba186eb
Show file tree
Hide file tree
Showing 37 changed files with 1,086 additions and 1,107 deletions.
8 changes: 8 additions & 0 deletions include/constants/gx_colors.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONSTANTS_GX_COLORS_H
#define POKEPLATINUM_CONSTANTS_GX_COLORS_H

#define COLOR_BLACK GX_RGB(0, 0, 0)
#define COLOR_DARK_GRAY GX_RGB(4, 4, 4)
#define COLOR_TRANSPARENT GX_RGB(31, 31, 16)

#endif // POKEPLATINUM_CONSTANTS_GX_COLORS_H
13 changes: 8 additions & 5 deletions include/constants/map_prop.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
#ifndef POKEPLATINUM_CONSTANTS_MAP_PROP_H
#define POKEPLATINUM_CONSTANTS_MAP_PROP_H

enum MapPropId {
MAP_PROP_ID_HONEY_TREE = 26,
MAP_PROP_ID_UNK_242 = 242,
MAP_PROP_ID_UNK_258 = 258,
MAP_PROP_ID_UNK_475 = 475,
enum MapPropModelId {
MAP_PROP_MODEL_ID_HONEY_TREE = 26,
MAP_PROP_MODEL_ID_UNK_124 = 124,
MAP_PROP_MODEL_ID_UNK_242 = 242,
MAP_PROP_MODEL_ID_UNK_258 = 258,
MAP_PROP_MODEL_ID_UNK_475 = 475,
MAP_PROP_MODEL_ID_UNK_498 = 498,
MAP_PROP_MODEL_ID_UNK_517 = 517,
};

#endif // POKEPLATINUM_CONSTANTS_MAP_PROP_H
Loading

0 comments on commit ba186eb

Please sign in to comment.