Files
mk64/courses/battle/big_donut/course_data.inc.c
T
MegaMech db4e0a3727 Disassembled courses, added DLpacker, and disassembled packed DLs (#290)
* Disassembled all courses; packed DLs and course data.

* Added displaylist packer

* Minor documentation and naming
2023-03-07 19:48:17 -07:00

49 lines
1.8 KiB
C

// todo: Replace addresses with variables
#include <ultra64.h>
#include <macros.h>
#include <PR/gbi.h>
#include <actor_types.h>
Gfx d_course_big_donut_dl[] = {
gsDPSetCombineMode(G_CC_MODULATEIDECALA, G_CC_MODULATEIDECALA),
gsDPSetRenderMode(G_RM_AA_ZB_TEX_EDGE, G_RM_AA_ZB_TEX_EDGE2),
gsSPClearGeometryMode(G_CULL_BACK),
gsSPDisplayList(0x07000210),
gsSPSetGeometryMode(G_CULL_BACK),
gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2),
gsSPDisplayList(0x07000D20),
gsSPDisplayList(0x07000AC0),
gsSPDisplayList(0x07000450),
gsSPEndDisplayList(),
};
// Item box spawn locations
struct ActorSpawnData d_course_big_donut_spawn_item_box[] = {
{{ 0xFFD8, 0x00DE, 0x0338 }, { 0x0000 }},
{{ 0x007D, 0x00C8, 0x023D }, { 0x0000 }},
{{ 0xFED2, 0x00FB, 0x0379 }, { 0x0000 }},
{{ 0x0026, 0x00CB, 0x028E }, { 0x0000 }},
{{ 0x0016, 0x00CF, 0x02CC }, { 0x0000 }},
{{ 0x006E, 0x00CD, 0x02AA }, { 0x0000 }},
{{ 0x02A9, 0x00CD, 0x0035 }, { 0x0001 }},
{{ 0x02F7, 0x00DA, 0xFF03 }, { 0x0001 }},
{{ 0x031E, 0x00DD, 0x00AC }, { 0x0001 }},
{{ 0x022D, 0x00C8, 0xFF91 }, { 0x0001 }},
{{ 0x0275, 0x00C9, 0xFF82 }, { 0x0001 }},
{{ 0x02C0, 0x00CF, 0xFF77 }, { 0x0001 }},
{{ 0xFF91, 0x00C8, 0xFDD6 }, { 0x0002 }},
{{ 0x0048, 0x00FA, 0xFC5B }, { 0x0002 }},
{{ 0xFFE7, 0x00CF, 0xFD3F }, { 0x0002 }},
{{ 0xFFEB, 0x00E1, 0xFCB5 }, { 0x0002 }},
{{ 0xFFAD, 0x00DC, 0xFCD9 }, { 0x0002 }},
{{ 0xFFCF, 0x00D6, 0xFCF9 }, { 0x0002 }},
{{ 0xFCD9, 0x00DC, 0x0035 }, { 0x0003 }},
{{ 0xFCA5, 0x00F2, 0x012C }, { 0x0003 }},
{{ 0xFD60, 0x00CF, 0xFF25 }, { 0x0003 }},
{{ 0xFC8B, 0x006C, 0xFFC5 }, { 0x0003 }},
{{ 0xFCE7, 0x0067, 0xFFDF }, { 0x0003 }},
{{ 0xFD0B, 0x00D6, 0x00A6 }, { 0x0003 }},
{{ 0x8000, 0x0000, 0x0000 }, { 0x0000 }},
};