#include <libultraship.h>
#include <libultra/gbi.h>
#include <assets/royal_raceway_displaylists.h>

// Init RDP - RSP (Ceremony)
Gfx D_80284EE0[] = {
    gsDPSetCycleType(G_CYC_1CYCLE),
    gsDPPipelineMode(G_PM_1PRIMITIVE),
    gsDPSetTextureLOD(G_TL_TILE),
    gsDPSetTextureLUT(G_TT_NONE),
    gsDPSetTextureDetail(G_TD_CLAMP),
    gsDPSetTexturePersp(G_TP_PERSP),
    gsDPSetTextureFilter(G_TF_BILERP),
    gsDPSetTextureConvert(G_TC_FILT),
    gsDPSetCombineKey(G_CK_NONE),
    gsDPSetAlphaCompare(G_AC_NONE),
    gsDPSetColorDither(G_CD_DISABLE),
    gsDPSetColorDither(G_CD_MAGICSQ),
    gsDPSetRenderMode(G_RM_OPA_SURF, G_RM_OPA_SURF2),
    gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
    gsSPClearGeometryMode(G_CULL_BOTH | G_FOG | G_LIGHTING | G_TEXTURE_GEN | G_TEXTURE_GEN_LINEAR | G_LOD),
    gsSPSetGeometryMode(G_SHADE | G_SHADING_SMOOTH),
    gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_OFF),
    gsSPEndDisplayList(),
};

// Peach's Castle (Ceremony)
Gfx D_80284F70[] = {
    gsDPSetCombineMode(G_CC_MODULATEIA, G_CC_MODULATEIA),
    gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2),
    gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),

    gsSPDisplayList(0x070067E8),
    gsSPDisplayList(0x0700AEF8),
    gsSPDisplayList(0x07001438),
    gsSPDisplayList(0x0700A970),
    gsSPDisplayList(0x07000CE0),
    gsSPDisplayList(0x07000E88),
    gsSPDisplayList(0x0700A618),
    gsSPDisplayList(0x0700AC30),
    gsSPDisplayList(0x07003728),
    gsSPDisplayList(0x070036B8),
    gsSPDisplayList(0x07003628),
    gsSPDisplayList(0x07003540),
    gsSPDisplayList(0x07003DC0),
    gsSPDisplayList(0x07003E50),
    gsSPDisplayList(0x07003F18),
    gsSPDisplayList(0x070050B0),
    gsSPDisplayList(0x07005138),
    gsSPDisplayList(0x070055D0),
    gsSPDisplayList(0x07005B50),
    gsSPDisplayList(0x07005C00),
    gsSPDisplayList(0x07005D18),
    gsSPDisplayList(0x07005DC8),
    gsSPDisplayList(0x07005EF8),
    gsSPDisplayList(0x07005740),
    gsSPDisplayList(0x070057F0),
    gsSPDisplayList(0x070058E8),
    gsSPDisplayList(0x07001788),
    gsSPDisplayList(0x07001AA0),
    gsSPDisplayList(0x07001A30),
    gsSPDisplayList(0x070023F8),
    gsSPDisplayList(0x07002478),
    gsSPDisplayList(0x07003790),
    gsDPSetCombineMode(G_CC_MODULATEIDECALA, G_CC_MODULATEIDECALA),
    gsDPSetRenderMode(G_RM_AA_ZB_TEX_EDGE, G_RM_AA_ZB_TEX_EDGE2),
    gsSPDisplayList(0x070006D0),
    gsSPDisplayList(0x070004D0),
    gsSPDisplayList(0x07000840),
    gsSPEndDisplayList(),
};
