Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
SuperBlockContent.c
Go to the documentation of this file.
1#include "common.h"
2#include "include_asset.h"
3
4INCLUDE_IMG("entity/model/SuperBlockContent.png", D_0A000000_E4A6A0);
5INCLUDE_PAL("entity/model/SuperBlockContent.pal", D_0A000200_E4A8A0);
6INCLUDE_PAL("entity/model/SuperBlockContent.pal2.pal", D_0A000220_E4A8C0);
7INCLUDE_PAL("entity/model/SuperBlockContent.pal3.pal", D_0A000240_E4A8E0);
8INCLUDE_PAL("entity/model/SuperBlockContent.pal4.pal", D_0A000260_E4A900);
9
11 {{{ 13, 13, 0 }, 0, { 0, 0 }, { 255, 255, 255, 255 }}},
12 {{{ -13, 13, 0 }, 0, { 1024, 0 }, { 255, 255, 255, 255 }}},
13 {{{ -13, -13, 0 }, 0, { 1024, 1024 }, { 255, 255, 255, 255 }}},
14 {{{ 13, -13, 0 }, 0, { 0, 1024 }, { 255, 255, 255, 255 }}},
15};
16
18 gsDPSetTextureLUT(G_TT_RGBA16),
19 gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
20 gsDPSetTextureDetail(G_TD_CLAMP),
21 gsDPSetTextureLOD(G_TL_TILE),
22 gsDPSetTexturePersp(G_TP_PERSP),
23 gsDPSetTextureFilter(G_TF_BILERP),
24 gsSPEndDisplayList(),
25};
26
28 gsDPSetCycleType(G_CYC_1CYCLE),
29 gsSPDisplayList(Entity_SuperBlockContent_Prepare),
30 gsSPClearGeometryMode(G_CULL_BACK | G_LIGHTING | G_SHADING_SMOOTH),
31 gsSPVertex(Entity_SuperBlockContent_vtx, 4, 0),
32 gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
33 gsSPEndDisplayList(),
34};
35
37 gsDPPipeSync(),
38 gsDPSetRenderMode(G_RM_ZB_CLD_SURF, G_RM_ZB_CLD_SURF2),
39 gsDPLoadTextureBlock_4b(D_0A000000_E4A6A0, G_IM_FMT_CI, 32, 32, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_MIRROR | G_TX_WRAP, 5, 5, G_TX_NOLOD, G_TX_NOLOD),
41 gsSPEndDisplayList(),
42};
43
45 gsDPPipeSync(),
46 gsDPSetRenderMode(G_RM_ZB_CLD_SURF, G_RM_ZB_CLD_SURF2),
47 gsDPLoadTextureBlock_4b(D_0A000000_E4A6A0, G_IM_FMT_CI, 32, 32, 0, G_TX_MIRROR | G_TX_WRAP, G_TX_MIRROR | G_TX_WRAP, 5, 5, G_TX_NOLOD, G_TX_NOLOD),
49 gsSPEndDisplayList(),
50};
Gfx Entity_SuperBlockContent_RenderImage[]
Vtx Entity_SuperBlockContent_vtx[]
Gfx Entity_SuperBlockContent_Prepare[]
Gfx Entity_SuperBlockContent_Render2[]
Gfx Entity_SuperBlockContent_Render[]
unsigned char D_0A000260_E4A900[]
unsigned char D_0A000200_E4A8A0[]
unsigned char D_0A000240_E4A8E0[]
unsigned char D_0A000220_E4A8C0[]
#define INCLUDE_PAL(FILENAME, SYMBOLNAME)
#define INCLUDE_IMG(FILENAME, SYMBOLNAME)