Migrated Gfx at 0x80186BD0

This commit is contained in:
gijs 2023-09-24 11:50:47 +02:00
parent 6bd0f4be08
commit e1731946b6
2 changed files with 28 additions and 1 deletions

View File

@ -404,7 +404,7 @@ segments:
- [0x5C280, .rodata, "gfx/dpfillrect"] - [0x5C280, .rodata, "gfx/dpfillrect"]
- [0x5C510, .rodata, "gfx/dpfilltex"] - [0x5C510, .rodata, "gfx/dpfilltex"]
- [0x5C8A0, .rodata, "gfx/ob_mutual_ball"] - [0x5C8A0, .rodata, "gfx/ob_mutual_ball"]
- [0x5CAD0, rodata] - [0x5CAD0, .rodata, "gfx/ob_thick_bikes"]
- [0x5CB60, rodata] - [0x5CB60, rodata]
- [0x5CC00, rodata] - [0x5CC00, rodata]
- [0x5CC90, rodata] - [0x5CC90, rodata]

27
src/gfx/ob_thick_bikes.c Normal file
View File

@ -0,0 +1,27 @@
#include <ultra64.h>
#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(),
};