1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-04 15:04:31 +00:00

[ntsc-1.2] Match z_construct.c, z_draw.c, z_kaleido_setup.c and partially z_actor.c (#2039)

* func_80033C30

* Interface_Init

* z_draw.c

* KaleidoSetup_Destroy , n64dd.h

* z_kaleido_setup.c

* add n64dd files to spec

according to tools/disasm/ntsc-1.2/files_code.csv , they're between irqmgr.o and fault.o
putting them before or after malloc_debug.o in the spec is an arbitrary choice
This commit is contained in:
Dragorn421 2024-08-15 04:05:41 +02:00 committed by GitHub
parent d3b9ba17da
commit fda0e6ad4b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 82 additions and 21 deletions

View file

@ -144,14 +144,34 @@ typedef struct InterfaceContext {
} InterfaceContext; // size = 0x270
/**
* Button HUD Positions (Upper Left)
* Button HUD positions and colors
*/
#define A_BUTTON_X 186
#define A_BUTTON_Y 9
#if PLATFORM_N64
#define A_BUTTON_R 90
#define A_BUTTON_G 90
#define A_BUTTON_B 255
#else
#define A_BUTTON_R 0
#define A_BUTTON_G 200
#define A_BUTTON_B 50
#endif
#define B_BUTTON_X 160
#define B_BUTTON_Y 17
#if PLATFORM_N64
#define B_BUTTON_R 0
#define B_BUTTON_G 150
#define B_BUTTON_B 0
#else
#define B_BUTTON_R 255
#define B_BUTTON_G 30
#define B_BUTTON_B 30
#endif
#define C_LEFT_BUTTON_X 227
#define C_LEFT_BUTTON_Y 18