diff --git a/splat.yaml b/splat.yaml index 4b65104..1a7a2ef 100644 --- a/splat.yaml +++ b/splat.yaml @@ -404,7 +404,7 @@ segments: - [0x5C280, .rodata, "gfx/dpfillrect"] - [0x5C510, .rodata, "gfx/dpfilltex"] - [0x5C8A0, .rodata, "gfx/ob_mutual_ball"] - - [0x5CAD0, rodata] + - [0x5CAD0, .rodata, "gfx/ob_thick_bikes"] - [0x5CB60, rodata] - [0x5CC00, rodata] - [0x5CC90, rodata] diff --git a/src/gfx/ob_thick_bikes.c b/src/gfx/ob_thick_bikes.c new file mode 100644 index 0000000..caf3d5c --- /dev/null +++ b/src/gfx/ob_thick_bikes.c @@ -0,0 +1,27 @@ +#include + +#include "common.h" + +/* 5CAD0 80186BD0 */ +const Gfx DISPLAY_LIST_80186BD0[] = { + gsDPPipeSync(), + gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_OFF), + gsSPClearGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BOTH | G_FOG | + G_LIGHTING | G_TEXTURE_GEN | G_TEXTURE_GEN_LINEAR | + G_LOD | G_SHADING_SMOOTH | G_CLIPPING | 0x0040F9FA), + gsDPPipeSync(), + gsDPPipeSync(), + gsDPSetCycleType(G_CYC_1CYCLE), + gsDPPipeSync(), + gsDPSetTexturePersp(G_TP_NONE), + gsDPSetTextureDetail(G_TD_CLAMP), + gsDPSetTextureLOD(G_TL_TILE), + gsDPSetTextureLUT(G_TT_NONE), + gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA), + gsDPSetRenderMode(G_RM_OPA_SURF, G_RM_OPA_SURF2), + gsDPSetTextureFilter(G_TF_POINT), + gsDPSetBlendColor(0xFF, 0xFF, 0xFF, 0x01), + gsDPSetAlphaCompare(G_AC_THRESHOLD), + gsDPPipeSync(), + gsSPEndDisplayList(), +};