This commit is contained in:
Cuyler36
2023-04-16 13:43:32 -04:00
parent 1b5e0f88a6
commit 7336d51f44
29 changed files with 3170 additions and 124 deletions
+19 -6
View File
@@ -11,6 +11,7 @@ extern "C" {
#define SYSDYNAMIC_START_MAGIC 0x1234
#define SYSDYNAMIC_END_MAGIC 0x5678
/*
#define SHADOW_SIZE 512
#define LIGHT_SIZE 256
#define LINE_XLU_SIZE 9952
@@ -21,22 +22,34 @@ extern "C" {
#define POLY_OPA_SIZE 1792
#define POLY_XLU_SIZE 512
#define FONT_SIZE 256
*/
#define POLY_OPA_SIZE 9952
#define POLY_XLU_SIZE 2048
#define OVERLAY_SIZE 1024
#define WORK_SIZE 128
#define UNK_BUF0_SIZE 32
#define FONT_SIZE 1792
#define SHADOW_SIZE 512
#define LIGHT_SIZE 256
#define NEW0_SIZE 512
#define NEW1_SIZE 256
typedef struct dynamic_s {
u16 start_magic;
Gfx line_xlu[LINE_XLU_SIZE];
Gfx overlay[OVERLAY_SIZE];
Gfx line_opa[LINE_OPA_SIZE];
Gfx work[WORK_SIZE];
Gfx unused[UNK_BUF0_SIZE];
Gfx poly_opa[POLY_OPA_SIZE];
Gfx poly_xlu[POLY_XLU_SIZE];
Gfx overlay[OVERLAY_SIZE];
Gfx work[WORK_SIZE];
Gfx unused[UNK_BUF0_SIZE];
Gfx font[FONT_SIZE];
Gfx shadow[SHADOW_SIZE];
Gfx light[LIGHT_SIZE];
Gfx new0[NEW0_SIZE];
Gfx new1[NEW1_SIZE];
u16 end_magic;
} dynamic_t;
extern dynamic_t sys_dynamic;