[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
8 changed files with 82 additions and 21 deletions
+12
View File
@@ -0,0 +1,12 @@
#ifndef N64DD_H
#define N64DD_H
typedef struct n64ddStruct_80121AF0 {
char unk_00[0x3C];
void (*unk_3C)(void);
void (*unk_40)(void);
} n64ddStruct_80121AF0; // size = ?
extern n64ddStruct_80121AF0* B_80121AF0;
#endif
+21 -1
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