Mat Stack Fix

* Implemented new lightweight CPU/RDP profiler
* Added RSP profiling to the lightweight profiler
* Added CPU audio to lightweight profiler
* Changed lingering manual light struct definitions to gdSPDefLights1, made a dummy light for Koopa's pink shorts
* Ran script to convert all light commands to lightcolor commands
* Added define guards for the profiler
* Wrote function for setting up global light direction in the frame
* Moved camera matrix into projection stack
* Corrected cameraToObject for the new matrix stack (fixes culling and sound)
* Fixed billboarding with new matrix stack
* Fixed shadows with new matrix stack
* Fixed some areas where the game was previously extracting the camera matrix from various matrices
* Restored vanilla light and env map directions under new matrix stack
* Fix goddard crash
* Fix geo_process_level_of_detail
* Remove 'construct_float' from 'geo_process_level_of_detail'
* Removed some accidentally added files
* Removed unnecessary matrix multiplications in geo_process_object
* Added fixlights script to build system for fixing custom assets and added option to disable it if needed
* Fixed visual debug with new matstack and cleaned up visual debug code
* Fixed handling of WORLD_SCALE in view matrix so it doesn't get cancelled out
* Fixed clip planes not scaling based on WORLD_SCALE

Co-authored-by: Mr-Wiseguy <mrwiseguyromhacking@gmail.com>
Co-authored-by: Arceveti <arceveti@gmail.com>
Co-authored-by: thecozies <collinpferguson@gmail.com>
This commit is contained in:
authored and GitHub committed 2022-07-19 08:04:54 -05:00
1 parent 1820b146c0
commit 5a9b5a9751
441 files changed
+3271 -7508

No files matched your search

+16 -6
View File
@@ -85,6 +85,9 @@ else ifeq ($(VERSION),sh)
DEFINES += VERSION_SH=1
endif
# FIXLIGHTS - converts light objects to light color commands for assets, needed for vanilla-style lighting
FIXLIGHTS ?= 1
DEBUG_MAP_STACKTRACE_FLAG := -D DEBUG_MAP_STACKTRACE
TARGET := sm64
@@ -222,7 +225,7 @@ TARGET_STRING := sm64
# UNF - whether to use UNFLoader flashcart library
# 1 - includes code in ROM
# 0 - does not
# 0 - does not
UNF ?= 0
$(eval $(call validate-option,UNF,0 1))
ifeq ($(UNF),1)
@@ -234,7 +237,7 @@ endif
# ISVPRINT - whether to fake IS-Viewer presence,
# allowing for usage of CEN64 (and possibly Project64) to print messages to terminal.
# 1 - includes code in ROM
# 0 - does not
# 0 - does not
ISVPRINT ?= 0
$(eval $(call validate-option,ISVPRINT,0 1))
ifeq ($(ISVPRINT),1)
@@ -252,7 +255,7 @@ endif
# HVQM - whether to use HVQM fmv library
# 1 - includes code in ROM
# 0 - does not
# 0 - does not
HVQM ?= 0
$(eval $(call validate-option,HVQM,0 1))
ifeq ($(HVQM),1)
@@ -287,7 +290,7 @@ $(eval $(call validate-option,GZIPVER,std libdef))
# GODDARD - whether to use libgoddard (Mario Head)
# 1 - includes code in ROM
# 0 - does not
# 0 - does not
GODDARD ?= 0
$(eval $(call validate-option,GODDARD,0 1))
ifeq ($(GODDARD),1)
@@ -423,8 +426,6 @@ DEP_FILES := $(O_FILES:.o=.d) $(LIBZ_O_FILES:.o=.d) $(GODDARD_O_FILES:.o=.d) $(B
# detect prefix for MIPS toolchain
ifneq ($(call find-command,mips64-elf-ld),)
CROSS := mips64-elf-
else ifneq ($(call find-command,mips-n64-ld),)
CROSS := mips-n64-
else ifneq ($(call find-command,mips64-ld),)
CROSS := mips64-
else ifneq ($(call find-command,mips-linux-gnu-ld),)
@@ -513,6 +514,7 @@ AIFF_EXTRACT_CODEBOOK := $(TOOLS_DIR)/aiff_extract_codebook
VADPCM_ENC := $(TOOLS_DIR)/vadpcm_enc
EXTRACT_DATA_FOR_MIO := $(TOOLS_DIR)/extract_data_for_mio
SKYCONV := $(TOOLS_DIR)/skyconv
FIXLIGHTS_PY := $(TOOLS_DIR)/fixlights.py
ifeq ($(GZIPVER),std)
GZIP := gzip
else
@@ -814,6 +816,14 @@ $(BUILD_DIR)/src/game/version_data.h: tools/make_version.sh
#==============================================================================#
# Compile C code
ifeq ($(FIXLIGHTS),1)
# This must not be run multiple times at once, so we run it ahead of time rather than in a rule
DUMMY != $(FIXLIGHTS_PY) actors
# Modify the leveldata build rule to fix lights for any files in that level's folder
$(BUILD_DIR)/levels/%/leveldata.o: levels/%/leveldata.c
$(V)$(FIXLIGHTS_PY) $(dir $<)
$(V)$(CC) -c $(CFLAGS) -MMD -MF $(BUILD_DIR)/$*.d -o $@ $<
endif
$(BUILD_DIR)/%.o: %.c
$(call print,Compiling:,$<,$@)
$(V)$(CC) -c $(CFLAGS) -MMD -MF $(BUILD_DIR)/$*.d -o $@ $<
+16 -28
View File
@@ -1,22 +1,10 @@
// Birds
// 0x05000000
static const Lights1 birds_seg5_lights_05000000 = gdSPDefLights1(
0x07, 0x24, 0x2c,
0x1d, 0x91, 0xb0, 0x28, 0x28, 0x28
);
// 0x05000018
static const Lights1 birds_seg5_lights_05000018 = gdSPDefLights1(
0x33, 0x27, 0x0d,
0xce, 0x9d, 0x34, 0x28, 0x28, 0x28
);
// 0x05000030
static const Lights1 birds_seg5_lights_05000030 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05000048
static const Vtx birds_seg5_vertex_05000048[] = {
@@ -138,8 +126,8 @@ static const Vtx birds_seg5_vertex_050004C8[] = {
// 0x05000528 - 0x05000598
const Gfx birds_seg5_dl_05000528[] = {
gsSPLight(&birds_seg5_lights_05000000.l, 1),
gsSPLight(&birds_seg5_lights_05000000.a, 2),
gsSPLightColor(LIGHT_1, 0x1d91b0ff),
gsSPLightColor(LIGHT_2, 0x7242cff),
gsSPVertex(birds_seg5_vertex_05000048, 9, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
gsSP2Triangles( 4, 3, 2, 0x0, 5, 3, 6, 0x0),
@@ -151,16 +139,16 @@ const Gfx birds_seg5_dl_05000528[] = {
// 0x05000598 - 0x05000600
const Gfx birds_seg5_dl_05000598[] = {
gsSPLight(&birds_seg5_lights_05000000.l, 1),
gsSPLight(&birds_seg5_lights_05000000.a, 2),
gsSPLightColor(LIGHT_1, 0x1d91b0ff),
gsSPLightColor(LIGHT_2, 0x7242cff),
gsSPVertex(birds_seg5_vertex_050000D8, 3, 0),
gsSP1Triangle( 0, 1, 2, 0x0),
gsSPLight(&birds_seg5_lights_05000000.l, 1),
gsSPLight(&birds_seg5_lights_05000000.a, 2),
gsSPLightColor(LIGHT_1, 0x1d91b0ff),
gsSPLightColor(LIGHT_2, 0x7242cff),
gsSPVertex(birds_seg5_vertex_05000108, 3, 0),
gsSP1Triangle( 0, 1, 2, 0x0),
gsSPLight(&birds_seg5_lights_05000000.l, 1),
gsSPLight(&birds_seg5_lights_05000000.a, 2),
gsSPLightColor(LIGHT_1, 0x1d91b0ff),
gsSPLightColor(LIGHT_2, 0x7242cff),
gsSPVertex(birds_seg5_vertex_05000138, 3, 0),
gsSP1Triangle( 0, 1, 2, 0x0),
gsSPEndDisplayList(),
@@ -168,8 +156,8 @@ const Gfx birds_seg5_dl_05000598[] = {
// 0x05000600 - 0x05000670
const Gfx birds_seg5_dl_05000600[] = {
gsSPLight(&birds_seg5_lights_05000000.l, 1),
gsSPLight(&birds_seg5_lights_05000000.a, 2),
gsSPLightColor(LIGHT_1, 0x1d91b0ff),
gsSPLightColor(LIGHT_2, 0x7242cff),
gsSPVertex(birds_seg5_vertex_05000168, 9, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
gsSP2Triangles( 0, 3, 4, 0x0, 5, 3, 6, 0x0),
@@ -181,8 +169,8 @@ const Gfx birds_seg5_dl_05000600[] = {
// 0x05000670 - 0x050007E0
const Gfx birds_seg5_dl_05000670[] = {
gsSPLight(&birds_seg5_lights_05000000.l, 1),
gsSPLight(&birds_seg5_lights_05000000.a, 2),
gsSPLightColor(LIGHT_1, 0x1d91b0ff),
gsSPLightColor(LIGHT_2, 0x7242cff),
gsSPVertex(birds_seg5_vertex_050001F8, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 1, 9, 10, 0x0),
@@ -198,16 +186,16 @@ const Gfx birds_seg5_dl_05000670[] = {
gsSP1Triangle( 7, 6, 15, 0x0),
gsSPVertex(birds_seg5_vertex_050003F8, 3, 0),
gsSP1Triangle( 0, 1, 2, 0x0),
gsSPLight(&birds_seg5_lights_05000030.l, 1),
gsSPLight(&birds_seg5_lights_05000030.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(birds_seg5_vertex_05000428, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 0, 7, 0x0, 7, 8, 6, 0x0),
gsSP2Triangles( 9, 7, 2, 0x0, 2, 7, 0, 0x0),
gsSP2Triangles( 2, 3, 9, 0x0, 7, 9, 8, 0x0),
gsSP1Triangle( 5, 4, 1, 0x0),
gsSPLight(&birds_seg5_lights_05000018.l, 1),
gsSPLight(&birds_seg5_lights_05000018.a, 2),
gsSPLightColor(LIGHT_1, 0xce9d34ff),
gsSPLightColor(LIGHT_2, 0x33270dff),
gsSPVertex(birds_seg5_vertex_050004C8, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 4, 0x0),
gsSP1Triangle( 1, 3, 5, 0x0),
+10 -30
View File
@@ -1,34 +1,14 @@
// Blargg (Unused)
// Unreferenced light group
UNUSED static const Lights1 blargg_lights_unused = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05004740
static const Lights1 blargg_seg5_lights_05004740 = gdSPDefLights1(
0x3f, 0x0d, 0x05,
0xff, 0x36, 0x16, 0x28, 0x28, 0x28
);
// 0x05004758
static const Lights1 blargg_seg5_lights_05004758 = gdSPDefLights1(
0x2c, 0x2c, 0x2c,
0xb2, 0xb2, 0xb2, 0x28, 0x28, 0x28
);
// 0x05004770
static const Lights1 blargg_seg5_lights_05004770 = gdSPDefLights1(
0x3f, 0x0a, 0x06,
0xff, 0x2a, 0x1a, 0x28, 0x28, 0x28
);
// 0x05004788
static const Lights1 blargg_seg5_lights_05004788 = gdSPDefLights1(
0x3f, 0x0b, 0x07,
0xff, 0x2e, 0x1f, 0x28, 0x28, 0x28
);
// 0x050047A0
static const Vtx blargg_seg5_vertex_050047A0[] = {
@@ -383,8 +363,8 @@ static const Vtx blargg_seg5_vertex_050057E0[] = {
// 0x050058D0 - 0x05005A60
const Gfx blargg_seg5_dl_050058D0[] = {
gsSPLight(&blargg_seg5_lights_05004758.l, 1),
gsSPLight(&blargg_seg5_lights_05004758.a, 2),
gsSPLightColor(LIGHT_1, 0xb2b2b2ff),
gsSPLightColor(LIGHT_2, 0x2c2c2cff),
gsSPVertex(blargg_seg5_vertex_050047A0, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -398,8 +378,8 @@ const Gfx blargg_seg5_dl_050058D0[] = {
gsSPVertex(blargg_seg5_vertex_050049A0, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
gsSPLight(&blargg_seg5_lights_05004740.l, 1),
gsSPLight(&blargg_seg5_lights_05004740.a, 2),
gsSPLightColor(LIGHT_1, 0xff3616ff),
gsSPLightColor(LIGHT_2, 0x3f0d05ff),
gsSPVertex(blargg_seg5_vertex_05004A20, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -418,8 +398,8 @@ const Gfx blargg_seg5_dl_050058D0[] = {
// 0x05005A60 - 0x05005D00
const Gfx blargg_seg5_dl_05005A60[] = {
gsSPLight(&blargg_seg5_lights_05004758.l, 1),
gsSPLight(&blargg_seg5_lights_05004758.a, 2),
gsSPLightColor(LIGHT_1, 0xb2b2b2ff),
gsSPLightColor(LIGHT_2, 0x2c2c2cff),
gsSPVertex(blargg_seg5_vertex_05004BE0, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -433,8 +413,8 @@ const Gfx blargg_seg5_dl_05005A60[] = {
gsSPVertex(blargg_seg5_vertex_05004DE0, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
gsSPLight(&blargg_seg5_lights_05004770.l, 1),
gsSPLight(&blargg_seg5_lights_05004770.a, 2),
gsSPLightColor(LIGHT_1, 0xff2a1aff),
gsSPLightColor(LIGHT_2, 0x3f0a06ff),
gsSPVertex(blargg_seg5_vertex_05004E60, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 2, 6, 7, 0x0, 2, 7, 8, 0x0),
@@ -472,8 +452,8 @@ const Gfx blargg_seg5_dl_05005A60[] = {
// 0x05005D00 - 0x05005EB8
const Gfx blargg_seg5_dl_05005D00[] = {
gsSPLight(&blargg_seg5_lights_05004788.l, 1),
gsSPLight(&blargg_seg5_lights_05004788.a, 2),
gsSPLightColor(LIGHT_1, 0xff2e1fff),
gsSPLightColor(LIGHT_2, 0x3f0b07ff),
gsSPVertex(blargg_seg5_vertex_050053E0, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
+2 -6
View File
@@ -1,10 +1,6 @@
// Blue Coin Switch
// 0x08000000
static const Lights1 blue_coin_switch_seg8_lights_08000000 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x08000018
ALIGNED8 static const Texture blue_coin_switch_seg8_texture_08000018[] = {
@@ -49,8 +45,8 @@ const Gfx blue_coin_switch_seg8_dl_08000D58[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, blue_coin_switch_seg8_texture_08000018),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&blue_coin_switch_seg8_lights_08000000.l, 1),
gsSPLight(&blue_coin_switch_seg8_lights_08000000.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(blue_coin_switch_seg8_vertex_08000C18, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
+4 -8
View File
@@ -1,10 +1,6 @@
// Blue Fish
// 0x0301B5C8
static const Lights1 blue_fish_seg3_lights_0301B5C8 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0301B5E0
ALIGNED8 static const Texture blue_fish_seg3_texture_0301B5E0[] = {
@@ -34,8 +30,8 @@ const Gfx blue_fish_seg3_dl_0301BEC0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, blue_fish_seg3_texture_0301B5E0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&blue_fish_seg3_lights_0301B5C8.l, 1),
gsSPLight(&blue_fish_seg3_lights_0301B5C8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(blue_fish_seg3_vertex_0301BDE0, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 4, 0x0),
gsSP2Triangles( 5, 0, 3, 0x0, 2, 6, 0, 0x0),
@@ -86,8 +82,8 @@ const Gfx blue_fish_seg3_dl_0301C0A8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, blue_fish_seg3_texture_0301B5E0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&blue_fish_seg3_lights_0301B5C8.l, 1),
gsSPLight(&blue_fish_seg3_lights_0301B5C8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(blue_fish_seg3_vertex_0301C018, 9, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 4, 0x0),
gsSP2Triangles( 4, 5, 2, 0x0, 2, 5, 6, 0x0),
+6 -18
View File
@@ -168,22 +168,10 @@ const Gfx bobomb_seg8_dl_08022D78[] = {
};
// 0x08022DE8
static const Lights1 bobomb_seg8_lights_08022DE8 = gdSPDefLights1(
0x3f, 0x26, 0x04,
0xff, 0x99, 0x12, 0x28, 0x28, 0x28
);
// 0x08022E00
static const Lights1 bobomb_seg8_lights_08022E00 = gdSPDefLights1(
0x2c, 0x2c, 0x2c,
0xb2, 0xb2, 0xb2, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 bobomb_lights_unused = gdSPDefLights1(
0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x08022E30
static const Vtx bobomb_seg8_vertex_08022E30[] = {
@@ -279,8 +267,8 @@ static const Vtx bobomb_seg8_vertex_08023190[] = {
// 0x08023270 - 0x08023378
const Gfx bobomb_seg8_dl_08023270[] = {
gsSPLight(&bobomb_seg8_lights_08022DE8.l, 1),
gsSPLight(&bobomb_seg8_lights_08022DE8.a, 2),
gsSPLightColor(LIGHT_1, 0xff9912ff),
gsSPLightColor(LIGHT_2, 0x3f2604ff),
gsSPVertex(bobomb_seg8_vertex_08022E30, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
@@ -302,8 +290,8 @@ const Gfx bobomb_seg8_dl_08023270[] = {
// 0x08023378 - 0x08023480
const Gfx bobomb_seg8_dl_08023378[] = {
gsSPLight(&bobomb_seg8_lights_08022DE8.l, 1),
gsSPLight(&bobomb_seg8_lights_08022DE8.a, 2),
gsSPLightColor(LIGHT_1, 0xff9912ff),
gsSPLightColor(LIGHT_2, 0x3f2604ff),
gsSPVertex(bobomb_seg8_vertex_08022F70, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
@@ -325,8 +313,8 @@ const Gfx bobomb_seg8_dl_08023378[] = {
// 0x08023480 - 0x08023528
const Gfx bobomb_seg8_dl_08023480[] = {
gsSPLight(&bobomb_seg8_lights_08022E00.l, 1),
gsSPLight(&bobomb_seg8_lights_08022E00.a, 2),
gsSPLightColor(LIGHT_1, 0xb2b2b2ff),
gsSPLightColor(LIGHT_2, 0x2c2c2cff),
gsSPVertex(bobomb_seg8_vertex_080230B0, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 0, 3, 0x0, 4, 3, 5, 0x0),
+2 -6
View File
@@ -1,10 +1,6 @@
// Bomb
// 0x06057AA8
static const Lights1 bomb_seg6_lights_06057AA8 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06057AC0
ALIGNED8 static const Texture bomb_seg6_texture_06057AC0[] = {
@@ -173,8 +169,8 @@ const Gfx bomb_seg6_dl_0605A8A8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bomb_seg6_texture_06059AC0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bomb_seg6_lights_06057AA8.l, 1),
gsSPLight(&bomb_seg6_lights_06057AA8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(bomb_seg6_vertex_0605A340, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
+2 -6
View File
@@ -1,10 +1,6 @@
// Boo
// 0x05009B28
static const Lights1 boo_seg5_lights_05009B28 = gdSPDefLights1(
0x97, 0x9a, 0xff,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05009B40
ALIGNED8 static const Texture boo_seg5_texture_05009B40[] = {
@@ -261,8 +257,8 @@ const Gfx boo_seg5_dl_0500BEE0[] = {
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0, G_TX_LOADTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&boo_seg5_lights_05009B28.l, 1),
gsSPLight(&boo_seg5_lights_05009B28.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x979affff),
gsSPVertex(boo_seg5_vertex_0500B340, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
+2 -6
View File
@@ -1,10 +1,6 @@
// Boo (Castle)
// 0x06015658
static const Lights1 boo_castle_seg6_lights_06015658 = gdSPDefLights1(
0x97, 0x9a, 0xff,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06015670
ALIGNED8 static const Texture boo_castle_seg6_texture_06015670[] = {
@@ -261,8 +257,8 @@ const Gfx boo_castle_seg6_dl_06017A10[] = {
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0, G_TX_LOADTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&boo_castle_seg6_lights_06015658.l, 1),
gsSPLight(&boo_castle_seg6_lights_06015658.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x979affff),
gsSPVertex(boo_castle_seg6_vertex_06016E70, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
+2 -6
View File
@@ -3,10 +3,6 @@
// This actor file requires including actor bookend because of bookend_seg5_texture_05000C60
// 0x05002558
static const Lights1 book_seg5_lights_05002558 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05002570
ALIGNED8 static const Texture book_seg5_texture_05002570[] = {
@@ -50,8 +46,8 @@ const Gfx book_seg5_dl_05002EF0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bookend_seg5_texture_05000C60),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 32 - 1, CALC_DXT(16, G_IM_SIZ_16b_BYTES)),
gsSPLight(&book_seg5_lights_05002558.l, 1),
gsSPLight(&book_seg5_lights_05002558.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(book_seg5_vertex_05002D70, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
+12 -52
View File
@@ -1,28 +1,12 @@
// Bookend
// Unreferenced light group
UNUSED static const Lights1 bookend_lights_unused1 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 bookend_lights_unused2 = gdSPDefLights1(
0x03, 0x19, 0x09,
0x0c, 0x66, 0x26, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 bookend_lights_unused3 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 bookend_lights_unused4 = gdSPDefLights1(
0x3f, 0x00, 0x00,
0xff, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x05000060
ALIGNED8 static const Texture bookend_seg5_texture_05000060[] = {
@@ -50,10 +34,6 @@ ALIGNED8 static const Texture bookend_seg5_texture_05001060[] = {
};
// 0x05001860
static const Lights1 bookend_seg5_lights_05001860 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05001878
static const Vtx bookend_seg5_vertex_05001878[] = {
@@ -76,8 +56,8 @@ const Gfx bookend_seg5_dl_050018F8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bookend_seg5_texture_05000060),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 32 - 1, CALC_DXT(16, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bookend_seg5_lights_05001860.l, 1),
gsSPLight(&bookend_seg5_lights_05001860.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(bookend_seg5_vertex_05001878, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSPEndDisplayList(),
@@ -116,10 +96,6 @@ const Gfx bookend_seg5_dl_05001978[] = {
};
// 0x05001A08
static const Lights1 bookend_seg5_lights_05001A08 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05001A20
static const Vtx bookend_seg5_vertex_05001A20[] = {
@@ -142,8 +118,8 @@ const Gfx bookend_seg5_dl_05001AA0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bookend_seg5_texture_05000060),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 32 - 1, CALC_DXT(16, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bookend_seg5_lights_05001A08.l, 1),
gsSPLight(&bookend_seg5_lights_05001A08.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(bookend_seg5_vertex_05001A20, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
@@ -182,10 +158,6 @@ const Gfx bookend_seg5_dl_05001B20[] = {
};
// 0x05001BB0
static const Lights1 bookend_seg5_lights_05001BB0 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05001BC8
static const Vtx bookend_seg5_vertex_05001BC8[] = {
@@ -216,8 +188,8 @@ const Gfx bookend_seg5_dl_05001CC8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bookend_seg5_texture_05000860),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 32 - 1, CALC_DXT(16, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bookend_seg5_lights_05001BB0.l, 1),
gsSPLight(&bookend_seg5_lights_05001BB0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(bookend_seg5_vertex_05001BC8, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSPEndDisplayList(),
@@ -255,10 +227,6 @@ const Gfx bookend_seg5_dl_05001D68[] = {
};
// 0x05001DE0
static const Lights1 bookend_seg5_lights_05001DE0 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05001DF8
static const Vtx bookend_seg5_vertex_05001DF8[] = {
@@ -289,8 +257,8 @@ const Gfx bookend_seg5_dl_05001EF8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bookend_seg5_texture_05000860),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 32 - 1, CALC_DXT(16, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bookend_seg5_lights_05001DE0.l, 1),
gsSPLight(&bookend_seg5_lights_05001DE0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(bookend_seg5_vertex_05001DF8, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSPEndDisplayList(),
@@ -328,10 +296,6 @@ const Gfx bookend_seg5_dl_05001F98[] = {
};
// 0x05002010
static const Lights1 bookend_seg5_lights_05002010 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05002028
static const Vtx bookend_seg5_vertex_05002028[] = {
@@ -354,8 +318,8 @@ const Gfx bookend_seg5_dl_050020E8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bookend_seg5_texture_05000460),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 32 - 1, CALC_DXT(16, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bookend_seg5_lights_05002010.l, 1),
gsSPLight(&bookend_seg5_lights_05002010.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(bookend_seg5_vertex_05002028, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -381,10 +345,6 @@ const Gfx bookend_seg5_dl_05002140[] = {
};
// 0x050021B0
static const Lights1 bookend_seg5_lights_050021B0 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x050021C8
static const Vtx bookend_seg5_vertex_050021C8[] = {
@@ -407,8 +367,8 @@ const Gfx bookend_seg5_dl_05002288[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bookend_seg5_texture_05000460),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 32 - 1, CALC_DXT(16, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bookend_seg5_lights_050021B0.l, 1),
gsSPLight(&bookend_seg5_lights_050021B0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(bookend_seg5_vertex_050021C8, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
+28 -40
View File
@@ -148,22 +148,10 @@ ALIGNED8 static const Texture bowser_seg6_texture_06037C38[] = {
};
// 0x06038C38
static const Lights1 bowser_seg6_lights_06038C38 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 bowser_lights_unused1 = gdSPDefLights1(
0x33, 0x31, 0x00,
0xce, 0xc7, 0x00, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 bowser_lights_unused2 = gdSPDefLights1(
0x34, 0x34, 0x00,
0xd2, 0xd2, 0x00, 0x28, 0x28, 0x28
);
// 0x06038C80
static const Vtx bowser_seg6_vertex_06038C80[] = {
@@ -267,8 +255,8 @@ const Gfx bowser_seg6_dl_06039110[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bowser_seg6_texture_06022438),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bowser_seg6_lights_06038C38.l, 1),
gsSPLight(&bowser_seg6_lights_06038C38.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(bowser_seg6_vertex_06038C80, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 4, 6, 5, 0x0, 7, 8, 9, 0x0),
@@ -439,8 +427,8 @@ const Gfx bowser_seg6_dl_06039808[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bowser_seg6_texture_06023C38),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bowser_seg6_lights_06038C38.l, 1),
gsSPLight(&bowser_seg6_lights_06038C38.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(bowser_seg6_vertex_06039368, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
@@ -671,8 +659,8 @@ const Gfx bowser_seg6_dl_0603A210[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bowser_seg6_texture_06022438),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bowser_seg6_lights_06038C38.l, 1),
gsSPLight(&bowser_seg6_lights_06038C38.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(bowser_seg6_vertex_06039A60, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 4, 0x0),
gsSP2Triangles( 4, 0, 2, 0x0, 2, 1, 5, 0x0),
@@ -947,8 +935,8 @@ const Gfx bowser_seg6_dl_0603AED8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bowser_seg6_texture_06022438),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bowser_seg6_lights_06038C38.l, 1),
gsSPLight(&bowser_seg6_lights_06038C38.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(bowser_seg6_vertex_0603A568, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 4, 6, 5, 0x0, 7, 5, 8, 0x0),
@@ -1132,8 +1120,8 @@ const Gfx bowser_seg6_dl_0603B718[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bowser_seg6_texture_06022438),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bowser_seg6_lights_06038C38.l, 1),
gsSPLight(&bowser_seg6_lights_06038C38.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(bowser_seg6_vertex_0603B288, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 1, 3, 0x0),
gsSP2Triangles( 1, 4, 3, 0x0, 5, 3, 4, 0x0),
@@ -1308,8 +1296,8 @@ const Gfx bowser_seg6_dl_0603BDF8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bowser_seg6_texture_06023C38),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bowser_seg6_lights_06038C38.l, 1),
gsSPLight(&bowser_seg6_lights_06038C38.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(bowser_seg6_vertex_0603B948, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 3, 5, 0x0, 7, 6, 5, 0x0),
@@ -1481,8 +1469,8 @@ const Gfx bowser_seg6_dl_0603C500[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bowser_seg6_texture_06023C38),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bowser_seg6_lights_06038C38.l, 1),
gsSPLight(&bowser_seg6_lights_06038C38.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(bowser_seg6_vertex_0603C050, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 7, 0x0, 3, 7, 4, 0x0),
@@ -1716,8 +1704,8 @@ const Gfx bowser_seg6_dl_0603CF28[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bowser_seg6_texture_06022438),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bowser_seg6_lights_06038C38.l, 1),
gsSPLight(&bowser_seg6_lights_06038C38.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(bowser_seg6_vertex_0603C758, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
gsSP2Triangles( 5, 0, 4, 0x0, 0, 2, 6, 0x0),
@@ -2007,8 +1995,8 @@ const Gfx bowser_seg6_dl_0603DC70[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bowser_seg6_texture_06022438),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bowser_seg6_lights_06038C38.l, 1),
gsSPLight(&bowser_seg6_lights_06038C38.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(bowser_seg6_vertex_0603D280, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 4, 6, 7, 0x0, 4, 7, 8, 0x0),
@@ -2197,8 +2185,8 @@ const Gfx bowser_seg6_dl_0603E500[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bowser_seg6_texture_06022438),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bowser_seg6_lights_06038C38.l, 1),
gsSPLight(&bowser_seg6_lights_06038C38.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(bowser_seg6_vertex_0603E030, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
@@ -2676,8 +2664,8 @@ const Gfx bowser_seg6_dl_0603FBA8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bowser_seg6_texture_06023C38),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bowser_seg6_lights_06038C38.l, 1),
gsSPLight(&bowser_seg6_lights_06038C38.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(bowser_seg6_vertex_0603E718, 9, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -3388,8 +3376,8 @@ const Gfx bowser_seg6_dl_06041A28[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bowser_seg6_texture_06028438),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bowser_seg6_lights_06038C38.l, 1),
gsSPLight(&bowser_seg6_lights_06038C38.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(bowser_seg6_vertex_060402D8, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -3945,8 +3933,8 @@ const Gfx bowser_seg6_dl_06042EE0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bowser_seg6_texture_06020C38),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bowser_seg6_lights_06038C38.l, 1),
gsSPLight(&bowser_seg6_lights_06038C38.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(bowser_seg6_vertex_06042660, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 5, 6, 0x0, 6, 7, 3, 0x0),
@@ -4103,8 +4091,8 @@ const Gfx bowser_seg6_dl_06043548[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bowser_seg6_texture_06022438),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bowser_seg6_lights_06038C38.l, 1),
gsSPLight(&bowser_seg6_lights_06038C38.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(bowser_seg6_vertex_06043278, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 0, 0x0),
gsSP2Triangles( 0, 2, 3, 0x0, 0, 5, 1, 0x0),
+2 -6
View File
@@ -1,10 +1,6 @@
// Bowser Key
// 0x030156E0, ambient color brown - light color orange
static const Lights1 bowser_key_lights = gdSPDefLights1(
0x3f, 0x2c, 0x00,
0xff, 0xb2, 0x00, 0x28, 0x28, 0x28
);
// 0x030156F8
static const Vtx bowser_key_dl_vertex_group1[] = {
@@ -232,8 +228,8 @@ static const Vtx bowser_key_dl_vertex_group12[] = {
// 0x030161F8 - 0x03016530
const Gfx bowser_key_dl[] = {
gsSPLight(&bowser_key_lights.l, 1),
gsSPLight(&bowser_key_lights.a, 2),
gsSPLightColor(LIGHT_1, 0xffb200ff),
gsSPLightColor(LIGHT_2, 0x3f2c00ff),
gsSPVertex(bowser_key_dl_vertex_group1, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
+2 -6
View File
@@ -1,10 +1,6 @@
// Breakable Box
// 0x08011A78
static const Lights1 breakable_box_seg8_lights_default = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x08011A90
ALIGNED8 static const Texture breakable_box_seg8_texture_08011A90[] = {
@@ -48,8 +44,8 @@ static const Vtx breakable_box_seg8_vertex[] = {
// 0x08012C30 - 0x08012CD8
const Gfx breakable_box_seg8_sub_dl_end[] = {
gsSPLight(&breakable_box_seg8_lights_default.l, 1),
gsSPLight(&breakable_box_seg8_lights_default.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(breakable_box_seg8_vertex, 26, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
+12 -20
View File
@@ -1,16 +1,8 @@
// Bub
// 0x0600E278
static const Lights1 bub_seg6_lights_0600E280 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0600E290
static const Lights1 bub_seg6_lights_0600E290 = gdSPDefLights1(
0x3f, 0x1d, 0x25,
0xff, 0x75, 0x94, 0x28, 0x28, 0x28
);
// 0x0600E2A8
ALIGNED8 static const Texture bub_seg6_texture_0600E2A8[] = {
@@ -163,8 +155,8 @@ const Gfx bub_seg6_dl_06011848[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bub_seg6_texture_0600E2A8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bub_seg6_lights_0600E280.l, 1),
gsSPLight(&bub_seg6_lights_0600E280.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(bub_seg6_vertex_060112A8, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 5, 7, 6, 0x0),
@@ -222,8 +214,8 @@ const Gfx bub_seg6_dl_06011968[] = {
// 0x06011A50 - 0x06011B28
const Gfx bub_seg6_dl_06011A50[] = {
gsSPLight(&bub_seg6_lights_0600E290.l, 1),
gsSPLight(&bub_seg6_lights_0600E290.a, 2),
gsSPLightColor(LIGHT_1, 0xff7594ff),
gsSPLightColor(LIGHT_2, 0x3f1d25ff),
gsSPVertex(bub_seg6_vertex_06011718, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 1, 4, 2, 0x0, 1, 3, 4, 0x0),
@@ -232,8 +224,8 @@ const Gfx bub_seg6_dl_06011A50[] = {
gsSP2Triangles( 8, 9, 10, 0x0, 8, 5, 0, 0x0),
gsSP2Triangles( 0, 11, 8, 0x0, 8, 10, 5, 0x0),
gsSP2Triangles( 5, 10, 6, 0x0, 10, 9, 6, 0x0),
gsSPLight(&bub_seg6_lights_0600E280.l, 1),
gsSPLight(&bub_seg6_lights_0600E280.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(bub_seg6_vertex_060117D8, 7, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 4, 0x0),
gsSP2Triangles( 2, 1, 5, 0x0, 2, 5, 6, 0x0),
@@ -284,8 +276,8 @@ const Gfx bub_seg6_dl_06011C58[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bub_seg6_texture_0600EAA8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bub_seg6_lights_0600E280.l, 1),
gsSPLight(&bub_seg6_lights_0600E280.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(bub_seg6_vertex_06011BD8, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
gsSP2Triangles( 4, 5, 0, 0x0, 0, 5, 6, 0x0),
@@ -328,8 +320,8 @@ const Gfx bub_seg6_dl_06011DC0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bub_seg6_texture_0600EAA8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bub_seg6_lights_0600E280.l, 1),
gsSPLight(&bub_seg6_lights_0600E280.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(bub_seg6_vertex_06011D50, 7, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 2, 0x0),
gsSP2Triangles( 2, 4, 0, 0x0, 3, 2, 1, 0x0),
@@ -371,8 +363,8 @@ const Gfx bub_seg6_dl_06011F18[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bub_seg6_texture_0600EAA8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bub_seg6_lights_0600E280.l, 1),
gsSPLight(&bub_seg6_lights_0600E280.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(bub_seg6_vertex_06011EA8, 7, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 3, 0, 0x0, 0, 5, 6, 0x0),
+20 -44
View File
@@ -34,22 +34,10 @@ ALIGNED8 static const Texture bubba_seg5_texture_05002408[] = {
};
// 0x05004408
static const Lights1 bubba_seg5_lights_05004408 = gdSPDefLights1(
0x48, 0x31, 0x2a,
0xf1, 0xa6, 0x8c, 0x28, 0x28, 0x28
);
// 0x05004420
static const Lights1 bubba_seg5_lights_05004420 = gdSPDefLights1(
0x4c, 0x4c, 0x4c,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05004438
static const Lights1 bubba_seg5_lights_05004438 = gdSPDefLights1(
0x10, 0x07, 0x08,
0x36, 0x1a, 0x1c, 0x28, 0x28, 0x28
);
// 0x05004450
static const Vtx bubba_seg5_vertex_05004450[] = {
@@ -187,8 +175,8 @@ const Gfx bubba_seg5_dl_05004A40[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bubba_seg5_texture_05000008),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 32 - 1, CALC_DXT(16, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bubba_seg5_lights_05004408.l, 1),
gsSPLight(&bubba_seg5_lights_05004408.a, 2),
gsSPLightColor(LIGHT_1, 0xf1a68cff),
gsSPLightColor(LIGHT_2, 0x48312aff),
gsSPVertex(bubba_seg5_vertex_05004450, 7, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 0, 0x0),
gsSP2Triangles( 4, 1, 3, 0x0, 5, 1, 4, 0x0),
@@ -201,8 +189,8 @@ const Gfx bubba_seg5_dl_05004AA8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bubba_seg5_texture_05001408),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bubba_seg5_lights_05004420.l, 1),
gsSPLight(&bubba_seg5_lights_05004420.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x4c4c4cff),
gsSPVertex(bubba_seg5_vertex_050044C0, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 0, 0x0),
gsSP2Triangles( 0, 2, 3, 0x0, 5, 0, 4, 0x0),
@@ -262,8 +250,8 @@ const Gfx bubba_seg5_dl_05004C40[] = {
// 0x05004D48 - 0x05004E80
const Gfx bubba_seg5_dl_05004D48[] = {
gsSPLight(&bubba_seg5_lights_05004408.l, 1),
gsSPLight(&bubba_seg5_lights_05004408.a, 2),
gsSPLightColor(LIGHT_1, 0xf1a68cff),
gsSPLightColor(LIGHT_2, 0x48312aff),
gsSPVertex(bubba_seg5_vertex_05004870, 13, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 2, 4, 5, 0x0, 4, 6, 5, 0x0),
@@ -272,16 +260,16 @@ const Gfx bubba_seg5_dl_05004D48[] = {
gsSP2Triangles(10, 11, 7, 0x0, 3, 7, 0, 0x0),
gsSP2Triangles( 0, 11, 1, 0x0, 6, 10, 9, 0x0),
gsSP2Triangles(12, 10, 6, 0x0, 12, 11, 10, 0x0),
gsSPLight(&bubba_seg5_lights_05004438.l, 1),
gsSPLight(&bubba_seg5_lights_05004438.a, 2),
gsSPLightColor(LIGHT_1, 0x361a1cff),
gsSPLightColor(LIGHT_2, 0x100708ff),
gsSPVertex(bubba_seg5_vertex_05004940, 9, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 7, 0x0, 5, 6, 3, 0x0),
gsSP2Triangles( 3, 8, 4, 0x0, 7, 6, 5, 0x0),
gsSP2Triangles( 8, 2, 1, 0x0, 8, 1, 0, 0x0),
gsSP1Triangle( 4, 8, 0, 0x0),
gsSPLight(&bubba_seg5_lights_05004420.l, 1),
gsSPLight(&bubba_seg5_lights_05004420.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x4c4c4cff),
gsSPVertex(bubba_seg5_vertex_050049D0, 7, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 0, 0x0, 0, 5, 3, 0x0),
@@ -316,22 +304,10 @@ const Gfx bubba_seg5_dl_05004E80[] = {
};
// 0x05004F30
static const Lights1 bubba_seg5_lights_05004F30 = gdSPDefLights1(
0x48, 0x31, 0x2a,
0xf1, 0xa6, 0x8c, 0x28, 0x28, 0x28
);
// 0x05004F48
static const Lights1 bubba_seg5_lights_05004F50 = gdSPDefLights1(
0x4c, 0x4c, 0x4c,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05004F60
static const Lights1 bubba_seg5_lights_05004F60 = gdSPDefLights1(
0x0a, 0x07, 0x08,
0x22, 0x1a, 0x1c, 0x28, 0x28, 0x28
);
// 0x05004F78
static const Vtx bubba_seg5_vertex_05004F78[] = {
@@ -466,8 +442,8 @@ const Gfx bubba_seg5_dl_05005538[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bubba_seg5_texture_05000008),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 32 - 1, CALC_DXT(16, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bubba_seg5_lights_05004F30.l, 1),
gsSPLight(&bubba_seg5_lights_05004F30.a, 2),
gsSPLightColor(LIGHT_1, 0xf1a68cff),
gsSPLightColor(LIGHT_2, 0x48312aff),
gsSPVertex(bubba_seg5_vertex_05004F78, 7, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 4, 0x0),
gsSP2Triangles( 4, 0, 5, 0x0, 5, 0, 2, 0x0),
@@ -480,8 +456,8 @@ const Gfx bubba_seg5_dl_050055A0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bubba_seg5_texture_05001408),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bubba_seg5_lights_05004F50.l, 1),
gsSPLight(&bubba_seg5_lights_05004F50.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x4c4c4cff),
gsSPVertex(bubba_seg5_vertex_05004FE8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
gsSP2Triangles( 0, 5, 3, 0x0, 6, 5, 0, 0x0),
@@ -541,8 +517,8 @@ const Gfx bubba_seg5_dl_05005738[] = {
// 0x05005840 - 0x05005978
const Gfx bubba_seg5_dl_05005840[] = {
gsSPLight(&bubba_seg5_lights_05004F30.l, 1),
gsSPLight(&bubba_seg5_lights_05004F30.a, 2),
gsSPLightColor(LIGHT_1, 0xf1a68cff),
gsSPLightColor(LIGHT_2, 0x48312aff),
gsSPVertex(bubba_seg5_vertex_05005368, 13, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 4, 0x0),
gsSP2Triangles( 5, 2, 1, 0x0, 1, 6, 5, 0x0),
@@ -551,16 +527,16 @@ const Gfx bubba_seg5_dl_05005840[] = {
gsSP2Triangles(11, 6, 1, 0x0, 9, 10, 8, 0x0),
gsSP2Triangles(12, 5, 9, 0x0, 7, 5, 12, 0x0),
gsSP2Triangles( 9, 8, 12, 0x0, 0, 11, 1, 0x0),
gsSPLight(&bubba_seg5_lights_05004F60.l, 1),
gsSPLight(&bubba_seg5_lights_05004F60.a, 2),
gsSPLightColor(LIGHT_1, 0x221a1cff),
gsSPLightColor(LIGHT_2, 0xa0708ff),
gsSPVertex(bubba_seg5_vertex_05005438, 9, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 5, 4, 6, 0x0, 6, 4, 3, 0x0),
gsSP2Triangles( 3, 7, 6, 0x0, 3, 8, 7, 0x0),
gsSP2Triangles( 7, 8, 0, 0x0, 8, 1, 0, 0x0),
gsSP1Triangle( 8, 2, 1, 0x0),
gsSPLight(&bubba_seg5_lights_05004F50.l, 1),
gsSPLight(&bubba_seg5_lights_05004F50.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x4c4c4cff),
gsSPVertex(bubba_seg5_vertex_050054C8, 7, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
gsSP2Triangles( 0, 4, 1, 0x0, 5, 6, 0, 0x0),
+2 -6
View File
@@ -1,10 +1,6 @@
// Bullet Bill
// 0x0500BA90
static const Lights1 bullet_bill_seg5_lights_0500BA90 = gdSPDefLights1(
0x06, 0x07, 0x14,
0x19, 0x1c, 0x52, 0x28, 0x28, 0x28
);
// 0x0500BAA8
ALIGNED8 static const Texture bullet_bill_seg5_texture_0500BAA8[] = {
@@ -255,8 +251,8 @@ const Gfx bullet_bill_seg5_dl_0500E5E8[] = {
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0, G_TX_LOADTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bullet_bill_seg5_lights_0500BA90.l, 1),
gsSPLight(&bullet_bill_seg5_lights_0500BA90.a, 2),
gsSPLightColor(LIGHT_1, 0x191c52ff),
gsSPLightColor(LIGHT_2, 0x60714ff),
gsSPVertex(bullet_bill_seg5_vertex_0500DAA8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
+6 -22
View File
@@ -60,28 +60,12 @@ const Gfx bully_seg5_dl_05000398[] = {
};
// 0x05000408
static const Lights1 bully_seg5_lights_05000408 = gdSPDefLights1(
0x00, 0x38, 0x00,
0x00, 0xe3, 0x00, 0x28, 0x28, 0x28
);
// 0x05000420
static const Lights1 bully_seg5_lights_05000420 = gdSPDefLights1(
0x00, 0x3f, 0x00,
0x00, 0xff, 0x00, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 bully_lights_unused = gdSPDefLights1(
0x3f, 0x29, 0x00,
0xff, 0xa5, 0x00, 0x28, 0x28, 0x28
);
// 0x05000450
static const Lights1 bully_seg5_lights_05000450 = gdSPDefLights1(
0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x05000468
ALIGNED8 static const Texture bully_seg5_texture_05000468[] = {
@@ -312,8 +296,8 @@ static const Vtx bully_seg5_vertex_05003608[] = {
// 0x05003708 - 0x050037A0
const Gfx bully_seg5_dl_05003708[] = {
gsSPLight(&bully_seg5_lights_05000408.l, 1),
gsSPLight(&bully_seg5_lights_05000408.a, 2),
gsSPLightColor(LIGHT_1, 0xe300ff),
gsSPLightColor(LIGHT_2, 0x3800ff),
gsSPVertex(bully_seg5_vertex_05002C68, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 1, 3, 0x0),
gsSP2Triangles( 2, 3, 4, 0x0, 1, 5, 6, 0x0),
@@ -328,8 +312,8 @@ const Gfx bully_seg5_dl_05003708[] = {
// 0x050037A0 - 0x05003838
const Gfx bully_seg5_dl_050037A0[] = {
gsSPLight(&bully_seg5_lights_05000420.l, 1),
gsSPLight(&bully_seg5_lights_05000420.a, 2),
gsSPLightColor(LIGHT_1, 0xff00ff),
gsSPLightColor(LIGHT_2, 0x3f00ff),
gsSPVertex(bully_seg5_vertex_05002D88, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 1, 0x0),
gsSP2Triangles( 3, 1, 0, 0x0, 5, 6, 7, 0x0),
@@ -344,8 +328,8 @@ const Gfx bully_seg5_dl_050037A0[] = {
// 0x05003878 - 0x05003C50
const Gfx bully_seg5_dl_05003878[] = {
gsSPLight(&bully_seg5_lights_05000450.l, 1),
gsSPLight(&bully_seg5_lights_05000450.a, 2),
gsSPLightColor(LIGHT_1, 0xff),
gsSPLightColor(LIGHT_2, 0xff),
gsSPVertex(bully_seg5_vertex_05002F08, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 0, 3, 0x0),
gsSP2Triangles( 1, 3, 4, 0x0, 4, 3, 5, 0x0),
+4 -12
View File
@@ -1,16 +1,8 @@
// Cannon Barrel
// 0x08005878
static const Lights1 cannon_barrel_seg8_lights_08005878 = gdSPDefLights1(
0x4c, 0x4c, 0x4c,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x08005890
static const Lights1 cannon_barrel_seg8_lights_08005890 = gdSPDefLights1(
0x00, 0x00, 0x0f,
0x00, 0x00, 0x32, 0x28, 0x28, 0x28
);
// 0x080058A8
ALIGNED8 static const Texture cannon_barrel_seg8_texture_080058A8[] = {
@@ -92,8 +84,8 @@ const Gfx cannon_barrel_seg8_dl_08006408[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, cannon_barrel_seg8_texture_080058A8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&cannon_barrel_seg8_lights_08005878.l, 1),
gsSPLight(&cannon_barrel_seg8_lights_08005878.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x4c4c4cff),
gsSPVertex(cannon_barrel_seg8_vertex_080060A8, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 2, 4, 5, 0x0, 2, 1, 4, 0x0),
@@ -108,8 +100,8 @@ const Gfx cannon_barrel_seg8_dl_08006408[] = {
// 0x080064C0 - 0x08006660
const Gfx cannon_barrel_seg8_dl_080064C0[] = {
gsSPLight(&cannon_barrel_seg8_lights_08005890.l, 1),
gsSPLight(&cannon_barrel_seg8_lights_08005890.a, 2),
gsSPLightColor(LIGHT_1, 0x32ff),
gsSPLightColor(LIGHT_2, 0xfff),
gsSPVertex(cannon_barrel_seg8_vertex_080061A8, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 4, 0x0, 6, 4, 3, 0x0),
+4 -12
View File
@@ -1,16 +1,8 @@
// Cannon Base
// 0x08004988
static const Lights1 cannon_base_seg8_lights_08004988 = gdSPDefLights1(
0x4c, 0x4c, 0x4c,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x080049A0
static const Lights1 cannon_base_seg8_lights_080049A0 = gdSPDefLights1(
0x0e, 0x10, 0x4c,
0x30, 0x37, 0xff, 0x28, 0x28, 0x28
);
// 0x080049B8
ALIGNED8 static const Texture cannon_base_seg8_texture_080049B8[] = {
@@ -116,8 +108,8 @@ const Gfx cannon_base_seg8_dl_08005658[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, cannon_base_seg8_texture_080049B8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&cannon_base_seg8_lights_08004988.l, 1),
gsSPLight(&cannon_base_seg8_lights_08004988.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x4c4c4cff),
gsSPVertex(cannon_base_seg8_vertex_080051B8, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
gsSP2Triangles( 0, 2, 5, 0x0, 0, 5, 3, 0x0),
@@ -128,8 +120,8 @@ const Gfx cannon_base_seg8_dl_08005658[] = {
// 0x080056D0 - 0x080057F8
const Gfx cannon_base_seg8_dl_080056D0[] = {
gsSPLight(&cannon_base_seg8_lights_080049A0.l, 1),
gsSPLight(&cannon_base_seg8_lights_080049A0.a, 2),
gsSPLightColor(LIGHT_1, 0x3037ffff),
gsSPLightColor(LIGHT_2, 0xe104cff),
gsSPVertex(cannon_base_seg8_vertex_08005278, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
+2 -6
View File
@@ -1,10 +1,6 @@
// Cannon Lid
// 0x08004040
static const Lights1 cannon_lid_seg8_lights_08004040 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x08004058
ALIGNED8 static const Texture cannon_lid_seg8_texture_08004058[] = {
@@ -24,8 +20,8 @@ const Gfx cannon_lid_seg8_dl_08004898[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, cannon_lid_seg8_texture_08004058),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&cannon_lid_seg8_lights_08004040.l, 1),
gsSPLight(&cannon_lid_seg8_lights_08004040.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(cannon_lid_seg8_vertex_08004858, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
+12 -36
View File
@@ -1,40 +1,16 @@
// Capswitch
// 0x05001BB8
static const Lights1 capswitch_seg5_lights_05001BB8 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05001BD0
static const Lights1 capswitch_seg5_lights_05001BD0 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05001BE8
static const Lights1 capswitch_seg5_lights_05001BE8 = gdSPDefLights1(
0x3f, 0x00, 0x00,
0xff, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x05001C00
static const Lights1 capswitch_seg5_lights_05001C00 = gdSPDefLights1(
0x01, 0x2a, 0x09,
0x07, 0xa9, 0x25, 0x28, 0x28, 0x28
);
// 0x05001C18
static const Lights1 capswitch_seg5_lights_05001C18 = gdSPDefLights1(
0x00, 0x00, 0x3f,
0x00, 0x00, 0xff, 0x28, 0x28, 0x28
);
// 0x05001C30
static const Lights1 capswitch_seg5_lights_05001C30 = gdSPDefLights1(
0x3f, 0x25, 0x02,
0xff, 0x96, 0x08, 0x28, 0x28, 0x28
);
// 0x05001C48
ALIGNED8 static const Texture capswitch_seg5_texture_05001C48[] = {
@@ -67,8 +43,8 @@ const Gfx capswitch_seg5_dl_05002D88[] = {
gsDPSetTextureImage(G_IM_FMT_IA, G_IM_SIZ_16b, 1, capswitch_seg5_texture_05001C48),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&capswitch_seg5_lights_05001BB8.l, 1),
gsSPLight(&capswitch_seg5_lights_05001BB8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(capswitch_seg5_vertex_05002CC8, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 0, 3, 0x0),
gsSP2Triangles( 4, 3, 0, 0x0, 5, 4, 0, 0x0),
@@ -134,8 +110,8 @@ const Gfx capswitch_seg5_dl_05003020[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, capswitch_seg5_texture_05002C48),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 4 - 1, CALC_DXT(16, G_IM_SIZ_16b_BYTES)),
gsSPLight(&capswitch_seg5_lights_05001BD0.l, 1),
gsSPLight(&capswitch_seg5_lights_05001BD0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(capswitch_seg5_vertex_05002E60, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 4, 6, 5, 0x0, 4, 7, 6, 0x0),
@@ -210,32 +186,32 @@ const Gfx capswitch_seg5_dl_05003280[] = {
// 0x05003350 - 0x05003370
const Gfx capswitch_seg5_dl_05003350[] = {
gsSPLight(&capswitch_seg5_lights_05001BE8.l, 1),
gsSPLight(&capswitch_seg5_lights_05001BE8.a, 2),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x3f0000ff),
gsSPDisplayList(capswitch_seg5_dl_05003280),
gsSPEndDisplayList(),
};
// 0x05003370 - 0x05003390
const Gfx capswitch_seg5_dl_05003370[] = {
gsSPLight(&capswitch_seg5_lights_05001C00.l, 1),
gsSPLight(&capswitch_seg5_lights_05001C00.a, 2),
gsSPLightColor(LIGHT_1, 0x7a925ff),
gsSPLightColor(LIGHT_2, 0x12a09ff),
gsSPDisplayList(capswitch_seg5_dl_05003280),
gsSPEndDisplayList(),
};
// 0x05003390 - 0x050033B0
const Gfx capswitch_seg5_dl_05003390[] = {
gsSPLight(&capswitch_seg5_lights_05001C18.l, 1),
gsSPLight(&capswitch_seg5_lights_05001C18.a, 2),
gsSPLightColor(LIGHT_1, 0xffff),
gsSPLightColor(LIGHT_2, 0x3fff),
gsSPDisplayList(capswitch_seg5_dl_05003280),
gsSPEndDisplayList(),
};
// 0x050033B0 - 0x050033D0
const Gfx capswitch_seg5_dl_050033B0[] = {
gsSPLight(&capswitch_seg5_lights_05001C30.l, 1),
gsSPLight(&capswitch_seg5_lights_05001C30.a, 2),
gsSPLightColor(LIGHT_1, 0xff9608ff),
gsSPLightColor(LIGHT_2, 0x3f2502ff),
gsSPDisplayList(capswitch_seg5_dl_05003280),
gsSPEndDisplayList(),
};
+2 -18
View File
@@ -1,22 +1,10 @@
// Chain Chomp
// 0x06021388
UNUSED static const Lights1 chain_chomp_lights_unused1 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x060213A0
UNUSED static const Lights1 chain_chomp_lights_unused2 = gdSPDefLights1(
0x03, 0x03, 0x05,
0x0d, 0x0f, 0x16, 0x28, 0x28, 0x28
);
// 0x060213B8
UNUSED static const Lights1 chain_chomp_lights_unused3 = gdSPDefLights1(
0x25, 0x00, 0x00,
0x96, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x060213D0
ALIGNED8 static const Texture chain_chomp_seg6_texture_060213D0[] = {
@@ -366,10 +354,6 @@ const Gfx chain_chomp_seg6_dl_06024940[] = {
};
// 0x060249D0
static const Lights1 chain_chomp_seg6_lights_060249D0 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x060249E8
static const Vtx chain_chomp_seg6_vertex_060249E8[] = {
@@ -392,8 +376,8 @@ const Gfx chain_chomp_seg6_dl_06024AA8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, chain_chomp_seg6_texture_060233D0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&chain_chomp_seg6_lights_060249D0.l, 1),
gsSPLight(&chain_chomp_seg6_lights_060249D0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(chain_chomp_seg6_vertex_060249E8, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
+8 -28
View File
@@ -1,10 +1,6 @@
// Chair
// Unreferenced light group
UNUSED static const Lights1 chair_lights_unused = gdSPDefLights1(
0x19, 0x0d, 0x06,
0x64, 0x36, 0x1a, 0x28, 0x28, 0x28
);
// 0x05003060
ALIGNED8 static const Texture chair_seg5_texture_05003060[] = {
@@ -28,10 +24,6 @@ UNUSED ALIGNED8 static const Texture chair_seg5_texture_05004460[] = {
};
// 0x05004C60
static const Lights1 chair_seg5_lights_05004C60 = gdSPDefLights1(
0x47, 0x47, 0x47,
0xb2, 0xb2, 0xb2, 0x28, 0x28, 0x28
);
// 0x05004C78
static const Vtx chair_seg5_vertex_05004C78[] = {
@@ -74,8 +66,8 @@ const Gfx chair_seg5_dl_05004E38[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, chair_seg5_texture_05003060),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&chair_seg5_lights_05004C60.l, 1),
gsSPLight(&chair_seg5_lights_05004C60.a, 2),
gsSPLightColor(LIGHT_1, 0xb2b2b2ff),
gsSPLightColor(LIGHT_2, 0x474747ff),
gsSPVertex(chair_seg5_vertex_05004C78, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 4, 6, 5, 0x0, 7, 8, 9, 0x0),
@@ -107,10 +99,6 @@ const Gfx chair_seg5_dl_05004EE8[] = {
};
// 0x05004F58
static const Lights1 chair_seg5_lights_05004F58 = gdSPDefLights1(
0x47, 0x47, 0x47,
0xb2, 0xb2, 0xb2, 0x28, 0x28, 0x28
);
// 0x05004F70
static const Vtx chair_seg5_vertex_05004F70[] = {
@@ -149,8 +137,8 @@ const Gfx chair_seg5_dl_050050F0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, chair_seg5_texture_05004060),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 32 - 1, CALC_DXT(16, G_IM_SIZ_16b_BYTES)),
gsSPLight(&chair_seg5_lights_05004F58.l, 1),
gsSPLight(&chair_seg5_lights_05004F58.a, 2),
gsSPLightColor(LIGHT_1, 0xb2b2b2ff),
gsSPLightColor(LIGHT_2, 0x474747ff),
gsSPVertex(chair_seg5_vertex_05004F70, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
@@ -181,10 +169,6 @@ const Gfx chair_seg5_dl_05005190[] = {
};
// 0x05005200
static const Lights1 chair_seg5_lights_05005200 = gdSPDefLights1(
0x47, 0x47, 0x47,
0xb2, 0xb2, 0xb2, 0x28, 0x28, 0x28
);
// 0x05005218
static const Vtx chair_seg5_vertex_05005218[] = {
@@ -221,8 +205,8 @@ const Gfx chair_seg5_dl_05005378[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, chair_seg5_texture_05003860),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&chair_seg5_lights_05005200.l, 1),
gsSPLight(&chair_seg5_lights_05005200.a, 2),
gsSPLightColor(LIGHT_1, 0xb2b2b2ff),
gsSPLightColor(LIGHT_2, 0x474747ff),
gsSPVertex(chair_seg5_vertex_05005218, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
@@ -253,10 +237,6 @@ const Gfx chair_seg5_dl_05005408[] = {
};
// 0x05005478
static const Lights1 chair_seg5_lights_05005478 = gdSPDefLights1(
0x47, 0x47, 0x47,
0xb2, 0xb2, 0xb2, 0x28, 0x28, 0x28
);
// 0x05005490
static const Vtx chair_seg5_vertex_05005490[] = {
@@ -293,8 +273,8 @@ const Gfx chair_seg5_dl_050055F0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, chair_seg5_texture_05003860),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&chair_seg5_lights_05005478.l, 1),
gsSPLight(&chair_seg5_lights_05005478.a, 2),
gsSPLightColor(LIGHT_1, 0xb2b2b2ff),
gsSPLightColor(LIGHT_2, 0x474747ff),
gsSPVertex(chair_seg5_vertex_05005490, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
+2 -6
View File
@@ -1,10 +1,6 @@
// Checkerboard Platform
// 0x0800C828
static const Lights1 checkerboard_platform_seg8_lights_0800C828 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0800C840
ALIGNED8 static const Texture checkerboard_platform_seg8_texture_0800C840[] = {
@@ -53,8 +49,8 @@ const Gfx checkerboard_platform_seg8_dl_0800D5C0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, checkerboard_platform_seg8_texture_0800C840),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&checkerboard_platform_seg8_lights_0800C828.l, 1),
gsSPLight(&checkerboard_platform_seg8_lights_0800C828.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(checkerboard_platform_seg8_vertex_0800D440, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
+6 -22
View File
@@ -1,28 +1,12 @@
// Chilly Chief (Chill Bully)
// 0x06000000
static const Lights1 chilly_chief_seg6_lights_06000000 = gdSPDefLights1(
0x00, 0x38, 0x00,
0x00, 0xe3, 0x00, 0x28, 0x28, 0x28
);
// 0x06000018
static const Lights1 chilly_chief_seg6_lights_06000018 = gdSPDefLights1(
0x00, 0x3f, 0x00,
0x00, 0xff, 0x00, 0x28, 0x28, 0x28
);
// 0x06000030
static const Lights1 chilly_chief_seg6_lights_06000030 = gdSPDefLights1(
0x3f, 0x29, 0x00,
0xff, 0xa5, 0x00, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 chillychief_lights_unused = gdSPDefLights1(
0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x06000060
ALIGNED8 static const Texture chilly_chief_seg6_texture_06000060[] = {
@@ -106,8 +90,8 @@ static const Vtx chilly_chief_seg6_vertex_06002AA0[] = {
// 0x06002B30 - 0x06002BC8
const Gfx chilly_chief_seg6_dl_06002B30[] = {
gsSPLight(&chilly_chief_seg6_lights_06000000.l, 1),
gsSPLight(&chilly_chief_seg6_lights_06000000.a, 2),
gsSPLightColor(LIGHT_1, 0xe300ff),
gsSPLightColor(LIGHT_2, 0x3800ff),
gsSPVertex(chilly_chief_seg6_vertex_06002860, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 1, 3, 0x0),
gsSP2Triangles( 2, 3, 4, 0x0, 1, 5, 6, 0x0),
@@ -122,8 +106,8 @@ const Gfx chilly_chief_seg6_dl_06002B30[] = {
// 0x06002BC8 - 0x06002C60
const Gfx chilly_chief_seg6_dl_06002BC8[] = {
gsSPLight(&chilly_chief_seg6_lights_06000018.l, 1),
gsSPLight(&chilly_chief_seg6_lights_06000018.a, 2),
gsSPLightColor(LIGHT_1, 0xff00ff),
gsSPLightColor(LIGHT_2, 0x3f00ff),
gsSPVertex(chilly_chief_seg6_vertex_06002980, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 1, 0x0),
gsSP2Triangles( 3, 1, 0, 0x0, 5, 6, 7, 0x0),
@@ -138,8 +122,8 @@ const Gfx chilly_chief_seg6_dl_06002BC8[] = {
// 0x06002C60 - 0x06002C98
const Gfx chilly_chief_seg6_dl_06002C60[] = {
gsSPLight(&chilly_chief_seg6_lights_06000030.l, 1),
gsSPLight(&chilly_chief_seg6_lights_06000030.a, 2),
gsSPLightColor(LIGHT_1, 0xffa500ff),
gsSPLightColor(LIGHT_2, 0x3f2900ff),
gsSPVertex(chilly_chief_seg6_vertex_06002AA0, 9, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP1Triangle( 6, 7, 8, 0x0),
+8 -52
View File
@@ -1,46 +1,18 @@
// Chuckya
// Unreferenced light group
UNUSED static const Lights1 chuckya_lights_unused1 = gdSPDefLights1(
0x26, 0x00, 0x27,
0x9a, 0x00, 0x9c, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 chuckya_lights_unused2 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 chuckya_lights_unused3 = gdSPDefLights1(
0x3f, 0x00, 0x00,
0xff, 0x00, 0x00, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 chuckya_lights_unused4 = gdSPDefLights1(
0x0e, 0x0e, 0x0e,
0x39, 0x39, 0x39, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 chuckya_lights_unused5 = gdSPDefLights1(
0x39, 0x20, 0x00,
0xe4, 0x83, 0x00, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 chuckya_lights_unused6 = gdSPDefLights1(
0x3f, 0x27, 0x00,
0xff, 0x9e, 0x00, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 chuckya_lights_unused7 = gdSPDefLights1(
0x15, 0x14, 0x16,
0x57, 0x53, 0x58, 0x28, 0x28, 0x28
);
// 0x08006778
ALIGNED8 static const Texture chuckya_seg8_texture_08006778[] = {
@@ -336,10 +308,6 @@ const Gfx chuckya_seg8_dl_0800A5F8[] = {
};
// 0x0800A668
static const Lights1 chuckya_seg8_lights_0800A668 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0800A680
static const Vtx chuckya_seg8_vertex_0800A680[] = {
@@ -358,8 +326,8 @@ const Gfx chuckya_seg8_dl_0800A700[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, chuckya_seg8_texture_08006778),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&chuckya_seg8_lights_0800A668.l, 1),
gsSPLight(&chuckya_seg8_lights_0800A668.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(chuckya_seg8_vertex_0800A680, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
@@ -385,10 +353,6 @@ const Gfx chuckya_seg8_dl_0800A758[] = {
};
// 0x0800A7C8
static const Lights1 chuckya_seg8_lights_0800A7C8 = gdSPDefLights1(
0x29, 0x29, 0x29,
0x89, 0x89, 0x8a, 0x28, 0x28, 0x28
);
// 0x0800A7E0
static const Vtx chuckya_seg8_vertex_0800A7E0[] = {
@@ -405,8 +369,8 @@ static const Vtx chuckya_seg8_vertex_0800A7E0[] = {
// 0x0800A870 - 0x0800A8D0
const Gfx chuckya_seg8_dl_0800A870[] = {
gsSPLight(&chuckya_seg8_lights_0800A7C8.l, 1),
gsSPLight(&chuckya_seg8_lights_0800A7C8.a, 2),
gsSPLightColor(LIGHT_1, 0x89898aff),
gsSPLightColor(LIGHT_2, 0x292929ff),
gsSPVertex(chuckya_seg8_vertex_0800A7E0, 9, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
gsSP2Triangles( 1, 4, 2, 0x0, 5, 6, 2, 0x0),
@@ -424,10 +388,6 @@ const Gfx chuckya_seg8_dl_0800A8D0[] = {
};
// 0x0800A8F0
static const Lights1 chuckya_seg8_lights_0800A8F0 = gdSPDefLights1(
0x4c, 0x4c, 0x00,
0xff, 0xff, 0x00, 0x28, 0x28, 0x28
);
// 0x0800A908
static const Vtx chuckya_seg8_vertex_0800A908[] = {
@@ -440,8 +400,8 @@ static const Vtx chuckya_seg8_vertex_0800A908[] = {
// 0x0800A958 - 0x0800A998
const Gfx chuckya_seg8_dl_0800A958[] = {
gsSPLight(&chuckya_seg8_lights_0800A8F0.l, 1),
gsSPLight(&chuckya_seg8_lights_0800A8F0.a, 2),
gsSPLightColor(LIGHT_1, 0xffff00ff),
gsSPLightColor(LIGHT_2, 0x4c4c00ff),
gsSPVertex(chuckya_seg8_vertex_0800A908, 5, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
gsSP2Triangles( 0, 2, 3, 0x0, 0, 4, 1, 0x0),
@@ -457,10 +417,6 @@ const Gfx chuckya_seg8_dl_0800A998[] = {
};
// 0x0800A9B8
static const Lights1 chuckya_seg8_lights_0800A9B8 = gdSPDefLights1(
0x0c, 0x0c, 0x0c,
0x32, 0x32, 0x32, 0x28, 0x28, 0x28
);
// 0x0800A9D0
static const Vtx chuckya_seg8_vertex_0800A9D0[] = {
@@ -498,8 +454,8 @@ static const Vtx chuckya_seg8_vertex_0800AAC0[] = {
// 0x0800AB70 - 0x0800ABE8
const Gfx chuckya_seg8_dl_0800AB70[] = {
gsSPLight(&chuckya_seg8_lights_0800A9B8.l, 1),
gsSPLight(&chuckya_seg8_lights_0800A9B8.a, 2),
gsSPLightColor(LIGHT_1, 0x323232ff),
gsSPLightColor(LIGHT_2, 0xc0c0cff),
gsSPVertex(chuckya_seg8_vertex_0800A9D0, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
+4 -20
View File
@@ -1,16 +1,8 @@
// Clam Shell
// Unreferenced light group
UNUSED static const Lights1 clam_shell_lights_unused1 = gdSPDefLights1(
0x1b, 0x23, 0x30,
0x6d, 0x8f, 0xc3, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 clam_shell_lights_unused2 = gdSPDefLights1(
0x18, 0x28, 0x38,
0x60, 0xa2, 0xe2, 0x28, 0x28, 0x28
);
// 0x05000030
ALIGNED8 static const Texture clam_shell_seg5_texture_05000030[] = {
@@ -23,10 +15,6 @@ ALIGNED8 static const Texture clam_shell_seg5_texture_05000830[] = {
};
// 0x05001030
static const Lights1 clam_shell_seg5_lights_05001030 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05001048
static const Vtx clam_shell_seg5_vertex_05001048[] = {
@@ -63,8 +51,8 @@ const Gfx clam_shell_seg5_dl_050011A8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, clam_shell_seg5_texture_05000030),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&clam_shell_seg5_lights_05001030.l, 1),
gsSPLight(&clam_shell_seg5_lights_05001030.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(clam_shell_seg5_vertex_05001048, 11, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 4, 0x0),
gsSP2Triangles( 4, 5, 3, 0x0, 4, 0, 6, 0x0),
@@ -108,10 +96,6 @@ const Gfx clam_shell_seg5_dl_050012B8[] = {
};
// 0x05001320
static const Lights1 clam_shell_seg5_lights_05001320 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05001338
static const Vtx clam_shell_seg5_vertex_05001338[] = {
@@ -146,8 +130,8 @@ const Gfx clam_shell_seg5_dl_05001478[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, clam_shell_seg5_texture_05000030),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&clam_shell_seg5_lights_05001320.l, 1),
gsSPLight(&clam_shell_seg5_lights_05001320.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(clam_shell_seg5_vertex_05001338, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 0, 0x0),
gsSP2Triangles( 4, 5, 0, 0x0, 0, 5, 6, 0x0),
+6 -18
View File
@@ -8,10 +8,6 @@ ALIGNED8 static const Texture cyan_fish_seg6_texture_0600D468[] = {
#include "actors/cyan_fish/cyan_fish.rgba16.inc.c"
};
static const Lights1 cyan_fish_seg6_lights_0600DC68 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0600DC80
static const Vtx cyan_fish_seg6_vertex_0600DC80[] = {
@@ -32,8 +28,8 @@ const Gfx cyan_fish_seg6_dl_0600DD20[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, cyan_fish_seg6_texture_0600D468),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&cyan_fish_seg6_lights_0600DC68.l, 1),
gsSPLight(&cyan_fish_seg6_lights_0600DC68.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(cyan_fish_seg6_vertex_0600DC80, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
gsSP2Triangles( 0, 4, 1, 0x0, 4, 0, 3, 0x0),
@@ -63,10 +59,6 @@ const Gfx cyan_fish_seg6_dl_0600DDD8[] = {
};
// 0x0600DE38
static const Lights1 cyan_fish_seg6_lights_0600DE38 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0600DE50
static const Vtx cyan_fish_seg6_vertex_0600DE50[] = {
@@ -81,8 +73,8 @@ const Gfx cyan_fish_seg6_dl_0600DE90[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, cyan_fish_seg6_texture_0600D468),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&cyan_fish_seg6_lights_0600DE38.l, 1),
gsSPLight(&cyan_fish_seg6_lights_0600DE38.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(cyan_fish_seg6_vertex_0600DE50, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
gsSPEndDisplayList(),
@@ -107,10 +99,6 @@ const Gfx cyan_fish_seg6_dl_0600DED8[] = {
};
// 0x0600DF48
static const Lights1 cyan_fish_seg6_lights_0600DF48 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0600DF60
static const Vtx cyan_fish_seg6_vertex_0600DF60[] = {
@@ -127,8 +115,8 @@ const Gfx cyan_fish_seg6_dl_0600DFC0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, cyan_fish_seg6_texture_0600D468),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&cyan_fish_seg6_lights_0600DF48.l, 1),
gsSPLight(&cyan_fish_seg6_lights_0600DF48.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(cyan_fish_seg6_vertex_0600DF60, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 4, 0x0),
gsSP2Triangles( 1, 4, 2, 0x0, 0, 3, 1, 0x0),
+16 -32
View File
@@ -1,28 +1,12 @@
// Dirt
// 0x0302BD68
static const Lights1 dirt_seg3_lights_red = gdSPDefLights1(
0x3f, 0x19, 0x19,
0xff, 0x64, 0x64, 0x28, 0x28, 0x28
);
// 0x0302BD80
static const Lights1 dirt_seg3_lights_green = gdSPDefLights1(
0x19, 0x3f, 0x19,
0x64, 0xff, 0x64, 0x28, 0x28, 0x28
);
// 0x0302BD98
static const Lights1 dirt_seg3_lights_blue = gdSPDefLights1(
0x19, 0x19, 0x3f,
0x64, 0x64, 0xff, 0x28, 0x28, 0x28
);
// 0x0302BDB0
static const Lights1 dirt_seg3_lights_yellow = gdSPDefLights1(
0x3f, 0x3f, 0x19,
0xff, 0xff, 0x64, 0x28, 0x28, 0x28
);
// 0x0302BDC8
static const Vtx dirt_seg3_vertex_0302BDC8[] = {
@@ -120,32 +104,32 @@ const Gfx dirt_seg3_sub_dl_cartoon_star[] = {
// 0x0302C298 - 0x0302C2B8
const Gfx dirt_seg3_dl_cartoon_star_red[] = {
gsSPLight(&dirt_seg3_lights_red.l, 1),
gsSPLight(&dirt_seg3_lights_red.a, 2),
gsSPLightColor(LIGHT_1, 0xff6464ff),
gsSPLightColor(LIGHT_2, 0x3f1919ff),
gsSPDisplayList(dirt_seg3_sub_dl_cartoon_star),
gsSPEndDisplayList(),
};
// 0x0302C2B8 - 0x0302C2D8
const Gfx dirt_seg3_dl_cartoon_star_green[] = {
gsSPLight(&dirt_seg3_lights_green.l, 1),
gsSPLight(&dirt_seg3_lights_green.a, 2),
gsSPLightColor(LIGHT_1, 0x64ff64ff),
gsSPLightColor(LIGHT_2, 0x193f19ff),
gsSPDisplayList(dirt_seg3_sub_dl_cartoon_star),
gsSPEndDisplayList(),
};
// 0x0302C2D8 - 0x0302C2F8
const Gfx dirt_seg3_dl_cartoon_star_blue[] = {
gsSPLight(&dirt_seg3_lights_blue.l, 1),
gsSPLight(&dirt_seg3_lights_blue.a, 2),
gsSPLightColor(LIGHT_1, 0x6464ffff),
gsSPLightColor(LIGHT_2, 0x19193fff),
gsSPDisplayList(dirt_seg3_sub_dl_cartoon_star),
gsSPEndDisplayList(),
};
// 0x0302C2F8 - 0x0302C318
const Gfx dirt_seg3_dl_cartoon_star_yellow[] = {
gsSPLight(&dirt_seg3_lights_yellow.l, 1),
gsSPLight(&dirt_seg3_lights_yellow.a, 2),
gsSPLightColor(LIGHT_1, 0xffff64ff),
gsSPLightColor(LIGHT_2, 0x3f3f19ff),
gsSPDisplayList(dirt_seg3_sub_dl_cartoon_star),
gsSPEndDisplayList(),
};
@@ -164,8 +148,8 @@ const Gfx dirt_seg3_dl_cartoon_star_billboard[] = {
// 0x0302C378 - 0x0302C3B0
const Gfx dirt_seg3_dl_tiny_particle_red[] = {
gsSPLight(&dirt_seg3_lights_red.l, 1),
gsSPLight(&dirt_seg3_lights_red.a, 2),
gsSPLightColor(LIGHT_1, 0xff6464ff),
gsSPLightColor(LIGHT_2, 0x3f1919ff),
gsSPClearGeometryMode(G_CULL_BACK),
gsSPVertex(dirt_seg3_vertex_tiny_particle, 3, 0),
gsSP1Triangle( 0, 1, 2, 0x0),
@@ -175,8 +159,8 @@ const Gfx dirt_seg3_dl_tiny_particle_red[] = {
// 0x0302C3B0 - 0x0302C3E8
const Gfx dirt_seg3_dl_tiny_particle_green[] = {
gsSPLight(&dirt_seg3_lights_green.l, 1),
gsSPLight(&dirt_seg3_lights_green.a, 2),
gsSPLightColor(LIGHT_1, 0x64ff64ff),
gsSPLightColor(LIGHT_2, 0x193f19ff),
gsSPClearGeometryMode(G_CULL_BACK),
gsSPVertex(dirt_seg3_vertex_tiny_particle, 3, 0),
gsSP1Triangle( 0, 1, 2, 0x0),
@@ -186,8 +170,8 @@ const Gfx dirt_seg3_dl_tiny_particle_green[] = {
// 0x0302C3E8 - 0x0302C420
const Gfx dirt_seg3_dl_tiny_particle_blue[] = {
gsSPLight(&dirt_seg3_lights_blue.l, 1),
gsSPLight(&dirt_seg3_lights_blue.a, 2),
gsSPLightColor(LIGHT_1, 0x6464ffff),
gsSPLightColor(LIGHT_2, 0x19193fff),
gsSPClearGeometryMode(G_CULL_BACK),
gsSPVertex(dirt_seg3_vertex_tiny_particle, 3, 0),
gsSP1Triangle( 0, 1, 2, 0x0),
@@ -197,8 +181,8 @@ const Gfx dirt_seg3_dl_tiny_particle_blue[] = {
// 0x0302C420 - 0x0302C458
const Gfx dirt_seg3_dl_tiny_particle_yellow[] = {
gsSPLight(&dirt_seg3_lights_yellow.l, 1),
gsSPLight(&dirt_seg3_lights_yellow.a, 2),
gsSPLightColor(LIGHT_1, 0xffff64ff),
gsSPLightColor(LIGHT_2, 0x3f3f19ff),
gsSPClearGeometryMode(G_CULL_BACK),
gsSPVertex(dirt_seg3_vertex_tiny_particle, 3, 0),
gsSP1Triangle( 0, 1, 2, 0x0),
+40 -48
View File
@@ -1,16 +1,8 @@
// Door
// 0x03009CE0
static const Lights1 door_seg3_lights_default = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x03009CF8
static const Lights1 door_seg3_lights_yellow_handle = gdSPDefLights1(
0x3f, 0x3f, 0x00,
0xff, 0xff, 0x00, 0x28, 0x28, 0x28
);
// 0x03009D10
ALIGNED8 static const Texture door_seg3_texture_polished_wooden_door[] = {
@@ -151,8 +143,8 @@ const Gfx door_seg3_sub_dl_polished_wooden_door_near[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, door_seg3_texture_polished_wooden_door_sides),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&door_seg3_lights_default.l, 1),
gsSPLight(&door_seg3_lights_default.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(door_seg3_vertex_polished_wooden_door_near_sides, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
@@ -169,8 +161,8 @@ const Gfx door_seg3_sub_dl_polished_wooden_door_near[] = {
// 0x03013CC8 - 0x03013D78
const Gfx door_seg3_sub_dl_polished_wooden_door_handle_1[] = {
gsSPLight(&door_seg3_lights_yellow_handle.l, 1),
gsSPLight(&door_seg3_lights_yellow_handle.a, 2),
gsSPLightColor(LIGHT_1, 0xffff00ff),
gsSPLightColor(LIGHT_2, 0x3f3f00ff),
gsSPVertex(door_seg3_vertex_polished_wooden_door_handle_1, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 4, 0x0),
gsSP2Triangles( 2, 1, 3, 0x0, 5, 2, 4, 0x0),
@@ -186,8 +178,8 @@ const Gfx door_seg3_sub_dl_polished_wooden_door_handle_1[] = {
// 0x03013D78 - 0x03013E28
const Gfx door_seg3_sub_dl_polished_wooden_door_handle_2[] = {
gsSPLight(&door_seg3_lights_yellow_handle.l, 1),
gsSPLight(&door_seg3_lights_yellow_handle.a, 2),
gsSPLightColor(LIGHT_1, 0xffff00ff),
gsSPLightColor(LIGHT_2, 0x3f3f00ff),
gsSPVertex(door_seg3_vertex_polished_wooden_door_handle_2, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 0, 3, 4, 0x0, 0, 5, 1, 0x0),
@@ -277,16 +269,16 @@ const Gfx door_seg3_sub_dl_polished_wooden_door_far[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, door_seg3_texture_polished_wooden_door),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&door_seg3_lights_default.l, 1),
gsSPLight(&door_seg3_lights_default.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(door_seg3_vertex_polished_wooden_door_far, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPLight(&door_seg3_lights_yellow_handle.l, 1),
gsSPLight(&door_seg3_lights_yellow_handle.a, 2),
gsSPLightColor(LIGHT_1, 0xffff00ff),
gsSPLightColor(LIGHT_2, 0x3f3f00ff),
gsSPVertex(door_seg3_vertex_polished_wooden_door_far_handle, 8, 0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSPSetGeometryMode(G_SHADING_SMOOTH),
@@ -334,8 +326,8 @@ const Gfx door_seg3_vertex_star_sign_begin[] = {
gsDPTileSync(),
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 5, G_TX_NOLOD, G_TX_CLAMP, 5, G_TX_NOLOD),
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
gsSPLight(&door_seg3_lights_default.l, 1),
gsSPLight(&door_seg3_lights_default.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPEndDisplayList(),
};
@@ -435,8 +427,8 @@ const Gfx door_seg3_sub_dl_key_door_sides[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, door_seg3_texture_polished_wooden_door_sides),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&door_seg3_lights_default.l, 1),
gsSPLight(&door_seg3_lights_default.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(door_seg3_vertex_key_door_sides, 16, 0),
gsSP2Triangles( 0, 1, 3, 0x0, 1, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -510,8 +502,8 @@ const Gfx door_seg3_sub_dl_lock[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, door_seg3_texture_lock),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 32 - 1, CALC_DXT(16, G_IM_SIZ_16b_BYTES)),
gsSPLight(&door_seg3_lights_default.l, 1),
gsSPLight(&door_seg3_lights_default.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(door_seg3_vertex_lock, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -639,8 +631,8 @@ const Gfx door_seg3_sub_dl_themed_handle_near[] = { // TODO: Combine vertices
// 0x030149C0 - 0x03014A20
const Gfx door_seg3_sub_dl_themed_door_sides[] = {
gsSPLight(&door_seg3_lights_default.l, 1),
gsSPLight(&door_seg3_lights_default.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(door_seg3_vertex_themed_door_sides, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
@@ -688,8 +680,8 @@ const Gfx door_seg3_dl_rough_wooden_door_near[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_SHADING_SMOOTH),
gsSPLight(&door_seg3_lights_yellow_handle.l, 1),
gsSPLight(&door_seg3_lights_yellow_handle.a, 2),
gsSPLightColor(LIGHT_1, 0xffff00ff),
gsSPLightColor(LIGHT_2, 0x3f3f00ff),
gsSPBranchList(door_seg3_sub_dl_themed_handle_near),
};
@@ -714,8 +706,8 @@ const Gfx door_seg3_dl_rough_wooden_door2_near[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_SHADING_SMOOTH),
gsSPLight(&door_seg3_lights_yellow_handle.l, 1),
gsSPLight(&door_seg3_lights_yellow_handle.a, 2),
gsSPLightColor(LIGHT_1, 0xffff00ff),
gsSPLightColor(LIGHT_2, 0x3f3f00ff),
gsSPBranchList(door_seg3_sub_dl_themed_handle_near),
};
@@ -740,8 +732,8 @@ const Gfx door_seg3_dl_metal_door_near[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_SHADING_SMOOTH),
gsSPLight(&door_seg3_lights_yellow_handle.l, 1),
gsSPLight(&door_seg3_lights_yellow_handle.a, 2),
gsSPLightColor(LIGHT_1, 0xffff00ff),
gsSPLightColor(LIGHT_2, 0x3f3f00ff),
gsSPBranchList(door_seg3_sub_dl_themed_handle_near),
};
@@ -766,8 +758,8 @@ const Gfx door_seg3_dl_cave_door_near[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_SHADING_SMOOTH),
gsSPLight(&door_seg3_lights_yellow_handle.l, 1),
gsSPLight(&door_seg3_lights_yellow_handle.a, 2),
gsSPLightColor(LIGHT_1, 0xffff00ff),
gsSPLightColor(LIGHT_2, 0x3f3f00ff),
gsSPBranchList(door_seg3_sub_dl_themed_handle_near),
};
@@ -792,8 +784,8 @@ const Gfx door_seg3_dl_haunted_door_near[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPSetGeometryMode(G_SHADING_SMOOTH),
gsSPLight(&door_seg3_lights_yellow_handle.l, 1),
gsSPLight(&door_seg3_lights_yellow_handle.a, 2),
gsSPLightColor(LIGHT_1, 0xffff00ff),
gsSPLightColor(LIGHT_2, 0x3f3f00ff),
gsSPBranchList(door_seg3_sub_dl_themed_handle_near),
};
@@ -823,8 +815,8 @@ static const Vtx door_seg3_vertex_themed_handle_far[] = {
// 0x03014EF0 - 0x03014F30
const Gfx door_seg3_sub_dl_themed_door_far[] = {
gsSPLight(&door_seg3_lights_default.l, 1),
gsSPLight(&door_seg3_lights_default.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(door_seg3_vertex_themed_door_far, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
@@ -863,8 +855,8 @@ const Gfx door_seg3_dl_rough_wooden_door_far[] = {
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPLight(&door_seg3_lights_yellow_handle.l, 1),
gsSPLight(&door_seg3_lights_yellow_handle.a, 2),
gsSPLightColor(LIGHT_1, 0xffff00ff),
gsSPLightColor(LIGHT_2, 0x3f3f00ff),
gsSPBranchList(door_seg3_sub_dl_themed_handle_far),
};
@@ -881,8 +873,8 @@ const Gfx door_seg3_dl_rough_wooden_door2_far[] = {
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPLight(&door_seg3_lights_yellow_handle.l, 1),
gsSPLight(&door_seg3_lights_yellow_handle.a, 2),
gsSPLightColor(LIGHT_1, 0xffff00ff),
gsSPLightColor(LIGHT_2, 0x3f3f00ff),
gsSPBranchList(door_seg3_sub_dl_themed_handle_far),
};
@@ -899,8 +891,8 @@ const Gfx door_seg3_dl_metal_door_far[] = {
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPLight(&door_seg3_lights_yellow_handle.l, 1),
gsSPLight(&door_seg3_lights_yellow_handle.a, 2),
gsSPLightColor(LIGHT_1, 0xffff00ff),
gsSPLightColor(LIGHT_2, 0x3f3f00ff),
gsSPBranchList(door_seg3_sub_dl_themed_handle_far),
};
@@ -917,8 +909,8 @@ const Gfx door_seg3_dl_cave_door_far[] = {
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPLight(&door_seg3_lights_yellow_handle.l, 1),
gsSPLight(&door_seg3_lights_yellow_handle.a, 2),
gsSPLightColor(LIGHT_1, 0xffff00ff),
gsSPLightColor(LIGHT_2, 0x3f3f00ff),
gsSPBranchList(door_seg3_sub_dl_themed_handle_far),
};
@@ -935,7 +927,7 @@ const Gfx door_seg3_dl_haunted_door_far[] = {
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
gsSPLight(&door_seg3_lights_yellow_handle.l, 1),
gsSPLight(&door_seg3_lights_yellow_handle.a, 2),
gsSPLightColor(LIGHT_1, 0xffff00ff),
gsSPLightColor(LIGHT_2, 0x3f3f00ff),
gsSPBranchList(door_seg3_sub_dl_themed_handle_far),
};
+22 -66
View File
@@ -16,10 +16,6 @@ ALIGNED8 static const Texture dorrie_seg6_texture_0600ADA0[] = {
};
// 0x0600B5A0
static const Lights1 dorrie_seg6_lights_0600B5A0 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0600B5B8
static const Vtx dorrie_seg6_vertex_0600B5B8[] = {
@@ -93,8 +89,8 @@ const Gfx dorrie_seg6_dl_0600B8E8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, dorrie_seg6_texture_0600ADA0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&dorrie_seg6_lights_0600B5A0.l, 1),
gsSPLight(&dorrie_seg6_lights_0600B5A0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(dorrie_seg6_vertex_0600B5B8, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 1, 4, 5, 0x0, 1, 3, 4, 0x0),
@@ -167,10 +163,6 @@ const Gfx dorrie_seg6_dl_0600BAF8[] = {
};
// 0x0600BBC0
static const Lights1 dorrie_seg6_lights_0600BBC0 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0600BBD8
static const Vtx dorrie_seg6_vertex_0600BBD8[] = {
@@ -230,8 +222,8 @@ const Gfx dorrie_seg6_dl_0600BE68[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, dorrie_seg6_texture_0600ADA0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&dorrie_seg6_lights_0600BBC0.l, 1),
gsSPLight(&dorrie_seg6_lights_0600BBC0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(dorrie_seg6_vertex_0600BBD8, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 0, 3, 0x0, 0, 5, 1, 0x0),
@@ -298,10 +290,6 @@ const Gfx dorrie_seg6_dl_0600C030[] = {
};
// 0x0600C0F8
static const Lights1 dorrie_seg6_lights_0600C0F8 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0600C110
static const Vtx dorrie_seg6_vertex_0600C110[] = {
@@ -348,8 +336,8 @@ const Gfx dorrie_seg6_dl_0600C310[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, dorrie_seg6_texture_06009DA0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&dorrie_seg6_lights_0600C0F8.l, 1),
gsSPLight(&dorrie_seg6_lights_0600C0F8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(dorrie_seg6_vertex_0600C110, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 4, 7, 0x0, 4, 8, 7, 0x0),
@@ -399,10 +387,6 @@ const Gfx dorrie_seg6_dl_0600C468[] = {
};
// 0x0600C510
static const Lights1 dorrie_seg6_lights_0600C510 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0600C528
static const Vtx dorrie_seg6_vertex_0600C528[] = {
@@ -456,8 +440,8 @@ const Gfx dorrie_seg6_dl_0600C758[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, dorrie_seg6_texture_06009DA0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&dorrie_seg6_lights_0600C510.l, 1),
gsSPLight(&dorrie_seg6_lights_0600C510.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(dorrie_seg6_vertex_0600C528, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 5, 6, 7, 0x0, 5, 4, 6, 0x0),
@@ -508,10 +492,6 @@ const Gfx dorrie_seg6_dl_0600C8B8[] = {
};
// 0x0600C960
static const Lights1 dorrie_seg6_lights_0600C960 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0600C978
static const Vtx dorrie_seg6_vertex_0600C978[] = {
@@ -609,8 +589,8 @@ const Gfx dorrie_seg6_dl_0600CDE8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, dorrie_seg6_texture_06009DA0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&dorrie_seg6_lights_0600C960.l, 1),
gsSPLight(&dorrie_seg6_lights_0600C960.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(dorrie_seg6_vertex_0600C978, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 2, 4, 5, 0x0, 2, 5, 0, 0x0),
@@ -671,10 +651,6 @@ const Gfx dorrie_seg6_dl_0600CFD0[] = {
};
// 0x0600D078
static const Lights1 dorrie_seg6_lights_0600D078 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0600D090
static const Vtx dorrie_seg6_vertex_0600D090[] = {
@@ -732,8 +708,8 @@ const Gfx dorrie_seg6_dl_0600D300[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, dorrie_seg6_texture_06009DA0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&dorrie_seg6_lights_0600D078.l, 1),
gsSPLight(&dorrie_seg6_lights_0600D078.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(dorrie_seg6_vertex_0600D090, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 2, 1, 0x0),
gsSP2Triangles( 2, 4, 5, 0x0, 2, 5, 0, 0x0),
@@ -782,10 +758,6 @@ const Gfx dorrie_seg6_dl_0600D440[] = {
};
// 0x0600D4E8
static const Lights1 dorrie_seg6_lights_0600D4E8 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0600D500
static const Vtx dorrie_seg6_vertex_0600D500[] = {
@@ -818,8 +790,8 @@ const Gfx dorrie_seg6_dl_0600D620[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, dorrie_seg6_texture_06009DA0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&dorrie_seg6_lights_0600D4E8.l, 1),
gsSPLight(&dorrie_seg6_lights_0600D4E8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(dorrie_seg6_vertex_0600D500, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 1, 4, 5, 0x0, 3, 4, 1, 0x0),
@@ -859,10 +831,6 @@ const Gfx dorrie_seg6_dl_0600D6D8[] = {
};
// 0x0600D780
static const Lights1 dorrie_seg6_lights_0600D780 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0600D798
static const Vtx dorrie_seg6_vertex_0600D798[] = {
@@ -881,8 +849,8 @@ const Gfx dorrie_seg6_dl_0600D818[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, dorrie_seg6_texture_06009DA0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&dorrie_seg6_lights_0600D780.l, 1),
gsSPLight(&dorrie_seg6_lights_0600D780.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(dorrie_seg6_vertex_0600D798, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 2, 0x0),
gsSP2Triangles( 2, 1, 5, 0x0, 2, 6, 3, 0x0),
@@ -919,10 +887,6 @@ const Gfx dorrie_seg6_dl_0600D8B0[] = {
};
// 0x0600D958
static const Lights1 dorrie_seg6_lights_0600D958 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0600D970
static const Vtx dorrie_seg6_vertex_0600D970[] = {
@@ -941,8 +905,8 @@ const Gfx dorrie_seg6_dl_0600D9F0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, dorrie_seg6_texture_06009DA0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&dorrie_seg6_lights_0600D958.l, 1),
gsSPLight(&dorrie_seg6_lights_0600D958.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(dorrie_seg6_vertex_0600D970, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 1, 0x0),
gsSP2Triangles( 1, 5, 3, 0x0, 2, 1, 4, 0x0),
@@ -979,10 +943,6 @@ const Gfx dorrie_seg6_dl_0600DA88[] = {
};
// 0x0600DB30
static const Lights1 dorrie_seg6_lights_0600DB30 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0600DB48
static const Vtx dorrie_seg6_vertex_0600DB48[] = {
@@ -1001,8 +961,8 @@ const Gfx dorrie_seg6_dl_0600DBC8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, dorrie_seg6_texture_06009DA0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&dorrie_seg6_lights_0600DB30.l, 1),
gsSPLight(&dorrie_seg6_lights_0600DB30.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(dorrie_seg6_vertex_0600DB48, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 0, 0x0),
gsSP2Triangles( 4, 2, 1, 0x0, 1, 3, 4, 0x0),
@@ -1039,10 +999,6 @@ const Gfx dorrie_seg6_dl_0600DC60[] = {
};
// 0x0600DD08
static const Lights1 dorrie_seg6_lights_0600DD08 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0600DD20
static const Vtx dorrie_seg6_vertex_0600DD20[] = {
@@ -1061,8 +1017,8 @@ const Gfx dorrie_seg6_dl_0600DDA0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, dorrie_seg6_texture_06009DA0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&dorrie_seg6_lights_0600DD08.l, 1),
gsSPLight(&dorrie_seg6_lights_0600DD08.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(dorrie_seg6_vertex_0600DD20, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 0, 0x0),
gsSP2Triangles( 0, 4, 5, 0x0, 0, 6, 3, 0x0),
+4 -8
View File
@@ -1,10 +1,6 @@
// Exclamation Box
// 0x08012E10
static const Lights1 exclamation_box_seg8_lights_08012E10 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x08012E28
ALIGNED8 static const Texture exclamation_box_seg8_texture_08012E28[] = {
@@ -80,8 +76,8 @@ static const Vtx exclamation_box_seg8_vertex_08018F28[] = {
// 0x08018FA8 - 0x08019008
const Gfx exclamation_box_seg8_dl_08018FA8[] = {
gsSPLight(&exclamation_box_seg8_lights_08012E10.l, 1),
gsSPLight(&exclamation_box_seg8_lights_08012E10.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(exclamation_box_seg8_vertex_08018E28, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
@@ -149,8 +145,8 @@ static const Vtx exclamation_box_seg8_vertex_080191A0[] = {
// 0x08019220 - 0x08019280
const Gfx exclamation_box_seg8_dl_08019220[] = {
gsSPLight(&exclamation_box_seg8_lights_08012E10.l, 1),
gsSPLight(&exclamation_box_seg8_lights_08012E10.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(exclamation_box_seg8_vertex_080190A0, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
+10 -30
View File
@@ -1,28 +1,12 @@
// Exclamation Box Outline
// 0x08024CB8
static const Lights1 exclamation_box_outline_seg8_lights_08024CB8 = gdSPDefLights1(
0x7f, 0x00, 0x00,
0xff, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x08024CD0
static const Lights1 exclamation_box_outline_seg8_lights_08024CD0 = gdSPDefLights1(
0x00, 0x7f, 0x00,
0x00, 0xff, 0x00, 0x28, 0x28, 0x28
);
// 0x08024CE8
static const Lights1 exclamation_box_outline_seg8_lights_08024CE8 = gdSPDefLights1(
0x00, 0x00, 0x7f,
0x00, 0x00, 0xff, 0x28, 0x28, 0x28
);
// 0x08024D00
static const Lights1 exclamation_box_outline_seg8_lights_08024D00 = gdSPDefLights1(
0x7f, 0x6a, 0x00,
0xff, 0xd4, 0x00, 0x28, 0x28, 0x28
);
// 0x08024D18
static const Vtx exclamation_box_outline_seg8_vertex_08024D18[] = {
@@ -94,32 +78,32 @@ const Gfx exclamation_box_outline_seg8_dl_08024F58[] = {
// 0x08024F88 - 0x08024FA8
const Gfx exclamation_box_outline_seg8_dl_08024F88[] = {
gsSPDisplayList(exclamation_box_outline_seg8_dl_08024F30),
gsSPLight(&exclamation_box_outline_seg8_lights_08024CB8.l, 1),
gsSPLight(&exclamation_box_outline_seg8_lights_08024CB8.a, 2),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x7f0000ff),
gsSPBranchList(exclamation_box_outline_seg8_dl_08024F58),
};
// 0x08024FA8 - 0x08024FC8
const Gfx exclamation_box_outline_seg8_dl_08024FA8[] = {
gsSPDisplayList(exclamation_box_outline_seg8_dl_08024F30),
gsSPLight(&exclamation_box_outline_seg8_lights_08024CD0.l, 1),
gsSPLight(&exclamation_box_outline_seg8_lights_08024CD0.a, 2),
gsSPLightColor(LIGHT_1, 0xff00ff),
gsSPLightColor(LIGHT_2, 0x7f00ff),
gsSPBranchList(exclamation_box_outline_seg8_dl_08024F58),
};
// 0x08024FC8 - 0x08024FE8
const Gfx exclamation_box_outline_seg8_dl_08024FC8[] = {
gsSPDisplayList(exclamation_box_outline_seg8_dl_08024F30),
gsSPLight(&exclamation_box_outline_seg8_lights_08024CE8.l, 1),
gsSPLight(&exclamation_box_outline_seg8_lights_08024CE8.a, 2),
gsSPLightColor(LIGHT_1, 0xffff),
gsSPLightColor(LIGHT_2, 0x7fff),
gsSPBranchList(exclamation_box_outline_seg8_dl_08024F58),
};
// 0x08024FE8 - 0x08025008
const Gfx exclamation_box_outline_seg8_dl_08024FE8[] = {
gsSPDisplayList(exclamation_box_outline_seg8_dl_08024F30),
gsSPLight(&exclamation_box_outline_seg8_lights_08024D00.l, 1),
gsSPLight(&exclamation_box_outline_seg8_lights_08024D00.a, 2),
gsSPLightColor(LIGHT_1, 0xffd400ff),
gsSPLightColor(LIGHT_2, 0x7f6a00ff),
gsSPBranchList(exclamation_box_outline_seg8_dl_08024F58),
};
@@ -193,10 +177,6 @@ const Gfx exclamation_box_outline_seg8_dl_080259F8[] = {
};
// 0x08025A68
static const Lights1 exclamation_box_outline_seg8_lights_08025A68 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x08025A80
ALIGNED8 static const Texture exclamation_box_outline_seg8_texture_08025A80[] = {
@@ -216,8 +196,8 @@ const Gfx exclamation_box_outline_seg8_dl_08025EC0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, exclamation_box_outline_seg8_texture_08025A80),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 32 - 1, CALC_DXT(16, G_IM_SIZ_16b_BYTES)),
gsSPLight(&exclamation_box_outline_seg8_lights_08025A68.l, 1),
gsSPLight(&exclamation_box_outline_seg8_lights_08025A68.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(exclamation_box_outline_seg8_vertex_08025E80, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
+16 -52
View File
@@ -1,10 +1,6 @@
// Eyerok
// Unreferenced light group
UNUSED static const Lights1 eyerok_lights_unused = gdSPDefLights1(
0x3f, 0x2a, 0x16,
0xff, 0xa9, 0x5b, 0x28, 0x28, 0x28
);
// 0x05008D40
ALIGNED8 static const Texture eyerok_seg5_texture_05008D40[] = {
@@ -32,10 +28,6 @@ ALIGNED8 static const Texture eyerok_seg5_texture_0500AD40[] = {
};
// 0x0500B540
static const Lights1 eyerok_seg5_lights_0500B540 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500B558
static const Vtx eyerok_seg5_vertex_0500B558[] = {
@@ -72,8 +64,8 @@ const Gfx eyerok_seg5_dl_0500B6B8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, eyerok_seg5_texture_05008D40),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&eyerok_seg5_lights_0500B540.l, 1),
gsSPLight(&eyerok_seg5_lights_0500B540.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(eyerok_seg5_vertex_0500B558, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 3, 5, 0x0, 7, 8, 9, 0x0),
@@ -104,10 +96,6 @@ const Gfx eyerok_seg5_dl_0500B748[] = {
};
// 0x0500B7B8
static const Lights1 eyerok_seg5_lights_0500B7B8 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500B7D0
static const Vtx eyerok_seg5_vertex_0500B7D0[] = {
@@ -144,8 +132,8 @@ const Gfx eyerok_seg5_dl_0500B930[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, eyerok_seg5_texture_05008D40),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&eyerok_seg5_lights_0500B7B8.l, 1),
gsSPLight(&eyerok_seg5_lights_0500B7B8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(eyerok_seg5_vertex_0500B7D0, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 4, 6, 5, 0x0, 7, 8, 9, 0x0),
@@ -176,10 +164,6 @@ const Gfx eyerok_seg5_dl_0500B9C0[] = {
};
// 0x0500BA30
static const Lights1 eyerok_seg5_lights_0500BA30 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500BA48
static const Vtx eyerok_seg5_vertex_0500BA48[] = {
@@ -220,8 +204,8 @@ const Gfx eyerok_seg5_dl_0500BBE8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, eyerok_seg5_texture_05008D40),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&eyerok_seg5_lights_0500BA30.l, 1),
gsSPLight(&eyerok_seg5_lights_0500BA30.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(eyerok_seg5_vertex_0500BA48, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 4, 6, 5, 0x0, 7, 8, 9, 0x0),
@@ -253,10 +237,6 @@ const Gfx eyerok_seg5_dl_0500BC88[] = {
};
// 0x0500BCF8
static const Lights1 eyerok_seg5_lights_0500BCF8 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500BD10
static const Vtx eyerok_seg5_vertex_0500BD10[] = {
@@ -293,8 +273,8 @@ const Gfx eyerok_seg5_dl_0500BE70[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, eyerok_seg5_texture_05008D40),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&eyerok_seg5_lights_0500BCF8.l, 1),
gsSPLight(&eyerok_seg5_lights_0500BCF8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(eyerok_seg5_vertex_0500BD10, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 4, 6, 5, 0x0, 7, 8, 9, 0x0),
@@ -325,10 +305,6 @@ const Gfx eyerok_seg5_dl_0500BF00[] = {
};
// 0x0500BF70
static const Lights1 eyerok_seg5_lights_0500BF70 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500BF88
static const Vtx eyerok_seg5_vertex_0500BF88[] = {
@@ -355,8 +331,8 @@ const Gfx eyerok_seg5_dl_0500C088[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, eyerok_seg5_texture_05008D40),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&eyerok_seg5_lights_0500BF70.l, 1),
gsSPLight(&eyerok_seg5_lights_0500BF70.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(eyerok_seg5_vertex_0500BF88, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 4, 6, 5, 0x0, 7, 8, 9, 0x0),
@@ -384,10 +360,6 @@ const Gfx eyerok_seg5_dl_0500C100[] = {
};
// 0x0500C170
static const Lights1 eyerok_seg5_lights_0500C170 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500C188
static const Vtx eyerok_seg5_vertex_0500C188[] = {
@@ -424,8 +396,8 @@ const Gfx eyerok_seg5_dl_0500C2E8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, eyerok_seg5_texture_05008D40),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&eyerok_seg5_lights_0500C170.l, 1),
gsSPLight(&eyerok_seg5_lights_0500C170.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(eyerok_seg5_vertex_0500C188, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 4, 6, 5, 0x0, 7, 8, 9, 0x0),
@@ -456,10 +428,6 @@ const Gfx eyerok_seg5_dl_0500C378[] = {
};
// 0x0500C3E8
static const Lights1 eyerok_seg5_lights_0500C3E8 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500C400
static const Vtx eyerok_seg5_vertex_0500C400[] = {
@@ -500,8 +468,8 @@ const Gfx eyerok_seg5_dl_0500C5A0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, eyerok_seg5_texture_05008D40),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&eyerok_seg5_lights_0500C3E8.l, 1),
gsSPLight(&eyerok_seg5_lights_0500C3E8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(eyerok_seg5_vertex_0500C400, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 4, 6, 5, 0x0, 7, 8, 9, 0x0),
@@ -533,10 +501,6 @@ const Gfx eyerok_seg5_dl_0500C640[] = {
};
// 0x0500C6B0
static const Lights1 eyerok_seg5_lights_0500C6B0 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500C6C8
static const Vtx eyerok_seg5_vertex_0500C6C8[] = {
@@ -577,8 +541,8 @@ const Gfx eyerok_seg5_dl_0500C868[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, eyerok_seg5_texture_05008D40),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&eyerok_seg5_lights_0500C6B0.l, 1),
gsSPLight(&eyerok_seg5_lights_0500C6B0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(eyerok_seg5_vertex_0500C6C8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
+16 -60
View File
@@ -19,46 +19,18 @@ ALIGNED8 static const Texture flyguy_seg8_texture_0800F888[] = {
};
// Unreferenced light group
UNUSED static const Lights1 flyguy_lights_unused1 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x080100A0
static const Lights1 flyguy_seg8_lights_080100A0 = gdSPDefLights1(
0x00, 0x1f, 0x33,
0x02, 0x7f, 0xcc, 0x28, 0x28, 0x28
);
// 0x080100B8
static const Lights1 flyguy_seg8_lights_080100B8 = gdSPDefLights1(
0x3f, 0x32, 0x08,
0xff, 0xc8, 0x23, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 flyguy_lights_unused2 = gdSPDefLights1(
0x3a, 0x2f, 0x04,
0xe8, 0xbd, 0x13, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 flyguy_lights_unused3 = gdSPDefLights1(
0x2c, 0x00, 0x00,
0xb2, 0x00, 0x00, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 flyguy_lights_unused4 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 flyguy_lights_unused5 = gdSPDefLights1(
0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x08010130
static const Vtx flyguy_seg8_vertex_08010130[] = {
@@ -211,8 +183,8 @@ static const Vtx flyguy_seg8_vertex_08010770[] = {
// 0x08010840 - 0x08010968
const Gfx flyguy_seg8_dl_08010840[] = {
gsSPLight(&flyguy_seg8_lights_080100A0.l, 1),
gsSPLight(&flyguy_seg8_lights_080100A0.a, 2),
gsSPLightColor(LIGHT_1, 0x27fccff),
gsSPLightColor(LIGHT_2, 0x1f33ff),
gsSPVertex(flyguy_seg8_vertex_08010130, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 6, 8, 9, 0x0),
@@ -238,8 +210,8 @@ const Gfx flyguy_seg8_dl_08010840[] = {
// 0x08010968 - 0x08010A90
const Gfx flyguy_seg8_dl_08010968[] = {
gsSPLight(&flyguy_seg8_lights_080100A0.l, 1),
gsSPLight(&flyguy_seg8_lights_080100A0.a, 2),
gsSPLightColor(LIGHT_1, 0x27fccff),
gsSPLightColor(LIGHT_2, 0x1f33ff),
gsSPVertex(flyguy_seg8_vertex_08010460, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -265,8 +237,8 @@ const Gfx flyguy_seg8_dl_08010968[] = {
// 0x08010A90 - 0x08010AE0
const Gfx flyguy_seg8_dl_08010A90[] = {
gsSPLight(&flyguy_seg8_lights_080100B8.l, 1),
gsSPLight(&flyguy_seg8_lights_080100B8.a, 2),
gsSPLightColor(LIGHT_1, 0xffc823ff),
gsSPLightColor(LIGHT_2, 0x3f3208ff),
gsSPVertex(flyguy_seg8_vertex_08010770, 13, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 0, 2, 0x0, 7, 8, 9, 0x0),
@@ -275,10 +247,6 @@ const Gfx flyguy_seg8_dl_08010A90[] = {
};
// 0x08010AE0
static const Lights1 flyguy_seg8_lights_08010AE0 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x08010AF8
static const Vtx flyguy_seg8_vertex_08010AF8[] = {
@@ -293,8 +261,8 @@ const Gfx flyguy_seg8_dl_08010B38[] = {
gsDPSetTextureImage(G_IM_FMT_IA, G_IM_SIZ_16b, 1, flyguy_seg8_texture_0800F888),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&flyguy_seg8_lights_08010AE0.l, 1),
gsSPLight(&flyguy_seg8_lights_08010AE0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(flyguy_seg8_vertex_08010AF8, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSPEndDisplayList(),
@@ -319,22 +287,10 @@ const Gfx flyguy_seg8_dl_08010B80[] = {
};
// 0x08010BF0
static const Lights1 flyguy_seg8_lights_08010BF0 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x08010C08
static const Lights1 flyguy_seg8_lights_08010C08 = gdSPDefLights1(
0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x08010C20
static const Lights1 flyguy_seg8_lights_08010C20 = gdSPDefLights1(
0x62, 0x00, 0x13,
0xc4, 0x00, 0x26, 0x28, 0x28, 0x28
);
// 0x08010C38
static const Vtx flyguy_seg8_vertex_08010C38[] = {
@@ -500,8 +456,8 @@ const Gfx flyguy_seg8_dl_080113A8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, flyguy_seg8_texture_0800F088),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&flyguy_seg8_lights_08010BF0.l, 1),
gsSPLight(&flyguy_seg8_lights_08010BF0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(flyguy_seg8_vertex_08010C38, 9, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 4, 1, 0, 0x0, 2, 5, 0, 0x0),
@@ -515,12 +471,12 @@ const Gfx flyguy_seg8_dl_08011420[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, flyguy_seg8_texture_0800E088),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
gsSPLight(&flyguy_seg8_lights_08010C08.l, 1),
gsSPLight(&flyguy_seg8_lights_08010C08.a, 2),
gsSPLightColor(LIGHT_1, 0xff),
gsSPLightColor(LIGHT_2, 0xff),
gsSPVertex(flyguy_seg8_vertex_08010CC8, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSPLight(&flyguy_seg8_lights_08010C20.l, 1),
gsSPLight(&flyguy_seg8_lights_08010C20.a, 2),
gsSPLightColor(LIGHT_1, 0xc40026ff),
gsSPLightColor(LIGHT_2, 0x620013ff),
gsSPVertex(flyguy_seg8_vertex_08010D28, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 4, 0x0),
gsSP2Triangles( 1, 5, 3, 0x0, 1, 4, 2, 0x0),
@@ -569,8 +525,8 @@ const Gfx flyguy_seg8_dl_08011420[] = {
// 0x080116D0 - 0x08011710
const Gfx flyguy_seg8_dl_080116D0[] = {
gsSPLight(&flyguy_seg8_lights_08010C08.l, 1),
gsSPLight(&flyguy_seg8_lights_08010C08.a, 2),
gsSPLightColor(LIGHT_1, 0xff),
gsSPLightColor(LIGHT_2, 0xff),
gsSPVertex(flyguy_seg8_vertex_08011348, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 1, 4, 2, 0x0, 1, 5, 4, 0x0),
+10 -38
View File
@@ -1,40 +1,16 @@
// Goomba
// Unreferenced light group
UNUSED static const Lights1 goomba_lights_unused1 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 goomba_lights_unused2 = gdSPDefLights1(
0x2c, 0x2c, 0x2c,
0xb2, 0xb2, 0xb2, 0x28, 0x28, 0x28
);
// 0x080194D0
static const Lights1 goomba_seg8_lights_080194D0 = gdSPDefLights1(
0x15, 0x0b, 0x04,
0x54, 0x2e, 0x10, 0x28, 0x28, 0x28
);
// 0x080194E8
static const Lights1 goomba_seg8_lights_080194E8 = gdSPDefLights1(
0x18, 0x0d, 0x04,
0x61, 0x34, 0x13, 0x28, 0x28, 0x28
);
// 0x08019500
static const Lights1 goomba_seg8_lights_08019500 = gdSPDefLights1(
0x1d, 0x10, 0x08,
0x77, 0x42, 0x20, 0x28, 0x28, 0x28
);
// 0x08019518
static const Lights1 goomba_seg8_lights_08019518 = gdSPDefLights1(
0x37, 0x2d, 0x13,
0xde, 0xb4, 0x4e, 0x28, 0x28, 0x28
);
// 0x08019530
ALIGNED8 static const Texture goomba_seg8_texture_08019530[] = {
@@ -62,10 +38,6 @@ ALIGNED8 static const Texture floomba_seg8_texture_blink[] = {
#endif
// 0x0801AD30
static const Lights1 goomba_seg8_lights_0801AD30 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0801AD48
static const Vtx goomba_seg8_vertex_0801AD48[] = {
@@ -183,8 +155,8 @@ static const Vtx goomba_seg8_vertex_0801B238[] = {
// 0x0801B2E8 - 0x0801B560
const Gfx goomba_seg8_dl_0801B2E8[] = {
gsSPLight(&goomba_seg8_lights_0801AD30.l, 1),
gsSPLight(&goomba_seg8_lights_0801AD30.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(goomba_seg8_vertex_0801AD48, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 5, 4, 0x0, 5, 7, 3, 0x0),
@@ -800,8 +772,8 @@ static const Vtx goomba_seg8_vertex_0801CDF0[] = {
// 0x0801CE20 - 0x0801CF78
const Gfx goomba_seg8_dl_0801CE20[] = {
gsSPLight(&goomba_seg8_lights_080194D0.l, 1),
gsSPLight(&goomba_seg8_lights_080194D0.a, 2),
gsSPLightColor(LIGHT_1, 0x542e10ff),
gsSPLightColor(LIGHT_2, 0x150b04ff),
gsSPVertex(goomba_seg8_vertex_0801B700, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -829,8 +801,8 @@ const Gfx goomba_seg8_dl_0801CE20[] = {
// 0x0801CF78 - 0x0801D0D0
const Gfx goomba_seg8_dl_0801CF78[] = {
gsSPLight(&goomba_seg8_lights_080194E8.l, 1),
gsSPLight(&goomba_seg8_lights_080194E8.a, 2),
gsSPLightColor(LIGHT_1, 0x613413ff),
gsSPLightColor(LIGHT_2, 0x180d04ff),
gsSPVertex(goomba_seg8_vertex_0801BA50, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 1, 4, 5, 0x0, 1, 5, 2, 0x0),
@@ -858,8 +830,8 @@ const Gfx goomba_seg8_dl_0801CF78[] = {
// 0x0801D0D0 - 0x0801D360
const Gfx goomba_seg8_dl_0801D0D0[] = {
gsSPLight(&goomba_seg8_lights_08019500.l, 1),
gsSPLight(&goomba_seg8_lights_08019500.a, 2),
gsSPLightColor(LIGHT_1, 0x774220ff),
gsSPLightColor(LIGHT_2, 0x1d1008ff),
gsSPVertex(goomba_seg8_vertex_0801BDC0, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -910,8 +882,8 @@ const Gfx goomba_seg8_dl_0801D0D0[] = {
// 0x0801D360 - 0x0801D760
const Gfx goomba_seg8_dl_0801D360[] = {
gsSPLight(&goomba_seg8_lights_08019518.l, 1),
gsSPLight(&goomba_seg8_lights_08019518.a, 2),
gsSPLightColor(LIGHT_1, 0xdeb44eff),
gsSPLightColor(LIGHT_2, 0x372d13ff),
gsSPVertex(goomba_seg8_vertex_0801C620, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 1, 0x0, 4, 1, 0, 0x0),
+8 -24
View File
@@ -1,16 +1,8 @@
// Haunted Cage
// 0x0500C258
static const Lights1 haunted_cage_seg5_lights_0500C258 = gdSPDefLights1(
0x39, 0x0c, 0x0e,
0x90, 0x1e, 0x25, 0x28, 0x28, 0x28
);
// 0x0500C270
static const Lights1 haunted_cage_seg5_lights_0500C270 = gdSPDefLights1(
0x47, 0x47, 0x47,
0xb2, 0xb2, 0xb2, 0x28, 0x28, 0x28
);
// 0x0500C288
ALIGNED8 static const Texture haunted_cage_seg5_texture_0500C288[] = {
@@ -254,8 +246,8 @@ const Gfx haunted_cage_seg5_dl_0500F4C8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, haunted_cage_seg5_texture_0500D288),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&haunted_cage_seg5_lights_0500C258.l, 1),
gsSPLight(&haunted_cage_seg5_lights_0500C258.a, 2),
gsSPLightColor(LIGHT_1, 0x901e25ff),
gsSPLightColor(LIGHT_2, 0x390c0eff),
gsSPVertex(haunted_cage_seg5_vertex_0500EA88, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -266,8 +258,8 @@ const Gfx haunted_cage_seg5_dl_0500F4C8[] = {
gsSP1Triangle(12, 13, 14, 0x0),
gsSPVertex(haunted_cage_seg5_vertex_0500EC68, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSPLight(&haunted_cage_seg5_lights_0500C270.l, 1),
gsSPLight(&haunted_cage_seg5_lights_0500C270.a, 2),
gsSPLightColor(LIGHT_1, 0xb2b2b2ff),
gsSPLightColor(LIGHT_2, 0x474747ff),
gsSPVertex(haunted_cage_seg5_vertex_0500ECC8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 3, 9, 4, 0x0),
@@ -353,10 +345,6 @@ const Gfx haunted_cage_seg5_dl_0500F7D8[] = {
};
// 0x0500F888
static const Lights1 haunted_cage_seg5_lights_0500F888 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500F8A0
static const Vtx haunted_cage_seg5_vertex_0500F8A0[] = {
@@ -417,8 +405,8 @@ const Gfx haunted_cage_seg5_dl_0500FB40[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, haunted_cage_seg5_texture_0500D688),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&haunted_cage_seg5_lights_0500F888.l, 1),
gsSPLight(&haunted_cage_seg5_lights_0500F888.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(haunted_cage_seg5_vertex_0500F8A0, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
@@ -455,10 +443,6 @@ const Gfx haunted_cage_seg5_dl_0500FC28[] = {
};
// 0x0500FC98
static const Lights1 haunted_cage_seg5_lights_0500FC98 = gdSPDefLights1(
0x2c, 0x2c, 0x2c,
0xb2, 0xb2, 0xb2, 0x28, 0x28, 0x28
);
// 0x0500FCB0
static const Vtx haunted_cage_seg5_vertex_0500FCB0[] = {
@@ -533,8 +517,8 @@ const Gfx haunted_cage_seg5_dl_0500FFF0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, haunted_cage_seg5_texture_0500DA88),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&haunted_cage_seg5_lights_0500FC98.l, 1),
gsSPLight(&haunted_cage_seg5_lights_0500FC98.a, 2),
gsSPLightColor(LIGHT_1, 0xb2b2b2ff),
gsSPLightColor(LIGHT_2, 0x2c2c2cff),
gsSPVertex(haunted_cage_seg5_vertex_0500FCB0, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
+28 -92
View File
@@ -1,46 +1,18 @@
// Heave Ho
// Unreferenced light group
UNUSED static const Lights1 heave_ho_lights_unused1 = gdSPDefLights1(
0x2c, 0x2c, 0x2c,
0xb2, 0xb2, 0xb2, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 heave_ho_lights_unused2 = gdSPDefLights1(
0x3f, 0x38, 0x00,
0xff, 0xe3, 0x00, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 heave_ho_lights_unused3 = gdSPDefLights1(
0x3f, 0x00, 0x00,
0xff, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x0500E968
static const Lights1 heave_ho_seg5_lights_0500E968 = gdSPDefLights1(
0x14, 0x14, 0x15,
0x50, 0x50, 0x54, 0x28, 0x28, 0x28
);
// 0x0500E980
static const Lights1 heave_ho_seg5_lights_0500E980 = gdSPDefLights1(
0x73, 0x3f, 0x32,
0xff, 0xe0, 0x85, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 heave_ho_lights_unused4 = gdSPDefLights1(
0x3b, 0x38, 0x21,
0xec, 0xe3, 0x84, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 heave_ho_lights_unused5 = gdSPDefLights1(
0x32, 0x32, 0x32,
0xc8, 0xc8, 0xc8, 0x28, 0x28, 0x28
);
// 0x0500E9C8
ALIGNED8 static const Texture heave_ho_seg5_texture_0500E9C8[] = {
@@ -73,16 +45,8 @@ ALIGNED8 static const Texture heave_ho_seg5_texture_050113C8[] = {
};
// 0x05011BC8
static const Lights1 heave_ho_seg5_lights_05011BC8 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05011BE0
static const Lights1 heave_ho_seg5_lights_05011BE0 = gdSPDefLights1(
0x40, 0x00, 0x0d,
0x81, 0x01, 0x1a, 0x28, 0x28, 0x28
);
// 0x05011BF8
static const Vtx heave_ho_seg5_vertex_05011BF8[] = {
@@ -131,8 +95,8 @@ const Gfx heave_ho_seg5_dl_05011D98[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, heave_ho_seg5_texture_0500E9C8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&heave_ho_seg5_lights_05011BC8.l, 1),
gsSPLight(&heave_ho_seg5_lights_05011BC8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(heave_ho_seg5_vertex_05011BF8, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
@@ -163,8 +127,8 @@ const Gfx heave_ho_seg5_dl_05011E28[] = {
// 0x05011E80 - 0x05011EC0
const Gfx heave_ho_seg5_dl_05011E80[] = {
gsSPLight(&heave_ho_seg5_lights_05011BE0.l, 1),
gsSPLight(&heave_ho_seg5_lights_05011BE0.a, 2),
gsSPLightColor(LIGHT_1, 0x81011aff),
gsSPLightColor(LIGHT_2, 0x40000dff),
gsSPVertex(heave_ho_seg5_vertex_05011D38, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 3, 4, 5, 0x0, 3, 5, 1, 0x0),
@@ -194,16 +158,8 @@ const Gfx heave_ho_seg5_dl_05011EC0[] = {
};
// 0x05011F50
static const Lights1 heave_ho_seg5_lights_05011F50 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05011F68
static const Lights1 heave_ho_seg5_lights_05011F68 = gdSPDefLights1(
0x4c, 0x00, 0x16,
0x99, 0x00, 0x2d, 0x28, 0x28, 0x28
);
// 0x05011F80
static const Vtx heave_ho_seg5_vertex_05011F80[] = {
@@ -236,8 +192,8 @@ const Gfx heave_ho_seg5_dl_050120A0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, heave_ho_seg5_texture_050109C8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&heave_ho_seg5_lights_05011F50.l, 1),
gsSPLight(&heave_ho_seg5_lights_05011F50.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(heave_ho_seg5_vertex_05011F80, 11, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 5, 6, 3, 0x0, 7, 8, 9, 0x0),
@@ -247,8 +203,8 @@ const Gfx heave_ho_seg5_dl_050120A0[] = {
// 0x05012100 - 0x05012148
const Gfx heave_ho_seg5_dl_05012100[] = {
gsSPLight(&heave_ho_seg5_lights_05011F68.l, 1),
gsSPLight(&heave_ho_seg5_lights_05011F68.a, 2),
gsSPLightColor(LIGHT_1, 0x99002dff),
gsSPLightColor(LIGHT_2, 0x4c0016ff),
gsSPVertex(heave_ho_seg5_vertex_05012030, 7, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
gsSP2Triangles( 4, 0, 3, 0x0, 3, 5, 4, 0x0),
@@ -274,16 +230,8 @@ const Gfx heave_ho_seg5_dl_05012148[] = {
};
// 0x050121B0
static const Lights1 heave_ho_seg5_lights_050121B0 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x050121C8
static const Lights1 heave_ho_seg5_lights_050121C8 = gdSPDefLights1(
0x4c, 0x00, 0x16,
0x99, 0x00, 0x2d, 0x28, 0x28, 0x28
);
// 0x050121E0
static const Vtx heave_ho_seg5_vertex_050121E0[] = {
@@ -316,8 +264,8 @@ const Gfx heave_ho_seg5_dl_05012300[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, heave_ho_seg5_texture_050109C8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&heave_ho_seg5_lights_050121B0.l, 1),
gsSPLight(&heave_ho_seg5_lights_050121B0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(heave_ho_seg5_vertex_050121E0, 11, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 5, 6, 3, 0x0, 7, 8, 9, 0x0),
@@ -327,8 +275,8 @@ const Gfx heave_ho_seg5_dl_05012300[] = {
// 0x05012360 - 0x050123A8
const Gfx heave_ho_seg5_dl_05012360[] = {
gsSPLight(&heave_ho_seg5_lights_050121C8.l, 1),
gsSPLight(&heave_ho_seg5_lights_050121C8.a, 2),
gsSPLightColor(LIGHT_1, 0x99002dff),
gsSPLightColor(LIGHT_2, 0x4c0016ff),
gsSPVertex(heave_ho_seg5_vertex_05012290, 7, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 2, 4, 0x0, 4, 3, 6, 0x0),
@@ -354,16 +302,8 @@ const Gfx heave_ho_seg5_dl_050123A8[] = {
};
// 0x05012410
static const Lights1 heave_ho_seg5_lights_05012410 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05012428
static const Lights1 heave_ho_seg5_lights_05012428 = gdSPDefLights1(
0x5d, 0x6d, 0x65,
0xbb, 0xda, 0xcb, 0x28, 0x28, 0x28
);
// 0x05012440
static const Vtx heave_ho_seg5_vertex_05012440[] = {
@@ -396,8 +336,8 @@ const Gfx heave_ho_seg5_dl_05012560[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, heave_ho_seg5_texture_0500F1C8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&heave_ho_seg5_lights_05012410.l, 1),
gsSPLight(&heave_ho_seg5_lights_05012410.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(heave_ho_seg5_vertex_05012440, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
@@ -405,8 +345,8 @@ const Gfx heave_ho_seg5_dl_05012560[] = {
// 0x050125A8 - 0x050125F8
const Gfx heave_ho_seg5_dl_050125A8[] = {
gsSPLight(&heave_ho_seg5_lights_05012428.l, 1),
gsSPLight(&heave_ho_seg5_lights_05012428.a, 2),
gsSPLightColor(LIGHT_1, 0xbbdacbff),
gsSPLightColor(LIGHT_2, 0x5d6d65ff),
gsSPVertex(heave_ho_seg5_vertex_05012480, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 6, 9, 7, 0x0),
@@ -470,10 +410,6 @@ const Gfx heave_ho_seg5_dl_050126E8[] = {
};
// 0x05012758
static const Lights1 heave_ho_seg5_lights_05012758 = gdSPDefLights1(
0x93, 0x73, 0x7c,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05012770
static const Vtx heave_ho_seg5_vertex_05012770[] = {
@@ -488,8 +424,8 @@ const Gfx heave_ho_seg5_dl_050127B0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, heave_ho_seg5_texture_050113C8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&heave_ho_seg5_lights_05012758.l, 1),
gsSPLight(&heave_ho_seg5_lights_05012758.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x93737cff),
gsSPVertex(heave_ho_seg5_vertex_05012770, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 1, 3, 0x0),
gsSPEndDisplayList(),
@@ -1021,8 +957,8 @@ static const Vtx heave_ho_seg5_vertex_05014128[] = {
// 0x05014188 - 0x05014560
const Gfx heave_ho_seg5_dl_05014188[] = {
gsSPLight(&heave_ho_seg5_lights_0500E968.l, 1),
gsSPLight(&heave_ho_seg5_lights_0500E968.a, 2),
gsSPLightColor(LIGHT_1, 0x505054ff),
gsSPLightColor(LIGHT_2, 0x141415ff),
gsSPVertex(heave_ho_seg5_vertex_05012868, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 0, 3, 0x0),
gsSP2Triangles( 1, 3, 4, 0x0, 4, 3, 5, 0x0),
@@ -1092,8 +1028,8 @@ const Gfx heave_ho_seg5_dl_05014188[] = {
// 0x05014560 - 0x050145D0
const Gfx heave_ho_seg5_dl_05014560[] = {
gsSPLight(&heave_ho_seg5_lights_0500E980.l, 1),
gsSPLight(&heave_ho_seg5_lights_0500E980.a, 2),
gsSPLightColor(LIGHT_1, 0xffe085ff),
gsSPLightColor(LIGHT_2, 0x733f32ff),
gsSPVertex(heave_ho_seg5_vertex_05013068, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 4, 3, 6, 0x0, 5, 7, 3, 0x0),
@@ -1105,8 +1041,8 @@ const Gfx heave_ho_seg5_dl_05014560[] = {
// 0x050145D0 - 0x050149A8
const Gfx heave_ho_seg5_dl_050145D0[] = {
gsSPLight(&heave_ho_seg5_lights_0500E968.l, 1),
gsSPLight(&heave_ho_seg5_lights_0500E968.a, 2),
gsSPLightColor(LIGHT_1, 0x505054ff),
gsSPLightColor(LIGHT_2, 0x141415ff),
gsSPVertex(heave_ho_seg5_vertex_05013128, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 0, 3, 0x0),
gsSP2Triangles( 1, 3, 4, 0x0, 4, 3, 5, 0x0),
@@ -1176,8 +1112,8 @@ const Gfx heave_ho_seg5_dl_050145D0[] = {
// 0x050149A8 - 0x05014D80
const Gfx heave_ho_seg5_dl_050149A8[] = {
gsSPLight(&heave_ho_seg5_lights_0500E968.l, 1),
gsSPLight(&heave_ho_seg5_lights_0500E968.a, 2),
gsSPLightColor(LIGHT_1, 0x505054ff),
gsSPLightColor(LIGHT_2, 0x141415ff),
gsSPVertex(heave_ho_seg5_vertex_05013928, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 0, 3, 0x0),
gsSP2Triangles( 1, 3, 4, 0x0, 4, 3, 5, 0x0),
@@ -1247,8 +1183,8 @@ const Gfx heave_ho_seg5_dl_050149A8[] = {
// 0x05014D80 - 0x05014DD0
const Gfx heave_ho_seg5_dl_05014D80[] = {
gsSPLight(&heave_ho_seg5_lights_0500E980.l, 1),
gsSPLight(&heave_ho_seg5_lights_0500E980.a, 2),
gsSPLightColor(LIGHT_1, 0xffe085ff),
gsSPLightColor(LIGHT_2, 0x733f32ff),
gsSPVertex(heave_ho_seg5_vertex_05014128, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 4, 0x0),
gsSP2Triangles( 4, 3, 5, 0x0, 0, 2, 5, 0x0),
+44 -124
View File
@@ -1,76 +1,28 @@
// Hoot
// 0x05000900
static const Lights1 hoot_seg5_lights_05000900 = gdSPDefLights1(
0x30, 0x1b, 0x0f,
0xc0, 0x6e, 0x3d, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 hoot_lights_unused1 = gdSPDefLights1(
0x37, 0x27, 0x0b,
0xdd, 0x9d, 0x2d, 0x28, 0x28, 0x28
);
// 0x05000930
static const Lights1 hoot_seg5_lights_05000930 = gdSPDefLights1(
0x36, 0x26, 0x11,
0xdb, 0x99, 0x46, 0x28, 0x28, 0x28
);
// 0x05000948
static const Lights1 hoot_seg5_lights_05000948 = gdSPDefLights1(
0x06, 0x06, 0x06,
0x19, 0x19, 0x19, 0x28, 0x28, 0x28
);
// 0x05000960
static const Lights1 hoot_seg5_lights_05000960 = gdSPDefLights1(
0x1d, 0x0a, 0x05,
0x77, 0x2a, 0x16, 0x28, 0x28, 0x28
);
// 0x05000978
static const Lights1 hoot_seg5_lights_05000978 = gdSPDefLights1(
0x06, 0x06, 0x06,
0x19, 0x19, 0x19, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 hoot_lights_unused2 = gdSPDefLights1(
0x39, 0x27, 0x0a,
0xe6, 0x9d, 0x29, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 hoot_lights_unused3 = gdSPDefLights1(
0x1d, 0x06, 0x3b,
0x75, 0x18, 0xef, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 hoot_lights_unused4 = gdSPDefLights1(
0x3a, 0x29, 0x09,
0xeb, 0xa6, 0x27, 0x28, 0x28, 0x28
);
// 0x050009D8
static const Lights1 hoot_seg5_lights_050009D8 = gdSPDefLights1(
0x18, 0x07, 0x03,
0x63, 0x1e, 0x0f, 0x28, 0x28, 0x28
);
// 0x050009F0
static const Lights1 hoot_seg5_lights_050009F0 = gdSPDefLights1(
0x3f, 0x3a, 0x09,
0xfe, 0xea, 0x26, 0x28, 0x28, 0x28
);
// 0x05000A08
static const Lights1 hoot_seg5_lights_05000A08 = gdSPDefLights1(
0x13, 0x0d, 0x0b,
0x4d, 0x35, 0x2e, 0x28, 0x28, 0x28
);
// 0x05000A20
ALIGNED8 static const Texture hoot_seg5_texture_05000A20[] = {
@@ -274,8 +226,8 @@ static const Vtx hoot_seg5_vertex_05001A90[] = {
// 0x05001B80 - 0x05001C00
const Gfx hoot_seg5_dl_05001B80[] = {
gsDPLoadTextureBlock(hoot_seg5_texture_05000A20, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_WRAP | G_TX_NOMIRROR, 5, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPLight(&hoot_seg5_lights_050009D8.l, 1),
gsSPLight(&hoot_seg5_lights_050009D8.a, 2),
gsSPLightColor(LIGHT_1, 0x631e0fff),
gsSPLightColor(LIGHT_2, 0x180703ff),
gsSPVertex(hoot_seg5_vertex_05001220, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -285,17 +237,17 @@ const Gfx hoot_seg5_dl_05001B80[] = {
// 0x05001C00 - 0x05001DF0
const Gfx hoot_seg5_dl_05001C00[] = {
gsSPLight(&hoot_seg5_lights_050009F0.l, 1),
gsSPLight(&hoot_seg5_lights_050009F0.a, 2),
gsSPLightColor(LIGHT_1, 0xfeea26ff),
gsSPLightColor(LIGHT_2, 0x3f3a09ff),
gsSPVertex(hoot_seg5_vertex_05001310, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
gsSPLight(&hoot_seg5_lights_05000A08.l, 1),
gsSPLight(&hoot_seg5_lights_05000A08.a, 2),
gsSPLightColor(LIGHT_1, 0x4d352eff),
gsSPLightColor(LIGHT_2, 0x130d0bff),
gsSPVertex(hoot_seg5_vertex_050013D0, 3, 0),
gsSP1Triangle( 0, 1, 2, 0x0),
gsSPLight(&hoot_seg5_lights_050009D8.l, 1),
gsSPLight(&hoot_seg5_lights_050009D8.a, 2),
gsSPLightColor(LIGHT_1, 0x631e0fff),
gsSPLightColor(LIGHT_2, 0x180703ff),
gsSPVertex(hoot_seg5_vertex_05001400, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -345,10 +297,6 @@ const Gfx hoot_seg5_dl_05001DF0[] = {
};
// 0x05001E38
static const Lights1 hoot_seg5_lights_05001E38 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05001E50
ALIGNED8 static const Texture hoot_seg5_texture_05001E50[] = {
@@ -378,8 +326,8 @@ const Gfx hoot_seg5_dl_05002EB0[] = {
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD),
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
gsSPLight(&hoot_seg5_lights_05001E38.l, 1),
gsSPLight(&hoot_seg5_lights_05001E38.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(hoot_seg5_vertex_05002E50, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSPEndDisplayList(),
@@ -400,10 +348,6 @@ const Gfx hoot_seg5_dl_05002F10[] = {
};
// 0x05002F60
static const Lights1 hoot_seg5_lights_05002F60 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05002F78
static const Vtx hoot_seg5_vertex_05002F78[] = {
@@ -423,8 +367,8 @@ const Gfx hoot_seg5_dl_05002FD8[] = {
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD),
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
gsSPLight(&hoot_seg5_lights_05002F60.l, 1),
gsSPLight(&hoot_seg5_lights_05002F60.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(hoot_seg5_vertex_05002F78, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSPEndDisplayList(),
@@ -445,10 +389,6 @@ const Gfx hoot_seg5_dl_05003038[] = {
};
// 0x05003088
static const Lights1 hoot_seg5_lights_05003088 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x050030A0
static const Vtx hoot_seg5_vertex_050030A0[] = {
@@ -468,8 +408,8 @@ const Gfx hoot_seg5_dl_05003100[] = {
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD),
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
gsSPLight(&hoot_seg5_lights_05003088.l, 1),
gsSPLight(&hoot_seg5_lights_05003088.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(hoot_seg5_vertex_050030A0, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSPEndDisplayList(),
@@ -490,10 +430,6 @@ const Gfx hoot_seg5_dl_05003160[] = {
};
// 0x050031B0
static const Lights1 hoot_seg5_lights_050031B0 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x050031C8
static const Vtx hoot_seg5_vertex_050031C8[] = {
@@ -513,8 +449,8 @@ const Gfx hoot_seg5_dl_05003228[] = {
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD),
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
gsSPLight(&hoot_seg5_lights_050031B0.l, 1),
gsSPLight(&hoot_seg5_lights_050031B0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(hoot_seg5_vertex_050031C8, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSPEndDisplayList(),
@@ -535,10 +471,6 @@ const Gfx hoot_seg5_dl_05003288[] = {
};
// 0x050032D8
static const Lights1 hoot_seg5_lights_050032D8 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x050032F0
static const Vtx hoot_seg5_vertex_050032F0[] = {
@@ -558,8 +490,8 @@ const Gfx hoot_seg5_dl_05003350[] = {
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD),
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
gsSPLight(&hoot_seg5_lights_050032D8.l, 1),
gsSPLight(&hoot_seg5_lights_050032D8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(hoot_seg5_vertex_050032F0, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSPEndDisplayList(),
@@ -580,10 +512,6 @@ const Gfx hoot_seg5_dl_050033B0[] = {
};
// 0x05003400
static const Lights1 hoot_seg5_lights_05003400 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05003418
static const Vtx hoot_seg5_vertex_05003418[] = {
@@ -603,8 +531,8 @@ const Gfx hoot_seg5_dl_05003478[] = {
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD),
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
gsSPLight(&hoot_seg5_lights_05003400.l, 1),
gsSPLight(&hoot_seg5_lights_05003400.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(hoot_seg5_vertex_05003418, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSPEndDisplayList(),
@@ -625,10 +553,6 @@ const Gfx hoot_seg5_dl_050034D8[] = {
};
// 0x05003528
static const Lights1 hoot_seg5_lights_05003528 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05003540
static const Vtx hoot_seg5_vertex_05003540[] = {
@@ -648,8 +572,8 @@ const Gfx hoot_seg5_dl_050035A0[] = {
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD),
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
gsSPLight(&hoot_seg5_lights_05003528.l, 1),
gsSPLight(&hoot_seg5_lights_05003528.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(hoot_seg5_vertex_05003540, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSPEndDisplayList(),
@@ -670,10 +594,6 @@ const Gfx hoot_seg5_dl_05003600[] = {
};
// 0x05003650
static const Lights1 hoot_seg5_lights_05003650 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05003668
static const Vtx hoot_seg5_vertex_05003668[] = {
@@ -693,8 +613,8 @@ const Gfx hoot_seg5_dl_050036C8[] = {
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD),
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
gsSPLight(&hoot_seg5_lights_05003650.l, 1),
gsSPLight(&hoot_seg5_lights_05003650.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(hoot_seg5_vertex_05003668, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSPEndDisplayList(),
@@ -1087,8 +1007,8 @@ static const Vtx hoot_seg5_vertex_05004828[] = {
// 0x05004928 - 0x05004A98
const Gfx hoot_seg5_dl_05004928[] = {
gsSPLight(&hoot_seg5_lights_05000930.l, 1),
gsSPLight(&hoot_seg5_lights_05000930.a, 2),
gsSPLightColor(LIGHT_1, 0xdb9946ff),
gsSPLightColor(LIGHT_2, 0x362611ff),
gsSPVertex(hoot_seg5_vertex_05003778, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -1108,8 +1028,8 @@ const Gfx hoot_seg5_dl_05004928[] = {
gsSP1Triangle(12, 13, 14, 0x0),
gsSPVertex(hoot_seg5_vertex_05003B48, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSPLight(&hoot_seg5_lights_05000948.l, 1),
gsSPLight(&hoot_seg5_lights_05000948.a, 2),
gsSPLightColor(LIGHT_1, 0x191919ff),
gsSPLightColor(LIGHT_2, 0x60606ff),
gsSPVertex(hoot_seg5_vertex_05003BA8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -1122,8 +1042,8 @@ const Gfx hoot_seg5_dl_05004928[] = {
// 0x05004A98 - 0x05004B38
const Gfx hoot_seg5_dl_05004A98[] = {
gsSPLight(&hoot_seg5_lights_05000960.l, 1),
gsSPLight(&hoot_seg5_lights_05000960.a, 2),
gsSPLightColor(LIGHT_1, 0x772a16ff),
gsSPLightColor(LIGHT_2, 0x1d0a05ff),
gsSPVertex(hoot_seg5_vertex_05003D58, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -1131,8 +1051,8 @@ const Gfx hoot_seg5_dl_05004A98[] = {
gsSPVertex(hoot_seg5_vertex_05003E58, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
gsSPLight(&hoot_seg5_lights_05000978.l, 1),
gsSPLight(&hoot_seg5_lights_05000978.a, 2),
gsSPLightColor(LIGHT_1, 0x191919ff),
gsSPLightColor(LIGHT_2, 0x60606ff),
gsSPVertex(hoot_seg5_vertex_05003F18, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
@@ -1140,8 +1060,8 @@ const Gfx hoot_seg5_dl_05004A98[] = {
// 0x05004B38 - 0x05004CA8
const Gfx hoot_seg5_dl_05004B38[] = {
gsSPLight(&hoot_seg5_lights_05000948.l, 1),
gsSPLight(&hoot_seg5_lights_05000948.a, 2),
gsSPLightColor(LIGHT_1, 0x191919ff),
gsSPLightColor(LIGHT_2, 0x60606ff),
gsSPVertex(hoot_seg5_vertex_05003F58, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -1149,8 +1069,8 @@ const Gfx hoot_seg5_dl_05004B38[] = {
gsSPVertex(hoot_seg5_vertex_05004048, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
gsSPLight(&hoot_seg5_lights_05000930.l, 1),
gsSPLight(&hoot_seg5_lights_05000930.a, 2),
gsSPLightColor(LIGHT_1, 0xdb9946ff),
gsSPLightColor(LIGHT_2, 0x362611ff),
gsSPVertex(hoot_seg5_vertex_05004108, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -1175,8 +1095,8 @@ const Gfx hoot_seg5_dl_05004B38[] = {
// 0x05004CA8 - 0x05004D48
const Gfx hoot_seg5_dl_05004CA8[] = {
gsSPLight(&hoot_seg5_lights_05000960.l, 1),
gsSPLight(&hoot_seg5_lights_05000960.a, 2),
gsSPLightColor(LIGHT_1, 0x772a16ff),
gsSPLightColor(LIGHT_2, 0x1d0a05ff),
gsSPVertex(hoot_seg5_vertex_05004548, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -1184,8 +1104,8 @@ const Gfx hoot_seg5_dl_05004CA8[] = {
gsSPVertex(hoot_seg5_vertex_05004648, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
gsSPLight(&hoot_seg5_lights_05000978.l, 1),
gsSPLight(&hoot_seg5_lights_05000978.a, 2),
gsSPLightColor(LIGHT_1, 0x191919ff),
gsSPLightColor(LIGHT_2, 0x60606ff),
gsSPVertex(hoot_seg5_vertex_05004708, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSPEndDisplayList(),
@@ -1193,8 +1113,8 @@ const Gfx hoot_seg5_dl_05004CA8[] = {
// 0x05004D48 - 0x05004EC0
const Gfx hoot_seg5_dl_05004D48[] = {
gsSPLight(&hoot_seg5_lights_05000900.l, 1),
gsSPLight(&hoot_seg5_lights_05000900.a, 2),
gsSPLightColor(LIGHT_1, 0xc06e3dff),
gsSPLightColor(LIGHT_2, 0x301b0fff),
gsSPVertex(hoot_seg5_vertex_05004748, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 1, 4, 0x0, 7, 8, 9, 0x0),
@@ -1206,8 +1126,8 @@ const Gfx hoot_seg5_dl_05004D48[] = {
gsSP2Triangles( 2, 10, 12, 0x0, 6, 9, 8, 0x0),
gsSP2Triangles(11, 13, 7, 0x0, 5, 4, 1, 0x0),
gsSP1Triangle( 1, 8, 2, 0x0),
gsSPLight(&hoot_seg5_lights_05000960.l, 1),
gsSPLight(&hoot_seg5_lights_05000960.a, 2),
gsSPLightColor(LIGHT_1, 0x772a16ff),
gsSPLightColor(LIGHT_2, 0x1d0a05ff),
gsSPVertex(hoot_seg5_vertex_05004828, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 8, 4, 3, 0x0),
+10 -50
View File
@@ -2,34 +2,14 @@
// // 0x05000078
// Unreferenced light group
// UNUSED static const Lights1 king_bobomb_lights_unused1 = gdSPDefLights1(
// 0x36, 0x1e, 0x00,
// 0xd9, 0x7a, 0x00, 0x28, 0x28, 0x28
// );
// // Unreferenced light group
// UNUSED static const Lights1 king_bobomb_lights_unused2 = gdSPDefLights1(
// 0x00, 0x00, 0x3f,
// 0x00, 0x00, 0xff, 0x28, 0x28, 0x28
// );
// // Unreferenced light group
// UNUSED static const Lights1 king_bobomb_lights_unused3 = gdSPDefLights1(
// 0x3c, 0x28, 0x00,
// 0xf1, 0xa2, 0x00, 0x28, 0x28, 0x28
// );
// // Unreferenced light group
// UNUSED static const Lights1 king_bobomb_lights_unused4 = gdSPDefLights1(
// 0x2c, 0x2c, 0x2c,
// 0xb2, 0xb2, 0xb2, 0x28, 0x28, 0x28
// );
// // Unreferenced light group
// UNUSED static const Lights1 king_bobomb_lights_unused5 = gdSPDefLights1(
// 0x06, 0x06, 0x06,
// 0x19, 0x19, 0x19, 0x28, 0x28, 0x28
// );
// // 0x05000078
// ALIGNED8 static const Texture king_bobomb_seg5_texture_05000078[] = {
@@ -303,10 +283,6 @@ const Gfx king_bobomb_seg5_dl_0500A978[] = {
};
// 0x0500A9E8
static const Lights1 king_bobomb_seg5_lights_0500A9E8 = gdSPDefLights1(
0x6f, 0x56, 0x11,
0xde, 0xad, 0x23, 0x28, 0x28, 0x28
);
// 0x0500AA00
static const Vtx king_bobomb_seg5_vertex_0500AA00[] = {
@@ -346,8 +322,8 @@ static const Vtx king_bobomb_seg5_vertex_0500AB00[] = {
// 0x0500ABC0 - 0x0500AD08
const Gfx king_bobomb_seg5_dl_0500ABC0[] = {
gsSPLight(&king_bobomb_seg5_lights_0500A9E8.l, 1),
gsSPLight(&king_bobomb_seg5_lights_0500A9E8.a, 2),
gsSPLightColor(LIGHT_1, 0xdead23ff),
gsSPLightColor(LIGHT_2, 0x6f5611ff),
gsSPVertex(king_bobomb_seg5_vertex_0500AA00, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 1, 4, 5, 0x0, 1, 5, 6, 0x0),
@@ -382,10 +358,6 @@ const Gfx king_bobomb_seg5_dl_0500AD08[] = {
};
// 0x0500AD38
static const Lights1 king_bobomb_seg5_lights_0500AD38 = gdSPDefLights1(
0x6f, 0x4f, 0x10,
0xde, 0x9e, 0x20, 0x28, 0x28, 0x28
);
// 0x0500AD50
static const Vtx king_bobomb_seg5_vertex_0500AD50[] = {
@@ -426,8 +398,8 @@ static const Vtx king_bobomb_seg5_vertex_0500AE50[] = {
// 0x0500AF20 - 0x0500B068
const Gfx king_bobomb_seg5_dl_0500AF20[] = {
gsSPLight(&king_bobomb_seg5_lights_0500AD38.l, 1),
gsSPLight(&king_bobomb_seg5_lights_0500AD38.a, 2),
gsSPLightColor(LIGHT_1, 0xde9e20ff),
gsSPLightColor(LIGHT_2, 0x6f4f10ff),
gsSPVertex(king_bobomb_seg5_vertex_0500AD50, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 1, 4, 5, 0x0, 1, 5, 2, 0x0),
@@ -518,10 +490,6 @@ const Gfx king_bobomb_seg5_dl_body[] = {
};
// 0x0500B200
static const Lights1 king_bobomb_seg5_lights_eyes = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500B218
static const Vtx king_bobomb_seg5_vertex_eyes[] = {
@@ -546,8 +514,8 @@ const Gfx king_bobomb_seg5_dl_eyes_start_dl[] = {
};
const Gfx king_bobomb_seg5_dl_eyes_end_dl[] = {
gsSPLight(&king_bobomb_seg5_lights_eyes.l, 1),
gsSPLight(&king_bobomb_seg5_lights_eyes.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(king_bobomb_seg5_vertex_eyes, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 2, 4, 0x0),
gsSP2Triangles( 2, 3, 0, 0x0, 4, 5, 3, 0x0),
@@ -577,10 +545,6 @@ const Gfx king_bobomb_seg5_dl_eyes_blink[] = {
};
// 0x0500B330
static const Lights1 king_bobomb_seg5_lights_0500B330 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500B348
static const Vtx king_bobomb_seg5_vertex_0500B348[] = {
@@ -596,8 +560,8 @@ static const Vtx king_bobomb_seg5_vertex_0500B348[] = {
// 0x0500B3C8 - 0x0500B418
const Gfx king_bobomb_seg5_dl_0500B3C8[] = {
gsSPLight(&king_bobomb_seg5_lights_0500B330.l, 1),
gsSPLight(&king_bobomb_seg5_lights_0500B330.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(king_bobomb_seg5_vertex_0500B348, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 4, 0x0),
gsSP2Triangles( 2, 4, 5, 0x0, 2, 5, 0, 0x0),
@@ -618,10 +582,6 @@ const Gfx king_bobomb_seg5_dl_0500B418[] = {
};
// 0x0500B458
static const Lights1 king_bobomb_seg5_lights_0500B458 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500B470
static const Vtx king_bobomb_seg5_vertex_0500B470[] = {
@@ -660,8 +620,8 @@ const Gfx king_bobomb_seg5_dl_0500B5F0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, king_bobomb_seg5_texture_crown_rim),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 32 - 1, CALC_DXT(16, G_IM_SIZ_16b_BYTES)),
gsSPLight(&king_bobomb_seg5_lights_0500B458.l, 1),
gsSPLight(&king_bobomb_seg5_lights_0500B458.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(king_bobomb_seg5_vertex_0500B470, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 0, 0x0),
gsSP2Triangles( 0, 2, 3, 0x0, 5, 4, 3, 0x0),
+36 -108
View File
@@ -31,16 +31,8 @@ ALIGNED8 static const Texture klepto_seg5_texture_05003008[] = {
};
// 0x05003808
static const Lights1 klepto_seg5_lights_05003808 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05003820
static const Lights1 klepto_seg5_lights_05003820 = gdSPDefLights1(
0x3f, 0x1d, 0x08,
0xff, 0x75, 0x21, 0x28, 0x28, 0x28
);
// 0x05003838
static const Vtx klepto_seg5_vertex_05003838[] = {
@@ -98,8 +90,8 @@ const Gfx klepto_seg5_dl_05003A68[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, klepto_seg5_texture_05000808),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&klepto_seg5_lights_05003808.l, 1),
gsSPLight(&klepto_seg5_lights_05003808.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(klepto_seg5_vertex_05003838, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
gsSP2Triangles( 2, 1, 4, 0x0, 4, 5, 2, 0x0),
@@ -124,8 +116,8 @@ const Gfx klepto_seg5_dl_05003AC0[] = {
// 0x05003B40 - 0x05003BD0
const Gfx klepto_seg5_dl_05003B40[] = {
gsSPLight(&klepto_seg5_lights_05003820.l, 1),
gsSPLight(&klepto_seg5_lights_05003820.a, 2),
gsSPLightColor(LIGHT_1, 0xff7521ff),
gsSPLightColor(LIGHT_2, 0x3f1d08ff),
gsSPVertex(klepto_seg5_vertex_050039B8, 11, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 4, 5, 3, 0x0, 3, 6, 4, 0x0),
@@ -159,10 +151,6 @@ const Gfx klepto_seg5_dl_05003BD0[] = {
};
// 0x05003C58
static const Lights1 klepto_seg5_lights_05003C58 = gdSPDefLights1(
0x3f, 0x1d, 0x08,
0xff, 0x75, 0x21, 0x28, 0x28, 0x28
);
// 0x05003C70
static const Vtx klepto_seg5_vertex_05003C70[] = {
@@ -179,8 +167,8 @@ static const Vtx klepto_seg5_vertex_05003C70[] = {
// 0x05003D00 - 0x05003D80
const Gfx klepto_seg5_dl_05003D00[] = {
gsSPLight(&klepto_seg5_lights_05003C58.l, 1),
gsSPLight(&klepto_seg5_lights_05003C58.a, 2),
gsSPLightColor(LIGHT_1, 0xff7521ff),
gsSPLightColor(LIGHT_2, 0x3f1d08ff),
gsSPVertex(klepto_seg5_vertex_05003C70, 9, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
gsSP2Triangles( 4, 2, 5, 0x0, 2, 4, 3, 0x0),
@@ -202,10 +190,6 @@ const Gfx klepto_seg5_dl_05003D80[] = {
};
// 0x05003DB0
static const Lights1 klepto_seg5_lights_05003DB0 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05003DC8
static const Vtx klepto_seg5_vertex_05003DC8[] = {
@@ -226,8 +210,8 @@ const Gfx klepto_seg5_dl_05003E68[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, klepto_seg5_texture_05000008),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&klepto_seg5_lights_05003DB0.l, 1),
gsSPLight(&klepto_seg5_lights_05003DB0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(klepto_seg5_vertex_05003DC8, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 2, 0x0),
gsSP2Triangles( 5, 2, 1, 0x0, 2, 5, 3, 0x0),
@@ -257,10 +241,6 @@ const Gfx klepto_seg5_dl_05003F20[] = {
};
// 0x05003F80
static const Lights1 klepto_seg5_lights_05003F80 = gdSPDefLights1(
0x07, 0x01, 0x01,
0x1e, 0x05, 0x04, 0x28, 0x28, 0x28
);
// 0x05003F98
static const Vtx klepto_seg5_vertex_05003F98[] = {
@@ -280,8 +260,8 @@ static const Vtx klepto_seg5_vertex_05003F98[] = {
// 0x05004058 - 0x05004118
const Gfx klepto_seg5_dl_05004058[] = {
gsSPLight(&klepto_seg5_lights_05003F80.l, 1),
gsSPLight(&klepto_seg5_lights_05003F80.a, 2),
gsSPLightColor(LIGHT_1, 0x1e0504ff),
gsSPLightColor(LIGHT_2, 0x70101ff),
gsSPVertex(klepto_seg5_vertex_05003F98, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 1, 3, 0x0),
gsSP2Triangles( 2, 4, 5, 0x0, 2, 5, 0, 0x0),
@@ -307,10 +287,6 @@ const Gfx klepto_seg5_dl_05004118[] = {
};
// 0x05004148
static const Lights1 klepto_seg5_lights_05004148 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05004160
static const Vtx klepto_seg5_vertex_05004160[] = {
@@ -325,8 +301,8 @@ const Gfx klepto_seg5_dl_050041A0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, klepto_seg5_texture_05003008),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&klepto_seg5_lights_05004148.l, 1),
gsSPLight(&klepto_seg5_lights_05004148.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(klepto_seg5_vertex_05004160, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 0, 0x0),
gsSPEndDisplayList(),
@@ -351,10 +327,6 @@ const Gfx klepto_seg5_dl_050041E8[] = {
};
// 0x05004258
static const Lights1 klepto_seg5_lights_05004258 = gdSPDefLights1(
0x3f, 0x1d, 0x08,
0xff, 0x75, 0x21, 0x28, 0x28, 0x28
);
// 0x05004270
static const Vtx klepto_seg5_vertex_05004270[] = {
@@ -368,8 +340,8 @@ static const Vtx klepto_seg5_vertex_05004270[] = {
// 0x050042D0 - 0x05004330
const Gfx klepto_seg5_dl_050042D0[] = {
gsSPLight(&klepto_seg5_lights_05004258.l, 1),
gsSPLight(&klepto_seg5_lights_05004258.a, 2),
gsSPLightColor(LIGHT_1, 0xff7521ff),
gsSPLightColor(LIGHT_2, 0x3f1d08ff),
gsSPVertex(klepto_seg5_vertex_05004270, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 0, 3, 0x0),
gsSP2Triangles( 4, 0, 2, 0x0, 0, 4, 3, 0x0),
@@ -389,10 +361,6 @@ const Gfx klepto_seg5_dl_05004330[] = {
};
// 0x05004360
static const Lights1 klepto_seg5_lights_05004360 = gdSPDefLights1(
0x3f, 0x1d, 0x08,
0xff, 0x75, 0x21, 0x28, 0x28, 0x28
);
// 0x05004378
static const Vtx klepto_seg5_vertex_05004378[] = {
@@ -406,8 +374,8 @@ static const Vtx klepto_seg5_vertex_05004378[] = {
// 0x050043D8 - 0x05004438
const Gfx klepto_seg5_dl_050043D8[] = {
gsSPLight(&klepto_seg5_lights_05004360.l, 1),
gsSPLight(&klepto_seg5_lights_05004360.a, 2),
gsSPLightColor(LIGHT_1, 0xff7521ff),
gsSPLightColor(LIGHT_2, 0x3f1d08ff),
gsSPVertex(klepto_seg5_vertex_05004378, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 0, 3, 0x0),
gsSP2Triangles( 4, 0, 2, 0x0, 0, 4, 3, 0x0),
@@ -427,16 +395,8 @@ const Gfx klepto_seg5_dl_05004438[] = {
};
// 0x05004468
static const Lights1 klepto_seg5_lights_05004468 = gdSPDefLights1(
0x02, 0x00, 0x00,
0x08, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x05004480
static const Lights1 klepto_seg5_lights_05004480 = gdSPDefLights1(
0x3f, 0x1d, 0x08,
0xff, 0x75, 0x21, 0x28, 0x28, 0x28
);
// 0x05004498
static const Vtx klepto_seg5_vertex_05004498[] = {
@@ -484,16 +444,16 @@ static const Vtx klepto_seg5_vertex_05004648[] = {
// 0x05004698 - 0x050047C8
const Gfx klepto_seg5_dl_05004698[] = {
gsSPLight(&klepto_seg5_lights_05004468.l, 1),
gsSPLight(&klepto_seg5_lights_05004468.a, 2),
gsSPLightColor(LIGHT_1, 0x80000ff),
gsSPLightColor(LIGHT_2, 0x20000ff),
gsSPVertex(klepto_seg5_vertex_05004498, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 4, 3, 6, 0x0, 3, 5, 6, 0x0),
gsSP2Triangles( 7, 8, 9, 0x0, 8, 7, 10, 0x0),
gsSP2Triangles( 8, 10, 9, 0x0, 0, 11, 1, 0x0),
gsSP1Triangle(11, 0, 2, 0x0),
gsSPLight(&klepto_seg5_lights_05004480.l, 1),
gsSPLight(&klepto_seg5_lights_05004480.a, 2),
gsSPLightColor(LIGHT_1, 0xff7521ff),
gsSPLightColor(LIGHT_2, 0x3f1d08ff),
gsSPVertex(klepto_seg5_vertex_05004558, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 3, 0x0, 7, 4, 3, 0x0),
@@ -521,16 +481,8 @@ const Gfx klepto_seg5_dl_050047C8[] = {
};
// 0x050047F8
static const Lights1 klepto_seg5_lights_050047F8 = gdSPDefLights1(
0x02, 0x00, 0x00,
0x08, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x05004810
static const Lights1 klepto_seg5_lights_05004810 = gdSPDefLights1(
0x3f, 0x1d, 0x08,
0xff, 0x75, 0x21, 0x28, 0x28, 0x28
);
// 0x05004828
static const Vtx klepto_seg5_vertex_05004828[] = {
@@ -578,16 +530,16 @@ static const Vtx klepto_seg5_vertex_050049D8[] = {
// 0x05004A28 - 0x05004B58
const Gfx klepto_seg5_dl_05004A28[] = {
gsSPLight(&klepto_seg5_lights_050047F8.l, 1),
gsSPLight(&klepto_seg5_lights_050047F8.a, 2),
gsSPLightColor(LIGHT_1, 0x80000ff),
gsSPLightColor(LIGHT_2, 0x20000ff),
gsSPVertex(klepto_seg5_vertex_05004828, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 4, 3, 6, 0x0, 3, 5, 6, 0x0),
gsSP2Triangles( 7, 8, 9, 0x0, 8, 7, 10, 0x0),
gsSP2Triangles( 8, 10, 9, 0x0, 0, 11, 1, 0x0),
gsSP1Triangle(11, 0, 2, 0x0),
gsSPLight(&klepto_seg5_lights_05004810.l, 1),
gsSPLight(&klepto_seg5_lights_05004810.a, 2),
gsSPLightColor(LIGHT_1, 0xff7521ff),
gsSPLightColor(LIGHT_2, 0x3f1d08ff),
gsSPVertex(klepto_seg5_vertex_050048E8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 3, 0x0, 7, 4, 3, 0x0),
@@ -615,10 +567,6 @@ const Gfx klepto_seg5_dl_05004B58[] = {
};
// 0x05004B88
static const Lights1 klepto_seg5_lights_05004B88 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05004BA0
static const Vtx klepto_seg5_vertex_05004BA0[] = {
@@ -633,8 +581,8 @@ const Gfx klepto_seg5_dl_05004BE0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, klepto_seg5_texture_05002008),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
gsSPLight(&klepto_seg5_lights_05004B88.l, 1),
gsSPLight(&klepto_seg5_lights_05004B88.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(klepto_seg5_vertex_05004BA0, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
@@ -659,10 +607,6 @@ const Gfx klepto_seg5_dl_05004C28[] = {
};
// 0x05004C98
static const Lights1 klepto_seg5_lights_05004C98 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05004CB0
static const Vtx klepto_seg5_vertex_05004CB0[] = {
@@ -677,8 +621,8 @@ const Gfx klepto_seg5_dl_05004CF0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, klepto_seg5_texture_05002008),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
gsSPLight(&klepto_seg5_lights_05004C98.l, 1),
gsSPLight(&klepto_seg5_lights_05004C98.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(klepto_seg5_vertex_05004CB0, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSPEndDisplayList(),
@@ -703,10 +647,6 @@ const Gfx klepto_seg5_dl_05004D38[] = {
};
// 0x05004DA8
static const Lights1 klepto_seg5_lights_05004DA8 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05004DC0
static const Vtx klepto_seg5_vertex_05004DC0[] = {
@@ -721,8 +661,8 @@ const Gfx klepto_seg5_dl_05004E00[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, klepto_seg5_texture_05002008),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
gsSPLight(&klepto_seg5_lights_05004DA8.l, 1),
gsSPLight(&klepto_seg5_lights_05004DA8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(klepto_seg5_vertex_05004DC0, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
@@ -747,10 +687,6 @@ const Gfx klepto_seg5_dl_05004E48[] = {
};
// 0x05004EB8
static const Lights1 klepto_seg5_lights_05004EB8 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05004ED0
static const Vtx klepto_seg5_vertex_05004ED0[] = {
@@ -765,8 +701,8 @@ const Gfx klepto_seg5_dl_05004F10[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, klepto_seg5_texture_05002008),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
gsSPLight(&klepto_seg5_lights_05004EB8.l, 1),
gsSPLight(&klepto_seg5_lights_05004EB8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(klepto_seg5_vertex_05004ED0, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSPEndDisplayList(),
@@ -791,10 +727,6 @@ const Gfx klepto_seg5_dl_05004F58[] = {
};
// 0x05004FC8
static const Lights1 klepto_seg5_lights_05004FC8 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05004FE0
static const Vtx klepto_seg5_vertex_05004FE0[] = {
@@ -809,8 +741,8 @@ const Gfx klepto_seg5_dl_05005020[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, klepto_seg5_texture_05002008),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
gsSPLight(&klepto_seg5_lights_05004FC8.l, 1),
gsSPLight(&klepto_seg5_lights_05004FC8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(klepto_seg5_vertex_05004FE0, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
@@ -835,10 +767,6 @@ const Gfx klepto_seg5_dl_05005068[] = {
};
// 0x050050D8
static const Lights1 klepto_seg5_lights_050050D8 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x050050F0
static const Vtx klepto_seg5_vertex_050050F0[] = {
@@ -853,8 +781,8 @@ const Gfx klepto_seg5_dl_05005130[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, klepto_seg5_texture_05002008),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
gsSPLight(&klepto_seg5_lights_050050D8.l, 1),
gsSPLight(&klepto_seg5_lights_050050D8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(klepto_seg5_vertex_050050F0, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSPEndDisplayList(),
+54 -119
View File
@@ -2,58 +2,25 @@
// Unreferenced light group
UNUSED static const Lights1 koopa_lights_unused1 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x060025A0
static const Lights1 koopa_seg6_lights_060025A0 = gdSPDefLights1(
0x00, 0x59, 0x00,
0x00, 0xb2, 0x00, 0x28, 0x28, 0x28
);
// 0x060025B8
static const Lights1 koopa_seg6_lights_060025B8 = gdSPDefLights1(
0x70, 0x57, 0x00,
0xe0, 0xae, 0x00, 0x28, 0x28, 0x28
);
// 0x060025D0
static const Lights1 koopa_seg6_lights_060025D0 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 koopa_lights_unused2 = gdSPDefLights1(
0x59, 0x59, 0x59,
0xb2, 0xb2, 0xb2, 0x28, 0x28, 0x28
);
// 0x06002600
static const Lights1 koopa_seg6_lights_06002600 = gdSPDefLights1(
0x00, 0x54, 0x00,
0x00, 0xa9, 0x00, 0x28, 0x28, 0x28
);
// 0x06002618
static const Lights1 koopa_seg6_lights_06002618 = gdSPDefLights1(
0x59, 0x59, 0x59,
0xb2, 0xb2, 0xb2, 0x28, 0x28, 0x28
);
// 0x06002630
static const Lights1 koopa_seg6_lights_06002630 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// //! There is a malformed light entry here pointing to this texture + 0x18.
// It results in the koopa actor 'wearing' what appears to be pink shorts
// beneath its shell, despite the fact it was intended to be white like
// the rest of its body. This is evident because once the mistake is corrected
// it turns back to being white like the other polygons.
// This light approximates the pink shorts that Koopas have, but is not exact
// because the original light had two different values for ambient and diffuse.
// However, defining it this way allows the light converter to run correctly.
// 0x06002648
ALIGNED8 static const Texture koopa_seg6_texture_06002648[] = {
#include "actors/koopa/koopa_shell_front.rgba16.inc.c"
@@ -95,16 +62,8 @@ ALIGNED8 static const Texture koopa_seg6_texture_06005E48[] = {
};
// 0x06006E48
static const Lights1 koopa_seg6_lights_06006E48 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06006E60
static const Lights1 koopa_seg6_lights_06006E60 = gdSPDefLights1(
0x67, 0x0b, 0x1a,
0xce, 0x16, 0x35, 0x28, 0x28, 0x28
);
// 0x06006E78
static const Vtx koopa_seg6_vertex_06006E78[] = {
@@ -278,8 +237,8 @@ static const Vtx koopa_seg6_vertex_060075B8[] = {
// 0x06007658 - 0x060076B0
const Gfx koopa_seg6_dl_06007658[] = {
gsSPLight(&koopa_seg6_lights_06006E48.l, 1),
gsSPLight(&koopa_seg6_lights_06006E48.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(koopa_seg6_vertex_06006E78, 9, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 0, 0x0),
gsSP2Triangles( 0, 5, 3, 0x0, 4, 6, 0, 0x0),
@@ -352,12 +311,12 @@ const Gfx koopa_seg6_dl_06007850[] = {
// 0x06007970 - 0x06007A60
const Gfx koopa_seg6_dl_06007970[] = {
gsSPLight(&koopa_seg6_lights_06006E60.l, 1),
gsSPLight(&koopa_seg6_lights_06006E60.a, 2),
gsSPLightColor(LIGHT_1, 0xce1635ff),
gsSPLightColor(LIGHT_2, 0x670b1aff),
gsSPVertex(koopa_seg6_vertex_06007488, 3, 0),
gsSP1Triangle( 0, 1, 2, 0x0),
gsSPLight(&koopa_seg6_lights_06006E48.l, 1),
gsSPLight(&koopa_seg6_lights_06006E48.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(koopa_seg6_vertex_060074B8, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 4, 7, 0x0, 4, 6, 5, 0x0),
@@ -420,16 +379,8 @@ const Gfx koopa_seg6_dl_06007B20[] = {
};
// 0x06007B48
static const Lights1 koopa_seg6_lights_06007B48 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06007B60
static const Lights1 koopa_seg6_lights_06007B60 = gdSPDefLights1(
0x70, 0x57, 0x00,
0xe0, 0xae, 0x00, 0x28, 0x28, 0x28
);
// 0x06007B78
static const Vtx koopa_seg6_vertex_06007B78[] = {
@@ -528,8 +479,8 @@ const Gfx koopa_seg6_dl_06007FB8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, koopa_seg6_texture_06002E48),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&koopa_seg6_lights_06007B48.l, 1),
gsSPLight(&koopa_seg6_lights_06007B48.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(koopa_seg6_vertex_06007B78, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
gsSP2Triangles( 0, 4, 1, 0x0, 0, 5, 4, 0x0),
@@ -559,13 +510,13 @@ const Gfx koopa_seg6_dl_06008050[] = {
// 0x060080F8 - 0x06008250
const Gfx koopa_seg6_dl_060080F8[] = {
gsSPLight(&koopa_seg6_lights_06007B60.l, 1),
gsSPLight(&koopa_seg6_lights_06007B60.a, 2),
gsSPLightColor(LIGHT_1, 0xe0ae00ff),
gsSPLightColor(LIGHT_2, 0x705700ff),
gsSPVertex(koopa_seg6_vertex_06007CF8, 5, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
gsSP1Triangle( 2, 4, 3, 0x0),
gsSPLight(&koopa_seg6_lights_06007B48.l, 1),
gsSPLight(&koopa_seg6_lights_06007B48.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(koopa_seg6_vertex_06007D48, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 0, 0x0),
gsSP2Triangles( 4, 1, 3, 0x0, 2, 1, 5, 0x0),
@@ -607,16 +558,8 @@ const Gfx koopa_seg6_dl_06008250[] = {
};
// 0x060082C0
static const Lights1 koopa_seg6_lights_060082C0 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x060082D8
static const Lights1 koopa_seg6_lights_060082D8 = gdSPDefLights1(
0x00, 0x64, 0x00,
0x00, 0xc8, 0x00, 0x28, 0x28, 0x28
);
// 0x060082F0
static const Vtx koopa_seg6_vertex_060082F0[] = {
@@ -671,8 +614,8 @@ const Gfx koopa_seg6_dl_06008530[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, koopa_seg6_texture_06003648),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&koopa_seg6_lights_060082C0.l, 1),
gsSPLight(&koopa_seg6_lights_060082C0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(koopa_seg6_vertex_060082F0, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 1, 4, 3, 0x0, 4, 5, 3, 0x0),
@@ -699,8 +642,8 @@ const Gfx koopa_seg6_dl_060085E8[] = {
// 0x06008640 - 0x060086D0
const Gfx koopa_seg6_dl_06008640[] = {
gsSPLight(&koopa_seg6_lights_060082D8.l, 1),
gsSPLight(&koopa_seg6_lights_060082D8.a, 2),
gsSPLightColor(LIGHT_1, 0xc800ff),
gsSPLightColor(LIGHT_2, 0x6400ff),
gsSPVertex(koopa_seg6_vertex_06008470, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 3, 4, 0, 0x0, 1, 5, 2, 0x0),
@@ -731,16 +674,8 @@ const Gfx koopa_seg6_dl_060086D0[] = {
};
// 0x06008740
static const Lights1 koopa_seg6_lights_06008740 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06008758
static const Lights1 koopa_seg6_lights_06008758 = gdSPDefLights1(
0x00, 0x64, 0x00,
0x00, 0xc8, 0x00, 0x28, 0x28, 0x28
);
// 0x06008770
static const Vtx koopa_seg6_vertex_06008770[] = {
@@ -795,8 +730,8 @@ const Gfx koopa_seg6_dl_060089B0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, koopa_seg6_texture_06003648),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&koopa_seg6_lights_06008740.l, 1),
gsSPLight(&koopa_seg6_lights_06008740.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(koopa_seg6_vertex_06008770, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 1, 4, 3, 0x0, 4, 5, 3, 0x0),
@@ -823,8 +758,8 @@ const Gfx koopa_seg6_dl_06008A68[] = {
// 0x06008AC0 - 0x06008B50
const Gfx koopa_seg6_dl_06008AC0[] = {
gsSPLight(&koopa_seg6_lights_06008758.l, 1),
gsSPLight(&koopa_seg6_lights_06008758.a, 2),
gsSPLightColor(LIGHT_1, 0xc800ff),
gsSPLightColor(LIGHT_2, 0x6400ff),
gsSPVertex(koopa_seg6_vertex_060088F0, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 0, 0x0),
gsSP2Triangles( 0, 2, 4, 0x0, 5, 0, 6, 0x0),
@@ -1742,8 +1677,8 @@ static const Vtx koopa_seg6_vertex_0600B5F0[] = {
// 0x0600B6E0 - 0x0600B838
const Gfx koopa_seg6_dl_0600B6E0[] = {
gsSPLight(&koopa_seg6_lights_060025A0.l, 1),
gsSPLight(&koopa_seg6_lights_060025A0.a, 2),
gsSPLightColor(LIGHT_1, 0xb200ff),
gsSPLightColor(LIGHT_2, 0x5900ff),
gsSPVertex(koopa_seg6_vertex_06008BC0, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -1771,8 +1706,8 @@ const Gfx koopa_seg6_dl_0600B6E0[] = {
// 0x0600B838 - 0x0600B8B8
const Gfx koopa_seg6_dl_0600B838[] = {
gsSPLight(&koopa_seg6_lights_060025B8.l, 1),
gsSPLight(&koopa_seg6_lights_060025B8.a, 2),
gsSPLightColor(LIGHT_1, 0xe0ae00ff),
gsSPLightColor(LIGHT_2, 0x705700ff),
gsSPVertex(koopa_seg6_vertex_06008F60, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
@@ -1785,8 +1720,8 @@ const Gfx koopa_seg6_dl_0600B838[] = {
// 0x0600B8B8 - 0x0600BA10
const Gfx koopa_seg6_dl_0600B8B8[] = {
gsSPLight(&koopa_seg6_lights_060025A0.l, 1),
gsSPLight(&koopa_seg6_lights_060025A0.a, 2),
gsSPLightColor(LIGHT_1, 0xb200ff),
gsSPLightColor(LIGHT_2, 0x5900ff),
gsSPVertex(koopa_seg6_vertex_06009040, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -1815,8 +1750,8 @@ const Gfx koopa_seg6_dl_0600B8B8[] = {
// 0x0600BA10 - 0x0600BA90
const Gfx koopa_seg6_dl_0600BA10[] = {
gsSPLight(&koopa_seg6_lights_060025B8.l, 1),
gsSPLight(&koopa_seg6_lights_060025B8.a, 2),
gsSPLightColor(LIGHT_1, 0xe0ae00ff),
gsSPLightColor(LIGHT_2, 0x705700ff),
gsSPVertex(koopa_seg6_vertex_06009410, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
@@ -1829,8 +1764,8 @@ const Gfx koopa_seg6_dl_0600BA10[] = {
// 0x0600BA90 - 0x0600BC18
const Gfx koopa_seg6_dl_0600BA90[] = {
gsSPLight(&koopa_seg6_lights_060025B8.l, 1),
gsSPLight(&koopa_seg6_lights_060025B8.a, 2),
gsSPLightColor(LIGHT_1, 0xe0ae00ff),
gsSPLightColor(LIGHT_2, 0x705700ff),
gsSPVertex(koopa_seg6_vertex_060094F0, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
@@ -1864,8 +1799,8 @@ const Gfx koopa_seg6_dl_0600BA90[] = {
// 0x0600BC18 - 0x0600BC88
const Gfx koopa_seg6_dl_0600BC18[] = {
gsSPLight(&koopa_seg6_lights_060025B8.l, 1),
gsSPLight(&koopa_seg6_lights_060025B8.a, 2),
gsSPLightColor(LIGHT_1, 0xe0ae00ff),
gsSPLightColor(LIGHT_2, 0x705700ff),
gsSPVertex(koopa_seg6_vertex_06009A30, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 1, 4, 5, 0x0, 1, 5, 2, 0x0),
@@ -1877,8 +1812,8 @@ const Gfx koopa_seg6_dl_0600BC18[] = {
// 0x0600BC88 - 0x0600BE10
const Gfx koopa_seg6_dl_0600BC88[] = {
gsSPLight(&koopa_seg6_lights_060025B8.l, 1),
gsSPLight(&koopa_seg6_lights_060025B8.a, 2),
gsSPLightColor(LIGHT_1, 0xe0ae00ff),
gsSPLightColor(LIGHT_2, 0x705700ff),
gsSPVertex(koopa_seg6_vertex_06009AD0, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
@@ -1912,8 +1847,8 @@ const Gfx koopa_seg6_dl_0600BC88[] = {
// 0x0600BE10 - 0x0600BE80
const Gfx koopa_seg6_dl_0600BE10[] = {
gsSPLight(&koopa_seg6_lights_060025B8.l, 1),
gsSPLight(&koopa_seg6_lights_060025B8.a, 2),
gsSPLightColor(LIGHT_1, 0xe0ae00ff),
gsSPLightColor(LIGHT_2, 0x705700ff),
gsSPVertex(koopa_seg6_vertex_0600A010, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 1, 4, 5, 0x0, 1, 5, 2, 0x0),
@@ -1925,8 +1860,8 @@ const Gfx koopa_seg6_dl_0600BE10[] = {
// 0x0600BE80 - 0x0600C240
const Gfx koopa_seg6_dl_0600BE80[] = {
gsSPLight(&koopa_seg6_lights_060025B8.l, 1),
gsSPLight(&koopa_seg6_lights_060025B8.a, 2),
gsSPLightColor(LIGHT_1, 0xe0ae00ff),
gsSPLightColor(LIGHT_2, 0x705700ff),
gsSPVertex(koopa_seg6_vertex_0600A0B0, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 1, 4, 5, 0x0, 6, 7, 8, 0x0),
@@ -1977,8 +1912,8 @@ const Gfx koopa_seg6_dl_0600BE80[] = {
gsSP1Triangle(13, 14, 15, 0x0),
gsSPVertex(koopa_seg6_vertex_0600A990, 3, 0),
gsSP1Triangle( 0, 1, 2, 0x0),
gsSPLight(&koopa_seg6_lights_060025D0.l, 1),
gsSPLight(&koopa_seg6_lights_060025D0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(koopa_seg6_vertex_0600A9C0, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 2, 9, 10, 0x0),
@@ -2001,8 +1936,8 @@ const Gfx koopa_seg6_dl_0600BE80[] = {
// 0x0600C240 - 0x0600C498
const Gfx koopa_seg6_dl_0600C240[] = {
gsSPLight(&koopa_seg6_lights_06002618.l, 1),
gsSPLight(&koopa_seg6_lights_06002618.a, 2),
gsSPLightColor(LIGHT_1, 0xb2b2b2ff),
gsSPLightColor(LIGHT_2, 0x595959ff),
gsSPVertex(koopa_seg6_vertex_0600AC90, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 5, 4, 0x0),
@@ -2023,8 +1958,8 @@ const Gfx koopa_seg6_dl_0600C240[] = {
gsSP2Triangles( 4, 7, 8, 0x0, 4, 8, 9, 0x0),
gsSP2Triangles( 3, 4, 9, 0x0, 0, 3, 10, 0x0),
gsSP1Triangle(11, 12, 7, 0x0),
gsSPLight(&koopa_seg6_lights_06002600.l, 1),
gsSPLight(&koopa_seg6_lights_06002600.a, 2),
gsSPLightColor(LIGHT_1, 0xa900ff),
gsSPLightColor(LIGHT_2, 0x5400ff),
gsSPVertex(koopa_seg6_vertex_0600AF60, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 3, 5, 0x0, 6, 5, 1, 0x0),
@@ -2032,8 +1967,8 @@ const Gfx koopa_seg6_dl_0600C240[] = {
gsSP2Triangles( 3, 8, 9, 0x0, 4, 3, 9, 0x0),
gsSP2Triangles( 7, 2, 5, 0x0, 6, 0, 8, 0x0),
gsSP2Triangles( 8, 3, 6, 0x0, 6, 1, 0, 0x0),
gsSPLight(&koopa_seg6_lights_060025B8.l, 1),
gsSPLight(&koopa_seg6_lights_060025B8.a, 2),
gsSPLightColor(LIGHT_1, 0xe0ae00ff),
gsSPLightColor(LIGHT_2, 0x705700ff),
gsSPVertex(koopa_seg6_vertex_0600B000, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 4, 3, 6, 0x0, 7, 8, 9, 0x0),
@@ -2051,8 +1986,8 @@ const Gfx koopa_seg6_dl_0600C240[] = {
// 0x0600C498 - 0x0600C6A0
const Gfx koopa_seg6_dl_0600C498[] = {
gsSPLight(&koopa_seg6_lights_06002630.l, 1),
gsSPLight(&koopa_seg6_lights_06002630.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(koopa_seg6_vertex_0600B190, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
@@ -2078,8 +2013,8 @@ const Gfx koopa_seg6_dl_0600C498[] = {
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP1Triangle( 6, 7, 8, 0x0),
#ifdef KOOPA_KEEP_PINK_SHORTS
gsSPLight((Texture*)koopa_seg6_texture_06002648 + 0x20, 1), // this malformed light results in a
gsSPLight((Texture*)koopa_seg6_texture_06002648 + 0x18, 2), // koopa appearing to wear pink shorts.
gsSPLightColor(LIGHT_1, 0xde01deff),
gsSPLightColor(LIGHT_2, 0xdec1deff),
#endif
gsSPVertex(koopa_seg6_vertex_0600B5F0, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
+4 -24
View File
@@ -1,22 +1,10 @@
// Koopa Flag
// 0x06000000
UNUSED static const Lights1 koopa_flag_seg6_lights_06000000 = gdSPDefLights1(
0x00, 0x1b, 0x00,
0x00, 0x6e, 0x00, 0x28, 0x28, 0x28
);
// 0x06000018
UNUSED static const Lights1 koopa_flag_seg6_lights_06000018 = gdSPDefLights1(
0x3f, 0x39, 0x15,
0xff, 0xe6, 0x57, 0x28, 0x28, 0x28
);
// 0x06000030
UNUSED static const Lights1 koopa_flag_seg6_lights_06000030 = gdSPDefLights1(
0x2b, 0x15, 0x01,
0xac, 0x54, 0x05, 0x28, 0x28, 0x28
);
// 0x06000048
ALIGNED8 static const Texture koopa_flag_seg6_texture_06000048[] = {
@@ -24,16 +12,8 @@ ALIGNED8 static const Texture koopa_flag_seg6_texture_06000048[] = {
};
// 0x06000848
static const Lights1 koopa_flag_seg6_lights_06000848 = gdSPDefLights1(
0x37, 0x27, 0x07,
0xdf, 0x9f, 0x1f, 0x28, 0x28, 0x28
);
// 0x06000860
static const Lights1 koopa_flag_seg6_lights_06000860 = gdSPDefLights1(
0x14, 0x0a, 0x00,
0x50, 0x28, 0x00, 0x28, 0x28, 0x28
);
// 0x06000878
static const Vtx koopa_flag_seg6_vertex_06000878[] = {
@@ -60,13 +40,13 @@ static const Vtx koopa_flag_seg6_vertex_060008C8[] = {
// 0x06000968 - 0x06000A08
const Gfx koopa_flag_seg6_dl_06000968[] = {
gsSPLight(&koopa_flag_seg6_lights_06000848.l, 1),
gsSPLight(&koopa_flag_seg6_lights_06000848.a, 2),
gsSPLightColor(LIGHT_1, 0xdf9f1fff),
gsSPLightColor(LIGHT_2, 0x372707ff),
gsSPVertex(koopa_flag_seg6_vertex_06000878, 5, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 0, 0x0),
gsSP1Triangle( 3, 0, 2, 0x0),
gsSPLight(&koopa_flag_seg6_lights_06000860.l, 1),
gsSPLight(&koopa_flag_seg6_lights_06000860.a, 2),
gsSPLightColor(LIGHT_1, 0x502800ff),
gsSPLightColor(LIGHT_2, 0x140a00ff),
gsSPVertex(koopa_flag_seg6_vertex_060008C8, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
gsSP2Triangles( 4, 2, 1, 0x0, 5, 0, 3, 0x0),
+18 -42
View File
@@ -1,28 +1,12 @@
// Koopa Shell
// 0x08026388
static const Lights1 koopa_shell_seg8_lights_08026388 = gdSPDefLights1(
0x11, 0x33, 0x06,
0x45, 0xcd, 0x1a, 0x28, 0x28, 0x28
);
// 0x080263A0
static const Lights1 koopa_shell_seg8_lights_080263A0 = gdSPDefLights1(
0x39, 0x0a, 0x07,
0xe4, 0x29, 0x1d, 0x28, 0x28, 0x28
);
// 0x080263B8
static const Lights1 koopa_shell_seg8_lights_080263B8 = gdSPDefLights1(
0x21, 0x30, 0x39,
0x84, 0xc3, 0xe5, 0x28, 0x28, 0x28
);
// 0x080263D0
static const Lights1 koopa_shell_seg8_lights_080263D0 = gdSPDefLights1(
0x3e, 0x3f, 0x3e,
0xfa, 0xff, 0xf8, 0x28, 0x28, 0x28
);
// 0x080263E8
static const Vtx koopa_shell_seg8_vertex_080263E8[] = {
@@ -370,42 +354,34 @@ const Gfx koopa_shell_seg8_dl_08027258[] = {
const Gfx koopa_shell_seg8_dl_080273C8[] = {
gsDPPipeSync(),
gsSPNumLights(NUMLIGHTS_1),
gsSPLight(&koopa_shell_seg8_lights_08026388.l, 1),
gsSPLight(&koopa_shell_seg8_lights_08026388.a, 2),
gsSPLightColor(LIGHT_1, 0x45cd1aff),
gsSPLightColor(LIGHT_2, 0x113306ff),
gsSPDisplayList(koopa_shell_seg8_dl_08027108),
gsSPLight(&koopa_shell_seg8_lights_080263B8.l, 1),
gsSPLight(&koopa_shell_seg8_lights_080263B8.a, 2),
gsSPLightColor(LIGHT_1, 0x84c3e5ff),
gsSPLightColor(LIGHT_2, 0x213039ff),
gsSPDisplayList(koopa_shell_seg8_dl_08027170),
gsSPLight(&koopa_shell_seg8_lights_080263D0.l, 1),
gsSPLight(&koopa_shell_seg8_lights_080263D0.a, 2),
gsSPLightColor(LIGHT_1, 0xfafff8ff),
gsSPLightColor(LIGHT_2, 0x3e3f3eff),
gsSPBranchList(koopa_shell_seg8_dl_08027258),
};
// 0x08027420 - 0x08027470
const Gfx koopa_shell_seg8_dl_08027420[] = {
gsDPPipeSync(),
gsSPLight(&koopa_shell_seg8_lights_080263A0.l, 1),
gsSPLight(&koopa_shell_seg8_lights_080263A0.a, 2),
gsSPLightColor(LIGHT_1, 0xe4291dff),
gsSPLightColor(LIGHT_2, 0x390a07ff),
gsSPDisplayList(koopa_shell_seg8_dl_08027108),
gsSPLight(&koopa_shell_seg8_lights_080263B8.l, 1),
gsSPLight(&koopa_shell_seg8_lights_080263B8.a, 2),
gsSPLightColor(LIGHT_1, 0x84c3e5ff),
gsSPLightColor(LIGHT_2, 0x213039ff),
gsSPDisplayList(koopa_shell_seg8_dl_08027170),
gsSPLight(&koopa_shell_seg8_lights_080263D0.l, 1),
gsSPLight(&koopa_shell_seg8_lights_080263D0.a, 2),
gsSPLightColor(LIGHT_1, 0xfafff8ff),
gsSPLightColor(LIGHT_2, 0x3e3f3eff),
gsSPBranchList(koopa_shell_seg8_dl_08027258),
};
// 0x08027470
static const Lights1 koopa_shell_seg8_lights_08027470 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x08027488
static const Lights1 koopa_shell_seg8_lights_08027488 = gdSPDefLights1(
0x38, 0x2b, 0x00,
0xe0, 0xae, 0x00, 0x28, 0x28, 0x28
);
// 0x080274A0
ALIGNED8 static const Texture koopa_shell_seg8_texture_080274A0[] = {
@@ -514,8 +490,8 @@ const Gfx koopa_shell_seg8_dl_080288E0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, koopa_shell_seg8_texture_08027CA0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&koopa_shell_seg8_lights_08027470.l, 1),
gsSPLight(&koopa_shell_seg8_lights_08027470.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(koopa_shell_seg8_vertex_080284A0, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
gsSP2Triangles( 0, 4, 1, 0x0, 0, 5, 4, 0x0),
@@ -545,13 +521,13 @@ const Gfx koopa_shell_seg8_dl_08028978[] = {
// 0x08028A20 - 0x08028B78
const Gfx koopa_shell_seg8_dl_08028A20[] = {
gsSPLight(&koopa_shell_seg8_lights_08027488.l, 1),
gsSPLight(&koopa_shell_seg8_lights_08027488.a, 2),
gsSPLightColor(LIGHT_1, 0xe0ae00ff),
gsSPLightColor(LIGHT_2, 0x382b00ff),
gsSPVertex(koopa_shell_seg8_vertex_08028620, 5, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
gsSP1Triangle( 2, 4, 3, 0x0),
gsSPLight(&koopa_shell_seg8_lights_08027470.l, 1),
gsSPLight(&koopa_shell_seg8_lights_08027470.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(koopa_shell_seg8_vertex_08028670, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 0, 0x0),
gsSP2Triangles( 4, 1, 3, 0x0, 2, 1, 5, 0x0),
+26 -90
View File
@@ -31,16 +31,8 @@ ALIGNED8 static const Texture lakitu_seg6_texture_06003800[] = {
};
// 0x06003A00
static const Lights1 lakitu_seg6_lights_06003A00 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06003A18
static const Lights1 lakitu_seg6_lights_06003A18 = gdSPDefLights1(
0x79, 0x55, 0x00,
0xf2, 0xab, 0x00, 0x28, 0x28, 0x28
);
// 0x06003A30
static const Vtx lakitu_seg6_vertex_06003A30[] = {
@@ -96,8 +88,8 @@ const Gfx lakitu_seg6_dl_06003C80[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lakitu_seg6_texture_06002800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&lakitu_seg6_lights_06003A00.l, 1),
gsSPLight(&lakitu_seg6_lights_06003A00.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(lakitu_seg6_vertex_06003A30, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 4, 6, 7, 0x0, 4, 7, 5, 0x0),
@@ -120,8 +112,8 @@ const Gfx lakitu_seg6_dl_06003C80[] = {
// 0x06003DB0 - 0x06003E30
const Gfx lakitu_seg6_dl_06003DB0[] = {
gsSPLight(&lakitu_seg6_lights_06003A18.l, 1),
gsSPLight(&lakitu_seg6_lights_06003A18.a, 2),
gsSPLightColor(LIGHT_1, 0xf2ab00ff),
gsSPLightColor(LIGHT_2, 0x795500ff),
gsSPVertex(lakitu_seg6_vertex_06003BD0, 11, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 4, 0x0),
gsSP2Triangles( 1, 5, 2, 0x0, 4, 0, 2, 0x0),
@@ -150,10 +142,6 @@ const Gfx lakitu_seg6_dl_06003E30[] = {
};
// 0x06003E98
static const Lights1 lakitu_seg6_lights_06003E98 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06003EB0
static const Vtx lakitu_seg6_vertex_06003EB0[] = {
@@ -270,8 +258,8 @@ const Gfx lakitu_seg6_dl_06004410[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lakitu_seg6_texture_06003000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&lakitu_seg6_lights_06003E98.l, 1),
gsSPLight(&lakitu_seg6_lights_06003E98.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(lakitu_seg6_vertex_06003EB0, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 4, 0x0),
gsSP2Triangles( 3, 5, 1, 0x0, 1, 6, 7, 0x0),
@@ -333,10 +321,6 @@ const Gfx lakitu_seg6_dl_06004680[] = {
};
// 0x060046E0
static const Lights1 lakitu_seg6_lights_060046E0 = gdSPDefLights1(
0x79, 0x55, 0x00,
0xf2, 0xab, 0x00, 0x28, 0x28, 0x28
);
// 0x060046F8
static const Vtx lakitu_seg6_vertex_060046F8[] = {
@@ -359,8 +343,8 @@ static const Vtx lakitu_seg6_vertex_060046F8[] = {
// 0x060047E8 - 0x060048D8
const Gfx lakitu_seg6_dl_060047E8[] = {
gsSPLight(&lakitu_seg6_lights_060046E0.l, 1),
gsSPLight(&lakitu_seg6_lights_060046E0.a, 2),
gsSPLightColor(LIGHT_1, 0xf2ab00ff),
gsSPLightColor(LIGHT_2, 0x795500ff),
gsSPVertex(lakitu_seg6_vertex_060046F8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 4, 6, 7, 0x0, 4, 7, 5, 0x0),
@@ -379,10 +363,6 @@ const Gfx lakitu_seg6_dl_060047E8[] = {
};
// 0x060048D8
static const Lights1 lakitu_seg6_lights_060048D8 = gdSPDefLights1(
0x79, 0x55, 0x00,
0xf2, 0xab, 0x00, 0x28, 0x28, 0x28
);
// 0x060048F0
static const Vtx lakitu_seg6_vertex_060048F0[] = {
@@ -405,8 +385,8 @@ static const Vtx lakitu_seg6_vertex_060048F0[] = {
// 0x060049E0 - 0x06004AD0
const Gfx lakitu_seg6_dl_060049E0[] = {
gsSPLight(&lakitu_seg6_lights_060048D8.l, 1),
gsSPLight(&lakitu_seg6_lights_060048D8.a, 2),
gsSPLightColor(LIGHT_1, 0xf2ab00ff),
gsSPLightColor(LIGHT_2, 0x795500ff),
gsSPVertex(lakitu_seg6_vertex_060048F0, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 3, 5, 0x0, 3, 7, 4, 0x0),
@@ -425,10 +405,6 @@ const Gfx lakitu_seg6_dl_060049E0[] = {
};
// 0x06004AD0
static const Lights1 lakitu_seg6_lights_06004AD0 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06004AE8
static const Vtx lakitu_seg6_vertex_06004AE8[] = {
@@ -448,8 +424,8 @@ static const Vtx lakitu_seg6_vertex_06004AE8[] = {
// 0x06004BA8 - 0x06004BE8
const Gfx lakitu_seg6_dl_06004BA8[] = {
gsSPLight(&lakitu_seg6_lights_06004AD0.l, 1),
gsSPLight(&lakitu_seg6_lights_06004AD0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(lakitu_seg6_vertex_06004AE8, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -498,28 +474,12 @@ const Gfx lakitu_seg6_dl_06004C88[] = {
};
// 0x06004CB0
static const Lights1 lakitu_seg6_lights_06004CB0 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06004CC8
static const Lights1 lakitu_seg6_lights_06004CC8 = gdSPDefLights1(
0x0c, 0x0c, 0x0c,
0x19, 0x19, 0x19, 0x28, 0x28, 0x28
);
// 0x06004CE0
static const Lights1 lakitu_seg6_lights_06004CE0 = gdSPDefLights1(
0x19, 0x22, 0x20,
0x32, 0x44, 0x40, 0x28, 0x28, 0x28
);
// 0x06004CF8
static const Lights1 lakitu_seg6_lights_06004CF8 = gdSPDefLights1(
0x18, 0x18, 0x18,
0x30, 0x30, 0x30, 0x28, 0x28, 0x28
);
// 0x06004D10
static const Vtx lakitu_seg6_vertex_06004D10[] = {
@@ -630,8 +590,8 @@ const Gfx lakitu_seg6_dl_060051D0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lakitu_seg6_texture_06003800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 16 - 1, CALC_DXT(16, G_IM_SIZ_16b_BYTES)),
gsSPLight(&lakitu_seg6_lights_06004CB0.l, 1),
gsSPLight(&lakitu_seg6_lights_06004CB0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(lakitu_seg6_vertex_06004D10, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSPEndDisplayList(),
@@ -639,8 +599,8 @@ const Gfx lakitu_seg6_dl_060051D0[] = {
// 0x06005218 - 0x06005360
const Gfx lakitu_seg6_dl_06005218[] = {
gsSPLight(&lakitu_seg6_lights_06004CC8.l, 1),
gsSPLight(&lakitu_seg6_lights_06004CC8.a, 2),
gsSPLightColor(LIGHT_1, 0x191919ff),
gsSPLightColor(LIGHT_2, 0xc0c0cff),
gsSPVertex(lakitu_seg6_vertex_06004D50, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -651,8 +611,8 @@ const Gfx lakitu_seg6_dl_06005218[] = {
gsSP1Triangle(12, 13, 14, 0x0),
gsSPVertex(lakitu_seg6_vertex_06004F30, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSPLight(&lakitu_seg6_lights_06004CE0.l, 1),
gsSPLight(&lakitu_seg6_lights_06004CE0.a, 2),
gsSPLightColor(LIGHT_1, 0x324440ff),
gsSPLightColor(LIGHT_2, 0x192220ff),
gsSPVertex(lakitu_seg6_vertex_06004F90, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 5, 6, 0x0, 0, 7, 1, 0x0),
@@ -661,8 +621,8 @@ const Gfx lakitu_seg6_dl_06005218[] = {
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 10, 13, 11, 0x0),
gsSPLight(&lakitu_seg6_lights_06004CF8.l, 1),
gsSPLight(&lakitu_seg6_lights_06004CF8.a, 2),
gsSPLightColor(LIGHT_1, 0x303030ff),
gsSPLightColor(LIGHT_2, 0x181818ff),
gsSPVertex(lakitu_seg6_vertex_06005150, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 1, 6, 0x0),
@@ -689,40 +649,16 @@ const Gfx lakitu_seg6_dl_06005360[] = {
};
// Unreferenced light group
UNUSED static const Lights1 lakitu_cameraman_lights_unused1 = gdSPDefLights1(
0x33, 0x1f, 0x0c,
0xcc, 0x7f, 0x33, 0x28, 0x28, 0x28
);
// 0x060053F0
static const Lights1 lakitu_seg6_lights_060053F0 = gdSPDefLights1(
0x29, 0x13, 0x06,
0xa5, 0x4f, 0x1b, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 lakitu_cameraman_lights_unused2 = gdSPDefLights1(
0x06, 0x06, 0x06,
0x19, 0x19, 0x19, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 lakitu_cameraman_lights_unused3 = gdSPDefLights1(
0x2c, 0x2c, 0x2c,
0xb2, 0xb2, 0xb2, 0x28, 0x28, 0x28
);
// 0x06005438
static const Lights1 lakitu_seg6_lights_06005438 = gdSPDefLights1(
0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 lakitu_cameraman_lights_unused4 = gdSPDefLights1(
0x0d, 0x2c, 0x0b,
0x34, 0xb2, 0x2c, 0x28, 0x28, 0x28
);
// 0x06005468
static const Vtx lakitu_seg6_vertex_06005468[] = {
@@ -757,8 +693,8 @@ static const Vtx lakitu_seg6_vertex_06005568[] = {
// 0x06005598 - 0x060055E8
const Gfx lakitu_seg6_dl_06005598[] = {
gsSPLight(&lakitu_seg6_lights_060053F0.l, 1),
gsSPLight(&lakitu_seg6_lights_060053F0.a, 2),
gsSPLightColor(LIGHT_1, 0xa54f1bff),
gsSPLightColor(LIGHT_2, 0x291306ff),
gsSPVertex(lakitu_seg6_vertex_06005468, 13, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 0, 2, 0x0, 7, 8, 9, 0x0),
@@ -768,8 +704,8 @@ const Gfx lakitu_seg6_dl_06005598[] = {
// 0x060055E8 - 0x06005610
const Gfx lakitu_seg6_dl_060055E8[] = {
gsSPLight(&lakitu_seg6_lights_06005438.l, 1),
gsSPLight(&lakitu_seg6_lights_06005438.a, 2),
gsSPLightColor(LIGHT_1, 0xff),
gsSPLightColor(LIGHT_2, 0xff),
gsSPVertex(lakitu_seg6_vertex_06005538, 3, 0),
gsSP1Triangle( 0, 1, 2, 0x0),
gsSPEndDisplayList(),
@@ -777,8 +713,8 @@ const Gfx lakitu_seg6_dl_060055E8[] = {
// 0x06005610 - 0x06005638
const Gfx lakitu_seg6_dl_06005610[] = {
gsSPLight(&lakitu_seg6_lights_06005438.l, 1),
gsSPLight(&lakitu_seg6_lights_06005438.a, 2),
gsSPLightColor(LIGHT_1, 0xff),
gsSPLightColor(LIGHT_2, 0xff),
gsSPVertex(lakitu_seg6_vertex_06005568, 3, 0),
gsSP1Triangle( 0, 1, 2, 0x0),
gsSPEndDisplayList(),
+14 -50
View File
@@ -1,22 +1,10 @@
// Lakitu Enemy
// Unreferenced light group
UNUSED static const Lights1 lakitu_enemy_lights_unused1 = gdSPDefLights1(
0x33, 0x1f, 0x0c,
0xcc, 0x7f, 0x33, 0x28, 0x28, 0x28
);
// 0x0500ECB0
static const Lights1 lakitu_enemy_seg5_lights_0500ECB0 = gdSPDefLights1(
0x29, 0x13, 0x06,
0xa5, 0x4f, 0x1b, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 lakitu_enemy_lights_unused2 = gdSPDefLights1(
0x0d, 0x2c, 0x0b,
0x34, 0xb2, 0x2c, 0x28, 0x28, 0x28
);
// Unreferenced texture
// 0x0500ECE0
@@ -45,16 +33,8 @@ ALIGNED8 static const Texture lakitu_enemy_seg5_texture_05011CE0[] = {
};
// 0x050124E0
static const Lights1 lakitu_enemy_seg5_lights_050124E0 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x050124F8
static const Lights1 lakitu_enemy_seg5_lights_050124F8 = gdSPDefLights1(
0x79, 0x55, 0x00,
0xf2, 0xab, 0x00, 0x28, 0x28, 0x28
);
// 0x05012510
static const Vtx lakitu_enemy_seg5_vertex_05012510[] = {
@@ -110,8 +90,8 @@ const Gfx lakitu_enemy_seg5_dl_05012760[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lakitu_enemy_seg5_texture_050114E0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&lakitu_enemy_seg5_lights_050124E0.l, 1),
gsSPLight(&lakitu_enemy_seg5_lights_050124E0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(lakitu_enemy_seg5_vertex_05012510, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 4, 6, 7, 0x0, 4, 7, 5, 0x0),
@@ -134,8 +114,8 @@ const Gfx lakitu_enemy_seg5_dl_05012760[] = {
// 0x05012890 - 0x05012910
const Gfx lakitu_enemy_seg5_dl_05012890[] = {
gsSPLight(&lakitu_enemy_seg5_lights_050124F8.l, 1),
gsSPLight(&lakitu_enemy_seg5_lights_050124F8.a, 2),
gsSPLightColor(LIGHT_1, 0xf2ab00ff),
gsSPLightColor(LIGHT_2, 0x795500ff),
gsSPVertex(lakitu_enemy_seg5_vertex_050126B0, 11, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 4, 0x0),
gsSP2Triangles( 1, 5, 2, 0x0, 4, 0, 2, 0x0),
@@ -164,10 +144,6 @@ const Gfx lakitu_enemy_seg5_dl_05012910[] = {
};
// 0x05012978
static const Lights1 lakitu_enemy_seg5_lights_05012978 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05012990
static const Vtx lakitu_enemy_seg5_vertex_05012990[] = {
@@ -284,8 +260,8 @@ const Gfx lakitu_enemy_seg5_dl_05012EF0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lakitu_enemy_seg5_texture_05011CE0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&lakitu_enemy_seg5_lights_05012978.l, 1),
gsSPLight(&lakitu_enemy_seg5_lights_05012978.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(lakitu_enemy_seg5_vertex_05012990, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 4, 0x0),
gsSP2Triangles( 3, 5, 1, 0x0, 1, 6, 7, 0x0),
@@ -347,10 +323,6 @@ const Gfx lakitu_enemy_seg5_dl_05013160[] = {
};
// 0x050131C0
static const Lights1 lakitu_enemy_seg5_lights_050131C0 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x050131D8
static const Vtx lakitu_enemy_seg5_vertex_050131D8[] = {
@@ -370,8 +342,8 @@ static const Vtx lakitu_enemy_seg5_vertex_050131D8[] = {
// 0x05013298 - 0x050132D8
const Gfx lakitu_enemy_seg5_dl_05013298[] = {
gsSPLight(&lakitu_enemy_seg5_lights_050131C0.l, 1),
gsSPLight(&lakitu_enemy_seg5_lights_050131C0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(lakitu_enemy_seg5_vertex_050131D8, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -420,10 +392,6 @@ const Gfx lakitu_enemy_seg5_dl_05013378[] = {
};
// 0x050133A0
static const Lights1 lakitu_enemy_seg5_lights_050133A0 = gdSPDefLights1(
0x79, 0x55, 0x00,
0xf2, 0xab, 0x00, 0x28, 0x28, 0x28
);
// 0x050133B8
static const Vtx lakitu_enemy_seg5_vertex_050133B8[] = {
@@ -446,8 +414,8 @@ static const Vtx lakitu_enemy_seg5_vertex_050133B8[] = {
// 0x050134A8 - 0x05013598
const Gfx lakitu_enemy_seg5_dl_050134A8[] = {
gsSPLight(&lakitu_enemy_seg5_lights_050133A0.l, 1),
gsSPLight(&lakitu_enemy_seg5_lights_050133A0.a, 2),
gsSPLightColor(LIGHT_1, 0xf2ab00ff),
gsSPLightColor(LIGHT_2, 0x795500ff),
gsSPVertex(lakitu_enemy_seg5_vertex_050133B8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 3, 5, 0x0, 3, 7, 4, 0x0),
@@ -466,10 +434,6 @@ const Gfx lakitu_enemy_seg5_dl_050134A8[] = {
};
// 0x05013598
static const Lights1 lakitu_enemy_seg5_lights_05013598 = gdSPDefLights1(
0x79, 0x55, 0x00,
0xf2, 0xab, 0x00, 0x28, 0x28, 0x28
);
// 0x050135B0
static const Vtx lakitu_enemy_seg5_vertex_050135B0[] = {
@@ -492,8 +456,8 @@ static const Vtx lakitu_enemy_seg5_vertex_050135B0[] = {
// 0x050136A0 - 0x05013790
const Gfx lakitu_enemy_seg5_dl_050136A0[] = {
gsSPLight(&lakitu_enemy_seg5_lights_05013598.l, 1),
gsSPLight(&lakitu_enemy_seg5_lights_05013598.a, 2),
gsSPLightColor(LIGHT_1, 0xf2ab00ff),
gsSPLightColor(LIGHT_2, 0x795500ff),
gsSPVertex(lakitu_enemy_seg5_vertex_050135B0, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 4, 6, 7, 0x0, 4, 7, 5, 0x0),
@@ -530,8 +494,8 @@ static const Vtx lakitu_enemy_seg5_vertex_05013790[] = {
// 0x05013860 - 0x050138B0
const Gfx lakitu_enemy_seg5_dl_05013860[] = {
gsSPLight(&lakitu_enemy_seg5_lights_0500ECB0.l, 1),
gsSPLight(&lakitu_enemy_seg5_lights_0500ECB0.a, 2),
gsSPLightColor(LIGHT_1, 0xa54f1bff),
gsSPLightColor(LIGHT_2, 0x291306ff),
gsSPVertex(lakitu_enemy_seg5_vertex_05013790, 13, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 0, 2, 0x0, 7, 8, 9, 0x0),
+12 -48
View File
@@ -1,28 +1,12 @@
// Mad Piano
// Unreferenced light group
UNUSED static const Lights1 mad_piano_lights_unused1 = gdSPDefLights1(
0x05, 0x04, 0x08,
0x14, 0x13, 0x20, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 mad_piano_lights_unused2 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 mad_piano_lights_unused3 = gdSPDefLights1(
0x2c, 0x2c, 0x2c,
0xb2, 0xb2, 0xb2, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 mad_piano_lights_unused4 = gdSPDefLights1(
0x30, 0x00, 0x00,
0xc3, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x05006AF0
ALIGNED8 static const Texture mad_piano_seg5_texture_05006AF0[] = {
@@ -55,10 +39,6 @@ ALIGNED8 static const Texture mad_piano_seg5_texture_050082F0[] = {
};
// 0x050086F0
static const Lights1 mad_piano_seg5_lights_050086F0 = gdSPDefLights1(
0x4c, 0x4c, 0x4c,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05008708
static const Vtx mad_piano_seg5_vertex_05008708[] = {
@@ -155,8 +135,8 @@ const Gfx mad_piano_seg5_dl_05008B68[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mad_piano_seg5_texture_050072F0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 32 - 1, CALC_DXT(16, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mad_piano_seg5_lights_050086F0.l, 1),
gsSPLight(&mad_piano_seg5_lights_050086F0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x4c4c4cff),
gsSPVertex(mad_piano_seg5_vertex_05008708, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 0, 2, 6, 0x0, 0, 7, 8, 0x0),
@@ -211,28 +191,12 @@ const Gfx mad_piano_seg5_dl_05008CB0[] = {
};
// 0x05008D40
static const Lights1 mad_piano_seg5_lights_05008D40 = gdSPDefLights1(
0x3d, 0x3d, 0x3d,
0xcc, 0xcc, 0xcc, 0x28, 0x28, 0x28
);
// 0x05008D58
static const Lights1 mad_piano_seg5_lights_05008D58 = gdSPDefLights1(
0x4c, 0x4c, 0x4c,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05008D70
static const Lights1 mad_piano_seg5_lights_05008D70 = gdSPDefLights1(
0x26, 0x26, 0x26,
0x7f, 0x7f, 0x7f, 0x28, 0x28, 0x28
);
// 0x05008D88
static const Lights1 mad_piano_seg5_lights_05008D88 = gdSPDefLights1(
0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x05008DA0
static const Vtx mad_piano_seg5_vertex_05008DA0[] = {
@@ -410,16 +374,16 @@ const Gfx mad_piano_seg5_dl_05009590[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mad_piano_seg5_texture_050072F0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 32 - 1, CALC_DXT(16, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mad_piano_seg5_lights_05008D40.l, 1),
gsSPLight(&mad_piano_seg5_lights_05008D40.a, 2),
gsSPLightColor(LIGHT_1, 0xccccccff),
gsSPLightColor(LIGHT_2, 0x3d3d3dff),
gsSPVertex(mad_piano_seg5_vertex_05008DA0, 13, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 10, 8, 0x0, 11, 7, 9, 0x0),
gsSP2Triangles(11, 9, 1, 0x0, 0, 12, 11, 0x0),
gsSP1Triangle( 0, 11, 1, 0x0),
gsSPLight(&mad_piano_seg5_lights_05008D58.l, 1),
gsSPLight(&mad_piano_seg5_lights_05008D58.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x4c4c4cff),
gsSPVertex(mad_piano_seg5_vertex_05008E70, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -464,8 +428,8 @@ const Gfx mad_piano_seg5_dl_050097B0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mad_piano_seg5_texture_050082F0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mad_piano_seg5_lights_05008D70.l, 1),
gsSPLight(&mad_piano_seg5_lights_05008D70.a, 2),
gsSPLightColor(LIGHT_1, 0x7f7f7fff),
gsSPLightColor(LIGHT_2, 0x262626ff),
gsSPVertex(mad_piano_seg5_vertex_050093F0, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSPEndDisplayList(),
@@ -476,8 +440,8 @@ const Gfx mad_piano_seg5_dl_050097F8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mad_piano_seg5_texture_05007EF0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mad_piano_seg5_lights_05008D40.l, 1),
gsSPLight(&mad_piano_seg5_lights_05008D40.a, 2),
gsSPLightColor(LIGHT_1, 0xccccccff),
gsSPLightColor(LIGHT_2, 0x3d3d3dff),
gsSPVertex(mad_piano_seg5_vertex_05009430, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSPEndDisplayList(),
@@ -496,8 +460,8 @@ const Gfx mad_piano_seg5_dl_05009840[] = {
// 0x05009888 - 0x050098E8
const Gfx mad_piano_seg5_dl_05009888[] = {
gsSPLight(&mad_piano_seg5_lights_05008D88.l, 1),
gsSPLight(&mad_piano_seg5_lights_05008D88.a, 2),
gsSPLightColor(LIGHT_1, 0xff),
gsSPLightColor(LIGHT_2, 0xff),
gsSPVertex(mad_piano_seg5_vertex_050094F0, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 2, 4, 3, 0x0, 2, 5, 4, 0x0),
+12 -24
View File
@@ -1,22 +1,10 @@
// Manta Ray
// 0x05001758
static const Lights1 manta_seg5_lights_05001758 = gdSPDefLights1(
0x31, 0x3b, 0x3b,
0xc6, 0xee, 0xed, 0x28, 0x28, 0x28
);
// 0x05001770
static const Lights1 manta_seg5_lights_05001770 = gdSPDefLights1(
0x00, 0x16, 0x18,
0x03, 0x5b, 0x63, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 manta_lights_unused = gdSPDefLights1(
0x3f, 0x3f, 0x35,
0xff, 0xff, 0xd7, 0x28, 0x28, 0x28
);
// 0x050017A0
ALIGNED8 static const Texture manta_seg5_texture_050017A0[] = {
@@ -1037,13 +1025,13 @@ static const Vtx manta_seg5_vertex_05006A88[] = {
// 0x05006B08 - 0x05006B70
const Gfx manta_seg5_dl_05006B08[] = {
gsSPLight(&manta_seg5_lights_05001770.l, 1),
gsSPLight(&manta_seg5_lights_05001770.a, 2),
gsSPLightColor(LIGHT_1, 0x35b63ff),
gsSPLightColor(LIGHT_2, 0x1618ff),
gsSPVertex(manta_seg5_vertex_05006808, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 1, 0x0),
gsSP2Triangles( 1, 4, 2, 0x0, 1, 0, 5, 0x0),
gsSPLight(&manta_seg5_lights_05001758.l, 1),
gsSPLight(&manta_seg5_lights_05001758.a, 2),
gsSPLightColor(LIGHT_1, 0xc6eeedff),
gsSPLightColor(LIGHT_2, 0x313b3bff),
gsSPVertex(manta_seg5_vertex_05006868, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSPEndDisplayList(),
@@ -1051,15 +1039,15 @@ const Gfx manta_seg5_dl_05006B08[] = {
// 0x05006B70 - 0x05006C08
const Gfx manta_seg5_dl_05006B70[] = {
gsSPLight(&manta_seg5_lights_05001770.l, 1),
gsSPLight(&manta_seg5_lights_05001770.a, 2),
gsSPLightColor(LIGHT_1, 0x35b63ff),
gsSPLightColor(LIGHT_2, 0x1618ff),
gsSPVertex(manta_seg5_vertex_050068C8, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 5, 4, 6, 0x0, 1, 7, 2, 0x0),
gsSP2Triangles( 5, 1, 0, 0x0, 5, 0, 3, 0x0),
gsSP2Triangles( 6, 7, 1, 0x0, 6, 1, 5, 0x0),
gsSPLight(&manta_seg5_lights_05001758.l, 1),
gsSPLight(&manta_seg5_lights_05001758.a, 2),
gsSPLightColor(LIGHT_1, 0xc6eeedff),
gsSPLightColor(LIGHT_2, 0x313b3bff),
gsSPVertex(manta_seg5_vertex_05006948, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 5, 6, 7, 0x0, 5, 7, 3, 0x0),
@@ -1068,15 +1056,15 @@ const Gfx manta_seg5_dl_05006B70[] = {
// 0x05006C08 - 0x05006CA0
const Gfx manta_seg5_dl_05006C08[] = {
gsSPLight(&manta_seg5_lights_05001770.l, 1),
gsSPLight(&manta_seg5_lights_05001770.a, 2),
gsSPLightColor(LIGHT_1, 0x35b63ff),
gsSPLightColor(LIGHT_2, 0x1618ff),
gsSPVertex(manta_seg5_vertex_050069C8, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 5, 4, 6, 0x0, 1, 7, 2, 0x0),
gsSP2Triangles( 5, 8, 9, 0x0, 5, 9, 3, 0x0),
gsSP2Triangles( 6, 10, 11, 0x0, 6, 11, 5, 0x0),
gsSPLight(&manta_seg5_lights_05001758.l, 1),
gsSPLight(&manta_seg5_lights_05001758.a, 2),
gsSPLightColor(LIGHT_1, 0xc6eeedff),
gsSPLightColor(LIGHT_2, 0x313b3bff),
gsSPVertex(manta_seg5_vertex_05006A88, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 5, 6, 7, 0x0, 5, 7, 3, 0x0),
+174 -206
View File
@@ -1,40 +1,16 @@
// Mario
// 0x04000000 # solid color blue - butt, left thigh, right thigh - all poly types
const Lights1 mario_blue_lights_group = gdSPDefLights1(
0x00, 0x00, 0x7f,
0x00, 0x00, 0xff, 0x28, 0x28, 0x28
);
// 0x04000018 # solid color red - left & right arm, torso (tshirt part), caps - all poly types
const Lights1 mario_red_lights_group = gdSPDefLights1(
0x7f, 0x00, 0x00,
0xff, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x04000030 # solid color white - metal butt & left thigh - normal left & right hand closed & open (with cap too) and all wings - all poly types
const Lights1 mario_white_lights_group = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x04000048 # solid color brown 1 - foot - all poly types
const Lights1 mario_brown1_lights_group = gdSPDefLights1(
0x39, 0x0e, 0x07,
0x72, 0x1c, 0x0e, 0x28, 0x28, 0x28
);
// 0x04000060 # solid color beige skin - face (cap on and off dls) - all poly types
const Lights1 mario_beige_lights_group = gdSPDefLights1(
0x7f, 0x60, 0x3c,
0xfe, 0xc1, 0x79, 0x28, 0x28, 0x28
);
// 0x04000078 # solid color brown 2 - hair - all poly types
const Lights1 mario_brown2_lights_group = gdSPDefLights1(
0x39, 0x03, 0x00,
0x73, 0x06, 0x00, 0x28, 0x28, 0x28
);
// 0x04000090
ALIGNED8 static const Texture mario_texture_metal[] = {
@@ -381,8 +357,8 @@ const Gfx mario_butt_dl[] = {
const Gfx mario_butt[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADEFADEA, G_CC_SHADEFADEA),
gsSPLight(&mario_blue_lights_group.l, 1),
gsSPLight(&mario_blue_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffff),
gsSPLightColor(LIGHT_2, 0x7fff),
gsSPDisplayList(mario_butt_dl),
gsSPEndDisplayList(),
};
@@ -394,8 +370,8 @@ const Gfx mario_metal_butt[] = {
gsDPSetCombineMode(G_CC_DECALFADE, G_CC_DECALFADE),
gsDPLoadTextureBlock(mario_texture_metal, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_WRAP | G_TX_NOMIRROR, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPTexture(0x0F80, 0x07C0, 0, G_TX_RENDERTILE, G_ON),
gsSPLight(&mario_white_lights_group.l, 1),
gsSPLight(&mario_white_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPDisplayList(mario_butt_dl),
gsSPEndDisplayList(),
};
@@ -499,8 +475,8 @@ const Gfx mario_left_arm_shared_dl[] = {
// 0x0400D1D8 - 0x0400D1F8
const Gfx mario_left_arm[] = {
gsSPLight(&mario_red_lights_group.l, 1),
gsSPLight(&mario_red_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x7f0000ff),
gsSPDisplayList(mario_left_arm_shared_dl),
gsSPEndDisplayList(),
};
@@ -651,8 +627,8 @@ const Gfx mario_left_hand_closed_shared_dl[] = {
// 0x0400D8F0 - 0x0400D910
const Gfx mario_left_hand_closed[] = {
gsSPLight(&mario_white_lights_group.l, 1),
gsSPLight(&mario_white_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPDisplayList(mario_left_hand_closed_shared_dl),
gsSPEndDisplayList(),
};
@@ -760,8 +736,8 @@ const Gfx mario_right_arm_shared_dl[] = {
// 0x0400DDE8 - 0x0400DE08
const Gfx mario_right_arm[] = {
gsSPLight(&mario_red_lights_group.l, 1),
gsSPLight(&mario_red_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x7f0000ff),
gsSPDisplayList(mario_right_arm_shared_dl),
gsSPEndDisplayList(),
};
@@ -897,8 +873,8 @@ const Gfx mario_right_hand_closed_dl[] = {
// 0x0400E458 - 0x0400E478
const Gfx mario_right_hand_closed[] = {
gsSPLight(&mario_white_lights_group.l, 1),
gsSPLight(&mario_white_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPDisplayList(mario_right_hand_closed_dl),
gsSPEndDisplayList(),
};
@@ -979,8 +955,8 @@ const Gfx mario_left_thigh_dl[] = {
const Gfx mario_left_thigh[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADEFADEA, G_CC_SHADEFADEA),
gsSPLight(&mario_blue_lights_group.l, 1),
gsSPLight(&mario_blue_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffff),
gsSPLightColor(LIGHT_2, 0x7fff),
gsSPDisplayList(mario_left_thigh_dl),
gsSPEndDisplayList(),
};
@@ -992,8 +968,8 @@ const Gfx mario_metal_left_thigh[] = {
gsDPSetCombineMode(G_CC_DECALFADE, G_CC_DECALFADE),
gsDPLoadTextureBlock(mario_texture_metal, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_WRAP | G_TX_NOMIRROR, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPTexture(0x0F80, 0x07C0, 0, G_TX_RENDERTILE, G_ON),
gsSPLight(&mario_white_lights_group.l, 1),
gsSPLight(&mario_white_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPDisplayList(mario_left_thigh_dl),
gsSPEndDisplayList(),
};
@@ -1091,8 +1067,8 @@ const Gfx mario_left_foot_shared_dl[] = {
// 0x0400ECA0 - 0x0400ECC0
const Gfx mario_left_foot[] = {
gsSPLight(&mario_brown1_lights_group.l, 1),
gsSPLight(&mario_brown1_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0x721c0eff),
gsSPLightColor(LIGHT_2, 0x390e07ff),
gsSPDisplayList(mario_left_foot_shared_dl),
gsSPEndDisplayList(),
};
@@ -1160,8 +1136,8 @@ const Gfx mario_right_thigh_shared_dl[] = {
// 0x0400EFB8 - 0x0400EFD8
const Gfx mario_right_thigh[] = {
gsSPLight(&mario_blue_lights_group.l, 1),
gsSPLight(&mario_blue_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffff),
gsSPLightColor(LIGHT_2, 0x7fff),
gsSPDisplayList(mario_right_thigh_shared_dl),
gsSPEndDisplayList(),
};
@@ -1276,8 +1252,8 @@ const Gfx mario_right_foot_dl[] = {
// 0x0400F4E8 - 0x0400F528
const Gfx mario_right_foot[] = {
gsSPLight(&mario_brown1_lights_group.l, 1),
gsSPLight(&mario_brown1_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0x721c0eff),
gsSPLightColor(LIGHT_2, 0x390e07ff),
gsSPDisplayList(mario_right_foot_dl),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
@@ -1589,8 +1565,8 @@ const Gfx mario_tshirt_shared_dl[] = {
// 0x04010348 - 0x04010370
const Gfx mario_torso_dl[] = {
gsSPDisplayList(mario_pants_overalls_shared_dl),
gsSPLight(&mario_red_lights_group.l, 1),
gsSPLight(&mario_red_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x7f0000ff),
gsSPDisplayList(mario_tshirt_shared_dl),
gsSPEndDisplayList(),
};
@@ -2080,11 +2056,11 @@ const Gfx mario_face_back_hair_cap_on_dl[] = {
// 0x04011960 - 0x040119A0
const Gfx mario_face_cap_on_dl[] = {
gsSPDisplayList(mario_face_part_cap_on_dl),
gsSPLight(&mario_red_lights_group.l, 1),
gsSPLight(&mario_red_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x7f0000ff),
gsSPDisplayList(mario_face_cap_dl),
gsSPLight(&mario_brown2_lights_group.l, 1),
gsSPLight(&mario_brown2_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0x730600ff),
gsSPLightColor(LIGHT_2, 0x390300ff),
gsSPDisplayList(mario_face_back_hair_cap_on_dl),
gsSPEndDisplayList(),
};
@@ -2105,8 +2081,8 @@ const Gfx mario_cap_on_eyes_front[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_front),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_eyes_cap_on_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_hair_sideburn),
gsDPLoadSync(),
@@ -2139,8 +2115,8 @@ const Gfx mario_cap_on_eyes_half_closed[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_half_closed),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_eyes_cap_on_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_hair_sideburn),
gsDPLoadSync(),
@@ -2173,8 +2149,8 @@ const Gfx mario_cap_on_eyes_closed[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_closed),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_eyes_cap_on_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_hair_sideburn),
gsDPLoadSync(),
@@ -2207,8 +2183,8 @@ const Gfx mario_cap_on_eyes_right[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_right),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_eyes_cap_on_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_hair_sideburn),
gsDPLoadSync(),
@@ -2241,8 +2217,8 @@ const Gfx mario_cap_on_eyes_left[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_left),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_eyes_cap_on_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_hair_sideburn),
gsDPLoadSync(),
@@ -2275,8 +2251,8 @@ const Gfx mario_cap_on_eyes_up[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_up),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_eyes_cap_on_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_hair_sideburn),
gsDPLoadSync(),
@@ -2309,8 +2285,8 @@ const Gfx mario_cap_on_eyes_down[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_down),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_eyes_cap_on_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_hair_sideburn),
gsDPLoadSync(),
@@ -2343,8 +2319,8 @@ const Gfx mario_cap_on_eyes_dead[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_dead),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_eyes_cap_on_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_hair_sideburn),
gsDPLoadSync(),
@@ -2374,16 +2350,8 @@ const Gfx mario_metal_cap_on_shared_dl[] = {
};
// Unreferenced light group
UNUSED static const Lights1 mario_lights_unused1 = gdSPDefLights1(
0x3f, 0x30, 0x1e,
0xfe, 0xc1, 0x79, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 mario_lights_unused2 = gdSPDefLights1(
0x1c, 0x01, 0x00,
0x73, 0x06, 0x00, 0x28, 0x28, 0x28
);
// 0x04012190
static const Vtx mario_eyes_cap_off_dl_vertex[] = {
@@ -2892,8 +2860,8 @@ const Gfx mario_face_hair_cap_off_dl[] = {
// 0x040139C0 - 0x040139E8
const Gfx mario_face_cap_off_dl[] = {
gsSPDisplayList(mario_face_part_cap_off_dl),
gsSPLight(&mario_brown2_lights_group.l, 1),
gsSPLight(&mario_brown2_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0x730600ff),
gsSPLightColor(LIGHT_2, 0x390300ff),
gsSPDisplayList(mario_face_hair_cap_off_dl),
gsSPEndDisplayList(),
};
@@ -2910,8 +2878,8 @@ const Gfx mario_cap_off_eyes_front[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_front),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_eyes_cap_off_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_mustache),
gsDPLoadSync(),
@@ -2940,8 +2908,8 @@ const Gfx mario_cap_off_eyes_half_closed[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_half_closed),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_eyes_cap_off_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_mustache),
gsDPLoadSync(),
@@ -2970,8 +2938,8 @@ const Gfx mario_cap_off_eyes_closed[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_closed),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_eyes_cap_off_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_mustache),
gsDPLoadSync(),
@@ -3000,8 +2968,8 @@ const Gfx mario_cap_off_eyes_right[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_right),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_eyes_cap_off_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_mustache),
gsDPLoadSync(),
@@ -3030,8 +2998,8 @@ const Gfx mario_cap_off_eyes_left[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_left),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_eyes_cap_off_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_mustache),
gsDPLoadSync(),
@@ -3060,8 +3028,8 @@ const Gfx mario_cap_off_eyes_up[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_up),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_eyes_cap_off_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_mustache),
gsDPLoadSync(),
@@ -3090,8 +3058,8 @@ const Gfx mario_cap_off_eyes_down[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_down),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_eyes_cap_off_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_mustache),
gsDPLoadSync(),
@@ -3120,8 +3088,8 @@ const Gfx mario_cap_off_eyes_dead[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_dead),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_eyes_cap_off_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_mustache),
gsDPLoadSync(),
@@ -3270,8 +3238,8 @@ const Gfx mario_medium_poly_butt_dl[] = {
const Gfx mario_medium_poly_butt[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADEFADEA, G_CC_SHADEFADEA),
gsSPLight(&mario_blue_lights_group.l, 1),
gsSPLight(&mario_blue_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffff),
gsSPLightColor(LIGHT_2, 0x7fff),
gsSPDisplayList(mario_medium_poly_butt_dl),
gsSPEndDisplayList(),
};
@@ -3283,8 +3251,8 @@ const Gfx mario_metal_medium_poly_butt[] = {
gsDPSetCombineMode(G_CC_DECALFADE, G_CC_DECALFADE),
gsDPLoadTextureBlock(mario_texture_metal, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_WRAP | G_TX_NOMIRROR, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPTexture(0x0F80, 0x07C0, 0, G_TX_RENDERTILE, G_ON),
gsSPLight(&mario_white_lights_group.l, 1),
gsSPLight(&mario_white_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPDisplayList(mario_medium_poly_butt_dl),
gsSPEndDisplayList(),
};
@@ -3322,8 +3290,8 @@ const Gfx mario_medium_poly_left_arm_shared_dl[] = {
// 0x04014840 - 0x04014860
const Gfx mario_medium_poly_left_arm[] = {
gsSPLight(&mario_red_lights_group.l, 1),
gsSPLight(&mario_red_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x7f0000ff),
gsSPDisplayList(mario_medium_poly_left_arm_shared_dl),
gsSPEndDisplayList(),
};
@@ -3444,8 +3412,8 @@ const Gfx mario_medium_poly_left_hand_closed_shared_dl[] = {
// 0x04014DC0 - 0x04014DE0
const Gfx mario_medium_poly_left_hand_closed[] = {
gsSPLight(&mario_white_lights_group.l, 1),
gsSPLight(&mario_white_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPDisplayList(mario_medium_poly_left_hand_closed_shared_dl),
gsSPEndDisplayList(),
};
@@ -3483,8 +3451,8 @@ const Gfx mario_medium_poly_right_arm_shared_dl[] = {
// 0x04014F40 - 0x04014F60
const Gfx mario_medium_poly_right_arm[] = {
gsSPLight(&mario_red_lights_group.l, 1),
gsSPLight(&mario_red_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x7f0000ff),
gsSPDisplayList(mario_medium_poly_right_arm_shared_dl),
gsSPEndDisplayList(),
};
@@ -3606,8 +3574,8 @@ const Gfx mario_medium_poly_right_hand_closed_dl[] = {
// 0x040154E0 - 0x04015500
const Gfx mario_medium_poly_right_hand_closed[] = {
gsSPLight(&mario_white_lights_group.l, 1),
gsSPLight(&mario_white_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPDisplayList(mario_medium_poly_right_hand_closed_dl),
gsSPEndDisplayList(),
};
@@ -3659,8 +3627,8 @@ const Gfx mario_medium_poly_left_thigh_dl[] = {
const Gfx mario_medium_poly_left_thigh[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADEFADEA, G_CC_SHADEFADEA),
gsSPLight(&mario_blue_lights_group.l, 1),
gsSPLight(&mario_blue_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffff),
gsSPLightColor(LIGHT_2, 0x7fff),
gsSPDisplayList(mario_medium_poly_left_thigh_dl),
gsSPEndDisplayList(),
};
@@ -3672,8 +3640,8 @@ const Gfx mario_metal_medium_poly_left_thigh[] = {
gsDPSetCombineMode(G_CC_DECALFADE, G_CC_DECALFADE),
gsDPLoadTextureBlock(mario_texture_metal, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_WRAP | G_TX_NOMIRROR, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPTexture(0x0F80, 0x07C0, 0, G_TX_RENDERTILE, G_ON),
gsSPLight(&mario_white_lights_group.l, 1),
gsSPLight(&mario_white_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPDisplayList(mario_medium_poly_left_thigh_dl),
gsSPEndDisplayList(),
};
@@ -3767,8 +3735,8 @@ const Gfx mario_medium_poly_left_foot_shared_dl[] = {
// 0x04015B60 - 0x04015B80
const Gfx mario_medium_poly_left_foot[] = {
gsSPLight(&mario_brown1_lights_group.l, 1),
gsSPLight(&mario_brown1_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0x721c0eff),
gsSPLightColor(LIGHT_2, 0x390e07ff),
gsSPDisplayList(mario_medium_poly_left_foot_shared_dl),
gsSPEndDisplayList(),
};
@@ -3808,8 +3776,8 @@ const Gfx mario_medium_poly_right_thigh_shared_dl[] = {
// 0x04015D00 - 0x04015D20
const Gfx mario_medium_poly_right_thigh[] = {
gsSPLight(&mario_blue_lights_group.l, 1),
gsSPLight(&mario_blue_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffff),
gsSPLightColor(LIGHT_2, 0x7fff),
gsSPDisplayList(mario_medium_poly_right_thigh_shared_dl),
gsSPEndDisplayList(),
};
@@ -3897,8 +3865,8 @@ const Gfx mario_medium_poly_right_foot_dl[] = {
// 0x040160C8 - 0x04016108
const Gfx mario_medium_poly_right_foot[] = {
gsSPLight(&mario_brown1_lights_group.l, 1),
gsSPLight(&mario_brown1_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0x721c0eff),
gsSPLightColor(LIGHT_2, 0x390e07ff),
gsSPDisplayList(mario_medium_poly_right_foot_dl),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
@@ -4081,8 +4049,8 @@ const Gfx mario_medium_poly_tshirt_shared_dl[] = {
// 0x040168A0 - 0x040168C8
const Gfx mario_medium_poly_torso_dl[] = {
gsSPDisplayList(mario_medium_poly_pants_overalls_shared_dl),
gsSPLight(&mario_red_lights_group.l, 1),
gsSPLight(&mario_red_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x7f0000ff),
gsSPDisplayList(mario_medium_poly_tshirt_shared_dl),
gsSPEndDisplayList(),
};
@@ -4149,8 +4117,8 @@ const Gfx mario_low_poly_butt_dl[] = {
const Gfx mario_low_poly_butt[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADEFADEA, G_CC_SHADEFADEA),
gsSPLight(&mario_blue_lights_group.l, 1),
gsSPLight(&mario_blue_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffff),
gsSPLightColor(LIGHT_2, 0x7fff),
gsSPDisplayList(mario_low_poly_butt_dl),
gsSPEndDisplayList(),
};
@@ -4162,8 +4130,8 @@ const Gfx mario_metal_low_poly_butt[] = {
gsDPSetCombineMode(G_CC_DECALFADE, G_CC_DECALFADE),
gsDPLoadTextureBlock(mario_texture_metal, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_WRAP | G_TX_NOMIRROR, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPTexture(0x0F80, 0x07C0, 0, G_TX_RENDERTILE, G_ON),
gsSPLight(&mario_white_lights_group.l, 1),
gsSPLight(&mario_white_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPDisplayList(mario_low_poly_butt_dl),
gsSPEndDisplayList(),
};
@@ -4196,8 +4164,8 @@ const Gfx mario_low_poly_left_arm_shared_dl[] = {
// 0x04016C70 - 0x04016C90
const Gfx mario_low_poly_left_arm[] = {
gsSPLight(&mario_red_lights_group.l, 1),
gsSPLight(&mario_red_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x7f0000ff),
gsSPDisplayList(mario_low_poly_left_arm_shared_dl),
gsSPEndDisplayList(),
};
@@ -4253,8 +4221,8 @@ const Gfx mario_low_poly_left_hand_closed_shared_dl[] = {
// 0x04016E80 - 0x04016EA0
const Gfx mario_low_poly_left_hand_closed[] = {
gsSPLight(&mario_white_lights_group.l, 1),
gsSPLight(&mario_white_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPDisplayList(mario_low_poly_left_hand_closed_shared_dl),
gsSPEndDisplayList(),
};
@@ -4287,8 +4255,8 @@ const Gfx mario_low_poly_right_arm_shared_dl[] = {
// 0x04016FB0 - 0x04016FD0
const Gfx mario_low_poly_right_arm[] = {
gsSPLight(&mario_red_lights_group.l, 1),
gsSPLight(&mario_red_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x7f0000ff),
gsSPDisplayList(mario_low_poly_right_arm_shared_dl),
gsSPEndDisplayList(),
};
@@ -4344,8 +4312,8 @@ const Gfx mario_low_poly_right_hand_closed_dl[] = {
// 0x040171C0 - 0x040171E0
const Gfx mario_low_poly_right_hand_closed[] = {
gsSPLight(&mario_white_lights_group.l, 1),
gsSPLight(&mario_white_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPDisplayList(mario_low_poly_right_hand_closed_dl),
gsSPEndDisplayList(),
};
@@ -4394,8 +4362,8 @@ const Gfx mario_low_poly_left_thigh_dl[] = {
const Gfx mario_low_poly_left_thigh[] = {
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADEFADEA, G_CC_SHADEFADEA),
gsSPLight(&mario_blue_lights_group.l, 1),
gsSPLight(&mario_blue_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffff),
gsSPLightColor(LIGHT_2, 0x7fff),
gsSPDisplayList(mario_low_poly_left_thigh_dl),
gsSPEndDisplayList(),
};
@@ -4407,8 +4375,8 @@ const Gfx mario_metal_low_poly_left_thigh[] = {
gsDPSetCombineMode(G_CC_DECALFADE, G_CC_DECALFADE),
gsDPLoadTextureBlock(mario_texture_metal, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_WRAP | G_TX_NOMIRROR, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPTexture(0x0F80, 0x07C0, 0, G_TX_RENDERTILE, G_ON),
gsSPLight(&mario_white_lights_group.l, 1),
gsSPLight(&mario_white_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPDisplayList(mario_low_poly_left_thigh_dl),
gsSPEndDisplayList(),
};
@@ -4475,8 +4443,8 @@ const Gfx mario_low_poly_left_foot_shared_dl[] = {
// 0x040176A8 - 0x040176C8
const Gfx mario_low_poly_left_foot[] = {
gsSPLight(&mario_brown1_lights_group.l, 1),
gsSPLight(&mario_brown1_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0x721c0eff),
gsSPLightColor(LIGHT_2, 0x390e07ff),
gsSPDisplayList(mario_low_poly_left_foot_shared_dl),
gsSPEndDisplayList(),
};
@@ -4513,8 +4481,8 @@ const Gfx mario_low_poly_right_thigh_shared_dl[] = {
// 0x04017818 - 0x04017838
const Gfx mario_low_poly_right_thigh[] = {
gsSPLight(&mario_blue_lights_group.l, 1),
gsSPLight(&mario_blue_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffff),
gsSPLightColor(LIGHT_2, 0x7fff),
gsSPDisplayList(mario_low_poly_right_thigh_shared_dl),
gsSPEndDisplayList(),
};
@@ -4581,8 +4549,8 @@ const Gfx mario_low_poly_right_foot_dl[] = {
// 0x04017AD8 - 0x04017B18
const Gfx mario_low_poly_right_foot[] = {
gsSPLight(&mario_brown1_lights_group.l, 1),
gsSPLight(&mario_brown1_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0x721c0eff),
gsSPLightColor(LIGHT_2, 0x390e07ff),
gsSPDisplayList(mario_low_poly_right_foot_dl),
gsDPPipeSync(),
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
@@ -4684,8 +4652,8 @@ const Gfx mario_low_poly_tshirt_shared_dl[] = {
// 0x04017E78 - 0x04017EA0
const Gfx mario_low_poly_torso_dl[] = {
gsSPDisplayList(mario_low_poly_pants_overalls_shared_dl),
gsSPLight(&mario_red_lights_group.l, 1),
gsSPLight(&mario_red_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x7f0000ff),
gsSPDisplayList(mario_low_poly_tshirt_shared_dl),
gsSPEndDisplayList(),
};
@@ -4854,11 +4822,11 @@ const Gfx mario_low_poly_face_back_hair_cap_on_dl[] = {
// 0x04018420 - 0x04018460
const Gfx mario_low_poly_face_cap_on_dl[] = {
gsSPDisplayList(mario_low_poly_face_part_cap_on_dl),
gsSPLight(&mario_red_lights_group.l, 1),
gsSPLight(&mario_red_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x7f0000ff),
gsSPDisplayList(mario_low_poly_face_cap_dl),
gsSPLight(&mario_brown2_lights_group.l, 1),
gsSPLight(&mario_brown2_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0x730600ff),
gsSPLightColor(LIGHT_2, 0x390300ff),
gsSPDisplayList(mario_low_poly_face_back_hair_cap_on_dl),
gsSPEndDisplayList(),
};
@@ -4879,8 +4847,8 @@ const Gfx mario_low_poly_cap_on_eyes_front[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_front),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_low_poly_eyes_cap_on_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_mustache),
gsDPLoadSync(),
@@ -4909,8 +4877,8 @@ const Gfx mario_low_poly_cap_on_eyes_half_closed[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_half_closed),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_low_poly_eyes_cap_on_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_mustache),
gsDPLoadSync(),
@@ -4939,8 +4907,8 @@ const Gfx mario_low_poly_cap_on_eyes_closed[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_closed),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_low_poly_eyes_cap_on_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_mustache),
gsDPLoadSync(),
@@ -4969,8 +4937,8 @@ const Gfx mario_low_poly_cap_on_eyes_right[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_right),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_low_poly_eyes_cap_on_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_mustache),
gsDPLoadSync(),
@@ -4999,8 +4967,8 @@ const Gfx mario_low_poly_cap_on_eyes_left[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_left),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_low_poly_eyes_cap_on_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_mustache),
gsDPLoadSync(),
@@ -5029,8 +4997,8 @@ const Gfx mario_low_poly_cap_on_eyes_up[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_up),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_low_poly_eyes_cap_on_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_mustache),
gsDPLoadSync(),
@@ -5059,8 +5027,8 @@ const Gfx mario_low_poly_cap_on_eyes_down[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_down),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_low_poly_eyes_cap_on_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_mustache),
gsDPLoadSync(),
@@ -5089,8 +5057,8 @@ const Gfx mario_low_poly_cap_on_eyes_dead[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_dead),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_low_poly_eyes_cap_on_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_mustache),
gsDPLoadSync(),
@@ -5223,8 +5191,8 @@ const Gfx mario_low_poly_face_hair_cap_off_dl[] = {
// 0x04018F68 - 0x04018F90
const Gfx mario_low_poly_face_cap_off_dl[] = {
gsSPDisplayList(mario_low_poly_face_part_cap_off_dl),
gsSPLight(&mario_brown2_lights_group.l, 1),
gsSPLight(&mario_brown2_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0x730600ff),
gsSPLightColor(LIGHT_2, 0x390300ff),
gsSPDisplayList(mario_low_poly_face_hair_cap_off_dl),
gsSPEndDisplayList(),
};
@@ -5241,8 +5209,8 @@ const Gfx mario_low_poly_cap_off_eyes_front[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_front),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_low_poly_mario_eyes_cap_off_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_mustache),
gsDPLoadSync(),
@@ -5267,8 +5235,8 @@ const Gfx mario_low_poly_cap_off_eyes_half_closed[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_half_closed),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_low_poly_mario_eyes_cap_off_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_mustache),
gsDPLoadSync(),
@@ -5293,8 +5261,8 @@ const Gfx mario_low_poly_cap_off_eyes_closed[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_closed),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_low_poly_mario_eyes_cap_off_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_mustache),
gsDPLoadSync(),
@@ -5319,8 +5287,8 @@ const Gfx mario_low_poly_cap_off_eyes_right[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_right),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_low_poly_mario_eyes_cap_off_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_mustache),
gsDPLoadSync(),
@@ -5345,8 +5313,8 @@ const Gfx mario_low_poly_cap_off_eyes_left[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_left),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_low_poly_mario_eyes_cap_off_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_mustache),
gsDPLoadSync(),
@@ -5371,8 +5339,8 @@ const Gfx mario_low_poly_cap_off_eyes_up[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_up),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_low_poly_mario_eyes_cap_off_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_mustache),
gsDPLoadSync(),
@@ -5397,8 +5365,8 @@ const Gfx mario_low_poly_cap_off_eyes_down[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_down),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_low_poly_mario_eyes_cap_off_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_mustache),
gsDPLoadSync(),
@@ -5423,8 +5391,8 @@ const Gfx mario_low_poly_cap_off_eyes_dead[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_eyes_dead),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_beige_lights_group.l, 1),
gsSPLight(&mario_beige_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xfec179ff),
gsSPLightColor(LIGHT_2, 0x7f603cff),
gsSPDisplayList(mario_low_poly_mario_eyes_cap_off_dl),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_mustache),
gsDPLoadSync(),
@@ -5599,8 +5567,8 @@ const Gfx mario_left_hand_open_shared_dl[] = {
// 0x04019CA0 - 0x04019CC0
const Gfx mario_left_hand_open[] = {
gsSPLight(&mario_white_lights_group.l, 1),
gsSPLight(&mario_white_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPDisplayList(mario_left_hand_open_shared_dl),
gsSPEndDisplayList(),
};
@@ -5758,8 +5726,8 @@ const Gfx mario_right_hand_open_dl[] = {
// 0x0401A428 - 0x0401A448
const Gfx mario_right_hand_open[] = {
gsSPLight(&mario_white_lights_group.l, 1),
gsSPLight(&mario_white_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPDisplayList(mario_right_hand_open_dl),
gsSPEndDisplayList(),
};
@@ -6008,11 +5976,11 @@ const Gfx mario_right_hand_cap_bottom_dl[] = {
// 0x0401AF20 - 0x0401AF60
const Gfx mario_right_hand_cap_dl[] = {
gsSPDisplayList(mario_right_hand_cap_top_dl),
gsSPLight(&mario_white_lights_group.l, 1),
gsSPLight(&mario_white_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPDisplayList(mario_right_hand_cap_hand_position_dl),
gsSPLight(&mario_brown2_lights_group.l, 1),
gsSPLight(&mario_brown2_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0x730600ff),
gsSPLightColor(LIGHT_2, 0x390300ff),
gsSPDisplayList(mario_right_hand_cap_bottom_dl),
gsSPEndDisplayList(),
};
@@ -6066,8 +6034,8 @@ const Gfx mario_right_hand_cap_wings_initial_dl[] = {
gsSPClearGeometryMode(G_CULL_BACK | G_SHADING_SMOOTH),
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0, G_TX_LOADTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsSPLight(&mario_white_lights_group.l, 1),
gsSPLight(&mario_white_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsDPTileSync(),
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 6, G_TX_NOLOD, G_TX_CLAMP, 5, G_TX_NOLOD),
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (64 - 1) << G_TEXTURE_IMAGE_FRAC),
@@ -6401,8 +6369,8 @@ const Gfx mario_right_hand_peace_shared_dl[] = {
// 0x0401BF30 - 0x0401BF50
const Gfx mario_right_hand_peace[] = {
gsSPLight(&mario_white_lights_group.l, 1),
gsSPLight(&mario_white_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPDisplayList(mario_right_hand_peace_shared_dl),
gsSPEndDisplayList(),
};
@@ -6539,8 +6507,8 @@ const Gfx mario_cap_unused_base_bottom_dl[] = {
// 0x0401C510 - 0x0401C538
const Gfx mario_cap_unused_base_dl[] = {
gsSPDisplayList(mario_cap_unused_base_top_dl),
gsSPLight(&mario_brown2_lights_group.l, 1),
gsSPLight(&mario_brown2_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0x730600ff),
gsSPLightColor(LIGHT_2, 0x390300ff),
gsSPDisplayList(mario_cap_unused_base_bottom_dl),
gsSPEndDisplayList(),
};
@@ -6599,8 +6567,8 @@ const Gfx mario_cap_wings_unused_initial_dl[] = {
gsDPTileSync(),
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 6, G_TX_NOLOD, G_TX_CLAMP, 5, G_TX_NOLOD),
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (64 - 1) << G_TEXTURE_IMAGE_FRAC),
gsSPLight(&mario_white_lights_group.l, 1),
gsSPLight(&mario_white_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPEndDisplayList(),
};
@@ -6625,8 +6593,8 @@ const Gfx mario_cap_unused_dl[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_m_logo),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_red_lights_group.l, 1),
gsSPLight(&mario_red_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x7f0000ff),
gsSPDisplayList(mario_cap_unused_m_logo_dl),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
@@ -6642,8 +6610,8 @@ const Gfx mario_metal_cap_unused_dl[] = {
gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
gsDPLoadTextureBlock(mario_texture_metal, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_WRAP | G_TX_NOMIRROR, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPTexture(0x0F80, 0x07C0, 0, G_TX_RENDERTILE, G_ON),
gsSPLight(&mario_white_lights_group.l, 1),
gsSPLight(&mario_white_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPDisplayList(mario_cap_unused_m_logo_dl),
gsSPDisplayList(mario_cap_unused_base_top_dl),
gsSPDisplayList(mario_cap_unused_base_bottom_dl),
@@ -6724,8 +6692,8 @@ const Gfx mario_cap_wings[] = {
gsDPTileSync(),
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 6, G_TX_NOLOD, G_TX_CLAMP, 5, G_TX_NOLOD),
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (64 - 1) << G_TEXTURE_IMAGE_FRAC),
gsSPLight(&mario_white_lights_group.l, 1),
gsSPLight(&mario_white_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_wings_half_1),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
@@ -6751,8 +6719,8 @@ const Gfx mario_cap_wings_transparent[] = {
gsDPTileSync(),
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 6, G_TX_NOLOD, G_TX_CLAMP, 5, G_TX_NOLOD),
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (64 - 1) << G_TEXTURE_IMAGE_FRAC),
gsSPLight(&mario_white_lights_group.l, 1),
gsSPLight(&mario_white_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_wings_half_1),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
@@ -6778,8 +6746,8 @@ const Gfx mario_metal_cap_wings[] = {
gsDPTileSync(),
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP, 6, G_TX_NOLOD, G_TX_CLAMP, 5, G_TX_NOLOD),
gsDPSetTileSize(0, 0, 0, (32 - 1) << G_TEXTURE_IMAGE_FRAC, (64 - 1) << G_TEXTURE_IMAGE_FRAC),
gsSPLight(&mario_white_lights_group.l, 1),
gsSPLight(&mario_white_lights_group.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_texture_metal_wings_half_1),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
+10 -22
View File
@@ -1,22 +1,10 @@
// Mario Cap (Normal Cap, Metal, Winged, etc)
// 0x0301CF08
static const Lights1 mario_cap_seg3_lights_0301CF08 = gdSPDefLights1(
0x39, 0x03, 0x00,
0x73, 0x06, 0x00, 0x28, 0x28, 0x28
);
// 0x0301CF20
static const Lights1 mario_cap_seg3_lights_0301CF20 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0301CF38
static const Lights1 mario_cap_seg3_lights_0301CF38 = gdSPDefLights1(
0x7f, 0x00, 0x00,
0xff, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x0301CF50
ALIGNED8 static const Texture mario_cap_seg3_texture_0301CF50[] = {
@@ -180,8 +168,8 @@ const Gfx mario_cap_seg3_dl_03022CC8[] = {
// 0x03022D10 - 0x03022D38
const Gfx mario_cap_seg3_dl_03022D10[] = {
gsSPDisplayList(mario_cap_seg3_dl_03022B68),
gsSPLight(&mario_cap_seg3_lights_0301CF08.l, 1),
gsSPLight(&mario_cap_seg3_lights_0301CF08.a, 2),
gsSPLightColor(LIGHT_1, 0x730600ff),
gsSPLightColor(LIGHT_2, 0x390300ff),
gsSPDisplayList(mario_cap_seg3_dl_03022CC8),
gsSPEndDisplayList(),
};
@@ -264,8 +252,8 @@ const Gfx mario_cap_seg3_dl_03022F48[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_cap_seg3_texture_0301DF50),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_cap_seg3_lights_0301CF38.l, 1),
gsSPLight(&mario_cap_seg3_lights_0301CF38.a, 2),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x7f0000ff),
gsSPDisplayList(mario_cap_seg3_dl_03022B30),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
@@ -285,8 +273,8 @@ const Gfx mario_cap_seg3_dl_03022FF8[] = {
gsDPSetCombineMode(G_CC_MODULATERGBFADE, G_CC_MODULATERGBFADE),
gsDPLoadTextureBlock(mario_cap_seg3_texture_0301CF50, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_WRAP | G_TX_NOMIRROR, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPTexture(0x0F80, 0x07C0, 0, G_TX_RENDERTILE, G_ON),
gsSPLight(&mario_cap_seg3_lights_0301CF20.l, 1),
gsSPLight(&mario_cap_seg3_lights_0301CF20.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPDisplayList(mario_cap_seg3_dl_03022B30),
gsSPDisplayList(mario_cap_seg3_dl_03022B68),
gsSPDisplayList(mario_cap_seg3_dl_03022CC8),
@@ -341,8 +329,8 @@ const Gfx mario_cap_seg3_dl_03023160[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_cap_seg3_texture_0301DF50),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mario_cap_seg3_lights_0301CF38.l, 1),
gsSPLight(&mario_cap_seg3_lights_0301CF38.a, 2),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x7f0000ff),
gsSPDisplayList(mario_cap_seg3_dl_03022B30),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsDPPipeSync(),
@@ -385,8 +373,8 @@ const Gfx mario_cap_seg3_dl_03023298[] = {
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD),
gsDPSetTileSize(0, 0, 0, (64 - 1) << G_TEXTURE_IMAGE_FRAC, (32 - 1) << G_TEXTURE_IMAGE_FRAC),
gsSPTexture(0x0F80, 0x07C0, 0, G_TX_RENDERTILE, G_ON),
gsSPLight(&mario_cap_seg3_lights_0301CF20.l, 1),
gsSPLight(&mario_cap_seg3_lights_0301CF20.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPDisplayList(mario_cap_seg3_dl_03022B30),
gsSPDisplayList(mario_cap_seg3_dl_03022B68),
gsSPDisplayList(mario_cap_seg3_dl_03022CC8),
+2 -6
View File
@@ -1,10 +1,6 @@
// Metal Box
// 0x08023980
static const Lights1 metal_box_seg8_lights_08023980 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x08023998
ALIGNED8 static const Texture metal_box_seg8_texture_08023998[] = {
@@ -48,8 +44,8 @@ const Gfx metal_box_seg8_dl_08024B18[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, metal_box_seg8_texture_08023998),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&metal_box_seg8_lights_08023980.l, 1),
gsSPLight(&metal_box_seg8_lights_08023980.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(metal_box_seg8_vertex_08024998, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
+46 -134
View File
@@ -6,16 +6,8 @@ ALIGNED8 static const Texture mips_seg6_texture_0600FB80[] = {
};
// 0x06010380
static const Lights1 mips_seg6_lights_06010380 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06010398
static const Lights1 mips_seg6_lights_06010398 = gdSPDefLights1(
0x0f, 0x0d, 0x04,
0x27, 0x21, 0x0b, 0x28, 0x28, 0x28
);
// 0x060103B0
static const Vtx mips_seg6_vertex_060103B0[] = {
@@ -75,8 +67,8 @@ const Gfx mips_seg6_dl_06010600[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mips_seg6_texture_0600FB80),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mips_seg6_lights_06010380.l, 1),
gsSPLight(&mips_seg6_lights_06010380.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(mips_seg6_vertex_060103B0, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
gsSP2Triangles( 2, 1, 4, 0x0, 2, 5, 3, 0x0),
@@ -101,13 +93,13 @@ const Gfx mips_seg6_dl_06010600[] = {
// 0x06010748 - 0x060107B8
const Gfx mips_seg6_dl_06010748[] = {
gsSPLight(&mips_seg6_lights_06010398.l, 1),
gsSPLight(&mips_seg6_lights_06010398.a, 2),
gsSPLightColor(LIGHT_1, 0x27210bff),
gsSPLightColor(LIGHT_2, 0xf0d04ff),
gsSPVertex(mips_seg6_vertex_06010580, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
gsSP1Triangle( 3, 2, 1, 0x0),
gsSPLight(&mips_seg6_lights_06010380.l, 1),
gsSPLight(&mips_seg6_lights_06010380.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(mips_seg6_vertex_060105C0, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 3, 2, 0, 0x0, 2, 1, 0, 0x0),
@@ -133,10 +125,6 @@ const Gfx mips_seg6_dl_060107B8[] = {
};
// 0x06010820
static const Lights1 mips_seg6_lights_06010820 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06010838
static const Vtx mips_seg6_vertex_06010838[] = {
@@ -193,8 +181,8 @@ const Gfx mips_seg6_dl_06010A98[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mips_seg6_texture_0600FB80),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mips_seg6_lights_06010820.l, 1),
gsSPLight(&mips_seg6_lights_06010820.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(mips_seg6_vertex_06010838, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 4, 0x0),
gsSP2Triangles( 0, 5, 1, 0x0, 1, 6, 3, 0x0),
@@ -241,16 +229,8 @@ const Gfx mips_seg6_dl_06010C40[] = {
};
// 0x06010CA0
static const Lights1 mips_seg6_lights_06010CA0 = gdSPDefLights1(
0x3c, 0x3c, 0x00,
0x96, 0x96, 0x00, 0x28, 0x28, 0x28
);
// 0x06010CB8
static const Lights1 mips_seg6_lights_06010CB8 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06010CD0
static const Vtx mips_seg6_vertex_06010CD0[] = {
@@ -279,13 +259,13 @@ const Gfx mips_seg6_dl_06010DB0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mips_seg6_texture_0600FB80),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mips_seg6_lights_06010CA0.l, 1),
gsSPLight(&mips_seg6_lights_06010CA0.a, 2),
gsSPLightColor(LIGHT_1, 0x969600ff),
gsSPLightColor(LIGHT_2, 0x3c3c00ff),
gsSPVertex(mips_seg6_vertex_06010CD0, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 0, 4, 1, 0x0, 4, 0, 5, 0x0),
gsSPLight(&mips_seg6_lights_06010CB8.l, 1),
gsSPLight(&mips_seg6_lights_06010CB8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(mips_seg6_vertex_06010D30, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 0, 3, 0x0),
gsSP2Triangles( 0, 2, 4, 0x0, 5, 6, 0, 0x0),
@@ -311,22 +291,10 @@ const Gfx mips_seg6_dl_06010E60[] = {
};
// 0x06010EC0
static const Lights1 mips_seg6_lights_06010EC0 = gdSPDefLights1(
0x3c, 0x3c, 0x00,
0x96, 0x96, 0x00, 0x28, 0x28, 0x28
);
// 0x06010ED8
static const Lights1 mips_seg6_lights_06010ED8 = gdSPDefLights1(
0x35, 0x38, 0x00,
0x85, 0x8e, 0x00, 0x28, 0x28, 0x28
);
// 0x06010EF0
static const Lights1 mips_seg6_lights_06010EF0 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06010F08
static const Vtx mips_seg6_vertex_06010F08[] = {
@@ -360,17 +328,17 @@ const Gfx mips_seg6_dl_06010FF8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mips_seg6_texture_0600FB80),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mips_seg6_lights_06010EC0.l, 1),
gsSPLight(&mips_seg6_lights_06010EC0.a, 2),
gsSPLightColor(LIGHT_1, 0x969600ff),
gsSPLightColor(LIGHT_2, 0x3c3c00ff),
gsSPVertex(mips_seg6_vertex_06010F08, 5, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP1Triangle( 3, 2, 4, 0x0),
gsSPLight(&mips_seg6_lights_06010ED8.l, 1),
gsSPLight(&mips_seg6_lights_06010ED8.a, 2),
gsSPLightColor(LIGHT_1, 0x858e00ff),
gsSPLightColor(LIGHT_2, 0x353800ff),
gsSPVertex(mips_seg6_vertex_06010F58, 3, 0),
gsSP1Triangle( 0, 1, 2, 0x0),
gsSPLight(&mips_seg6_lights_06010EF0.l, 1),
gsSPLight(&mips_seg6_lights_06010EF0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(mips_seg6_vertex_06010F88, 7, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 3, 2, 4, 0x0, 2, 1, 4, 0x0),
@@ -395,16 +363,8 @@ const Gfx mips_seg6_dl_060110B0[] = {
};
// 0x06011110
static const Lights1 mips_seg6_lights_06011110 = gdSPDefLights1(
0x3c, 0x3c, 0x00,
0x96, 0x96, 0x00, 0x28, 0x28, 0x28
);
// 0x06011128
static const Lights1 mips_seg6_lights_06011128 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06011140
static const Vtx mips_seg6_vertex_06011140[] = {
@@ -435,13 +395,13 @@ const Gfx mips_seg6_dl_06011240[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mips_seg6_texture_0600FB80),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mips_seg6_lights_06011110.l, 1),
gsSPLight(&mips_seg6_lights_06011110.a, 2),
gsSPLightColor(LIGHT_1, 0x969600ff),
gsSPLightColor(LIGHT_2, 0x3c3c00ff),
gsSPVertex(mips_seg6_vertex_06011140, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
gsSP2Triangles( 2, 4, 3, 0x0, 3, 4, 5, 0x0),
gsSPLight(&mips_seg6_lights_06011128.l, 1),
gsSPLight(&mips_seg6_lights_06011128.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(mips_seg6_vertex_060111A0, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 0, 0x0),
gsSP2Triangles( 0, 4, 3, 0x0, 5, 6, 1, 0x0),
@@ -469,16 +429,8 @@ const Gfx mips_seg6_dl_06011310[] = {
};
// 0x06011370
static const Lights1 mips_seg6_lights_06011370 = gdSPDefLights1(
0x3c, 0x3c, 0x00,
0x96, 0x96, 0x00, 0x28, 0x28, 0x28
);
// 0x06011388
static const Lights1 mips_seg6_lights_06011388 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x060113A0
static const Vtx mips_seg6_vertex_060113A0[] = {
@@ -506,13 +458,13 @@ const Gfx mips_seg6_dl_06011470[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mips_seg6_texture_0600FB80),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mips_seg6_lights_06011370.l, 1),
gsSPLight(&mips_seg6_lights_06011370.a, 2),
gsSPLightColor(LIGHT_1, 0x969600ff),
gsSPLightColor(LIGHT_2, 0x3c3c00ff),
gsSPVertex(mips_seg6_vertex_060113A0, 5, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 0, 3, 0x0),
gsSP1Triangle( 3, 4, 1, 0x0),
gsSPLight(&mips_seg6_lights_06011388.l, 1),
gsSPLight(&mips_seg6_lights_06011388.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(mips_seg6_vertex_060113F0, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 4, 0x0),
gsSP2Triangles( 3, 2, 1, 0x0, 3, 5, 6, 0x0),
@@ -539,16 +491,8 @@ const Gfx mips_seg6_dl_06011520[] = {
};
// 0x06011580
static const Lights1 mips_seg6_lights_06011580 = gdSPDefLights1(
0x3c, 0x3c, 0x00,
0x96, 0x96, 0x00, 0x28, 0x28, 0x28
);
// 0x06011598
static const Lights1 mips_seg6_lights_06011598 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x060115B0
static const Vtx mips_seg6_vertex_060115B0[] = {
@@ -579,13 +523,13 @@ const Gfx mips_seg6_dl_060116B0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mips_seg6_texture_0600FB80),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mips_seg6_lights_06011580.l, 1),
gsSPLight(&mips_seg6_lights_06011580.a, 2),
gsSPLightColor(LIGHT_1, 0x969600ff),
gsSPLightColor(LIGHT_2, 0x3c3c00ff),
gsSPVertex(mips_seg6_vertex_060115B0, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 4, 3, 1, 0x0, 2, 5, 0, 0x0),
gsSPLight(&mips_seg6_lights_06011598.l, 1),
gsSPLight(&mips_seg6_lights_06011598.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(mips_seg6_vertex_06011610, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
gsSP2Triangles( 2, 3, 0, 0x0, 3, 2, 5, 0x0),
@@ -613,16 +557,8 @@ const Gfx mips_seg6_dl_06011780[] = {
};
// 0x060117E0
static const Lights1 mips_seg6_lights_060117E0 = gdSPDefLights1(
0x3c, 0x3c, 0x00,
0x96, 0x96, 0x00, 0x28, 0x28, 0x28
);
// 0x060117F8
static const Lights1 mips_seg6_lights_060117F8 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06011810
static const Vtx mips_seg6_vertex_06011810[] = {
@@ -650,13 +586,13 @@ const Gfx mips_seg6_dl_060118E0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mips_seg6_texture_0600FB80),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mips_seg6_lights_060117E0.l, 1),
gsSPLight(&mips_seg6_lights_060117E0.a, 2),
gsSPLightColor(LIGHT_1, 0x969600ff),
gsSPLightColor(LIGHT_2, 0x3c3c00ff),
gsSPVertex(mips_seg6_vertex_06011810, 5, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 2, 1, 0x0),
gsSP1Triangle( 1, 4, 3, 0x0),
gsSPLight(&mips_seg6_lights_060117F8.l, 1),
gsSPLight(&mips_seg6_lights_060117F8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(mips_seg6_vertex_06011860, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 5, 6, 3, 0x0, 6, 7, 3, 0x0),
@@ -683,16 +619,8 @@ const Gfx mips_seg6_dl_06011990[] = {
};
// 0x060119F0
static const Lights1 mips_seg6_lights_060119F0 = gdSPDefLights1(
0x3c, 0x3c, 0x00,
0x96, 0x96, 0x00, 0x28, 0x28, 0x28
);
// 0x06011A08
static const Lights1 mips_seg6_lights_06011A08 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06011A20
static const Vtx mips_seg6_vertex_06011A20[] = {
@@ -721,13 +649,13 @@ const Gfx mips_seg6_dl_06011B00[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mips_seg6_texture_0600FB80),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mips_seg6_lights_060119F0.l, 1),
gsSPLight(&mips_seg6_lights_060119F0.a, 2),
gsSPLightColor(LIGHT_1, 0x969600ff),
gsSPLightColor(LIGHT_2, 0x3c3c00ff),
gsSPVertex(mips_seg6_vertex_06011A20, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 1, 4, 2, 0x0, 5, 2, 4, 0x0),
gsSPLight(&mips_seg6_lights_06011A08.l, 1),
gsSPLight(&mips_seg6_lights_06011A08.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(mips_seg6_vertex_06011A80, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 1, 0x0, 1, 3, 6, 0x0),
@@ -753,16 +681,8 @@ const Gfx mips_seg6_dl_06011BB0[] = {
};
// 0x06011C10
static const Lights1 mips_seg6_lights_06011C10 = gdSPDefLights1(
0x3c, 0x3c, 0x00,
0x96, 0x96, 0x00, 0x28, 0x28, 0x28
);
// 0x06011C28
static const Lights1 mips_seg6_lights_06011C28 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06011C40
static const Vtx mips_seg6_vertex_06011C40[] = {
@@ -790,13 +710,13 @@ const Gfx mips_seg6_dl_06011D10[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mips_seg6_texture_0600FB80),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&mips_seg6_lights_06011C10.l, 1),
gsSPLight(&mips_seg6_lights_06011C10.a, 2),
gsSPLightColor(LIGHT_1, 0x969600ff),
gsSPLightColor(LIGHT_2, 0x3c3c00ff),
gsSPVertex(mips_seg6_vertex_06011C40, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 1, 3, 0x0),
gsSP2Triangles( 1, 4, 3, 0x0, 3, 4, 5, 0x0),
gsSPLight(&mips_seg6_lights_06011C28.l, 1),
gsSPLight(&mips_seg6_lights_06011C28.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(mips_seg6_vertex_06011CA0, 7, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 3, 4, 5, 0x0, 1, 3, 5, 0x0),
@@ -821,10 +741,6 @@ const Gfx mips_seg6_dl_06011DB0[] = {
};
// 0x06011E10
static const Lights1 mips_seg6_lights_06011E10 = gdSPDefLights1(
0x34, 0x2c, 0x0f,
0x82, 0x6e, 0x26, 0x28, 0x28, 0x28
);
// 0x06011E28
static const Vtx mips_seg6_vertex_06011E28[] = {
@@ -838,8 +754,8 @@ static const Vtx mips_seg6_vertex_06011E28[] = {
// 0x06011E88 - 0x06011ED8
const Gfx mips_seg6_dl_06011E88[] = {
gsSPLight(&mips_seg6_lights_06011E10.l, 1),
gsSPLight(&mips_seg6_lights_06011E10.a, 2),
gsSPLightColor(LIGHT_1, 0x826e26ff),
gsSPLightColor(LIGHT_2, 0x342c0fff),
gsSPVertex(mips_seg6_vertex_06011E28, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 4, 0, 2, 0x0, 2, 5, 4, 0x0),
@@ -856,10 +772,6 @@ const Gfx mips_seg6_dl_06011ED8[] = {
};
// 0x06011EF8
static const Lights1 mips_seg6_lights_06011EF8 = gdSPDefLights1(
0x34, 0x2c, 0x0f,
0x82, 0x6e, 0x26, 0x28, 0x28, 0x28
);
// 0x06011F10
static const Vtx mips_seg6_vertex_06011F10[] = {
@@ -873,8 +785,8 @@ static const Vtx mips_seg6_vertex_06011F10[] = {
// 0x06011F70 - 0x06011FC0
const Gfx mips_seg6_dl_06011F70[] = {
gsSPLight(&mips_seg6_lights_06011EF8.l, 1),
gsSPLight(&mips_seg6_lights_06011EF8.a, 2),
gsSPLightColor(LIGHT_1, 0x826e26ff),
gsSPLightColor(LIGHT_2, 0x342c0fff),
gsSPVertex(mips_seg6_vertex_06011F10, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 2, 0x0, 2, 1, 4, 0x0),
+10 -38
View File
@@ -11,16 +11,8 @@ ALIGNED8 static const Texture moneybag_seg6_texture_060049B0[] = {
};
// 0x060051B0
static const Lights1 moneybag_seg6_lights_060051B0 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x060051C8
static const Lights1 moneybag_seg6_lights_060051C8 = gdSPDefLights1(
0x00, 0x3f, 0x23,
0x00, 0x7f, 0x47, 0x28, 0x28, 0x28
);
// 0x060051E0
static const Vtx moneybag_seg6_vertex_060051E0[] = {
@@ -53,8 +45,8 @@ const Gfx moneybag_seg6_dl_06005300[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, moneybag_seg6_texture_060039B0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
gsSPLight(&moneybag_seg6_lights_060051B0.l, 1),
gsSPLight(&moneybag_seg6_lights_060051B0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(moneybag_seg6_vertex_060051E0, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 0, 0x0, 8, 4, 9, 0x0),
@@ -63,8 +55,8 @@ const Gfx moneybag_seg6_dl_06005300[] = {
// 0x06005358 - 0x060053B8
const Gfx moneybag_seg6_dl_06005358[] = {
gsSPLight(&moneybag_seg6_lights_060051C8.l, 1),
gsSPLight(&moneybag_seg6_lights_060051C8.a, 2),
gsSPLightColor(LIGHT_1, 0x7f47ff),
gsSPLightColor(LIGHT_2, 0x3f23ff),
gsSPVertex(moneybag_seg6_vertex_06005280, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 0, 3, 0x0),
gsSP2Triangles( 3, 0, 4, 0x0, 3, 5, 1, 0x0),
@@ -92,10 +84,6 @@ const Gfx moneybag_seg6_dl_060053B8[] = {
};
// 0x06005428
static const Lights1 moneybag_seg6_lights_06005428 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06005440
static const Vtx moneybag_seg6_vertex_06005440[] = {
@@ -131,8 +119,8 @@ const Gfx moneybag_seg6_dl_06005590[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, moneybag_seg6_texture_060039B0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
gsSPLight(&moneybag_seg6_lights_06005428.l, 1),
gsSPLight(&moneybag_seg6_lights_06005428.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(moneybag_seg6_vertex_06005440, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 7, 0x0),
@@ -209,28 +197,12 @@ const Gfx moneybag_seg6_dl_06005750[] = {
};
// Unreferenced light group
UNUSED static const Lights1 moneybag_lights_unused1 = gdSPDefLights1(
0x0c, 0x20, 0x06,
0x30, 0x83, 0x1a, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 moneybag_lights_unused2 = gdSPDefLights1(
0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x060057F0
static const Lights1 moneybag_seg6_lights_060057F0 = gdSPDefLights1(
0x3f, 0x3f, 0x00,
0xff, 0xff, 0x00, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 moneybag_lights_unused3 = gdSPDefLights1(
0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x06005820
static const Vtx moneybag_seg6_vertex_06005820[] = {
@@ -265,8 +237,8 @@ static const Vtx moneybag_seg6_vertex_060058D0[] = {
// 0x06005980 - 0x060059F0
const Gfx moneybag_seg6_dl_06005980[] = {
gsDPSetCombineMode(G_CC_SHADEFADEA, G_CC_SHADEFADEA),
gsSPLight(&moneybag_seg6_lights_060057F0.l, 1),
gsSPLight(&moneybag_seg6_lights_060057F0.a, 2),
gsSPLightColor(LIGHT_1, 0xffff00ff),
gsSPLightColor(LIGHT_2, 0x3f3f00ff),
gsSPVertex(moneybag_seg6_vertex_06005820, 11, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
gsSP2Triangles( 5, 6, 7, 0x0, 5, 7, 8, 0x0),
@@ -279,8 +251,8 @@ const Gfx moneybag_seg6_dl_06005980[] = {
// 0x060059F0 - 0x06005A60
const Gfx moneybag_seg6_dl_060059F0[] = {
gsDPSetCombineMode(G_CC_SHADEFADEA, G_CC_SHADEFADEA),
gsSPLight(&moneybag_seg6_lights_060057F0.l, 1),
gsSPLight(&moneybag_seg6_lights_060057F0.a, 2),
gsSPLightColor(LIGHT_1, 0xffff00ff),
gsSPLightColor(LIGHT_2, 0x3f3f00ff),
gsSPVertex(moneybag_seg6_vertex_060058D0, 11, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 2, 0x0),
gsSP2Triangles( 5, 6, 7, 0x0, 8, 5, 7, 0x0),
+18 -78
View File
@@ -1,40 +1,16 @@
// Monty Mole
// Unreferenced light group
UNUSED static const Lights1 monty_mole_lights_unused1 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 monty_mole_lights_unused2 = gdSPDefLights1(
0x30, 0x1f, 0x00,
0xc3, 0x7e, 0x00, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 monty_mole_lights_unused3 = gdSPDefLights1(
0x05, 0x04, 0x05,
0x16, 0x13, 0x14, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 monty_mole_lights_unused4 = gdSPDefLights1(
0x07, 0x08, 0x07,
0x1f, 0x20, 0x1f, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 monty_mole_lights_unused5 = gdSPDefLights1(
0x14, 0x0b, 0x0a,
0x53, 0x2e, 0x28, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 monty_mole_lights_unused6 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05000970
ALIGNED8 static const Texture monty_mole_seg5_texture_05000970[] = {
@@ -62,10 +38,6 @@ ALIGNED8 static const Texture monty_mole_seg5_texture_05002970[] = {
};
// 0x05003170
static const Lights1 monty_mole_seg5_lights_05003170 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05003188
static const Vtx monty_mole_seg5_vertex_05003188[] = {
@@ -84,8 +56,8 @@ const Gfx monty_mole_seg5_dl_05003208[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, monty_mole_seg5_texture_05001170),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&monty_mole_seg5_lights_05003170.l, 1),
gsSPLight(&monty_mole_seg5_lights_05003170.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(monty_mole_seg5_vertex_05003188, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 4, 0x0),
gsSP2Triangles( 2, 1, 3, 0x0, 5, 2, 4, 0x0),
@@ -113,10 +85,6 @@ const Gfx monty_mole_seg5_dl_050032A0[] = {
};
// 0x05003300
static const Lights1 monty_mole_seg5_lights_05003300 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05003318
static const Vtx monty_mole_seg5_vertex_05003318[] = {
@@ -149,8 +117,8 @@ const Gfx monty_mole_seg5_dl_05003438[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, monty_mole_seg5_texture_05002970),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&monty_mole_seg5_lights_05003300.l, 1),
gsSPLight(&monty_mole_seg5_lights_05003300.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(monty_mole_seg5_vertex_05003318, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 6, 5, 7, 0x0),
@@ -193,10 +161,6 @@ const Gfx monty_mole_seg5_dl_05003518[] = {
};
// 0x05003598
static const Lights1 monty_mole_seg5_lights_05003598 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x050035B0
static const Vtx monty_mole_seg5_vertex_050035B0[] = {
@@ -235,8 +199,8 @@ const Gfx monty_mole_seg5_dl_05003730[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, monty_mole_seg5_texture_05002970),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&monty_mole_seg5_lights_05003598.l, 1),
gsSPLight(&monty_mole_seg5_lights_05003598.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(monty_mole_seg5_vertex_050035B0, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 1, 3, 4, 0x0, 1, 4, 5, 0x0),
@@ -280,10 +244,6 @@ const Gfx monty_mole_seg5_dl_05003820[] = {
};
// 0x050038A0
static const Lights1 monty_mole_seg5_lights_050038A0 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x050038B8
static const Vtx monty_mole_seg5_vertex_050038B8[] = {
@@ -302,8 +262,8 @@ const Gfx monty_mole_seg5_dl_05003938[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, monty_mole_seg5_texture_05001170),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&monty_mole_seg5_lights_050038A0.l, 1),
gsSPLight(&monty_mole_seg5_lights_050038A0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(monty_mole_seg5_vertex_050038B8, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 4, 0x0),
gsSP2Triangles( 1, 0, 3, 0x0, 1, 5, 2, 0x0),
@@ -331,10 +291,6 @@ const Gfx monty_mole_seg5_dl_050039D0[] = {
};
// 0x05003A30
static const Lights1 monty_mole_seg5_lights_05003A30 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05003A48
static const Vtx monty_mole_seg5_vertex_05003A48[] = {
@@ -367,8 +323,8 @@ const Gfx monty_mole_seg5_dl_05003B68[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, monty_mole_seg5_texture_05002970),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&monty_mole_seg5_lights_05003A30.l, 1),
gsSPLight(&monty_mole_seg5_lights_05003A30.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(monty_mole_seg5_vertex_05003A48, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 6, 5, 7, 0x0),
@@ -411,10 +367,6 @@ const Gfx monty_mole_seg5_dl_05003C48[] = {
};
// 0x05003CC8
static const Lights1 monty_mole_seg5_lights_05003CC8 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05003CE0
static const Vtx monty_mole_seg5_vertex_05003CE0[] = {
@@ -453,8 +405,8 @@ const Gfx monty_mole_seg5_dl_05003E60[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, monty_mole_seg5_texture_05002970),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&monty_mole_seg5_lights_05003CC8.l, 1),
gsSPLight(&monty_mole_seg5_lights_05003CC8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(monty_mole_seg5_vertex_05003CE0, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 4, 2, 5, 0x0, 2, 3, 5, 0x0),
@@ -498,10 +450,6 @@ const Gfx monty_mole_seg5_dl_05003F50[] = {
};
// 0x05003FD0
static const Lights1 monty_mole_seg5_lights_05003FD0 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05003FE8
static const Vtx monty_mole_seg5_vertex_05003FE8[] = {
@@ -565,8 +513,8 @@ const Gfx monty_mole_seg5_dl_050042B8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, monty_mole_seg5_texture_05000970),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&monty_mole_seg5_lights_05003FD0.l, 1),
gsSPLight(&monty_mole_seg5_lights_05003FD0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(monty_mole_seg5_vertex_05003FE8, 13, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 5, 6, 3, 0x0, 7, 5, 4, 0x0),
@@ -625,10 +573,6 @@ const Gfx monty_mole_seg5_dl_050044B0[] = {
};
// 0x05004518
static const Lights1 monty_mole_seg5_lights_05004518 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05004530
static const Vtx monty_mole_seg5_vertex_05004530[] = {
@@ -735,8 +679,8 @@ const Gfx monty_mole_seg5_dl_050049B0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, monty_mole_seg5_texture_05001970),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&monty_mole_seg5_lights_05004518.l, 1),
gsSPLight(&monty_mole_seg5_lights_05004518.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(monty_mole_seg5_vertex_05004530, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 4, 0x0),
gsSP2Triangles( 0, 3, 5, 0x0, 5, 1, 0, 0x0),
@@ -818,10 +762,6 @@ const Gfx monty_mole_seg5_dl_05004C00[] = {
};
// 0x05004C90
static const Lights1 monty_mole_seg5_lights_05004C90 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05004CA8
static const Vtx monty_mole_seg5_vertex_05004CA8[] = {
@@ -836,8 +776,8 @@ const Gfx monty_mole_seg5_dl_05004CE8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, monty_mole_seg5_texture_05002170),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&monty_mole_seg5_lights_05004C90.l, 1),
gsSPLight(&monty_mole_seg5_lights_05004C90.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(monty_mole_seg5_vertex_05004CA8, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
+38 -110
View File
@@ -1,16 +1,8 @@
// Peach
// 0x050009F8
static const Lights1 peach_seg5_lights_050009F8 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05000A10
static const Lights1 peach_seg5_lights_05000A10 = gdSPDefLights1(
0x7f, 0x5f, 0x0c,
0xff, 0xbf, 0x18, 0x28, 0x28, 0x28
);
// 0x05000A28
ALIGNED8 static const Texture peach_seg5_texture_05000A28[] = {
@@ -361,8 +353,8 @@ const Gfx peach_seg5_dl_05005648[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, peach_seg5_texture_05002A28),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 16 - 1, CALC_DXT(16, G_IM_SIZ_16b_BYTES)),
gsSPLight(&peach_seg5_lights_050009F8.l, 1),
gsSPLight(&peach_seg5_lights_050009F8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(peach_seg5_vertex_05004828, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 0, 0x0),
gsSP2Triangles( 4, 1, 5, 0x0, 5, 1, 6, 0x0),
@@ -429,8 +421,8 @@ const Gfx peach_seg5_dl_050058B8[] = {
// 0x050058E0 - 0x05005C48
const Gfx peach_seg5_dl_050058E0[] = {
gsSPLight(&peach_seg5_lights_05000A10.l, 1),
gsSPLight(&peach_seg5_lights_05000A10.a, 2),
gsSPLightColor(LIGHT_1, 0xffbf18ff),
gsSPLightColor(LIGHT_2, 0x7f5f0cff),
gsSPVertex(peach_seg5_vertex_05004E88, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 4, 0x0),
gsSP2Triangles( 3, 5, 0, 0x0, 6, 4, 0, 0x0),
@@ -641,10 +633,6 @@ const Gfx peach_seg5_dl_05005F48[] = {
};
// 0x05005FA0
static const Lights1 peach_seg5_lights_05005FA0 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05005FB8
static const Vtx peach_seg5_vertex_05005FB8[] = {
@@ -665,8 +653,8 @@ const Gfx peach_seg5_dl_05006058[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, peach_seg5_texture_05000A28),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&peach_seg5_lights_05005FA0.l, 1),
gsSPLight(&peach_seg5_lights_05005FA0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(peach_seg5_vertex_05005FB8, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 1, 4, 3, 0x0, 4, 5, 3, 0x0),
@@ -692,16 +680,8 @@ const Gfx peach_seg5_dl_050060E0[] = {
};
// 0x05006138
static const Lights1 peach_seg5_lights_05006138 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05006150
static const Lights1 peach_seg5_lights_05006150 = gdSPDefLights1(
0x6c, 0x54, 0x5f,
0xd9, 0xa9, 0xbe, 0x28, 0x28, 0x28
);
// 0x05006168
static const Vtx peach_seg5_vertex_05006168[] = {
@@ -832,8 +812,8 @@ const Gfx peach_seg5_dl_05006728[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, peach_seg5_texture_05002C28),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 16 - 1, CALC_DXT(16, G_IM_SIZ_16b_BYTES)),
gsSPLight(&peach_seg5_lights_05006138.l, 1),
gsSPLight(&peach_seg5_lights_05006138.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(peach_seg5_vertex_05006168, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 4, 0x0),
gsSP2Triangles( 4, 1, 5, 0x0, 6, 1, 3, 0x0),
@@ -847,13 +827,13 @@ const Gfx peach_seg5_dl_05006798[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, peach_seg5_texture_05004028),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&peach_seg5_lights_05006150.l, 1),
gsSPLight(&peach_seg5_lights_05006150.a, 2),
gsSPLightColor(LIGHT_1, 0xd9a9beff),
gsSPLightColor(LIGHT_2, 0x6c545fff),
gsSPVertex(peach_seg5_vertex_050061E8, 5, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 0, 0x0),
gsSP1Triangle( 3, 0, 2, 0x0),
gsSPLight(&peach_seg5_lights_05006138.l, 1),
gsSPLight(&peach_seg5_lights_05006138.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(peach_seg5_vertex_05006238, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 0, 0x0, 0, 6, 7, 0x0),
@@ -916,10 +896,6 @@ const Gfx peach_seg5_dl_05006A18[] = {
};
// 0x05006A90
static const Lights1 peach_seg5_lights_05006A90 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05006AA8
static const Vtx peach_seg5_vertex_05006AA8[] = {
@@ -1026,8 +1002,8 @@ const Gfx peach_seg5_dl_05006FA8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, peach_seg5_texture_05004028),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&peach_seg5_lights_05006A90.l, 1),
gsSPLight(&peach_seg5_lights_05006A90.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(peach_seg5_vertex_05006AA8, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 3, 7, 0x0, 3, 8, 9, 0x0),
@@ -1104,10 +1080,6 @@ const Gfx peach_seg5_us_dl_05007288[] = {
};
// 0x05007288
static const Lights1 peach_seg5_lights_05007288 = gdSPDefLights1(
0x7f, 0x5f, 0x0c,
0xff, 0xbf, 0x18, 0x28, 0x28, 0x28
);
// 0x050072A0
static const Vtx peach_seg5_vertex_050072A0[] = {
@@ -1222,8 +1194,8 @@ static const Vtx peach_seg5_vertex_05007780[] = {
// 0x05007810 - 0x05007AB8
const Gfx peach_seg5_dl_05007810[] = {
gsSPLight(&peach_seg5_lights_05007288.l, 1),
gsSPLight(&peach_seg5_lights_05007288.a, 2),
gsSPLightColor(LIGHT_1, 0xffbf18ff),
gsSPLightColor(LIGHT_2, 0x7f5f0cff),
gsSPVertex(peach_seg5_vertex_050072A0, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 2, 4, 0x0),
gsSP2Triangles( 2, 1, 4, 0x0, 2, 3, 0, 0x0),
@@ -1282,10 +1254,6 @@ const Gfx peach_seg5_dl_05007AB8[] = {
};
// 0x05007AE0
static const Lights1 peach_seg5_lights_05007AE0 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05007AF8
static const Vtx peach_seg5_vertex_05007AF8[] = {
@@ -1331,8 +1299,8 @@ const Gfx peach_seg5_dl_05007CE8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, peach_seg5_texture_05004028),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&peach_seg5_lights_05007AE0.l, 1),
gsSPLight(&peach_seg5_lights_05007AE0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(peach_seg5_vertex_05007AF8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 0, 0x0),
gsSP2Triangles( 5, 3, 0, 0x0, 4, 6, 0, 0x0),
@@ -1373,10 +1341,6 @@ const Gfx peach_seg5_dl_05007E58[] = {
};
// 0x05007EB0
static const Lights1 peach_seg5_lights_05007EB0 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05007EC8
static const Vtx peach_seg5_vertex_05007EC8[] = {
@@ -1422,8 +1386,8 @@ const Gfx peach_seg5_dl_050080B8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, peach_seg5_texture_05004028),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&peach_seg5_lights_05007EB0.l, 1),
gsSPLight(&peach_seg5_lights_05007EB0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(peach_seg5_vertex_05007EC8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
gsSP2Triangles( 2, 1, 4, 0x0, 4, 3, 2, 0x0),
@@ -1465,10 +1429,6 @@ const Gfx peach_seg5_dl_05008228[] = {
};
// 0x05008280
static const Lights1 peach_seg5_lights_05008280 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05008298
static const Vtx peach_seg5_vertex_05008298[] = {
@@ -1508,8 +1468,8 @@ const Gfx peach_seg5_dl_05008428[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, peach_seg5_texture_05000A28),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&peach_seg5_lights_05008280.l, 1),
gsSPLight(&peach_seg5_lights_05008280.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(peach_seg5_vertex_05008298, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 3, 0, 0x0, 1, 5, 6, 0x0),
@@ -1554,10 +1514,6 @@ const Gfx peach_seg5_dl_05008560[] = {
};
// 0x050085D0
static const Lights1 peach_seg5_lights_050085D0 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x050085E8
static const Vtx peach_seg5_vertex_050085E8[] = {
@@ -1579,8 +1535,8 @@ static const Vtx peach_seg5_vertex_050085E8[] = {
// 0x050086C8 - 0x050087A8
const Gfx peach_seg5_dl_050086C8[] = {
gsSPLight(&peach_seg5_lights_050085D0.l, 1),
gsSPLight(&peach_seg5_lights_050085D0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(peach_seg5_vertex_050085E8, 14, 0),
gsSP1Triangle( 0, 1, 2, 0x0),
gsSP2Triangles( 3, 4, 2, 0x0, 2, 5, 3, 0x0),
@@ -1608,10 +1564,6 @@ const Gfx peach_seg5_dl_050087A8[] = {
};
// 0x050087D0
static const Lights1 peach_seg5_lights_050087D0 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x050087E8
static const Vtx peach_seg5_vertex_050087E8[] = {
@@ -1651,8 +1603,8 @@ const Gfx peach_seg5_dl_05008978[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, peach_seg5_texture_05000A28),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&peach_seg5_lights_050087D0.l, 1),
gsSPLight(&peach_seg5_lights_050087D0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(peach_seg5_vertex_050087E8, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 0, 3, 0x0),
gsSP2Triangles( 2, 4, 0, 0x0, 0, 5, 3, 0x0),
@@ -1697,10 +1649,6 @@ const Gfx peach_seg5_dl_05008AB0[] = {
};
// 0x05008B20
static const Lights1 peach_seg5_lights_05008B20 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05008B38
static const Vtx peach_seg5_vertex_05008B38[] = {
@@ -1722,8 +1670,8 @@ static const Vtx peach_seg5_vertex_05008B38[] = {
// 0x05008C18 - 0x05008CF8
const Gfx peach_seg5_dl_05008C18[] = {
gsSPLight(&peach_seg5_lights_05008B20.l, 1),
gsSPLight(&peach_seg5_lights_05008B20.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(peach_seg5_vertex_05008B38, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 4, 0x0),
gsSP2Triangles( 2, 5, 0, 0x0, 5, 2, 6, 0x0),
@@ -1750,10 +1698,6 @@ const Gfx peach_seg5_dl_05008CF8[] = {
};
// 0x05008D20
static const Lights1 peach_seg5_lights_05008D20 = gdSPDefLights1(
0x0b, 0x1a, 0x67,
0x16, 0x35, 0xce, 0x28, 0x28, 0x28
);
// 0x05008D38
static const Vtx peach_seg5_vertex_05008D38[] = {
@@ -1777,8 +1721,8 @@ static const Vtx peach_seg5_vertex_05008D38[] = {
// 0x05008E38 - 0x05008F20
const Gfx peach_seg5_dl_05008E38[] = {
gsSPLight(&peach_seg5_lights_05008D20.l, 1),
gsSPLight(&peach_seg5_lights_05008D20.a, 2),
gsSPLightColor(LIGHT_1, 0x1635ceff),
gsSPLightColor(LIGHT_2, 0xb1a67ff),
gsSPVertex(peach_seg5_vertex_05008D38, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 0, 0x0),
gsSP2Triangles( 3, 4, 5, 0x0, 3, 0, 4, 0x0),
@@ -1806,10 +1750,6 @@ const Gfx peach_seg5_dl_05008F20[] = {
};
// 0x05008F48
static const Lights1 peach_seg5_lights_05008F48 = gdSPDefLights1(
0x0b, 0x1a, 0x67,
0x16, 0x35, 0xce, 0x28, 0x28, 0x28
);
// 0x05008F60
static const Vtx peach_seg5_vertex_05008F60[] = {
@@ -1833,8 +1773,8 @@ static const Vtx peach_seg5_vertex_05008F60[] = {
// 0x05009060 - 0x05009148
const Gfx peach_seg5_dl_05009060[] = {
gsSPLight(&peach_seg5_lights_05008F48.l, 1),
gsSPLight(&peach_seg5_lights_05008F48.a, 2),
gsSPLightColor(LIGHT_1, 0x1635ceff),
gsSPLightColor(LIGHT_2, 0xb1a67ff),
gsSPVertex(peach_seg5_vertex_05008F60, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 5, 4, 6, 0x0, 7, 3, 5, 0x0),
@@ -1862,10 +1802,6 @@ const Gfx peach_seg5_dl_05009148[] = {
};
// 0x05009170
static const Lights1 peach_seg5_lights_05009170 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05009188
static const Vtx peach_seg5_vertex_05009188[] = {
@@ -1909,8 +1845,8 @@ static const Vtx peach_seg5_vertex_05009288[] = {
// 0x05009388 - 0x05009500
const Gfx peach_seg5_dl_05009388[] = {
gsSPLight(&peach_seg5_lights_05009170.l, 1),
gsSPLight(&peach_seg5_lights_05009170.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(peach_seg5_vertex_05009188, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
gsSP2Triangles( 4, 5, 0, 0x0, 0, 5, 6, 0x0),
@@ -1948,10 +1884,6 @@ const Gfx peach_seg5_dl_05009500[] = {
};
// 0x05009528
static const Lights1 peach_seg5_lights_05009528 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05009540
static const Vtx peach_seg5_vertex_05009540[] = {
@@ -2007,8 +1939,8 @@ static const Vtx peach_seg5_vertex_05009740[] = {
// 0x050097C0 - 0x05009940
const Gfx peach_seg5_dl_050097C0[] = {
gsSPLight(&peach_seg5_lights_05009528.l, 1),
gsSPLight(&peach_seg5_lights_05009528.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(peach_seg5_vertex_05009540, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 2, 4, 0x0),
gsSP2Triangles( 5, 0, 2, 0x0, 2, 3, 5, 0x0),
@@ -2047,10 +1979,6 @@ const Gfx peach_seg5_dl_05009940[] = {
};
// 0x05009968
static const Lights1 peach_seg5_lights_05009968 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05009980
static const Vtx peach_seg5_vertex_05009980[] = {
@@ -2151,8 +2079,8 @@ const Gfx peach_seg5_dl_05009E20[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, peach_seg5_texture_05004028),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&peach_seg5_lights_05009968.l, 1),
gsSPLight(&peach_seg5_lights_05009968.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(peach_seg5_vertex_05009980, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
gsSP2Triangles( 4, 2, 1, 0x0, 5, 2, 4, 0x0),
+26 -54
View File
@@ -1,28 +1,12 @@
// Penguin
// 0x05002D80
static const Lights1 penguin_seg5_lights_05002D80 = gdSPDefLights1(
0x06, 0x06, 0x39,
0x0f, 0x0f, 0x90, 0x28, 0x28, 0x28
);
// 0x05002D98
static const Lights1 penguin_seg5_lights_05002D98 = gdSPDefLights1(
0x52, 0x34, 0x0a,
0xce, 0x84, 0x1a, 0x28, 0x28, 0x28
);
// 0x05002DB0
static const Lights1 penguin_seg5_lights_05002DB0 = gdSPDefLights1(
0x59, 0x42, 0x14,
0xdf, 0xa7, 0x34, 0x28, 0x28, 0x28
);
// 0x05002DC8
static const Lights1 penguin_seg5_lights_05002DC8 = gdSPDefLights1(
0x66, 0x66, 0x65,
0xff, 0xff, 0xfd, 0x28, 0x28, 0x28
);
// 0x05002DE0
ALIGNED8 static const Texture penguin_seg5_texture_eye_open[] = {
@@ -55,22 +39,10 @@ ALIGNED8 static const Texture penguin_seg5_texture_beak[] = {
};
// 0x05005DE0
static const Lights1 penguin_seg5_lights_head = gdSPDefLights1(
0x04, 0x0f, 0x41,
0x0b, 0x26, 0xa4, 0x28, 0x28, 0x28
);
// 0x05005DF8
static const Lights1 penguin_seg5_lights_beak_top = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05005E10
static const Lights1 penguin_seg5_lights_beak_bottom = gdSPDefLights1(
0x60, 0x55, 0x0b,
0xf2, 0xd5, 0x1c, 0x28, 0x28, 0x28
);
// 0x05005E28
static const Vtx penguin_seg5_vertex_eyes[] = {
@@ -152,8 +124,8 @@ static const Vtx penguin_seg5_vertex_beak_bottom[] = {
// 0x05006188 - 0x050061C8
const Gfx penguin_seg5_sub_dl_eyes_model[] = {
gsSPLight(&penguin_seg5_lights_head.l, 1),
gsSPLight(&penguin_seg5_lights_head.a, 2),
gsSPLightColor(LIGHT_1, 0xb26a4ff),
gsSPLightColor(LIGHT_2, 0x40f41ff),
gsSPVertex(penguin_seg5_vertex_eyes, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 0, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 6, 5, 0x0),
@@ -162,8 +134,8 @@ const Gfx penguin_seg5_sub_dl_eyes_model[] = {
// 0x050061C8 - 0x050061F8
const Gfx penguin_seg5_sub_dl_beak_model[] = {
gsSPLight(&penguin_seg5_lights_beak_top.l, 1),
gsSPLight(&penguin_seg5_lights_beak_top.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(penguin_seg5_vertex_beak_top, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
gsSPEndDisplayList(),
@@ -171,8 +143,8 @@ const Gfx penguin_seg5_sub_dl_beak_model[] = {
// 0x050061F8 - 0x05006380
const Gfx penguin_seg5_sub_dl_head_model[] = {
gsSPLight(&penguin_seg5_lights_head.l, 1),
gsSPLight(&penguin_seg5_lights_head.a, 2),
gsSPLightColor(LIGHT_1, 0xb26a4ff),
gsSPLightColor(LIGHT_2, 0x40f41ff),
gsSPVertex(penguin_seg5_vertex_05005EE8, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 4, 1, 5, 0x0, 1, 4, 6, 0x0),
@@ -196,8 +168,8 @@ const Gfx penguin_seg5_sub_dl_head_model[] = {
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 4, 0, 2, 0x0, 5, 2, 3, 0x0),
gsSP2Triangles( 2, 5, 4, 0x0, 4, 5, 6, 0x0),
gsSPLight(&penguin_seg5_lights_beak_bottom.l, 1),
gsSPLight(&penguin_seg5_lights_beak_bottom.a, 2),
gsSPLightColor(LIGHT_1, 0xf2d51cff),
gsSPLightColor(LIGHT_2, 0x60550bff),
gsSPVertex(penguin_seg5_vertex_beak_bottom, 3, 0),
gsSP1Triangle( 0, 1, 2, 0x0),
gsSPEndDisplayList(),
@@ -549,8 +521,8 @@ static const Vtx penguin_seg5_vertex_050070A8[] = {
// 0x05007198 - 0x050071E8
const Gfx penguin_seg5_dl_05007198[] = {
gsSPLight(&penguin_seg5_lights_05002D80.l, 1),
gsSPLight(&penguin_seg5_lights_05002D80.a, 2),
gsSPLightColor(LIGHT_1, 0xf0f90ff),
gsSPLightColor(LIGHT_2, 0x60639ff),
gsSPVertex(penguin_seg5_vertex_05006518, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 5, 6, 3, 0x0, 3, 6, 7, 0x0),
@@ -560,8 +532,8 @@ const Gfx penguin_seg5_dl_05007198[] = {
// 0x050071E8 - 0x05007238
const Gfx penguin_seg5_dl_050071E8[] = {
gsSPLight(&penguin_seg5_lights_05002D80.l, 1),
gsSPLight(&penguin_seg5_lights_05002D80.a, 2),
gsSPLightColor(LIGHT_1, 0xf0f90ff),
gsSPLightColor(LIGHT_2, 0x60639ff),
gsSPVertex(penguin_seg5_vertex_050065B8, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 2, 4, 0x0),
gsSP2Triangles( 5, 6, 7, 0x0, 7, 6, 8, 0x0),
@@ -571,8 +543,8 @@ const Gfx penguin_seg5_dl_050071E8[] = {
// 0x05007238 - 0x050072C8
const Gfx penguin_seg5_dl_05007238[] = {
gsSPLight(&penguin_seg5_lights_05002D98.l, 1),
gsSPLight(&penguin_seg5_lights_05002D98.a, 2),
gsSPLightColor(LIGHT_1, 0xce841aff),
gsSPLightColor(LIGHT_2, 0x52340aff),
gsSPVertex(penguin_seg5_vertex_05006658, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 6, 7, 2, 0x0),
@@ -586,8 +558,8 @@ const Gfx penguin_seg5_dl_05007238[] = {
// 0x050072C8 - 0x05007358
const Gfx penguin_seg5_dl_050072C8[] = {
gsSPLight(&penguin_seg5_lights_05002D98.l, 1),
gsSPLight(&penguin_seg5_lights_05002D98.a, 2),
gsSPLightColor(LIGHT_1, 0xce841aff),
gsSPLightColor(LIGHT_2, 0x52340aff),
gsSPVertex(penguin_seg5_vertex_05006748, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 5, 4, 6, 0x0, 7, 8, 9, 0x0),
@@ -601,13 +573,13 @@ const Gfx penguin_seg5_dl_050072C8[] = {
// 0x05007358 - 0x05007540
const Gfx penguin_seg5_dl_05007358[] = {
gsSPLight(&penguin_seg5_lights_05002DB0.l, 1),
gsSPLight(&penguin_seg5_lights_05002DB0.a, 2),
gsSPLightColor(LIGHT_1, 0xdfa734ff),
gsSPLightColor(LIGHT_2, 0x594214ff),
gsSPVertex(penguin_seg5_vertex_05006838, 5, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
gsSP1Triangle( 1, 4, 3, 0x0),
gsSPLight(&penguin_seg5_lights_05002D80.l, 1),
gsSPLight(&penguin_seg5_lights_05002D80.a, 2),
gsSPLightColor(LIGHT_1, 0xf0f90ff),
gsSPLightColor(LIGHT_2, 0x60639ff),
gsSPVertex(penguin_seg5_vertex_05006888, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 6, 9, 0, 0x0),
@@ -635,8 +607,8 @@ const Gfx penguin_seg5_dl_05007358[] = {
gsSPVertex(penguin_seg5_vertex_05006D68, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 1, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 6, 7, 4, 0x0),
gsSPLight(&penguin_seg5_lights_05002D80.l, 1),
gsSPLight(&penguin_seg5_lights_05002D80.a, 2),
gsSPLightColor(LIGHT_1, 0xf0f90ff),
gsSPLightColor(LIGHT_2, 0x60639ff),
gsSPVertex(penguin_seg5_vertex_05006DE8, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
gsSPEndDisplayList(),
@@ -644,8 +616,8 @@ const Gfx penguin_seg5_dl_05007358[] = {
// 0x05007540 - 0x05007708
const Gfx penguin_seg5_dl_05007540[] = {
gsSPLight(&penguin_seg5_lights_05002D80.l, 1),
gsSPLight(&penguin_seg5_lights_05002D80.a, 2),
gsSPLightColor(LIGHT_1, 0xf0f90ff),
gsSPLightColor(LIGHT_2, 0x60639ff),
gsSPVertex(penguin_seg5_vertex_05006E28, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 2, 9, 6, 0x0),
@@ -664,8 +636,8 @@ const Gfx penguin_seg5_dl_05007540[] = {
gsSPVertex(penguin_seg5_vertex_05007018, 9, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 0, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 2, 8, 0x0),
gsSPLight(&penguin_seg5_lights_05002DC8.l, 1),
gsSPLight(&penguin_seg5_lights_05002DC8.a, 2),
gsSPLightColor(LIGHT_1, 0xfffffdff),
gsSPLightColor(LIGHT_2, 0x666665ff),
gsSPVertex(penguin_seg5_vertex_050070A8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 4, 0x0),
gsSP2Triangles( 5, 2, 6, 0x0, 7, 8, 9, 0x0),
+28 -40
View File
@@ -1,22 +1,10 @@
// Piranha Plant
// 0x060113B0
static const Lights1 piranha_plant_seg6_lights_060113B0 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x060113C8
static const Lights1 piranha_plant_seg6_lights_060113C8 = gdSPDefLights1(
0x0a, 0x2b, 0x02,
0x2b, 0xae, 0x0a, 0x28, 0x28, 0x28
);
// 0x060113E0
static const Lights1 piranha_plant_seg6_lights_060113E0 = gdSPDefLights1(
0x3f, 0x00, 0x00,
0xff, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x060113F8
ALIGNED8 static const Texture piranha_plant_seg6_texture_060113F8[] = {
@@ -61,8 +49,8 @@ const Gfx piranha_plant_seg6_dl_06015438[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, piranha_plant_seg6_texture_060143F8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&piranha_plant_seg6_lights_060113B0.l, 1),
gsSPLight(&piranha_plant_seg6_lights_060113B0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(piranha_plant_seg6_vertex_060153F8, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSPEndDisplayList(),
@@ -99,8 +87,8 @@ const Gfx piranha_plant_seg6_dl_06015530[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, piranha_plant_seg6_texture_060143F8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&piranha_plant_seg6_lights_060113B0.l, 1),
gsSPLight(&piranha_plant_seg6_lights_060113B0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(piranha_plant_seg6_vertex_060154F0, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
@@ -164,8 +152,8 @@ const Gfx piranha_plant_seg6_dl_06015798[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, piranha_plant_seg6_texture_06012BF8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&piranha_plant_seg6_lights_060113B0.l, 1),
gsSPLight(&piranha_plant_seg6_lights_060113B0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(piranha_plant_seg6_vertex_060155E8, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 0, 0x0),
gsSP2Triangles( 3, 4, 1, 0x0, 5, 6, 7, 0x0),
@@ -317,8 +305,8 @@ const Gfx piranha_plant_seg6_dl_06015E40[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, piranha_plant_seg6_texture_06013BF8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&piranha_plant_seg6_lights_060113B0.l, 1),
gsSPLight(&piranha_plant_seg6_lights_060113B0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(piranha_plant_seg6_vertex_060158B0, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 5, 7, 6, 0x0),
@@ -331,8 +319,8 @@ const Gfx piranha_plant_seg6_dl_06015EA8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, piranha_plant_seg6_texture_060133F8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&piranha_plant_seg6_lights_060113C8.l, 1),
gsSPLight(&piranha_plant_seg6_lights_060113C8.a, 2),
gsSPLightColor(LIGHT_1, 0x2bae0aff),
gsSPLightColor(LIGHT_2, 0xa2b02ff),
gsSPVertex(piranha_plant_seg6_vertex_06015990, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 3, 0x0, 3, 5, 8, 0x0),
@@ -352,8 +340,8 @@ const Gfx piranha_plant_seg6_dl_06015F68[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, piranha_plant_seg6_texture_060123F8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&piranha_plant_seg6_lights_060113B0.l, 1),
gsSPLight(&piranha_plant_seg6_lights_060113B0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(piranha_plant_seg6_vertex_06015B40, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 7, 0x0, 3, 7, 8, 0x0),
@@ -373,8 +361,8 @@ const Gfx piranha_plant_seg6_dl_06015F68[] = {
// 0x06016060 - 0x060160B0
const Gfx piranha_plant_seg6_dl_06016060[] = {
gsSPLight(&piranha_plant_seg6_lights_060113E0.l, 1),
gsSPLight(&piranha_plant_seg6_lights_060113E0.a, 2),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x3f0000ff),
gsSPVertex(piranha_plant_seg6_vertex_06015DC0, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
gsSP2Triangles( 0, 5, 3, 0x0, 0, 4, 1, 0x0),
@@ -547,8 +535,8 @@ const Gfx piranha_plant_seg6_dl_06016750[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, piranha_plant_seg6_texture_06013BF8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&piranha_plant_seg6_lights_060113B0.l, 1),
gsSPLight(&piranha_plant_seg6_lights_060113B0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(piranha_plant_seg6_vertex_06016190, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 6, 9, 7, 0x0),
@@ -561,8 +549,8 @@ const Gfx piranha_plant_seg6_dl_060167B8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, piranha_plant_seg6_texture_060133F8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&piranha_plant_seg6_lights_060113C8.l, 1),
gsSPLight(&piranha_plant_seg6_lights_060113C8.a, 2),
gsSPLightColor(LIGHT_1, 0x2bae0aff),
gsSPLightColor(LIGHT_2, 0xa2b02ff),
gsSPVertex(piranha_plant_seg6_vertex_06016270, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 5, 6, 3, 0x0, 7, 6, 5, 0x0),
@@ -584,8 +572,8 @@ const Gfx piranha_plant_seg6_dl_06016890[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, piranha_plant_seg6_texture_060123F8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&piranha_plant_seg6_lights_060113B0.l, 1),
gsSPLight(&piranha_plant_seg6_lights_060113B0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(piranha_plant_seg6_vertex_06016490, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 0, 4, 5, 0x0, 0, 3, 4, 0x0),
@@ -613,8 +601,8 @@ const Gfx piranha_plant_seg6_dl_06016960[] = {
// 0x060169A8 - 0x060169E8
const Gfx piranha_plant_seg6_dl_060169A8[] = {
gsSPLight(&piranha_plant_seg6_lights_060113C8.l, 1),
gsSPLight(&piranha_plant_seg6_lights_060113C8.a, 2),
gsSPLightColor(LIGHT_1, 0x2bae0aff),
gsSPLightColor(LIGHT_2, 0xa2b02ff),
gsSPVertex(piranha_plant_seg6_vertex_060166E0, 7, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 1, 3, 0x0),
gsSP2Triangles( 3, 4, 5, 0x0, 5, 4, 6, 0x0),
@@ -682,8 +670,8 @@ const Gfx piranha_plant_seg6_dl_06016BA8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, piranha_plant_seg6_texture_06012BF8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&piranha_plant_seg6_lights_060113B0.l, 1),
gsSPLight(&piranha_plant_seg6_lights_060113B0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(piranha_plant_seg6_vertex_06016AE8, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -728,8 +716,8 @@ const Gfx piranha_plant_seg6_dl_06016D30[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, piranha_plant_seg6_texture_06012BF8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&piranha_plant_seg6_lights_060113B0.l, 1),
gsSPLight(&piranha_plant_seg6_lights_060113B0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(piranha_plant_seg6_vertex_06016C70, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -774,8 +762,8 @@ const Gfx piranha_plant_seg6_dl_06016EB8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, piranha_plant_seg6_texture_06012BF8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&piranha_plant_seg6_lights_060113B0.l, 1),
gsSPLight(&piranha_plant_seg6_lights_060113B0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(piranha_plant_seg6_vertex_06016DF8, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
+2 -6
View File
@@ -1,10 +1,6 @@
// Poundable Pole
// 0x06001038
static const Lights1 poundable_pole_seg6_lights_06001038 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06001050
ALIGNED8 static const Texture poundable_pole_seg6_texture_06001050[] = {
@@ -79,8 +75,8 @@ const Gfx poundable_pole_seg6_dl_060022F0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, poundable_pole_seg6_texture_06001050),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&poundable_pole_seg6_lights_06001038.l, 1),
gsSPLight(&poundable_pole_seg6_lights_06001038.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(poundable_pole_seg6_vertex_06002050, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
gsSP2Triangles( 0, 2, 3, 0x0, 2, 1, 5, 0x0),
+2 -6
View File
@@ -1,10 +1,6 @@
// Purple Switch
// 0x0800C090
static const Lights1 purple_switch_seg8_lights_0800C090 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0800C0A8
ALIGNED8 static const Texture purple_switch_seg8_texture_0800C0A8[] = {
@@ -49,8 +45,8 @@ const Gfx purple_switch_seg8_dl_0800C668[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, purple_switch_seg8_texture_0800C0A8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 4 - 1, CALC_DXT(16, G_IM_SIZ_16b_BYTES)),
gsSPLight(&purple_switch_seg8_lights_0800C090.l, 1),
gsSPLight(&purple_switch_seg8_lights_0800C090.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(purple_switch_seg8_vertex_0800C528, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
+4 -20
View File
@@ -1,16 +1,8 @@
// Scuttlebug
// Unreferenced light group
UNUSED static const Lights1 scuttlebug_lights_unused1 = gdSPDefLights1(
0x2c, 0x00, 0x00,
0xb2, 0x00, 0x00, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 scuttlebug_lights_unused2 = gdSPDefLights1(
0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x06010108
ALIGNED8 static const Texture scuttlebug_seg6_texture_06010108[] = {
@@ -237,10 +229,6 @@ const Gfx scuttlebug_seg6_dl_06013DA0[] = {
};
// 0x06013E10
static const Lights1 scuttlebug_seg6_lights_06013E10 = gdSPDefLights1(
0x33, 0x22, 0x01,
0xcf, 0x89, 0x06, 0x28, 0x28, 0x28
);
// 0x06013E28
static const Vtx scuttlebug_seg6_vertex_06013E28[] = {
@@ -278,8 +266,8 @@ static const Vtx scuttlebug_seg6_vertex_06013F28[] = {
// 0x06013FC8 - 0x060140F0
const Gfx scuttlebug_seg6_dl_06013FC8[] = {
gsSPLight(&scuttlebug_seg6_lights_06013E10.l, 1),
gsSPLight(&scuttlebug_seg6_lights_06013E10.a, 2),
gsSPLightColor(LIGHT_1, 0xcf8906ff),
gsSPLightColor(LIGHT_2, 0x332201ff),
gsSPVertex(scuttlebug_seg6_vertex_06013E28, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 5, 6, 7, 0x0, 5, 4, 6, 0x0),
@@ -382,10 +370,6 @@ const Gfx scuttlebug_seg6_dl_06014270[] = {
};
// 0x060142E0
static const Lights1 scuttlebug_seg6_lights_060142E0 = gdSPDefLights1(
0x26, 0x05, 0x05,
0x99, 0x16, 0x16, 0x28, 0x28, 0x28
);
// 0x060142F8
static const Vtx scuttlebug_seg6_vertex_060142F8[] = {
@@ -397,8 +381,8 @@ static const Vtx scuttlebug_seg6_vertex_060142F8[] = {
// 0x06014338 - 0x06014378
const Gfx scuttlebug_seg6_dl_06014338[] = {
gsSPLight(&scuttlebug_seg6_lights_060142E0.l, 1),
gsSPLight(&scuttlebug_seg6_lights_060142E0.a, 2),
gsSPLightColor(LIGHT_1, 0x991616ff),
gsSPLightColor(LIGHT_2, 0x260505ff),
gsSPVertex(scuttlebug_seg6_vertex_060142F8, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 2, 1, 0x0),
gsSP2Triangles( 2, 3, 0, 0x0, 1, 0, 3, 0x0),
+8 -12
View File
@@ -1,10 +1,6 @@
// Seaweed
// 0x06007DF8
static const Lights1 seaweed_seg6_lights_06007DF8 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06007E10
ALIGNED8 static const Texture seaweed_seg6_texture_06007E10[] = {
@@ -39,8 +35,8 @@ const Gfx seaweed_seg6_dl_06009E50[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, seaweed_seg6_texture_06007E10),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&seaweed_seg6_lights_06007DF8.l, 1),
gsSPLight(&seaweed_seg6_lights_06007DF8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(seaweed_seg6_vertex_06009E10, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSPEndDisplayList(),
@@ -77,8 +73,8 @@ const Gfx seaweed_seg6_dl_06009F48[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, seaweed_seg6_texture_06008610),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&seaweed_seg6_lights_06007DF8.l, 1),
gsSPLight(&seaweed_seg6_lights_06007DF8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(seaweed_seg6_vertex_06009F08, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPEndDisplayList(),
@@ -115,8 +111,8 @@ const Gfx seaweed_seg6_dl_0600A040[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, seaweed_seg6_texture_06008E10),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&seaweed_seg6_lights_06007DF8.l, 1),
gsSPLight(&seaweed_seg6_lights_06007DF8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(seaweed_seg6_vertex_0600A000, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSPEndDisplayList(),
@@ -153,8 +149,8 @@ const Gfx seaweed_seg6_dl_0600A138[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, seaweed_seg6_texture_06009610),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&seaweed_seg6_lights_06007DF8.l, 1),
gsSPLight(&seaweed_seg6_lights_06007DF8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(seaweed_seg6_vertex_0600A0F8, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSPEndDisplayList(),
+2 -30
View File
@@ -1,40 +1,16 @@
// Skeeter
// Unreferenced light group
UNUSED static const Lights1 skeeter_lights_unused1 = gdSPDefLights1(
0x3f, 0x20, 0x02,
0xfc, 0x80, 0x08, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 skeeter_lights_unused2 = gdSPDefLights1(
0x05, 0x05, 0x02,
0x15, 0x15, 0x08, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 skeeter_lights_unused3 = gdSPDefLights1(
0x03, 0x10, 0x29,
0x0e, 0x40, 0xa4, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 skeeter_lights_unused4 = gdSPDefLights1(
0x3b, 0x3a, 0x36,
0xef, 0xea, 0xd9, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 skeeter_lights_unused5 = gdSPDefLights1(
0x33, 0x0c, 0x00,
0xcf, 0x32, 0x00, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 skeeter_lights_unused6 = gdSPDefLights1(
0x10, 0x29, 0x20,
0x42, 0xa5, 0x81, 0x28, 0x28, 0x28
);
// 0x06000090
ALIGNED8 static const Texture skeeter_seg6_texture_06000090[] = {
@@ -225,10 +201,6 @@ const Gfx skeeter_seg6_dl_06000D78[] = {
};
// 0x06000DE8
static const Lights1 skeeter_seg6_lights_06000DE8 = gdSPDefLights1(
0x7f, 0x55, 0x00,
0xff, 0xaa, 0x00, 0x28, 0x28, 0x28
);
// 0x06000E00
static const Vtx skeeter_seg6_vertex_06000E00[] = {
@@ -242,8 +214,8 @@ static const Vtx skeeter_seg6_vertex_06000E00[] = {
// 0x06000E60 - 0x06000EC0
const Gfx skeeter_seg6_dl_06000E60[] = {
gsSPLight(&skeeter_seg6_lights_06000DE8.l, 1),
gsSPLight(&skeeter_seg6_lights_06000DE8.a, 2),
gsSPLightColor(LIGHT_1, 0xffaa00ff),
gsSPLightColor(LIGHT_2, 0x7f5500ff),
gsSPVertex(skeeter_seg6_vertex_06000E00, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 2, 1, 4, 0x0, 1, 3, 4, 0x0),
+8 -20
View File
@@ -4,28 +4,12 @@
UNUSED static const u64 small_key_unused_1 = 0;
// 0x05005798
static const Lights1 small_key_seg5_lights_05005798 = gdSPDefLights1(
0x3f, 0x19, 0x0c,
0xff, 0x64, 0x32, 0x28, 0x28, 0x28
);
// 0x050057B0
static const Lights1 small_key_seg5_lights_050057B0 = gdSPDefLights1(
0x0c, 0x3f, 0x19,
0x32, 0xff, 0x64, 0x28, 0x28, 0x28
);
// 0x050057C8
static const Lights1 small_key_seg5_lights_050057C8 = gdSPDefLights1(
0x0c, 0x19, 0x3f,
0x32, 0x64, 0xff, 0x28, 0x28, 0x28
);
// 0x050057E0
static const Lights1 small_key_seg5_lights_050057E0 = gdSPDefLights1(
0x33, 0x3f, 0x00,
0xcc, 0xff, 0x00, 0x28, 0x28, 0x28
);
// align
UNUSED static const u64 small_key_unused_2 = 0;
@@ -404,24 +388,28 @@ const Gfx small_key_seg5_dl_05006700[] = {
// 0x05006A08 - 0x05006A28
const Gfx small_key_seg5_dl_05006A08[] = {
gsSPSetLights1(small_key_seg5_lights_050057C8),
gsSPLightColor(LIGHT_1, 0x3264ffff),
gsSPLightColor(LIGHT_2, 0xc193fff),
gsSPBranchList(small_key_seg5_dl_05006700),
};
// 0x05006A28 - 0x05006A48
const Gfx small_key_seg5_dl_05006A28[] = {
gsSPSetLights1(small_key_seg5_lights_050057B0),
gsSPLightColor(LIGHT_1, 0x32ff64ff),
gsSPLightColor(LIGHT_2, 0xc3f19ff),
gsSPBranchList(small_key_seg5_dl_05006700),
};
// 0x05006A48 - 0x05006A68
const Gfx small_key_seg5_dl_05006A48[] = {
gsSPSetLights1(small_key_seg5_lights_05005798),
gsSPLightColor(LIGHT_1, 0xff6432ff),
gsSPLightColor(LIGHT_2, 0x3f190cff),
gsSPBranchList(small_key_seg5_dl_05006700),
};
// 0x05006A68 - 0x05006A88
const Gfx small_key_seg5_dl_05006A68[] = {
gsSPSetLights1(small_key_seg5_lights_050057E0),
gsSPLightColor(LIGHT_1, 0xccff00ff),
gsSPLightColor(LIGHT_2, 0x333f00ff),
gsSPBranchList(small_key_seg5_dl_05006700),
};
+4 -28
View File
@@ -4,28 +4,12 @@
UNUSED static const u64 snowman_unused_1 = 1;
// Unreferenced light group
UNUSED static const Lights1 snowman_lights_unused1 = gdSPDefLights1(
0x0d, 0x0c, 0x28,
0x35, 0x32, 0xa2, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 snowman_lights_unused2 = gdSPDefLights1(
0x3f, 0x00, 0x00,
0xff, 0x00, 0x00, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 snowman_lights_unused3 = gdSPDefLights1(
0x08, 0x07, 0x04,
0x23, 0x1c, 0x12, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 snowman_lights_unused4 = gdSPDefLights1(
0x03, 0x03, 0x02,
0x0e, 0x0d, 0x0b, 0x28, 0x28, 0x28
);
// 0x05008C70
ALIGNED8 static const Texture snowman_seg5_texture_05008C70[] = {
@@ -53,10 +37,6 @@ ALIGNED8 static const Texture snowman_seg5_texture_0500BC70[] = {
};
// 0x0500C470
static const Lights1 snowman_seg5_lights_0500C470 = gdSPDefLights1(
0x1c, 0x0f, 0x07,
0x38, 0x1e, 0x0e, 0x28, 0x28, 0x28
);
// 0x0500C488
static const Vtx snowman_seg5_vertex_0500C488[] = {
@@ -68,8 +48,8 @@ static const Vtx snowman_seg5_vertex_0500C488[] = {
// 0x0500C4C8 - 0x0500C500
const Gfx snowman_seg5_dl_0500C4C8[] = {
gsSPLight(&snowman_seg5_lights_0500C470.l, 1),
gsSPLight(&snowman_seg5_lights_0500C470.a, 2),
gsSPLightColor(LIGHT_1, 0x381e0eff),
gsSPLightColor(LIGHT_2, 0x1c0f07ff),
gsSPVertex(snowman_seg5_vertex_0500C488, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP1Triangle( 0, 3, 1, 0x0),
@@ -183,10 +163,6 @@ const Gfx snowman_seg5_dl_0500C760[] = {
};
// 0x0500C7D0
static const Lights1 snowman_seg5_lights_0500C7D0 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500C7E8
static const Vtx snowman_seg5_vertex_0500C7E8[] = {
@@ -226,8 +202,8 @@ const Gfx snowman_seg5_dl_0500C978[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snowman_seg5_texture_05008C70),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&snowman_seg5_lights_0500C7D0.l, 1),
gsSPLight(&snowman_seg5_lights_0500C7D0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(snowman_seg5_vertex_0500C7E8, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
gsSP2Triangles( 4, 1, 0, 0x0, 5, 4, 3, 0x0),
+10 -30
View File
@@ -21,16 +21,8 @@ ALIGNED8 static const Texture snufit_seg6_texture_060084E0[] = {
};
// 0x06008CE0
static const Lights1 snufit_seg6_lights_06008CE0 = gdSPDefLights1(
0x47, 0x47, 0x47,
0xb2, 0xb2, 0xb2, 0x28, 0x28, 0x28
);
// 0x06008CF8
static const Lights1 snufit_seg6_lights_06008CF8 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06008D10
static const Vtx snufit_seg6_vertex_06008D10[] = {
@@ -138,8 +130,8 @@ const Gfx snufit_seg6_dl_060091E0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snufit_seg6_texture_060080E0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 32 - 1, CALC_DXT(16, G_IM_SIZ_16b_BYTES)),
gsSPLight(&snufit_seg6_lights_06008CE0.l, 1),
gsSPLight(&snufit_seg6_lights_06008CE0.a, 2),
gsSPLightColor(LIGHT_1, 0xb2b2b2ff),
gsSPLightColor(LIGHT_2, 0x474747ff),
gsSPVertex(snufit_seg6_vertex_06008D10, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 0, 2, 0x0, 3, 5, 1, 0x0),
@@ -155,8 +147,8 @@ const Gfx snufit_seg6_dl_06009278[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snufit_seg6_texture_060078E0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&snufit_seg6_lights_06008CF8.l, 1),
gsSPLight(&snufit_seg6_lights_06008CF8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(snufit_seg6_vertex_06008DF0, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 1, 3, 0x0),
gsSP2Triangles( 2, 3, 4, 0x0, 4, 3, 5, 0x0),
@@ -223,10 +215,6 @@ const Gfx snufit_seg6_dl_06009498[] = {
};
// 0x06009530
static const Lights1 snufit_seg6_lights_06009530 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06009548
static const Vtx snufit_seg6_vertex_06009548[] = {
@@ -259,8 +247,8 @@ const Gfx snufit_seg6_dl_06009668[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snufit_seg6_texture_060080E0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 32 - 1, CALC_DXT(16, G_IM_SIZ_16b_BYTES)),
gsSPLight(&snufit_seg6_lights_06009530.l, 1),
gsSPLight(&snufit_seg6_lights_06009530.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(snufit_seg6_vertex_06009548, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 0, 3, 0x0, 1, 5, 2, 0x0),
@@ -303,10 +291,6 @@ const Gfx snufit_seg6_dl_06009748[] = {
};
// 0x060097C8
static const Lights1 snufit_seg6_lights_060097C8 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x060097E0
static const Vtx snufit_seg6_vertex_060097E0[] = {
@@ -329,8 +313,8 @@ const Gfx snufit_seg6_dl_060098A0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snufit_seg6_texture_060080E0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 32 - 1, CALC_DXT(16, G_IM_SIZ_16b_BYTES)),
gsSPLight(&snufit_seg6_lights_060097C8.l, 1),
gsSPLight(&snufit_seg6_lights_060097C8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(snufit_seg6_vertex_060097E0, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 4, 0x0),
gsSP2Triangles( 1, 4, 2, 0x0, 3, 5, 6, 0x0),
@@ -394,10 +378,6 @@ const Gfx snufit_seg6_dl_06009A10[] = {
};
// 0x06009A80
static const Lights1 snufit_seg6_lights_06009A80 = gdSPDefLights1(
0x65, 0x08, 0x08,
0xfe, 0x14, 0x14, 0x28, 0x28, 0x28
);
// 0x06009A98
static const Vtx snufit_seg6_vertex_06009A98[] = {
@@ -413,8 +393,8 @@ static const Vtx snufit_seg6_vertex_06009A98[] = {
// 0x06009B18 - 0x06009B68
const Gfx snufit_seg6_dl_06009B18[] = {
gsSPLight(&snufit_seg6_lights_06009A80.l, 1),
gsSPLight(&snufit_seg6_lights_06009A80.a, 2),
gsSPLightColor(LIGHT_1, 0xfe1414ff),
gsSPLightColor(LIGHT_2, 0x650808ff),
gsSPVertex(snufit_seg6_vertex_06009A98, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
gsSP2Triangles( 1, 0, 3, 0x0, 4, 5, 6, 0x0),
+14 -42
View File
@@ -128,10 +128,6 @@ const Gfx spindrift_seg5_dl_05002900[] = {
};
// 0x05002970
static const Lights1 spindrift_seg5_lights_05002970 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05002988
static const Vtx spindrift_seg5_vertex_05002988[] = {
@@ -147,8 +143,8 @@ const Gfx spindrift_seg5_dl_050029C8[] = {
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPClearGeometryMode(G_CULL_BACK),
gsSPLight(&spindrift_seg5_lights_05002970.l, 1),
gsSPLight(&spindrift_seg5_lights_05002970.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(spindrift_seg5_vertex_05002988, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPSetGeometryMode(G_CULL_BACK),
@@ -172,10 +168,6 @@ const Gfx spindrift_seg5_dl_05002A20[] = {
};
// 0x05002A80
static const Lights1 spindrift_seg5_lights_05002A80 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05002A98
static const Vtx spindrift_seg5_vertex_05002A98[] = {
@@ -191,8 +183,8 @@ const Gfx spindrift_seg5_dl_05002AD8[] = {
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPClearGeometryMode(G_CULL_BACK),
gsSPLight(&spindrift_seg5_lights_05002A80.l, 1),
gsSPLight(&spindrift_seg5_lights_05002A80.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(spindrift_seg5_vertex_05002A98, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
gsSPSetGeometryMode(G_CULL_BACK),
@@ -216,10 +208,6 @@ const Gfx spindrift_seg5_dl_05002B30[] = {
};
// 0x05002B90
static const Lights1 spindrift_seg5_lights_05002B90 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05002BA8
static const Vtx spindrift_seg5_vertex_05002BA8[] = {
@@ -246,8 +234,8 @@ const Gfx spindrift_seg5_dl_05002C98[] = {
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPClearGeometryMode(G_CULL_BACK),
gsSPLight(&spindrift_seg5_lights_05002B90.l, 1),
gsSPLight(&spindrift_seg5_lights_05002B90.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(spindrift_seg5_vertex_05002BA8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -273,28 +261,12 @@ const Gfx spindrift_seg5_dl_05002D08[] = {
};
// 0x05000030
static const Lights1 spindrift_seg5_lights_05000030 = gdSPDefLights1(
0x12, 0x2c, 0x00,
0x49, 0xb2, 0x00, 0x28, 0x28, 0x28
);
// 0x05000048
static const Lights1 spindrift_seg5_lights_05000048 = gdSPDefLights1(
0x37, 0x3f, 0x00,
0xdd, 0xff, 0x01, 0x28, 0x28, 0x28
);
// 0x05000078
static const Lights1 spindrift_seg5_lights_05000078 = gdSPDefLights1(
0x3f, 0x38, 0x00,
0xff, 0xe2, 0x00, 0x28, 0x28, 0x28
);
// 0x05000090
static const Lights1 spindrift_seg5_lights_05000090 = gdSPDefLights1(
0x00, 0x0f, 0x00,
0x00, 0x3f, 0x00, 0x28, 0x28, 0x28
);
// 0x050000C0
static const Vtx spindrift_seg5_vertex_050000C0[] = {
@@ -344,14 +316,14 @@ static const Vtx spindrift_seg5_vertex_05000210[] = {
// 0x050002A0 - 0x05000328
const Gfx spindrift_seg5_dl_050002A0[] = {
gsSPLight(&spindrift_seg5_lights_05000048.l, 1),
gsSPLight(&spindrift_seg5_lights_05000048.a, 2),
gsSPLightColor(LIGHT_1, 0xddff01ff),
gsSPLightColor(LIGHT_2, 0x373f00ff),
gsSPVertex(spindrift_seg5_vertex_050000C0, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 2, 0x0),
gsSP2Triangles( 1, 3, 2, 0x0, 4, 5, 2, 0x0),
gsSP1Triangle( 5, 0, 2, 0x0),
gsSPLight(&spindrift_seg5_lights_05000030.l, 1),
gsSPLight(&spindrift_seg5_lights_05000030.a, 2),
gsSPLightColor(LIGHT_1, 0x49b200ff),
gsSPLightColor(LIGHT_2, 0x122c00ff),
gsSPVertex(spindrift_seg5_vertex_05000120, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 1, 0, 4, 0x0, 4, 0, 5, 0x0),
@@ -362,15 +334,15 @@ const Gfx spindrift_seg5_dl_050002A0[] = {
// 0x05000328 - 0x050003D8
const Gfx spindrift_seg5_dl_05000328[] = {
gsSPClearGeometryMode(G_CULL_BACK),
gsSPLight(&spindrift_seg5_lights_05000090.l, 1),
gsSPLight(&spindrift_seg5_lights_05000090.a, 2),
gsSPLightColor(LIGHT_1, 0x3f00ff),
gsSPLightColor(LIGHT_2, 0xf00ff),
gsSPVertex(spindrift_seg5_vertex_05000180, 9, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 0, 3, 0x0),
gsSP2Triangles( 0, 4, 3, 0x0, 1, 5, 6, 0x0),
gsSP2Triangles( 7, 4, 0, 0x0, 5, 4, 8, 0x0),
gsSP2Triangles( 5, 1, 3, 0x0, 4, 5, 3, 0x0),
gsSPLight(&spindrift_seg5_lights_05000078.l, 1),
gsSPLight(&spindrift_seg5_lights_05000078.a, 2),
gsSPLightColor(LIGHT_1, 0xffe200ff),
gsSPLightColor(LIGHT_2, 0x3f3800ff),
gsSPVertex(spindrift_seg5_vertex_05000210, 9, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 4, 0x0),
gsSP2Triangles( 1, 5, 6, 0x0, 5, 7, 8, 0x0),
+24 -48
View File
@@ -1,40 +1,16 @@
// Spiny
// 0x050157F8
static const Lights1 spiny_seg5_lights_050157F8 = gdSPDefLights1(
0x32, 0x23, 0x0a,
0xca, 0x8d, 0x29, 0x28, 0x28, 0x28
);
// 0x05015810
static const Lights1 spiny_seg5_lights_05015810 = gdSPDefLights1(
0x3a, 0x2c, 0x1f,
0xeb, 0xb0, 0x7f, 0x28, 0x28, 0x28
);
// 0x05015828
static const Lights1 spiny_seg5_lights_05015828 = gdSPDefLights1(
0x2c, 0x2c, 0x2c,
0xb2, 0xb2, 0xb2, 0x28, 0x28, 0x28
);
// 0x05015840
static const Lights1 spiny_seg5_lights_05015840 = gdSPDefLights1(
0x3f, 0x00, 0x00,
0xff, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x05015858
static const Lights1 spiny_seg5_lights_05015858 = gdSPDefLights1(
0x3d, 0x25, 0x01,
0xf4, 0x96, 0x07, 0x28, 0x28, 0x28
);
// 0x05015870
static const Lights1 spiny_seg5_lights_05015870 = gdSPDefLights1(
0x3c, 0x2c, 0x09,
0xf1, 0xb2, 0x25, 0x28, 0x28, 0x28
);
// 0x05015888
static const Vtx spiny_seg5_vertex_05015888[] = {
@@ -287,8 +263,8 @@ static const Vtx spiny_seg5_vertex_05016328[] = {
// 0x05016418 - 0x050164E0
const Gfx spiny_seg5_dl_05016418[] = {
gsSPLight(&spiny_seg5_lights_050157F8.l, 1),
gsSPLight(&spiny_seg5_lights_050157F8.a, 2),
gsSPLightColor(LIGHT_1, 0xca8d29ff),
gsSPLightColor(LIGHT_2, 0x32230aff),
gsSPVertex(spiny_seg5_vertex_05015888, 13, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 7, 0x0, 8, 7, 9, 0x0),
@@ -297,8 +273,8 @@ const Gfx spiny_seg5_dl_05016418[] = {
gsSP2Triangles( 3, 5, 11, 0x0, 11, 5, 0, 0x0),
gsSP2Triangles( 7, 8, 3, 0x0, 9, 12, 8, 0x0),
gsSP2Triangles( 9, 2, 1, 0x0, 2, 10, 0, 0x0),
gsSPLight(&spiny_seg5_lights_05015810.l, 1),
gsSPLight(&spiny_seg5_lights_05015810.a, 2),
gsSPLightColor(LIGHT_1, 0xebb07fff),
gsSPLightColor(LIGHT_2, 0x3a2c1fff),
gsSPVertex(spiny_seg5_vertex_05015958, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
gsSP2Triangles( 3, 4, 0, 0x0, 1, 5, 2, 0x0),
@@ -307,8 +283,8 @@ const Gfx spiny_seg5_dl_05016418[] = {
// 0x050164E0 - 0x050165A8
const Gfx spiny_seg5_dl_050164E0[] = {
gsSPLight(&spiny_seg5_lights_050157F8.l, 1),
gsSPLight(&spiny_seg5_lights_050157F8.a, 2),
gsSPLightColor(LIGHT_1, 0xca8d29ff),
gsSPLightColor(LIGHT_2, 0x32230aff),
gsSPVertex(spiny_seg5_vertex_050159B8, 13, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 7, 0x0, 8, 7, 9, 0x0),
@@ -317,8 +293,8 @@ const Gfx spiny_seg5_dl_050164E0[] = {
gsSP2Triangles( 3, 5, 11, 0x0, 11, 5, 0, 0x0),
gsSP2Triangles( 7, 8, 3, 0x0, 9, 12, 8, 0x0),
gsSP2Triangles( 9, 2, 1, 0x0, 2, 10, 0, 0x0),
gsSPLight(&spiny_seg5_lights_05015810.l, 1),
gsSPLight(&spiny_seg5_lights_05015810.a, 2),
gsSPLightColor(LIGHT_1, 0xebb07fff),
gsSPLightColor(LIGHT_2, 0x3a2c1fff),
gsSPVertex(spiny_seg5_vertex_05015A88, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
gsSP2Triangles( 3, 4, 0, 0x0, 1, 5, 2, 0x0),
@@ -327,8 +303,8 @@ const Gfx spiny_seg5_dl_050164E0[] = {
// 0x050165A8 - 0x05016670
const Gfx spiny_seg5_dl_050165A8[] = {
gsSPLight(&spiny_seg5_lights_050157F8.l, 1),
gsSPLight(&spiny_seg5_lights_050157F8.a, 2),
gsSPLightColor(LIGHT_1, 0xca8d29ff),
gsSPLightColor(LIGHT_2, 0x32230aff),
gsSPVertex(spiny_seg5_vertex_05015AE8, 13, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 5, 0x0, 8, 6, 9, 0x0),
@@ -337,8 +313,8 @@ const Gfx spiny_seg5_dl_050165A8[] = {
gsSP2Triangles(10, 3, 5, 0x0, 2, 3, 10, 0x0),
gsSP2Triangles( 5, 9, 6, 0x0, 9, 12, 8, 0x0),
gsSP2Triangles( 1, 0, 8, 0x0, 2, 11, 0, 0x0),
gsSPLight(&spiny_seg5_lights_05015810.l, 1),
gsSPLight(&spiny_seg5_lights_05015810.a, 2),
gsSPLightColor(LIGHT_1, 0xebb07fff),
gsSPLightColor(LIGHT_2, 0x3a2c1fff),
gsSPVertex(spiny_seg5_vertex_05015BB8, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
gsSP2Triangles( 2, 4, 3, 0x0, 0, 5, 1, 0x0),
@@ -347,8 +323,8 @@ const Gfx spiny_seg5_dl_050165A8[] = {
// 0x05016670 - 0x05016738
const Gfx spiny_seg5_dl_05016670[] = {
gsSPLight(&spiny_seg5_lights_050157F8.l, 1),
gsSPLight(&spiny_seg5_lights_050157F8.a, 2),
gsSPLightColor(LIGHT_1, 0xca8d29ff),
gsSPLightColor(LIGHT_2, 0x32230aff),
gsSPVertex(spiny_seg5_vertex_05015C18, 13, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 5, 0x0, 8, 6, 9, 0x0),
@@ -357,8 +333,8 @@ const Gfx spiny_seg5_dl_05016670[] = {
gsSP2Triangles(10, 3, 5, 0x0, 2, 3, 10, 0x0),
gsSP2Triangles( 5, 9, 6, 0x0, 9, 12, 8, 0x0),
gsSP2Triangles( 1, 0, 8, 0x0, 2, 11, 0, 0x0),
gsSPLight(&spiny_seg5_lights_05015810.l, 1),
gsSPLight(&spiny_seg5_lights_05015810.a, 2),
gsSPLightColor(LIGHT_1, 0xebb07fff),
gsSPLightColor(LIGHT_2, 0x3a2c1fff),
gsSPVertex(spiny_seg5_vertex_05015CE8, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
gsSP2Triangles( 2, 4, 3, 0x0, 0, 5, 1, 0x0),
@@ -367,8 +343,8 @@ const Gfx spiny_seg5_dl_05016670[] = {
// 0x05016738 - 0x05016A48
const Gfx spiny_seg5_dl_05016738[] = {
gsSPLight(&spiny_seg5_lights_05015828.l, 1),
gsSPLight(&spiny_seg5_lights_05015828.a, 2),
gsSPLightColor(LIGHT_1, 0xb2b2b2ff),
gsSPLightColor(LIGHT_2, 0x2c2c2cff),
gsSPVertex(spiny_seg5_vertex_05015D48, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 1, 3, 0x0),
gsSP2Triangles( 3, 4, 2, 0x0, 1, 0, 5, 0x0),
@@ -389,8 +365,8 @@ const Gfx spiny_seg5_dl_05016738[] = {
gsSPVertex(spiny_seg5_vertex_05015F48, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 4, 0x0),
gsSP2Triangles( 5, 2, 4, 0x0, 4, 2, 1, 0x0),
gsSPLight(&spiny_seg5_lights_05015858.l, 1),
gsSPLight(&spiny_seg5_lights_05015858.a, 2),
gsSPLightColor(LIGHT_1, 0xf49607ff),
gsSPLightColor(LIGHT_2, 0x3d2501ff),
gsSPVertex(spiny_seg5_vertex_05015FA8, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 2, 1, 0x0),
gsSP2Triangles( 0, 2, 4, 0x0, 5, 6, 7, 0x0),
@@ -402,8 +378,8 @@ const Gfx spiny_seg5_dl_05016738[] = {
gsSP2Triangles( 0, 9, 10, 0x0, 0, 10, 1, 0x0),
gsSP2Triangles( 6, 5, 0, 0x0, 15, 10, 13, 0x0),
gsSP2Triangles( 3, 1, 15, 0x0, 10, 15, 1, 0x0),
gsSPLight(&spiny_seg5_lights_05015840.l, 1),
gsSPLight(&spiny_seg5_lights_05015840.a, 2),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x3f0000ff),
gsSPVertex(spiny_seg5_vertex_050160A8, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 0, 8, 1, 0x0),
@@ -411,8 +387,8 @@ const Gfx spiny_seg5_dl_05016738[] = {
gsSP2Triangles( 3, 5, 9, 0x0, 1, 8, 7, 0x0),
gsSP2Triangles( 3, 9, 2, 0x0, 3, 7, 4, 0x0),
gsSP2Triangles( 4, 7, 6, 0x0, 4, 6, 5, 0x0),
gsSPLight(&spiny_seg5_lights_05015870.l, 1),
gsSPLight(&spiny_seg5_lights_05015870.a, 2),
gsSPLightColor(LIGHT_1, 0xf1b225ff),
gsSPLightColor(LIGHT_2, 0x3c2c09ff),
gsSPVertex(spiny_seg5_vertex_05016148, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
+18 -26
View File
@@ -1,16 +1,8 @@
// Spiny Egg
// 0x050144F8
static const Lights1 spiny_egg_seg5_lights_050144F8 = gdSPDefLights1(
0x3f, 0x3f, 0x00,
0xff, 0xff, 0x00, 0x28, 0x28, 0x28
);
// 0x05014510
static const Lights1 spiny_egg_seg5_lights_05014510 = gdSPDefLights1(
0x3f, 0x00, 0x00,
0xff, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x05014528
static const Vtx spiny_egg_seg5_vertex_05014528[] = {
@@ -278,8 +270,8 @@ static const Vtx spiny_egg_seg5_vertex_050150A8[] = {
// 0x050151A8 - 0x050151E0
const Gfx spiny_egg_seg5_dl_050151A8[] = {
gsSPLight(&spiny_egg_seg5_lights_050144F8.l, 1),
gsSPLight(&spiny_egg_seg5_lights_050144F8.a, 2),
gsSPLightColor(LIGHT_1, 0xffff00ff),
gsSPLightColor(LIGHT_2, 0x3f3f00ff),
gsSPVertex(spiny_egg_seg5_vertex_05014528, 9, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP1Triangle( 6, 7, 8, 0x0),
@@ -288,8 +280,8 @@ const Gfx spiny_egg_seg5_dl_050151A8[] = {
// 0x050151E0 - 0x05015218
const Gfx spiny_egg_seg5_dl_050151E0[] = {
gsSPLight(&spiny_egg_seg5_lights_050144F8.l, 1),
gsSPLight(&spiny_egg_seg5_lights_050144F8.a, 2),
gsSPLightColor(LIGHT_1, 0xffff00ff),
gsSPLightColor(LIGHT_2, 0x3f3f00ff),
gsSPVertex(spiny_egg_seg5_vertex_050145B8, 9, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP1Triangle( 6, 7, 8, 0x0),
@@ -298,8 +290,8 @@ const Gfx spiny_egg_seg5_dl_050151E0[] = {
// 0x05015218 - 0x05015250
const Gfx spiny_egg_seg5_dl_05015218[] = {
gsSPLight(&spiny_egg_seg5_lights_050144F8.l, 1),
gsSPLight(&spiny_egg_seg5_lights_050144F8.a, 2),
gsSPLightColor(LIGHT_1, 0xffff00ff),
gsSPLightColor(LIGHT_2, 0x3f3f00ff),
gsSPVertex(spiny_egg_seg5_vertex_05014648, 9, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP1Triangle( 6, 7, 8, 0x0),
@@ -308,8 +300,8 @@ const Gfx spiny_egg_seg5_dl_05015218[] = {
// 0x05015250 - 0x05015288
const Gfx spiny_egg_seg5_dl_05015250[] = {
gsSPLight(&spiny_egg_seg5_lights_050144F8.l, 1),
gsSPLight(&spiny_egg_seg5_lights_050144F8.a, 2),
gsSPLightColor(LIGHT_1, 0xffff00ff),
gsSPLightColor(LIGHT_2, 0x3f3f00ff),
gsSPVertex(spiny_egg_seg5_vertex_050146D8, 9, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP1Triangle( 6, 7, 8, 0x0),
@@ -318,8 +310,8 @@ const Gfx spiny_egg_seg5_dl_05015250[] = {
// 0x05015288 - 0x050152C0
const Gfx spiny_egg_seg5_dl_05015288[] = {
gsSPLight(&spiny_egg_seg5_lights_050144F8.l, 1),
gsSPLight(&spiny_egg_seg5_lights_050144F8.a, 2),
gsSPLightColor(LIGHT_1, 0xffff00ff),
gsSPLightColor(LIGHT_2, 0x3f3f00ff),
gsSPVertex(spiny_egg_seg5_vertex_05014768, 9, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP1Triangle( 6, 7, 8, 0x0),
@@ -328,8 +320,8 @@ const Gfx spiny_egg_seg5_dl_05015288[] = {
// 0x050152C0 - 0x050152F8
const Gfx spiny_egg_seg5_dl_050152C0[] = {
gsSPLight(&spiny_egg_seg5_lights_050144F8.l, 1),
gsSPLight(&spiny_egg_seg5_lights_050144F8.a, 2),
gsSPLightColor(LIGHT_1, 0xffff00ff),
gsSPLightColor(LIGHT_2, 0x3f3f00ff),
gsSPVertex(spiny_egg_seg5_vertex_050147F8, 9, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP1Triangle( 6, 7, 8, 0x0),
@@ -338,8 +330,8 @@ const Gfx spiny_egg_seg5_dl_050152C0[] = {
// 0x050152F8 - 0x05015330
const Gfx spiny_egg_seg5_dl_050152F8[] = {
gsSPLight(&spiny_egg_seg5_lights_050144F8.l, 1),
gsSPLight(&spiny_egg_seg5_lights_050144F8.a, 2),
gsSPLightColor(LIGHT_1, 0xffff00ff),
gsSPLightColor(LIGHT_2, 0x3f3f00ff),
gsSPVertex(spiny_egg_seg5_vertex_05014888, 9, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP1Triangle( 6, 7, 8, 0x0),
@@ -348,8 +340,8 @@ const Gfx spiny_egg_seg5_dl_050152F8[] = {
// 0x05015330 - 0x05015368
const Gfx spiny_egg_seg5_dl_05015330[] = {
gsSPLight(&spiny_egg_seg5_lights_050144F8.l, 1),
gsSPLight(&spiny_egg_seg5_lights_050144F8.a, 2),
gsSPLightColor(LIGHT_1, 0xffff00ff),
gsSPLightColor(LIGHT_2, 0x3f3f00ff),
gsSPVertex(spiny_egg_seg5_vertex_05014918, 9, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP1Triangle( 6, 7, 8, 0x0),
@@ -358,8 +350,8 @@ const Gfx spiny_egg_seg5_dl_05015330[] = {
// 0x05015368 - 0x05015740
const Gfx spiny_egg_seg5_dl_05015368[] = {
gsSPLight(&spiny_egg_seg5_lights_05014510.l, 1),
gsSPLight(&spiny_egg_seg5_lights_05014510.a, 2),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x3f0000ff),
gsSPVertex(spiny_egg_seg5_vertex_050149A8, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 0, 3, 0x0),
gsSP2Triangles( 1, 3, 4, 0x0, 4, 3, 5, 0x0),
+6 -10
View File
@@ -1,10 +1,6 @@
// Springboard (unused)
// 0x05000000
static const Lights1 springboard_seg5_lights_05000000 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05000018
ALIGNED8 static const Texture springboard_seg5_texture_05000018[] = {
@@ -167,8 +163,8 @@ const Gfx springboard_checkerboard_seg5_dl_050016B8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, springboard_seg5_texture_05000018),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&springboard_seg5_lights_05000000.l, 1),
gsSPLight(&springboard_seg5_lights_05000000.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(springboard_seg5_vertex_05001018, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 6, 9, 7, 0x0),
@@ -203,8 +199,8 @@ const Gfx springboard_spring_seg5_dl_05001800[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, springboard_seg5_texture_05000818),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&springboard_seg5_lights_05000000.l, 1),
gsSPLight(&springboard_seg5_lights_05000000.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(springboard_seg5_vertex_050012B8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
@@ -234,8 +230,8 @@ const Gfx springboard_checkerboard_seg5_dl_05001900[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, springboard_seg5_texture_05000018),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&springboard_seg5_lights_05000000.l, 1),
gsSPLight(&springboard_seg5_lights_05000000.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(springboard_seg5_vertex_05001458, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 5, 7, 6, 0x0),
+4 -8
View File
@@ -1,10 +1,6 @@
// Star
// 0x0302A6D8
static const Lights1 star_seg3_lights = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0302A6F0
ALIGNED8 static const Texture star_seg3_texture_0302A6F0[] = {
@@ -34,8 +30,8 @@ static const Vtx star_seg3_vertex_body[] = {
// 0x0302B7B0 - 0x0302B870
const Gfx star_seg3_sub_dl_body[] = {
gsSPLight(&star_seg3_lights.l, 1),
gsSPLight(&star_seg3_lights.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(star_seg3_vertex_body, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 2, 1, 4, 0x0, 1, 3, 4, 0x0),
@@ -86,8 +82,8 @@ const Gfx star_seg3_sub_dl_eyes[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, star_seg3_texture_0302AEF0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&star_seg3_lights.l, 1),
gsSPLight(&star_seg3_lights.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(star_seg3_vertex_eyes, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
+4 -20
View File
@@ -1,16 +1,8 @@
// Swoop
// Unreferenced light group
UNUSED static const Lights1 swoop_lights_unused1 = gdSPDefLights1(
0x0a, 0x00, 0x25,
0x2a, 0x00, 0x95, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 swoop_lights_unused2 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06004270
ALIGNED8 static const Texture swoop_seg6_texture_06004270[] = {
@@ -33,10 +25,6 @@ ALIGNED8 static const Texture swoop_seg6_texture_06005A70[] = {
};
// 0x06006270
static const Lights1 swoop_seg6_lights_06006270 = gdSPDefLights1(
0x79, 0x79, 0x79,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06006288
static const Vtx swoop_seg6_vertex_06006288[] = {
@@ -110,8 +98,8 @@ const Gfx swoop_seg6_dl_060065B8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, swoop_seg6_texture_06004A70),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&swoop_seg6_lights_06006270.l, 1),
gsSPLight(&swoop_seg6_lights_06006270.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x797979ff),
gsSPVertex(swoop_seg6_vertex_06006288, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 5, 6, 3, 0x0, 3, 7, 4, 0x0),
@@ -219,10 +207,6 @@ const Gfx swoop_seg6_dl_06006880[] = {
};
// 0x06006938
static const Lights1 swoop_seg6_lights_06006938 = gdSPDefLights1(
0x79, 0x79, 0x79,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06006950
static const Vtx swoop_seg6_vertex_06006950[] = {
@@ -249,8 +233,8 @@ const Gfx swoop_seg6_dl_06006A10[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, swoop_seg6_texture_06005270),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&swoop_seg6_lights_06006938.l, 1),
gsSPLight(&swoop_seg6_lights_06006938.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x797979ff),
gsSPVertex(swoop_seg6_vertex_06006950, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
+2 -5
View File
@@ -1,10 +1,6 @@
// Test Platform (small tiny platform 1/4th the size of a box. Probably used in early modeling tests?)
// 0x08026008
static const Lights1 unknown_seg8_lights_08026008 = gdSPDefLights1(
0x32, 0x32, 0x07,
0xc8, 0xc8, 0x1e, 0x28, 0x28, 0x28
);
// 0x08026020
static const Vtx unknown_seg8_vertex_08026020[] = {
@@ -56,7 +52,8 @@ static const Vtx unknown_seg8_vertex_08026200[] = {
// 0x08026260 - 0x080262F8
const Gfx unknown_seg8_dl_08026260[] = {
gsSPSetLights1(unknown_seg8_lights_08026008),
gsSPLightColor(LIGHT_1, 0xc8c81eff),
gsSPLightColor(LIGHT_2, 0x323207ff),
gsSPVertex(unknown_seg8_vertex_08026020, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
+2 -6
View File
@@ -1,10 +1,6 @@
// Thwomp
// 0x050098E8
static const Lights1 thwomp_seg5_lights_050098E8 = gdSPDefLights1(
0x4c, 0x4c, 0x4c,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x05009900
ALIGNED8 static const Texture thwomp_seg5_texture_05009900[] = {
@@ -116,8 +112,8 @@ const Gfx thwomp_seg5_dl_0500B570[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, thwomp_seg5_texture_0500A900),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&thwomp_seg5_lights_050098E8.l, 1),
gsSPLight(&thwomp_seg5_lights_050098E8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x4c4c4cff),
gsSPVertex(thwomp_seg5_vertex_0500B100, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
gsSP2Triangles( 0, 3, 4, 0x0, 0, 4, 5, 0x0),
+16 -48
View File
@@ -1,10 +1,6 @@
// Toad
// 0x06005908
static const Lights1 toad_seg6_lights_06005908 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06005920
ALIGNED8 static const Texture toad_seg6_texture_06005920[] = {
@@ -223,8 +219,8 @@ const Gfx toad_seg6_dl_06007300[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, toad_seg6_texture_06005920),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&toad_seg6_lights_06005908.l, 1),
gsSPLight(&toad_seg6_lights_06005908.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(toad_seg6_vertex_06006920, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 4, 0x0),
gsSP2Triangles( 2, 4, 0, 0x0, 0, 5, 6, 0x0),
@@ -348,10 +344,6 @@ const Gfx toad_seg6_us_dl_06007788[] = {
};
// 0x06007788
static const Lights1 toad_seg6_lights_06007788 = gdSPDefLights1(
0x21, 0x13, 0x5a,
0x42, 0x27, 0xb5, 0x28, 0x28, 0x28
);
// 0x060077A0
static const Vtx toad_seg6_vertex_060077A0[] = {
@@ -391,8 +383,8 @@ static const Vtx toad_seg6_vertex_060078A0[] = {
// 0x06007960 - 0x06007A48
const Gfx toad_seg6_dl_06007960[] = {
gsSPLight(&toad_seg6_lights_06007788.l, 1),
gsSPLight(&toad_seg6_lights_06007788.a, 2),
gsSPLightColor(LIGHT_1, 0x4227b5ff),
gsSPLightColor(LIGHT_2, 0x21135aff),
gsSPVertex(toad_seg6_vertex_060077A0, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 4, 6, 7, 0x0, 4, 7, 8, 0x0),
@@ -431,16 +423,8 @@ const Gfx toad_seg6_us_dl_06007B00[] = {
};
// 0x06007A80
static const Lights1 toad_seg6_lights_06007A80 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06007A98
static const Lights1 toad_seg6_lights_06007A98 = gdSPDefLights1(
0x7f, 0x6a, 0x50,
0xfe, 0xd5, 0xa1, 0x28, 0x28, 0x28
);
// 0x06007AB0
static const Vtx toad_seg6_vertex_06007AB0[] = {
@@ -494,8 +478,8 @@ static const Vtx toad_seg6_vertex_06007C50[] = {
// 0x06007D10 - 0x06007EB0
const Gfx toad_seg6_dl_06007D10[] = {
gsSPLight(&toad_seg6_lights_06007A80.l, 1),
gsSPLight(&toad_seg6_lights_06007A80.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(toad_seg6_vertex_06007AB0, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 5, 6, 0x0, 3, 6, 7, 0x0),
@@ -514,8 +498,8 @@ const Gfx toad_seg6_dl_06007D10[] = {
gsSP2Triangles( 5, 9, 0, 0x0, 0, 9, 1, 0x0),
gsSP2Triangles(11, 6, 0, 0x0, 11, 0, 2, 0x0),
gsSP1Triangle( 0, 6, 5, 0x0),
gsSPLight(&toad_seg6_lights_06007A98.l, 1),
gsSPLight(&toad_seg6_lights_06007A98.a, 2),
gsSPLightColor(LIGHT_1, 0xfed5a1ff),
gsSPLightColor(LIGHT_2, 0x7f6a50ff),
gsSPVertex(toad_seg6_vertex_06007C50, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
gsSP2Triangles( 4, 2, 1, 0x0, 4, 1, 5, 0x0),
@@ -537,10 +521,6 @@ const Gfx toad_seg6_dl_06007EB0[] = {
};
// 0x06007ED8
static const Lights1 toad_seg6_lights_06007ED8 = gdSPDefLights1(
0x7f, 0x6a, 0x50,
0xfe, 0xd5, 0xa1, 0x28, 0x28, 0x28
);
// 0x06007EF0
static const Vtx toad_seg6_vertex_06007EF0[] = {
@@ -581,8 +561,8 @@ static const Vtx toad_seg6_vertex_06007FF0[] = {
// 0x060080C0 - 0x060081F8
const Gfx toad_seg6_dl_060080C0[] = {
gsSPLight(&toad_seg6_lights_06007ED8.l, 1),
gsSPLight(&toad_seg6_lights_06007ED8.a, 2),
gsSPLightColor(LIGHT_1, 0xfed5a1ff),
gsSPLightColor(LIGHT_2, 0x7f6a50ff),
gsSPVertex(toad_seg6_vertex_06007EF0, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 0, 3, 0x0),
gsSP2Triangles( 0, 2, 4, 0x0, 4, 3, 0, 0x0),
@@ -615,10 +595,6 @@ const Gfx toad_seg6_dl_060081F8[] = {
};
// 0x06008220
static const Lights1 toad_seg6_lights_06008220 = gdSPDefLights1(
0x7f, 0x6a, 0x50,
0xfe, 0xd5, 0xa1, 0x28, 0x28, 0x28
);
// 0x06008238
static const Vtx toad_seg6_vertex_06008238[] = {
@@ -657,8 +633,8 @@ static const Vtx toad_seg6_vertex_06008338[] = {
// 0x060083E8 - 0x06008520
const Gfx toad_seg6_dl_060083E8[] = {
gsSPLight(&toad_seg6_lights_06008220.l, 1),
gsSPLight(&toad_seg6_lights_06008220.a, 2),
gsSPLightColor(LIGHT_1, 0xfed5a1ff),
gsSPLightColor(LIGHT_2, 0x7f6a50ff),
gsSPVertex(toad_seg6_vertex_06008238, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 0, 0x0),
gsSP2Triangles( 5, 1, 0, 0x0, 0, 4, 6, 0x0),
@@ -708,10 +684,6 @@ const Gfx toad_seg6_us_dl_06008608[] = {
};
// 0x06008560
static const Lights1 toad_seg6_lights_06008560 = gdSPDefLights1(
0x34, 0x20, 0x0d,
0x68, 0x40, 0x1b, 0x28, 0x28, 0x28
);
// 0x06008578
static const Vtx toad_seg6_vertex_06008578[] = {
@@ -752,8 +724,8 @@ static const Vtx toad_seg6_vertex_06008678[] = {
// 0x06008748 - 0x06008890
const Gfx toad_seg6_dl_06008748[] = {
gsSPLight(&toad_seg6_lights_06008560.l, 1),
gsSPLight(&toad_seg6_lights_06008560.a, 2),
gsSPLightColor(LIGHT_1, 0x68401bff),
gsSPLightColor(LIGHT_2, 0x34200dff),
gsSPVertex(toad_seg6_vertex_06008578, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 2, 4, 5, 0x0, 2, 5, 6, 0x0),
@@ -788,10 +760,6 @@ const Gfx toad_seg6_dl_06008890[] = {
};
// 0x060088B8
static const Lights1 toad_seg6_lights_060088B8 = gdSPDefLights1(
0x34, 0x20, 0x0d,
0x68, 0x40, 0x1b, 0x28, 0x28, 0x28
);
// 0x060088D0
static const Vtx toad_seg6_vertex_060088D0[] = {
@@ -831,8 +799,8 @@ static const Vtx toad_seg6_vertex_060089D0[] = {
// 0x06008A90 - 0x06008BD8
const Gfx toad_seg6_dl_06008A90[] = {
gsSPLight(&toad_seg6_lights_060088B8.l, 1),
gsSPLight(&toad_seg6_lights_060088B8.a, 2),
gsSPLightColor(LIGHT_1, 0x68401bff),
gsSPLightColor(LIGHT_2, 0x34200dff),
gsSPVertex(toad_seg6_vertex_060088D0, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
gsSP2Triangles( 0, 4, 1, 0x0, 0, 2, 5, 0x0),
+2 -6
View File
@@ -6,10 +6,6 @@ ALIGNED8 static const Texture tornado_seg5_texture_05013128[] = {
};
// 0x05014128
static const Lights1 tornado_seg5_lights_05014128 = gdSPDefLights1(
0x3b, 0x34, 0x23,
0xee, 0xd0, 0x8d, 0x28, 0x28, 0x28
);
// 0x05014140
static const Vtx tornado_seg5_vertex_05014140[] = {
@@ -81,8 +77,8 @@ const Gfx tornado_seg5_dl_05014450[] = {
gsDPSetTextureImage(G_IM_FMT_IA, G_IM_SIZ_16b, 1, tornado_seg5_texture_05013128),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&tornado_seg5_lights_05014128.l, 1),
gsSPLight(&tornado_seg5_lights_05014128.a, 2),
gsSPLightColor(LIGHT_1, 0xeed08dff),
gsSPLightColor(LIGHT_2, 0x3b3423ff),
gsSPVertex(tornado_seg5_vertex_05014140, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 4, 0x0),
gsSP2Triangles( 0, 5, 6, 0x0, 0, 6, 1, 0x0),
+2 -6
View File
@@ -1,10 +1,6 @@
// Transparent Star
// 0x0302C488
static const Lights1 transparent_star_seg3_lights_body = gdSPDefLights1(
0x03, 0x05, 0x17,
0x1e, 0x32, 0xe6, 0x28, 0x28, 0x28
);
// 0x0302C4A0
static const Vtx transparent_star_seg3_vertex_body[] = {
@@ -24,8 +20,8 @@ static const Vtx transparent_star_seg3_vertex_body[] = {
// 0x0302C560 - 0x0302C620
const Gfx transparent_star_seg3_sub_dl_body[] = {
gsSPLight(&transparent_star_seg3_lights_body.l, 1),
gsSPLight(&transparent_star_seg3_lights_body.a, 2),
gsSPLightColor(LIGHT_1, 0x1e32e6ff),
gsSPLightColor(LIGHT_2, 0x30517ff),
gsSPVertex(transparent_star_seg3_vertex_body, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 2, 1, 4, 0x0, 1, 3, 4, 0x0),
+4 -8
View File
@@ -1,10 +1,6 @@
// Treasure Chest
// 0x06013F90
static const Lights1 treasure_chest_seg6_lights_06013F90 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06013FA8
ALIGNED8 static const Texture treasure_chest_seg6_texture_06013FA8[] = {
@@ -154,8 +150,8 @@ const Gfx treasure_chest_seg6_dl_06016D58[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, treasure_chest_seg6_texture_06013FA8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&treasure_chest_seg6_lights_06013F90.l, 1),
gsSPLight(&treasure_chest_seg6_lights_06013F90.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(treasure_chest_seg6_vertex_060167A8, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSPEndDisplayList(),
@@ -377,8 +373,8 @@ const Gfx treasure_chest_seg6_dl_06017680[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, treasure_chest_seg6_texture_060147A8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&treasure_chest_seg6_lights_06013F90.l, 1),
gsSPLight(&treasure_chest_seg6_lights_06013F90.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(treasure_chest_seg6_vertex_06017030, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 0, 3, 4, 0x0, 5, 6, 7, 0x0),
+6 -10
View File
@@ -1,10 +1,6 @@
// Tree
// 0x0302DE10
static const Lights1 tree_seg3_lights_0302DE10 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0302DE28
ALIGNED8 static const Texture tree_seg3_texture_bubbly_left_side[] = {
@@ -103,8 +99,8 @@ const Gfx tree_seg3_sub_dl_spiky[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, tree_seg3_texture_pine),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&tree_seg3_lights_0302DE10.l, 1),
gsSPLight(&tree_seg3_lights_0302DE10.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(tree_seg3_vertex_spiky, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
@@ -142,8 +138,8 @@ const Gfx tree_seg3_sub_dl_snowy_pine[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, tree_seg3_texture_snowy_pine),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&tree_seg3_lights_0302DE10.l, 1),
gsSPLight(&tree_seg3_lights_0302DE10.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(tree_seg3_vertex_spiky, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
@@ -189,8 +185,8 @@ const Gfx tree_seg3_sub_dl_palm[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, tree_seg3_texture_palm),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&tree_seg3_lights_0302DE10.l, 1),
gsSPLight(&tree_seg3_lights_0302DE10.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(tree_seg3_vertex_palm, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
+36 -104
View File
@@ -1,22 +1,10 @@
// Ukiki
// Unreferenced light group
UNUSED static const Lights1 ukiki_lights_unused1 = gdSPDefLights1(
0x1d, 0x12, 0x07,
0x77, 0x48, 0x1f, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 ukiki_lights_unused2 = gdSPDefLights1(
0x39, 0x24, 0x18,
0xe7, 0x93, 0x61, 0x28, 0x28, 0x28
);
// 0x05007BA0
static const Lights1 ukiki_seg5_lights_05007BA0 = gdSPDefLights1(
0x39, 0x24, 0x18,
0xe7, 0x93, 0x61, 0x28, 0x28, 0x28
);
// The hell?
UNUSED static const u64 ukiki_unused_1 = 1;
@@ -42,16 +30,8 @@ ALIGNED8 static const Texture ukiki_seg5_texture_0500A3C0[] = {
};
// 0x0500ABC0
static const Lights1 ukiki_seg5_lights_0500ABC0 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500ABD8
static const Lights1 ukiki_seg5_lights_0500ABD8 = gdSPDefLights1(
0x77, 0x66, 0x45,
0xee, 0xcd, 0x8a, 0x28, 0x28, 0x28
);
// 0x0500ABF0
static const Vtx ukiki_seg5_vertex_0500ABF0[] = {
@@ -144,8 +124,8 @@ static const Vtx ukiki_seg5_vertex_0500AF60[] = {
// 0x0500B040 - 0x0500B1D8
const Gfx ukiki_seg5_dl_0500B040[] = {
gsSPLight(&ukiki_seg5_lights_0500ABC0.l, 1),
gsSPLight(&ukiki_seg5_lights_0500ABC0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(ukiki_seg5_vertex_0500ABF0, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 0, 0x0),
gsSP2Triangles( 1, 4, 2, 0x0, 5, 2, 4, 0x0),
@@ -178,8 +158,8 @@ const Gfx ukiki_seg5_dl_0500B040[] = {
// 0x0500B1D8 - 0x0500B278
const Gfx ukiki_seg5_dl_0500B1D8[] = {
gsSPLight(&ukiki_seg5_lights_0500ABD8.l, 1),
gsSPLight(&ukiki_seg5_lights_0500ABD8.a, 2),
gsSPLightColor(LIGHT_1, 0xeecd8aff),
gsSPLightColor(LIGHT_2, 0x776645ff),
gsSPVertex(ukiki_seg5_vertex_0500AF60, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 1, 3, 0x0),
gsSP2Triangles( 2, 4, 0, 0x0, 5, 6, 4, 0x0),
@@ -233,10 +213,6 @@ const Gfx ukiki_seg5_dl_0500B310[] = {
};
// 0x0500B338
static const Lights1 ukiki_seg5_lights_0500B338 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500B350
static const Vtx ukiki_seg5_vertex_0500B350[] = {
@@ -308,8 +284,8 @@ const Gfx ukiki_seg5_dl_0500B660[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, ukiki_seg5_texture_0500A3C0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&ukiki_seg5_lights_0500B338.l, 1),
gsSPLight(&ukiki_seg5_lights_0500B338.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(ukiki_seg5_vertex_0500B350, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 0, 0x0),
gsSP2Triangles( 3, 0, 4, 0x0, 3, 5, 6, 0x0),
@@ -365,10 +341,6 @@ const Gfx ukiki_seg5_dl_0500B820[] = {
};
// 0x0500B888
static const Lights1 ukiki_seg5_lights_0500B888 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500B8A0
static const Vtx ukiki_seg5_vertex_0500B8A0[] = {
@@ -387,8 +359,8 @@ const Gfx ukiki_seg5_dl_0500B920[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, ukiki_seg5_texture_0500A3C0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&ukiki_seg5_lights_0500B888.l, 1),
gsSPLight(&ukiki_seg5_lights_0500B888.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(ukiki_seg5_vertex_0500B8A0, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 1, 4, 5, 0x0, 4, 6, 5, 0x0),
@@ -413,10 +385,6 @@ const Gfx ukiki_seg5_dl_0500B988[] = {
};
// 0x0500B9E8
static const Lights1 ukiki_seg5_lights_0500B9E8 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500BA00
static const Vtx ukiki_seg5_vertex_0500BA00[] = {
@@ -436,8 +404,8 @@ const Gfx ukiki_seg5_dl_0500BA90[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, ukiki_seg5_texture_0500A3C0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&ukiki_seg5_lights_0500B9E8.l, 1),
gsSPLight(&ukiki_seg5_lights_0500B9E8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(ukiki_seg5_vertex_0500BA00, 9, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 4, 0x0),
gsSP2Triangles( 1, 5, 6, 0x0, 1, 6, 2, 0x0),
@@ -465,10 +433,6 @@ const Gfx ukiki_seg5_dl_0500BB28[] = {
};
// 0x0500BB88
static const Lights1 ukiki_seg5_lights_0500BB88 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500BBA0
static const Vtx ukiki_seg5_vertex_0500BBA0[] = {
@@ -486,8 +450,8 @@ const Gfx ukiki_seg5_dl_0500BC10[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, ukiki_seg5_texture_0500A3C0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&ukiki_seg5_lights_0500BB88.l, 1),
gsSPLight(&ukiki_seg5_lights_0500BB88.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(ukiki_seg5_vertex_0500BBA0, 7, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 2, 4, 3, 0x0, 2, 5, 4, 0x0),
@@ -512,10 +476,6 @@ const Gfx ukiki_seg5_dl_0500BC78[] = {
};
// 0x0500BCD8
static const Lights1 ukiki_seg5_lights_0500BCD8 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500BCF0
static const Vtx ukiki_seg5_vertex_0500BCF0[] = {
@@ -537,8 +497,8 @@ const Gfx ukiki_seg5_dl_0500BDA0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, ukiki_seg5_texture_0500A3C0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&ukiki_seg5_lights_0500BCD8.l, 1),
gsSPLight(&ukiki_seg5_lights_0500BCD8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(ukiki_seg5_vertex_0500BCF0, 11, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 4, 0x0),
gsSP2Triangles( 0, 3, 5, 0x0, 0, 2, 6, 0x0),
@@ -566,10 +526,6 @@ const Gfx ukiki_seg5_dl_0500BE38[] = {
};
// 0x0500BE98
static const Lights1 ukiki_seg5_lights_0500BE98 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500BEB0
static const Vtx ukiki_seg5_vertex_0500BEB0[] = {
@@ -591,8 +547,8 @@ const Gfx ukiki_seg5_dl_0500BF60[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, ukiki_seg5_texture_0500A3C0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&ukiki_seg5_lights_0500BE98.l, 1),
gsSPLight(&ukiki_seg5_lights_0500BE98.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(ukiki_seg5_vertex_0500BEB0, 11, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 2, 4, 5, 0x0, 2, 5, 3, 0x0),
@@ -620,10 +576,6 @@ const Gfx ukiki_seg5_dl_0500BFF8[] = {
};
// 0x0500C058
static const Lights1 ukiki_seg5_lights_0500C058 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500C070
static const Vtx ukiki_seg5_vertex_0500C070[] = {
@@ -645,8 +597,8 @@ const Gfx ukiki_seg5_dl_0500C120[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, ukiki_seg5_texture_0500A3C0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&ukiki_seg5_lights_0500C058.l, 1),
gsSPLight(&ukiki_seg5_lights_0500C058.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(ukiki_seg5_vertex_0500C070, 11, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 2, 4, 0x0),
gsSP2Triangles( 2, 1, 5, 0x0, 2, 5, 4, 0x0),
@@ -674,10 +626,6 @@ const Gfx ukiki_seg5_dl_0500C1B8[] = {
};
// 0x0500C218
static const Lights1 ukiki_seg5_lights_0500C218 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500C230
static const Vtx ukiki_seg5_vertex_0500C230[] = {
@@ -698,8 +646,8 @@ const Gfx ukiki_seg5_dl_0500C2D0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, ukiki_seg5_texture_0500A3C0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&ukiki_seg5_lights_0500C218.l, 1),
gsSPLight(&ukiki_seg5_lights_0500C218.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(ukiki_seg5_vertex_0500C230, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 4, 0x0),
gsSP2Triangles( 0, 3, 1, 0x0, 0, 2, 5, 0x0),
@@ -727,10 +675,6 @@ const Gfx ukiki_seg5_dl_0500C368[] = {
};
// 0x0500C3C8
static const Lights1 ukiki_seg5_lights_0500C3C8 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500C3E0
static const Vtx ukiki_seg5_vertex_0500C3E0[] = {
@@ -752,8 +696,8 @@ const Gfx ukiki_seg5_dl_0500C490[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, ukiki_seg5_texture_0500A3C0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&ukiki_seg5_lights_0500C3C8.l, 1),
gsSPLight(&ukiki_seg5_lights_0500C3C8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(ukiki_seg5_vertex_0500C3E0, 11, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 0, 3, 4, 0x0, 2, 1, 5, 0x0),
@@ -781,10 +725,6 @@ const Gfx ukiki_seg5_dl_0500C528[] = {
};
// 0x0500C588
static const Lights1 ukiki_seg5_lights_0500C588 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500C5A0
static const Vtx ukiki_seg5_vertex_0500C5A0[] = {
@@ -806,8 +746,8 @@ const Gfx ukiki_seg5_dl_0500C650[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, ukiki_seg5_texture_0500A3C0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&ukiki_seg5_lights_0500C588.l, 1),
gsSPLight(&ukiki_seg5_lights_0500C588.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(ukiki_seg5_vertex_0500C5A0, 11, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 1, 3, 0x0),
gsSP2Triangles( 2, 3, 4, 0x0, 0, 5, 1, 0x0),
@@ -835,10 +775,6 @@ const Gfx ukiki_seg5_dl_0500C6E8[] = {
};
// 0x0500C748
static const Lights1 ukiki_seg5_lights_0500C748 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500C760
static const Vtx ukiki_seg5_vertex_0500C760[] = {
@@ -859,8 +795,8 @@ const Gfx ukiki_seg5_dl_0500C800[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, ukiki_seg5_texture_0500A3C0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&ukiki_seg5_lights_0500C748.l, 1),
gsSPLight(&ukiki_seg5_lights_0500C748.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(ukiki_seg5_vertex_0500C760, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 2, 1, 4, 0x0, 2, 4, 3, 0x0),
@@ -888,10 +824,6 @@ const Gfx ukiki_seg5_dl_0500C898[] = {
};
// 0x0500C8F8
static const Lights1 ukiki_seg5_lights_0500C8F8 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500C910
static const Vtx ukiki_seg5_vertex_0500C910[] = {
@@ -912,8 +844,8 @@ const Gfx ukiki_seg5_dl_0500C9B0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, ukiki_seg5_texture_0500A3C0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&ukiki_seg5_lights_0500C8F8.l, 1),
gsSPLight(&ukiki_seg5_lights_0500C8F8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(ukiki_seg5_vertex_0500C910, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 2, 4, 5, 0x0, 2, 5, 3, 0x0),
@@ -1042,8 +974,8 @@ static const Vtx ukiki_seg5_vertex_0500CE98[] = {
// 0x0500CF68 - 0x0500CFF0
const Gfx ukiki_seg5_dl_0500CF68[] = {
gsSPLight(&ukiki_seg5_lights_05007BA0.l, 1),
gsSPLight(&ukiki_seg5_lights_05007BA0.a, 2),
gsSPLightColor(LIGHT_1, 0xe79361ff),
gsSPLightColor(LIGHT_2, 0x392418ff),
gsSPVertex(ukiki_seg5_vertex_0500CAA8, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -1057,8 +989,8 @@ const Gfx ukiki_seg5_dl_0500CF68[] = {
// 0x0500CFF0 - 0x0500D078
const Gfx ukiki_seg5_dl_0500CFF0[] = {
gsSPLight(&ukiki_seg5_lights_05007BA0.l, 1),
gsSPLight(&ukiki_seg5_lights_05007BA0.a, 2),
gsSPLightColor(LIGHT_1, 0xe79361ff),
gsSPLightColor(LIGHT_2, 0x392418ff),
gsSPVertex(ukiki_seg5_vertex_0500CC28, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -1072,8 +1004,8 @@ const Gfx ukiki_seg5_dl_0500CFF0[] = {
// 0x0500D078 - 0x0500D108
const Gfx ukiki_seg5_dl_0500D078[] = {
gsSPLight(&ukiki_seg5_lights_05007BA0.l, 1),
gsSPLight(&ukiki_seg5_lights_05007BA0.a, 2),
gsSPLightColor(LIGHT_1, 0xe79361ff),
gsSPLightColor(LIGHT_2, 0x392418ff),
gsSPVertex(ukiki_seg5_vertex_0500CDA8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 5, 6, 0x0, 2, 7, 6, 0x0),
@@ -1087,8 +1019,8 @@ const Gfx ukiki_seg5_dl_0500D078[] = {
// 0x0500D108 - 0x0500D198
const Gfx ukiki_seg5_dl_0500D108[] = {
gsSPLight(&ukiki_seg5_lights_05007BA0.l, 1),
gsSPLight(&ukiki_seg5_lights_05007BA0.a, 2),
gsSPLightColor(LIGHT_1, 0xe79361ff),
gsSPLightColor(LIGHT_2, 0x392418ff),
gsSPVertex(ukiki_seg5_vertex_0500CE98, 13, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 0, 5, 0x0, 4, 5, 6, 0x0),
-32
View File
@@ -1,52 +1,20 @@
// Unagi (Eel)
// Unreferenced light group
UNUSED static const Lights1 unagi_lights_unused1 = gdSPDefLights1(
0x2c, 0x25, 0x00,
0xb2, 0x94, 0x00, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 unagi_lights_unused2 = gdSPDefLights1(
0x35, 0x00, 0x00,
0xd5, 0x00, 0x00, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 unagi_lights_unused3 = gdSPDefLights1(
0x37, 0x00, 0x00,
0xdd, 0x00, 0x00, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 unagi_lights_unused4 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 unagi_lights_unused5 = gdSPDefLights1(
0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 unagi_lights_unused6 = gdSPDefLights1(
0x34, 0x00, 0x00,
0xd2, 0x00, 0x00, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 unagi_lights_unused7 = gdSPDefLights1(
0x34, 0x00, 0x00,
0xd3, 0x00, 0x00, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 unagi_lights_unused8 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500AF20
ALIGNED8 static const Texture unagi_seg5_texture_0500AF20[] = {
+6 -18
View File
@@ -1,10 +1,6 @@
// Warp Pipe
// 0x030079E8
static const Lights1 warp_pipe_seg3_lights_030079E8 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x03007A00
static const Vtx warp_pipe_seg3_vertex_03007A00[] = {
@@ -104,8 +100,8 @@ const Gfx warp_pipe_seg3_dl_03008E40[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, warp_pipe_seg3_texture_03007E40),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&warp_pipe_seg3_lights_030079E8.l, 1),
gsSPLight(&warp_pipe_seg3_lights_030079E8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(warp_pipe_seg3_vertex_03007A00, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
@@ -149,16 +145,8 @@ const Gfx warp_pipe_seg3_dl_03008F98[] = {
};
// 0x03008FF8
static const Lights1 warp_pipe_seg3_lights_03008FF8 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x03009010
static const Lights1 warp_pipe_seg3_lights_03009010 = gdSPDefLights1(
0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x03009028
static const Vtx warp_pipe_seg3_vertex_03009028[] = {
@@ -198,8 +186,8 @@ const Gfx warp_pipe_seg3_dl_03009968[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, warp_pipe_seg3_texture_03009168),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&warp_pipe_seg3_lights_03008FF8.l, 1),
gsSPLight(&warp_pipe_seg3_lights_03008FF8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(warp_pipe_seg3_vertex_03009028, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 3, 5, 0x0),
@@ -214,8 +202,8 @@ const Gfx warp_pipe_seg3_dl_03009968[] = {
// 0x03009A20 - 0x03009A50
const Gfx warp_pipe_seg3_dl_03009A20[] = {
gsSPLight(&warp_pipe_seg3_lights_03009010.l, 1),
gsSPLight(&warp_pipe_seg3_lights_03009010.a, 2),
gsSPLightColor(LIGHT_1, 0xff),
gsSPLightColor(LIGHT_2, 0xff),
gsSPVertex(warp_pipe_seg3_vertex_03009128, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSPEndDisplayList(),
+2 -6
View File
@@ -1,10 +1,6 @@
// Water Bubble
// 0x0500FE68
static const Lights1 water_bubble_seg5_lights_0500FE68 = gdSPDefLights1(
0xbf, 0xbf, 0xbf,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0500FE80
ALIGNED8 static const Texture water_bubble_seg5_texture_0500FE80[] = {
@@ -148,8 +144,8 @@ static const Vtx water_bubble_seg5_vertex_05010C50[] = {
// 0x05010D30 - 0x05011000
const Gfx water_bubble_seg5_dl_05010D30[] = {
gsSPLight(&water_bubble_seg5_lights_0500FE68.l, 1),
gsSPLight(&water_bubble_seg5_lights_0500FE68.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0xbfbfbfff),
gsSPVertex(water_bubble_seg5_vertex_05010680, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 2, 3, 4, 0x0, 1, 5, 3, 0x0),
+2 -6
View File
@@ -1,10 +1,6 @@
// Water Mine (unused)
// 0x0600A4E0
static const Lights1 water_mine_seg6_lights_0600A4E0 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0600A4F8
ALIGNED8 static const Texture water_mine_seg6_texture_0600A4F8[] = {
@@ -173,8 +169,8 @@ const Gfx water_mine_seg6_dl_0600D2E0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, water_mine_seg6_texture_0600C4F8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&water_mine_seg6_lights_0600A4E0.l, 1),
gsSPLight(&water_mine_seg6_lights_0600A4E0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(water_mine_seg6_vertex_0600CD78, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
+2 -6
View File
@@ -1,10 +1,6 @@
// Water Ring
// 0x06012368
static const Lights1 water_ring_seg6_lights_06012368 = gdSPDefLights1(
0x3f, 0x3f, 0x3f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x06012380
ALIGNED8 static const Texture water_ring_seg6_texture_06012380[] = {
@@ -166,8 +162,8 @@ const Gfx water_ring_seg6_dl_06013AC0[] = {
gsDPSetCombineMode(G_CC_DECALFADE, G_CC_DECALFADE),
gsDPLoadTextureBlock(water_ring_seg6_texture_06012380, G_IM_FMT_RGBA, G_IM_SIZ_16b, 64, 32, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_WRAP | G_TX_NOMIRROR, 6, 5, G_TX_NOLOD, G_TX_NOLOD),
gsSPTexture(0x1800, 0x07C0, 0, G_TX_RENDERTILE, G_ON),
gsSPLight(&water_ring_seg6_lights_06012368.l, 1),
gsSPLight(&water_ring_seg6_lights_06012368.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x3f3f3fff),
gsSPVertex(water_ring_seg6_vertex_06013380, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
+10 -30
View File
@@ -25,10 +25,6 @@ ALIGNED8 static const Texture whomp_seg6_texture_0601EB60[] = {
};
// 0x0601F360
static const Lights1 whomp_seg6_lights_0601F360 = gdSPDefLights1(
0x4c, 0x4c, 0x4c,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0601F378
static const Vtx whomp_seg6_vertex_0601F378[] = {
@@ -71,8 +67,8 @@ const Gfx whomp_seg6_dl_0601F4F8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, whomp_seg6_texture_0601EB60),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&whomp_seg6_lights_0601F360.l, 1),
gsSPLight(&whomp_seg6_lights_0601F360.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x4c4c4cff),
gsSPVertex(whomp_seg6_vertex_0601F378, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
@@ -125,10 +121,6 @@ const Gfx whomp_seg6_dl_0601F5E0[] = {
};
// 0x0601F678
static const Lights1 whomp_seg6_lights_0601F678 = gdSPDefLights1(
0x4c, 0x4c, 0x4c,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0601F690
static const Vtx whomp_seg6_vertex_0601F690[] = {
@@ -165,8 +157,8 @@ const Gfx whomp_seg6_dl_0601F7F0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, whomp_seg6_texture_0601EB60),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&whomp_seg6_lights_0601F678.l, 1),
gsSPLight(&whomp_seg6_lights_0601F678.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x4c4c4cff),
gsSPVertex(whomp_seg6_vertex_0601F690, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
@@ -195,10 +187,6 @@ const Gfx whomp_seg6_dl_0601F880[] = {
};
// 0x0601F8E0
static const Lights1 whomp_seg6_lights_0601F8E0 = gdSPDefLights1(
0x4c, 0x4c, 0x4c,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0601F8F8
static const Vtx whomp_seg6_vertex_0601F8F8[] = {
@@ -235,8 +223,8 @@ const Gfx whomp_seg6_dl_0601FA58[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, whomp_seg6_texture_0601EB60),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&whomp_seg6_lights_0601F8E0.l, 1),
gsSPLight(&whomp_seg6_lights_0601F8E0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x4c4c4cff),
gsSPVertex(whomp_seg6_vertex_0601F8F8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
@@ -337,10 +325,6 @@ const Gfx whomp_seg6_dl_0601FCA8[] = {
};
// 0x0601FD18
static const Lights1 whomp_seg6_lights_0601FD18 = gdSPDefLights1(
0x4c, 0x4c, 0x4c,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0601FD30
static const Vtx whomp_seg6_vertex_0601FD30[] = {
@@ -365,8 +349,8 @@ const Gfx whomp_seg6_dl_0601FE10[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, whomp_seg6_texture_0601EB60),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&whomp_seg6_lights_0601FD18.l, 1),
gsSPLight(&whomp_seg6_lights_0601FD18.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x4c4c4cff),
gsSPVertex(whomp_seg6_vertex_0601FD30, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
gsSP2Triangles( 2, 1, 4, 0x0, 4, 3, 2, 0x0),
@@ -394,10 +378,6 @@ const Gfx whomp_seg6_dl_0601FEA8[] = {
};
// 0x0601FF08
static const Lights1 whomp_seg6_lights_0601FF08 = gdSPDefLights1(
0x4c, 0x4c, 0x4c,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0601FF20
static const Vtx whomp_seg6_vertex_0601FF20[] = {
@@ -416,8 +396,8 @@ const Gfx whomp_seg6_dl_0601FFA0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, whomp_seg6_texture_0601EB60),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&whomp_seg6_lights_0601FF08.l, 1),
gsSPLight(&whomp_seg6_lights_0601FF08.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x4c4c4cff),
gsSPVertex(whomp_seg6_vertex_0601FF20, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 2, 1, 0x0, 1, 5, 4, 0x0),
+12 -24
View File
@@ -36,22 +36,10 @@ ALIGNED8 static const Texture wiggler_seg5_texture_0500A230[] = {
};
// 0x0500B230
static const Lights1 wiggler_seg5_lights_0500B230 = gdSPDefLights1(
0x37, 0x00, 0x00,
0xdf, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x0500B248
static const Lights1 wiggler_seg5_lights_0500B248 = gdSPDefLights1(
0x39, 0x11, 0x00,
0xe7, 0x47, 0x00, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 wiggler_body_lights_unused = gdSPDefLights1(
0x3a, 0x22, 0x05,
0xea, 0x8b, 0x16, 0x28, 0x28, 0x28
);
// 0x0500B278
static const Vtx wiggler_seg5_vertex_0500B278[] = {
@@ -267,8 +255,8 @@ static const Vtx wiggler_seg5_vertex_0500BBC8[] = {
// 0x0500BCB8 - 0x0500BE10
const Gfx wiggler_seg5_dl_0500BCB8[] = {
gsSPLight(&wiggler_seg5_lights_0500B230.l, 1),
gsSPLight(&wiggler_seg5_lights_0500B230.a, 2),
gsSPLightColor(LIGHT_1, 0xdf0000ff),
gsSPLightColor(LIGHT_2, 0x370000ff),
gsSPVertex(wiggler_seg5_vertex_0500B278, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -296,8 +284,8 @@ const Gfx wiggler_seg5_dl_0500BCB8[] = {
// 0x0500BE10 - 0x0500BE98
const Gfx wiggler_seg5_dl_0500BE10[] = {
gsSPLight(&wiggler_seg5_lights_0500B248.l, 1),
gsSPLight(&wiggler_seg5_lights_0500B248.a, 2),
gsSPLightColor(LIGHT_1, 0xe74700ff),
gsSPLightColor(LIGHT_2, 0x391100ff),
gsSPVertex(wiggler_seg5_vertex_0500B5B8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -311,8 +299,8 @@ const Gfx wiggler_seg5_dl_0500BE10[] = {
// 0x0500BE98 - 0x0500BF20
const Gfx wiggler_seg5_dl_0500BE98[] = {
gsSPLight(&wiggler_seg5_lights_0500B248.l, 1),
gsSPLight(&wiggler_seg5_lights_0500B248.a, 2),
gsSPLightColor(LIGHT_1, 0xe74700ff),
gsSPLightColor(LIGHT_2, 0x391100ff),
gsSPVertex(wiggler_seg5_vertex_0500B6A8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -326,8 +314,8 @@ const Gfx wiggler_seg5_dl_0500BE98[] = {
// 0x0500BF20 - 0x0500C078
const Gfx wiggler_seg5_dl_0500BF20[] = {
gsSPLight(&wiggler_seg5_lights_0500B230.l, 1),
gsSPLight(&wiggler_seg5_lights_0500B230.a, 2),
gsSPLightColor(LIGHT_1, 0xdf0000ff),
gsSPLightColor(LIGHT_2, 0x370000ff),
gsSPVertex(wiggler_seg5_vertex_0500B798, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -355,8 +343,8 @@ const Gfx wiggler_seg5_dl_0500BF20[] = {
// 0x0500C078 - 0x0500C100
const Gfx wiggler_seg5_dl_0500C078[] = {
gsSPLight(&wiggler_seg5_lights_0500B248.l, 1),
gsSPLight(&wiggler_seg5_lights_0500B248.a, 2),
gsSPLightColor(LIGHT_1, 0xe74700ff),
gsSPLightColor(LIGHT_2, 0x391100ff),
gsSPVertex(wiggler_seg5_vertex_0500BAD8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -370,8 +358,8 @@ const Gfx wiggler_seg5_dl_0500C078[] = {
// 0x0500C100 - 0x0500C188
const Gfx wiggler_seg5_dl_0500C100[] = {
gsSPLight(&wiggler_seg5_lights_0500B248.l, 1),
gsSPLight(&wiggler_seg5_lights_0500B248.a, 2),
gsSPLightColor(LIGHT_1, 0xe74700ff),
gsSPLightColor(LIGHT_2, 0x391100ff),
gsSPVertex(wiggler_seg5_vertex_0500BBC8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
+12 -28
View File
@@ -1,28 +1,12 @@
// Wiggler Head
// 0x0500C878
static const Lights1 wiggler_seg5_lights_0500C878 = gdSPDefLights1(
0x37, 0x00, 0x00,
0xdf, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x0500C890
static const Lights1 wiggler_seg5_lights_0500C890 = gdSPDefLights1(
0x39, 0x11, 0x00,
0xe7, 0x47, 0x00, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 wiggler_head_lights_unused1 = gdSPDefLights1(
0x1b, 0x06, 0x00,
0x6d, 0x1a, 0x00, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 wiggler_head_lights_unused2 = gdSPDefLights1(
0x3a, 0x22, 0x05,
0xea, 0x8b, 0x16, 0x28, 0x28, 0x28
);
// 0x0500C8D8
static const Vtx wiggler_seg5_vertex_0500C8D8[] = {
@@ -238,8 +222,8 @@ static const Vtx wiggler_seg5_vertex_0500D228[] = {
// 0x0500DC18 - 0x0500DD70
const Gfx wiggler_seg5_dl_0500DC18[] = {
gsSPLight(&wiggler_seg5_lights_0500C878.l, 1),
gsSPLight(&wiggler_seg5_lights_0500C878.a, 2),
gsSPLightColor(LIGHT_1, 0xdf0000ff),
gsSPLightColor(LIGHT_2, 0x370000ff),
gsSPVertex(wiggler_seg5_vertex_0500C8D8, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -267,8 +251,8 @@ const Gfx wiggler_seg5_dl_0500DC18[] = {
// 0x0500DD70 - 0x0500DDF8
const Gfx wiggler_seg5_dl_0500DD70[] = {
gsSPLight(&wiggler_seg5_lights_0500C890.l, 1),
gsSPLight(&wiggler_seg5_lights_0500C890.a, 2),
gsSPLightColor(LIGHT_1, 0xe74700ff),
gsSPLightColor(LIGHT_2, 0x391100ff),
gsSPVertex(wiggler_seg5_vertex_0500CC18, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -282,8 +266,8 @@ const Gfx wiggler_seg5_dl_0500DD70[] = {
// 0x0500DDF8 - 0x0500DE80
const Gfx wiggler_seg5_dl_0500DDF8[] = {
gsSPLight(&wiggler_seg5_lights_0500C890.l, 1),
gsSPLight(&wiggler_seg5_lights_0500C890.a, 2),
gsSPLightColor(LIGHT_1, 0xe74700ff),
gsSPLightColor(LIGHT_2, 0x391100ff),
gsSPVertex(wiggler_seg5_vertex_0500CD08, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -297,8 +281,8 @@ const Gfx wiggler_seg5_dl_0500DDF8[] = {
// 0x0500DE80 - 0x0500DFD8
const Gfx wiggler_seg5_dl_0500DE80[] = {
gsSPLight(&wiggler_seg5_lights_0500C878.l, 1),
gsSPLight(&wiggler_seg5_lights_0500C878.a, 2),
gsSPLightColor(LIGHT_1, 0xdf0000ff),
gsSPLightColor(LIGHT_2, 0x370000ff),
gsSPVertex(wiggler_seg5_vertex_0500CDF8, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -326,8 +310,8 @@ const Gfx wiggler_seg5_dl_0500DE80[] = {
// 0x0500DFD8 - 0x0500E060
const Gfx wiggler_seg5_dl_0500DFD8[] = {
gsSPLight(&wiggler_seg5_lights_0500C890.l, 1),
gsSPLight(&wiggler_seg5_lights_0500C890.a, 2),
gsSPLightColor(LIGHT_1, 0xe74700ff),
gsSPLightColor(LIGHT_2, 0x391100ff),
gsSPVertex(wiggler_seg5_vertex_0500D138, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -341,8 +325,8 @@ const Gfx wiggler_seg5_dl_0500DFD8[] = {
// 0x0500E060 - 0x0500E0E8
const Gfx wiggler_seg5_dl_0500E060[] = {
gsSPLight(&wiggler_seg5_lights_0500C890.l, 1),
gsSPLight(&wiggler_seg5_lights_0500C890.a, 2),
gsSPLightColor(LIGHT_1, 0xe74700ff),
gsSPLightColor(LIGHT_2, 0x391100ff),
gsSPVertex(wiggler_seg5_vertex_0500D228, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
+4 -12
View File
@@ -1,10 +1,6 @@
// Signpost
// 0x0302C940
static const Lights1 wooden_signpost_seg3_lights_0302C940 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0302C958
static const Vtx wooden_signpost_seg3_vertex_0302C958[] = {
@@ -32,8 +28,8 @@ const Gfx wooden_signpost_seg3_dl_0302D9C8[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, wooden_signpost_seg3_texture_0302C9C8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&wooden_signpost_seg3_lights_0302C940.l, 1),
gsSPLight(&wooden_signpost_seg3_lights_0302C940.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(wooden_signpost_seg3_vertex_0302C958, 7, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
gsSP2Triangles( 0, 3, 1, 0x0, 4, 1, 3, 0x0),
@@ -60,10 +56,6 @@ const Gfx wooden_signpost_seg3_dl_0302DA48[] = {
};
// 0x0302DAA8
static const Lights1 wooden_signpost_seg3_lights_0302DAA8 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0302DAC0
static const Vtx wooden_signpost_seg3_vertex_0302DAC0[] = {
@@ -106,8 +98,8 @@ const Gfx wooden_signpost_seg3_dl_0302DC40[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, wooden_signpost_seg3_texture_0302C9C8),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&wooden_signpost_seg3_lights_0302DAA8.l, 1),
gsSPLight(&wooden_signpost_seg3_lights_0302DAA8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(wooden_signpost_seg3_vertex_0302DAC0, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 6, 8, 9, 0x0),
+52 -88
View File
@@ -1,22 +1,10 @@
// Yoshi
// 0x0501C458
static const Lights1 yoshi_seg5_lights_0501C458 = gdSPDefLights1(
0x00, 0x7c, 0x00,
0x00, 0xf9, 0x00, 0x28, 0x28, 0x28
);
// 0x0501C470
static const Lights1 yoshi_seg5_lights_0501C470 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0501C488
static const Lights1 yoshi_seg5_lights_0501C488 = gdSPDefLights1(
0x7f, 0x00, 0x00,
0xff, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x0501C4A0
ALIGNED8 static const Texture yoshi_seg5_texture_0501C4A0[] = {
@@ -244,8 +232,8 @@ const Gfx yoshi_seg5_dl_0501D440[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, yoshi_seg5_texture_0501C8A0),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 16 * 16 - 1, CALC_DXT(16, G_IM_SIZ_16b_BYTES)),
gsSPLight(&yoshi_seg5_lights_0501C458.l, 1),
gsSPLight(&yoshi_seg5_lights_0501C458.a, 2),
gsSPLightColor(LIGHT_1, 0xf900ff),
gsSPLightColor(LIGHT_2, 0x7c00ff),
gsSPVertex(yoshi_seg5_vertex_0501CAA0, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSPEndDisplayList(),
@@ -253,8 +241,8 @@ const Gfx yoshi_seg5_dl_0501D440[] = {
// 0x0501D488 - 0x0501D4E0
const Gfx yoshi_seg5_dl_0501D488[] = {
gsSPLight(&yoshi_seg5_lights_0501C470.l, 1),
gsSPLight(&yoshi_seg5_lights_0501C470.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(yoshi_seg5_vertex_0501CB00, 11, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 3, 4, 5, 0x0, 5, 0, 3, 0x0),
@@ -265,13 +253,13 @@ const Gfx yoshi_seg5_dl_0501D488[] = {
// 0x0501D4E0 - 0x0501D8F8
const Gfx yoshi_seg5_dl_0501D4E0[] = {
gsSPLight(&yoshi_seg5_lights_0501C488.l, 1),
gsSPLight(&yoshi_seg5_lights_0501C488.a, 2),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x7f0000ff),
gsSPVertex(yoshi_seg5_vertex_0501CBB0, 5, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 0, 0x0),
gsSP2Triangles( 4, 1, 3, 0x0, 2, 1, 4, 0x0),
gsSPLight(&yoshi_seg5_lights_0501C458.l, 1),
gsSPLight(&yoshi_seg5_lights_0501C458.a, 2),
gsSPLightColor(LIGHT_1, 0xf900ff),
gsSPLightColor(LIGHT_2, 0x7c00ff),
gsSPVertex(yoshi_seg5_vertex_0501CC00, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 3, 0x0, 3, 5, 6, 0x0),
@@ -331,8 +319,8 @@ const Gfx yoshi_seg5_dl_0501D4E0[] = {
gsSPVertex(yoshi_seg5_vertex_0501D2C0, 7, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 2, 0x0),
gsSP2Triangles( 2, 4, 5, 0x0, 3, 5, 6, 0x0),
gsSPLight(&yoshi_seg5_lights_0501C470.l, 1),
gsSPLight(&yoshi_seg5_lights_0501C470.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(yoshi_seg5_vertex_0501D330, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 4, 8, 0x0),
@@ -386,40 +374,16 @@ const Gfx yoshi_seg5_dl_0501D998[] = {
};
// 0x0501D9C0
static const Lights1 yoshi_seg5_lights_0501D9C0 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0501D9D8
static const Lights1 yoshi_seg5_lights_0501D9D8 = gdSPDefLights1(
0x00, 0x7b, 0x00,
0x00, 0xf7, 0x00, 0x28, 0x28, 0x28
);
// 0x0501D9F0
static const Lights1 yoshi_seg5_lights_0501D9F0 = gdSPDefLights1(
0x7f, 0x00, 0x00,
0xff, 0x00, 0x00, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 yoshi_lights_unused1 = gdSPDefLights1(
0x59, 0x59, 0x59,
0xb2, 0xb2, 0xb2, 0x28, 0x28, 0x28
);
// Unreferenced light group
UNUSED static const Lights1 yoshi_lights_unused2 = gdSPDefLights1(
0x7f, 0x00, 0x00,
0xff, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x0501DA38
static const Lights1 yoshi_seg5_lights_0501DA38 = gdSPDefLights1(
0x45, 0x00, 0x00,
0x8b, 0x00, 0x00, 0x28, 0x28, 0x28
);
// 0x0501DA50
static const Vtx yoshi_seg5_vertex_0501DA50[] = {
@@ -1585,8 +1549,8 @@ static const Vtx yoshi_seg5_vertex_050211D0[] = {
// 0x050212B0 - 0x05021490
const Gfx yoshi_seg5_dl_050212B0[] = {
gsSPLight(&yoshi_seg5_lights_0501D9C0.l, 1),
gsSPLight(&yoshi_seg5_lights_0501D9C0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(yoshi_seg5_vertex_0501DA50, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -1628,8 +1592,8 @@ const Gfx yoshi_seg5_dl_050212B0[] = {
// 0x05021490 - 0x050215D8
const Gfx yoshi_seg5_dl_05021490[] = {
gsSPLight(&yoshi_seg5_lights_0501D9D8.l, 1),
gsSPLight(&yoshi_seg5_lights_0501D9D8.a, 2),
gsSPLightColor(LIGHT_1, 0xf700ff),
gsSPLightColor(LIGHT_2, 0x7b00ff),
gsSPVertex(yoshi_seg5_vertex_0501E1E0, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -1658,8 +1622,8 @@ const Gfx yoshi_seg5_dl_05021490[] = {
// 0x050215D8 - 0x05021678
const Gfx yoshi_seg5_dl_050215D8[] = {
gsSPLight(&yoshi_seg5_lights_0501D9D8.l, 1),
gsSPLight(&yoshi_seg5_lights_0501D9D8.a, 2),
gsSPLightColor(LIGHT_1, 0xf700ff),
gsSPLightColor(LIGHT_2, 0x7b00ff),
gsSPVertex(yoshi_seg5_vertex_0501E530, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 1, 0, 0x0),
gsSP2Triangles( 1, 4, 5, 0x0, 2, 6, 7, 0x0),
@@ -1674,8 +1638,8 @@ const Gfx yoshi_seg5_dl_050215D8[] = {
// 0x05021678 - 0x05021718
const Gfx yoshi_seg5_dl_05021678[] = {
gsSPLight(&yoshi_seg5_lights_0501D9D8.l, 1),
gsSPLight(&yoshi_seg5_lights_0501D9D8.a, 2),
gsSPLightColor(LIGHT_1, 0xf700ff),
gsSPLightColor(LIGHT_2, 0x7b00ff),
gsSPVertex(yoshi_seg5_vertex_0501E5D0, 11, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 0, 6, 7, 0x0, 4, 8, 1, 0x0),
@@ -1690,8 +1654,8 @@ const Gfx yoshi_seg5_dl_05021678[] = {
// 0x05021718 - 0x05021860
const Gfx yoshi_seg5_dl_05021718[] = {
gsSPLight(&yoshi_seg5_lights_0501D9D8.l, 1),
gsSPLight(&yoshi_seg5_lights_0501D9D8.a, 2),
gsSPLightColor(LIGHT_1, 0xf700ff),
gsSPLightColor(LIGHT_2, 0x7b00ff),
gsSPVertex(yoshi_seg5_vertex_0501E680, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -1720,8 +1684,8 @@ const Gfx yoshi_seg5_dl_05021718[] = {
// 0x05021860 - 0x05021900
const Gfx yoshi_seg5_dl_05021860[] = {
gsSPLight(&yoshi_seg5_lights_0501D9D8.l, 1),
gsSPLight(&yoshi_seg5_lights_0501D9D8.a, 2),
gsSPLightColor(LIGHT_1, 0xf700ff),
gsSPLightColor(LIGHT_2, 0x7b00ff),
gsSPVertex(yoshi_seg5_vertex_0501E9D0, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 1, 3, 0x0),
gsSP2Triangles( 4, 5, 1, 0x0, 6, 7, 0, 0x0),
@@ -1736,8 +1700,8 @@ const Gfx yoshi_seg5_dl_05021860[] = {
// 0x05021900 - 0x050219A0
const Gfx yoshi_seg5_dl_05021900[] = {
gsSPLight(&yoshi_seg5_lights_0501D9D8.l, 1),
gsSPLight(&yoshi_seg5_lights_0501D9D8.a, 2),
gsSPLightColor(LIGHT_1, 0xf700ff),
gsSPLightColor(LIGHT_2, 0x7b00ff),
gsSPVertex(yoshi_seg5_vertex_0501EA70, 11, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 2, 0x0, 1, 8, 4, 0x0),
@@ -1752,8 +1716,8 @@ const Gfx yoshi_seg5_dl_05021900[] = {
// 0x050219A0 - 0x05021B90
const Gfx yoshi_seg5_dl_050219A0[] = {
gsSPLight(&yoshi_seg5_lights_0501D9F0.l, 1),
gsSPLight(&yoshi_seg5_lights_0501D9F0.a, 2),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x7f0000ff),
gsSPVertex(yoshi_seg5_vertex_0501EB20, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 1, 3, 2, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 5, 7, 6, 0x0),
@@ -1794,8 +1758,8 @@ const Gfx yoshi_seg5_dl_050219A0[] = {
// 0x05021B90 - 0x05021CD8
const Gfx yoshi_seg5_dl_05021B90[] = {
gsSPLight(&yoshi_seg5_lights_0501D9D8.l, 1),
gsSPLight(&yoshi_seg5_lights_0501D9D8.a, 2),
gsSPLightColor(LIGHT_1, 0xf700ff),
gsSPLightColor(LIGHT_2, 0x7b00ff),
gsSPVertex(yoshi_seg5_vertex_0501F180, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 0, 6, 1, 0x0, 3, 7, 4, 0x0),
@@ -1823,8 +1787,8 @@ const Gfx yoshi_seg5_dl_05021B90[] = {
// 0x05021CD8 - 0x05021E38
const Gfx yoshi_seg5_dl_05021CD8[] = {
gsSPLight(&yoshi_seg5_lights_0501D9D8.l, 1),
gsSPLight(&yoshi_seg5_lights_0501D9D8.a, 2),
gsSPLightColor(LIGHT_1, 0xf700ff),
gsSPLightColor(LIGHT_2, 0x7b00ff),
gsSPVertex(yoshi_seg5_vertex_0501F540, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -1854,8 +1818,8 @@ const Gfx yoshi_seg5_dl_05021CD8[] = {
// 0x05021E38 - 0x05021F70
const Gfx yoshi_seg5_dl_05021E38[] = {
gsSPLight(&yoshi_seg5_lights_0501D9D8.l, 1),
gsSPLight(&yoshi_seg5_lights_0501D9D8.a, 2),
gsSPLightColor(LIGHT_1, 0xf700ff),
gsSPLightColor(LIGHT_2, 0x7b00ff),
gsSPVertex(yoshi_seg5_vertex_0501FA00, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
gsSP2Triangles( 4, 5, 3, 0x0, 6, 7, 8, 0x0),
@@ -1867,8 +1831,8 @@ const Gfx yoshi_seg5_dl_05021E38[] = {
gsSP2Triangles(10, 8, 7, 0x0, 3, 9, 12, 0x0),
gsSP2Triangles( 2, 1, 11, 0x0, 8, 11, 6, 0x0),
gsSP1Triangle( 5, 0, 3, 0x0),
gsSPLight(&yoshi_seg5_lights_0501D9C0.l, 1),
gsSPLight(&yoshi_seg5_lights_0501D9C0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(yoshi_seg5_vertex_0501FAF0, 11, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 0, 4, 0x0),
gsSP2Triangles( 5, 6, 7, 0x0, 7, 6, 8, 0x0),
@@ -1882,8 +1846,8 @@ const Gfx yoshi_seg5_dl_05021E38[] = {
// 0x05021F70 - 0x05022160
const Gfx yoshi_seg5_dl_05021F70[] = {
gsSPLight(&yoshi_seg5_lights_0501D9F0.l, 1),
gsSPLight(&yoshi_seg5_lights_0501D9F0.a, 2),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x7f0000ff),
gsSPVertex(yoshi_seg5_vertex_0501FBA0, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
@@ -1924,8 +1888,8 @@ const Gfx yoshi_seg5_dl_05021F70[] = {
// 0x05022160 - 0x050222A8
const Gfx yoshi_seg5_dl_05022160[] = {
gsSPLight(&yoshi_seg5_lights_0501D9D8.l, 1),
gsSPLight(&yoshi_seg5_lights_0501D9D8.a, 2),
gsSPLightColor(LIGHT_1, 0xf700ff),
gsSPLightColor(LIGHT_2, 0x7b00ff),
gsSPVertex(yoshi_seg5_vertex_05020200, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 1, 6, 2, 0x0, 4, 7, 5, 0x0),
@@ -1953,8 +1917,8 @@ const Gfx yoshi_seg5_dl_05022160[] = {
// 0x050222A8 - 0x05022408
const Gfx yoshi_seg5_dl_050222A8[] = {
gsSPLight(&yoshi_seg5_lights_0501D9D8.l, 1),
gsSPLight(&yoshi_seg5_lights_0501D9D8.a, 2),
gsSPLightColor(LIGHT_1, 0xf700ff),
gsSPLightColor(LIGHT_2, 0x7b00ff),
gsSPVertex(yoshi_seg5_vertex_050205C0, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -1984,8 +1948,8 @@ const Gfx yoshi_seg5_dl_050222A8[] = {
// 0x05022408 - 0x05022608
const Gfx yoshi_seg5_dl_05022408[] = {
gsSPLight(&yoshi_seg5_lights_0501D9D8.l, 1),
gsSPLight(&yoshi_seg5_lights_0501D9D8.a, 2),
gsSPLightColor(LIGHT_1, 0xf700ff),
gsSPLightColor(LIGHT_2, 0x7b00ff),
gsSPVertex(yoshi_seg5_vertex_05020A80, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -2006,8 +1970,8 @@ const Gfx yoshi_seg5_dl_05022408[] = {
gsSP1Triangle( 4, 14, 15, 0x0),
gsSPVertex(yoshi_seg5_vertex_05020E60, 3, 0),
gsSP1Triangle( 0, 1, 2, 0x0),
gsSPLight(&yoshi_seg5_lights_0501D9C0.l, 1),
gsSPLight(&yoshi_seg5_lights_0501D9C0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(yoshi_seg5_vertex_05020E90, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 5, 9, 3, 0x0),
@@ -2018,8 +1982,8 @@ const Gfx yoshi_seg5_dl_05022408[] = {
gsSP2Triangles(14, 15, 8, 0x0, 3, 10, 12, 0x0),
gsSP2Triangles(12, 4, 3, 0x0, 12, 14, 7, 0x0),
gsSP2Triangles( 8, 7, 14, 0x0, 7, 4, 12, 0x0),
gsSPLight(&yoshi_seg5_lights_0501D9F0.l, 1),
gsSPLight(&yoshi_seg5_lights_0501D9F0.a, 2),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x7f0000ff),
gsSPVertex(yoshi_seg5_vertex_05020F90, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 3, 5, 0x0, 7, 6, 5, 0x0),
@@ -2028,8 +1992,8 @@ const Gfx yoshi_seg5_dl_05022408[] = {
// 0x05022608 - 0x050227D8
const Gfx yoshi_seg5_dl_05022608[] = {
gsSPLight(&yoshi_seg5_lights_0501D9D8.l, 1),
gsSPLight(&yoshi_seg5_lights_0501D9D8.a, 2),
gsSPLightColor(LIGHT_1, 0xf700ff),
gsSPLightColor(LIGHT_2, 0x7b00ff),
gsSPVertex(yoshi_seg5_vertex_05021010, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -2039,8 +2003,8 @@ const Gfx yoshi_seg5_dl_05022608[] = {
gsSP2Triangles(14, 7, 3, 0x0, 13, 9, 12, 0x0),
gsSP2Triangles(11, 12, 9, 0x0, 7, 14, 8, 0x0),
gsSP2Triangles( 3, 13, 4, 0x0, 1, 15, 2, 0x0),
gsSPLight(&yoshi_seg5_lights_0501DA38.l, 1),
gsSPLight(&yoshi_seg5_lights_0501DA38.a, 2),
gsSPLightColor(LIGHT_1, 0x8b0000ff),
gsSPLightColor(LIGHT_2, 0x450000ff),
gsSPVertex(yoshi_seg5_vertex_05021110, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 2, 1, 0x0, 6, 7, 4, 0x0),
@@ -2049,8 +2013,8 @@ const Gfx yoshi_seg5_dl_05022608[] = {
gsSP2Triangles( 4, 1, 6, 0x0, 2, 9, 10, 0x0),
gsSP2Triangles( 5, 11, 3, 0x0, 2, 10, 0, 0x0),
gsSP2Triangles(11, 8, 3, 0x0, 1, 4, 3, 0x0),
gsSPLight(&yoshi_seg5_lights_0501D9C0.l, 1),
gsSPLight(&yoshi_seg5_lights_0501D9C0.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x7f7f7fff),
gsSPVertex(yoshi_seg5_vertex_050211D0, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 7, 6, 0x0),
+20 -50
View File
@@ -4,10 +4,6 @@
#include "make_const_nonconst.h"
// 0x07000000 - 0x07000018
static const Lights1 debug_level_select_lights_07000000 = gdSPDefLights1(
0x7f, 0x00, 0x00,
0xff, 0x00, 0x00, 0x00, 0x00, 0x50
);
// 0x07000018 - 0x07000108
static const Vtx debug_level_select_vertex_07000018[] = {
@@ -180,7 +176,8 @@ static const Vtx debug_level_select_vertex_07000798[] = {
// 0x07000858 - 0x07000A28
const Gfx debug_level_select_dl_07000858[] = {
gsDPPipeSync(),
gsSPSetLights1(debug_level_select_lights_07000000),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x7f0000ff),
gsSPVertex(debug_level_select_vertex_07000018, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -220,10 +217,6 @@ const Gfx debug_level_select_dl_07000858[] = {
};
// 0x07000A28 - 0x07000A40
static const Lights1 debug_level_select_lights_07000A28 = gdSPDefLights1(
0x00, 0x00, 0x7f,
0x00, 0x00, 0xff, 0x00, 0x00, 0x50
);
// 0x07000A40 - 0x07000B30
static const Vtx debug_level_select_vertex_07000A40[] = {
@@ -368,7 +361,8 @@ static const Vtx debug_level_select_vertex_070010D0[] = {
// 0x07001100 - 0x07001288
const Gfx debug_level_select_dl_07001100[] = {
gsDPPipeSync(),
gsSPSetLights1(debug_level_select_lights_07000A28),
gsSPLightColor(LIGHT_1, 0xffff),
gsSPLightColor(LIGHT_2, 0x7fff),
gsSPVertex(debug_level_select_vertex_07000A40, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -403,10 +397,6 @@ const Gfx debug_level_select_dl_07001100[] = {
};
// 0x07001288 - 0x070012A0
static const Lights1 debug_level_select_lights_07001288 = gdSPDefLights1(
0x00, 0x56, 0x00,
0x00, 0xad, 0x00, 0x00, 0x00, 0x50
);
// 0x070012A0 - 0x07001390
static const Vtx debug_level_select_vertex_070012A0[] = {
@@ -595,7 +585,8 @@ static const Vtx debug_level_select_vertex_07001B10[] = {
// 0x07001BA0 - 0x07001D98
const Gfx debug_level_select_dl_07001BA0[] = {
gsDPPipeSync(),
gsSPSetLights1(debug_level_select_lights_07001288),
gsSPLightColor(LIGHT_1, 0xad00ff),
gsSPLightColor(LIGHT_2, 0x5600ff),
gsSPVertex(debug_level_select_vertex_070012A0, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -639,10 +630,6 @@ const Gfx debug_level_select_dl_07001BA0[] = {
};
// 0x07001D98 - 0x07001DB0
static const Lights1 debug_level_select_lights_07001D98 = gdSPDefLights1(
0x7f, 0x00, 0x00,
0xff, 0x00, 0x00, 0x00, 0x00, 0x50
);
// 0x07001DB0 - 0x07001EA0
static const Vtx debug_level_select_vertex_07001DB0[] = {
@@ -815,7 +802,8 @@ static const Vtx debug_level_select_vertex_07002530[] = {
// 0x070025F0 - 0x070027C0
const Gfx debug_level_select_dl_070025F0[] = {
gsDPPipeSync(),
gsSPSetLights1(debug_level_select_lights_07001D98),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x7f0000ff),
gsSPVertex(debug_level_select_vertex_07001DB0, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -855,10 +843,6 @@ const Gfx debug_level_select_dl_070025F0[] = {
};
// 0x070027C0 - 0x070027D8
static const Lights1 debug_level_select_lights_070027C0 = gdSPDefLights1(
0x00, 0x00, 0x7f,
0x00, 0x00, 0xff, 0x00, 0x00, 0x50
);
// 0x070027D8 - 0x070028C8
static const Vtx debug_level_select_vertex_070027D8[] = {
@@ -1079,7 +1063,8 @@ static const Vtx debug_level_select_vertex_07003228[] = {
// 0x07003258 - 0x070034A0
const Gfx debug_level_select_dl_07003258[] = {
gsDPPipeSync(),
gsSPSetLights1(debug_level_select_lights_070027C0),
gsSPLightColor(LIGHT_1, 0xffff),
gsSPLightColor(LIGHT_2, 0x7fff),
gsSPVertex(debug_level_select_vertex_070027D8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -1130,10 +1115,6 @@ const Gfx debug_level_select_dl_07003258[] = {
};
// 0x070034A0 - 0x070034B8
static const Lights1 debug_level_select_lights_070034A0 = gdSPDefLights1(
0x7f, 0x00, 0x00,
0xff, 0x00, 0x00, 0x00, 0x00, 0x50
);
// 0x070034B8 - 0x070035A8
static const Vtx debug_level_select_vertex_070034B8[] = {
@@ -1322,7 +1303,8 @@ static const Vtx debug_level_select_vertex_07003D28[] = {
// 0x07003DB8 - 0x07003FB0
const Gfx debug_level_select_dl_07003DB8[] = {
gsDPPipeSync(),
gsSPSetLights1(debug_level_select_lights_070034A0),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x7f0000ff),
gsSPVertex(debug_level_select_vertex_070034B8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -1366,10 +1348,6 @@ const Gfx debug_level_select_dl_07003DB8[] = {
};
// 0x07003FB0 - 0x07003FC8
static const Lights1 debug_level_select_lights_07003FB0 = gdSPDefLights1(
0x00, 0x00, 0x7f,
0x00, 0x00, 0xff, 0x00, 0x00, 0x50
);
// 0x07003FC8 - 0x070040B8
static const Vtx debug_level_select_vertex_07003FC8[] = {
@@ -1558,7 +1536,8 @@ static const Vtx debug_level_select_vertex_07004838[] = {
// 0x070048C8 - 0x07004AC0
const Gfx debug_level_select_dl_070048C8[] = {
gsDPPipeSync(),
gsSPSetLights1(debug_level_select_lights_07003FB0),
gsSPLightColor(LIGHT_1, 0xffff),
gsSPLightColor(LIGHT_2, 0x7fff),
gsSPVertex(debug_level_select_vertex_07003FC8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -1602,10 +1581,6 @@ const Gfx debug_level_select_dl_070048C8[] = {
};
// 0x07004AC0 - 0x07004AD8
static const Lights1 debug_level_select_lights_07004AC0 = gdSPDefLights1(
0x00, 0x59, 0x00,
0x00, 0xb2, 0x00, 0x00, 0x00, 0x50
);
// 0x07004AD8 - 0x07004BC8
static const Vtx debug_level_select_vertex_07004AD8[] = {
@@ -1826,7 +1801,8 @@ static const Vtx debug_level_select_vertex_07005528[] = {
// 0x07005558 - 0x070057A0
const Gfx debug_level_select_dl_07005558[] = {
gsDPPipeSync(),
gsSPSetLights1(debug_level_select_lights_07004AC0),
gsSPLightColor(LIGHT_1, 0xb200ff),
gsSPLightColor(LIGHT_2, 0x5900ff),
gsSPVertex(debug_level_select_vertex_07004AD8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -1877,10 +1853,6 @@ const Gfx debug_level_select_dl_07005558[] = {
};
// 0x070057A0 - 0x070057B8
static const Lights1 debug_level_select_lights_070057A0 = gdSPDefLights1(
0x7f, 0x00, 0x00,
0xff, 0x00, 0x00, 0x00, 0x00, 0x50
);
// 0x070057B8 - 0x070058A8
static const Vtx debug_level_select_vertex_070057B8[] = {
@@ -1933,7 +1905,8 @@ static const Vtx debug_level_select_vertex_07005998[] = {
// 0x070059F8 - 0x07005A98
const Gfx debug_level_select_dl_070059F8[] = {
gsDPPipeSync(),
gsSPSetLights1(debug_level_select_lights_070057A0),
gsSPLightColor(LIGHT_1, 0xff0000ff),
gsSPLightColor(LIGHT_2, 0x7f0000ff),
gsSPVertex(debug_level_select_vertex_070057B8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
@@ -1948,10 +1921,6 @@ const Gfx debug_level_select_dl_070059F8[] = {
};
// 0x07005A98 - 0x07005AB0
static const Lights1 debug_level_select_lights_07005A98 = gdSPDefLights1(
0x00, 0x00, 0x7f,
0x00, 0x00, 0xff, 0x00, 0x00, 0x50
);
// 0x07005AB0 - 0x07005BA0
static const Vtx debug_level_select_vertex_07005AB0[] = {
@@ -2140,7 +2109,8 @@ static const Vtx debug_level_select_vertex_07006320[] = {
// 0x070063B0 - 0x070065A8
const Gfx debug_level_select_dl_070063B0[] = {
gsDPPipeSync(),
gsSPSetLights1(debug_level_select_lights_07005A98),
gsSPLightColor(LIGHT_1, 0xffff),
gsSPLightColor(LIGHT_2, 0x7fff),
gsSPVertex(debug_level_select_vertex_07005AB0, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
+4 -12
View File
@@ -2581,10 +2581,6 @@ const Texture texture_waterbox_lava[] = {
};
// Unreferenced light group
UNUSED static const Lights1 segment2_lights_unused = gdSPDefLights1(
0x40, 0x40, 0x40,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x02014470 - 0x020144B0
static const Mtx matrix_identity = {
@@ -2835,18 +2831,14 @@ const Gfx dl_ia8_up_arrow_end[] = {
};
// 0x02014958 - 0x02014960
static const Lights1 seg2_lights_02014958 = gdSPDefLights1(
0x50, 0x50, 0x50,
0xff, 0xff, 0xff, 0x32, 0x32, 0x32
);
// 0x02014970 - 0x020149A8
const Gfx dl_paintings_rippling_begin[] = {
gsDPPipeSync(),
gsSPSetGeometryMode(G_LIGHTING | G_SHADING_SMOOTH),
gsDPSetCombineMode(G_CC_MODULATERGBA, G_CC_MODULATERGBA),
gsSPLight(&seg2_lights_02014958.l, 1),
gsSPLight(&seg2_lights_02014958.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x505050ff),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_ON),
gsSPEndDisplayList(),
};
@@ -2864,8 +2856,8 @@ const Gfx dl_paintings_env_mapped_begin[] = {
gsDPPipeSync(),
gsSPSetGeometryMode(G_LIGHTING | G_TEXTURE_GEN),
gsDPSetCombineMode(G_CC_DECALRGB, G_CC_DECALRGB),
gsSPLight(&seg2_lights_02014958.l, 1),
gsSPLight(&seg2_lights_02014958.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x505050ff),
gsSPTexture(0x4000, 0x4000, 0, G_TX_RENDERTILE, G_ON),
gsSPEndDisplayList(),
};
+6 -6
View File
@@ -157,12 +157,12 @@
// Debug box
#define COLOR_RGBA32_DEBUG_DEFAULT 0x00FF0000 // 0 255 0 0
#define COLOR_RGBA32_DEBUG_ALPHA 0x0000007F // 0 0 0 127
#define COLOR_RGBA32_DEBUG_POSITION 0x80FFFFFF // 128 255 255 255
#define COLOR_RGBA32_DEBUG_HITBOX 0x800000FF // 128 0 0 255
#define COLOR_RGBA32_DEBUG_HURTBOX 0x8FF00000 // 143 240 0 0
#define COLOR_RGBA32_DEBUG_WARP 0x80FFA500 // 128 255 165 0
#define COLOR_RGBA32_DEBUG_PUPPYVOLUME 0x0000FF00 // 0 0 255 0
#define COLOR_RGBA32_DEBUG_LIGHT 0x08FF00FF // 8 255 0 255
#define COLOR_RGBA32_DEBUG_POSITION 0xFFFFFF80 // 255 255 255 128
#define COLOR_RGBA32_DEBUG_HITBOX 0x0000FF80 // 0 0 255 128
#define COLOR_RGBA32_DEBUG_HURTBOX 0xF000008F // 240 0 0 143
#define COLOR_RGBA32_DEBUG_WARP 0xFFA50080 // 255 165 0 128
#define COLOR_RGBA32_DEBUG_PUPPYVOLUME 0x00FF0000 // 0 255 0 0
#define COLOR_RGBA32_DEBUG_LIGHT 0xFF00FF08 // 255 0 255 8
// Color RGB(A) Arrays:
+1 -1
View File
@@ -12,7 +12,7 @@
// Enables a comprehensive standalone profiler. Automatically enabled by PUPPYPRINT_DEBUG.
// If not using PUPPYPRINT_DEBUG, press L to toggle the profiler.
// #define USE_PROFILER
#define USE_PROFILER
// TEST LEVEL
// Uncomment this define and set a test level in order to boot straight into said level.
+4 -12
View File
@@ -1,14 +1,6 @@
// 0x07004800 - 0x07004818
static const Lights1 bbh_seg7_lights_07004800 = gdSPDefLights1(
0x20, 0x20, 0x20,
0x50, 0x50, 0x50, 0x28, 0x28, 0x28
);
// 0x07004818 - 0x07004830
static const Lights1 bbh_seg7_lights_07004818 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x07004830 - 0x07004920
static const Vtx bbh_seg7_vertex_07004830[] = {
@@ -731,8 +723,8 @@ static const Gfx bbh_seg7_dl_07006AF0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spooky_09008800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bbh_seg7_lights_07004800.l, 1),
gsSPLight(&bbh_seg7_lights_07004800.a, 2),
gsSPLightColor(LIGHT_1, 0x505050ff),
gsSPLightColor(LIGHT_2, 0x202020ff),
gsSPVertex(bbh_seg7_vertex_07004830, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 5, 6, 0x0, 7, 8, 9, 0x0),
@@ -742,8 +734,8 @@ static const Gfx bbh_seg7_dl_07006AF0[] = {
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 6, 8, 9, 0x0),
gsSP1Triangle( 0, 10, 1, 0x0),
gsSPLight(&bbh_seg7_lights_07004818.l, 1),
gsSPLight(&bbh_seg7_lights_07004818.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(bbh_seg7_vertex_070049D0, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 4, 0x0),
gsSP2Triangles( 2, 4, 0, 0x0, 4, 3, 5, 0x0),
+4 -12
View File
@@ -1,14 +1,6 @@
// 0x0700BC68 - 0x0700BC80
static const Lights1 bbh_seg7_lights_0700BC68 = gdSPDefLights1(
0x20, 0x20, 0x20,
0x50, 0x50, 0x50, 0x28, 0x28, 0x28
);
// 0x0700BC80 - 0x0700BC98
static const Lights1 bbh_seg7_lights_0700BC80 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0700BC98 - 0x0700BD18
static const Vtx bbh_seg7_vertex_0700BC98[] = {
@@ -323,13 +315,13 @@ static const Gfx bbh_seg7_dl_0700CB58[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spooky_09008800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bbh_seg7_lights_0700BC68.l, 1),
gsSPLight(&bbh_seg7_lights_0700BC68.a, 2),
gsSPLightColor(LIGHT_1, 0x505050ff),
gsSPLightColor(LIGHT_2, 0x202020ff),
gsSPVertex(bbh_seg7_vertex_0700BC98, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSPLight(&bbh_seg7_lights_0700BC80.l, 1),
gsSPLight(&bbh_seg7_lights_0700BC80.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(bbh_seg7_vertex_0700BD18, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 4, 0x0),
gsSP2Triangles( 2, 5, 3, 0x0, 6, 7, 8, 0x0),
+2 -6
View File
@@ -1,8 +1,4 @@
// 0x0700D350 - 0x0700D368
static const Lights1 bbh_seg7_lights_0700D350 = gdSPDefLights1(
0x3f, 0x51, 0x66,
0x9e, 0xcc, 0xff, 0x28, 0x28, 0x28
);
// 0x0700D368 - 0x0700D428
static const Vtx bbh_seg7_vertex_0700D368[] = {
@@ -25,8 +21,8 @@ static const Gfx bbh_seg7_dl_0700D428[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spooky_09006000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bbh_seg7_lights_0700D350.l, 1),
gsSPLight(&bbh_seg7_lights_0700D350.a, 2),
gsSPLightColor(LIGHT_1, 0x9eccffff),
gsSPLightColor(LIGHT_2, 0x3f5166ff),
gsSPVertex(bbh_seg7_vertex_0700D368, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
+6 -18
View File
@@ -1,20 +1,8 @@
// 0x0700D850 - 0x0700D868
static const Lights1 bbh_seg7_lights_0700D850 = gdSPDefLights1(
0x20, 0x20, 0x20,
0x50, 0x50, 0x50, 0x28, 0x28, 0x28
);
// 0x0700D868 - 0x0700D880
static const Lights1 bbh_seg7_lights_0700D868 = gdSPDefLights1(
0x3c, 0x3c, 0x3c,
0x96, 0x96, 0x96, 0x28, 0x28, 0x28
);
// 0x0700D880 - 0x0700D898
static const Lights1 bbh_seg7_lights_0700D880 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0700D898 - 0x0700D918
static const Vtx bbh_seg7_vertex_0700D898[] = {
@@ -473,19 +461,19 @@ static const Gfx bbh_seg7_dl_0700EE98[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spooky_09008800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bbh_seg7_lights_0700D850.l, 1),
gsSPLight(&bbh_seg7_lights_0700D850.a, 2),
gsSPLightColor(LIGHT_1, 0x505050ff),
gsSPLightColor(LIGHT_2, 0x202020ff),
gsSPVertex(bbh_seg7_vertex_0700D898, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSPLight(&bbh_seg7_lights_0700D868.l, 1),
gsSPLight(&bbh_seg7_lights_0700D868.a, 2),
gsSPLightColor(LIGHT_1, 0x969696ff),
gsSPLightColor(LIGHT_2, 0x3c3c3cff),
gsSPVertex(bbh_seg7_vertex_0700D918, 10, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
gsSP2Triangles( 0, 5, 3, 0x0, 0, 2, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 6, 9, 7, 0x0),
gsSPLight(&bbh_seg7_lights_0700D880.l, 1),
gsSPLight(&bbh_seg7_lights_0700D880.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(bbh_seg7_vertex_0700D9B8, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
gsSP2Triangles( 4, 5, 0, 0x0, 0, 2, 3, 0x0),
+16 -32
View File
@@ -1,26 +1,10 @@
// 0x0700F8B8 - 0x0700F8D0
static const Lights1 bbh_seg7_lights_0700F8B8 = gdSPDefLights1(
0x65, 0x65, 0x38,
0xfe, 0xfe, 0x8c, 0x28, 0x28, 0x28
);
// 0x0700F8D0 - 0x0700F8E8
static const Lights1 bbh_seg7_lights_0700F8D0 = gdSPDefLights1(
0x20, 0x20, 0x20,
0x50, 0x50, 0x50, 0x28, 0x28, 0x28
);
// 0x0700F8E8 - 0x0700F900
static const Lights1 bbh_seg7_lights_0700F8E8 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0700F900 - 0x0700F918
static const Lights1 bbh_seg7_lights_0700F900 = gdSPDefLights1(
0x33, 0x2c, 0x20,
0x80, 0x70, 0x52, 0x28, 0x28, 0x28
);
// 0x0700F918 - 0x0700F9F8
static const Vtx bbh_seg7_vertex_0700F918[] = {
@@ -394,8 +378,8 @@ static const Gfx bbh_seg7_dl_07010A48[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spooky_09008800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bbh_seg7_lights_0700F8B8.l, 1),
gsSPLight(&bbh_seg7_lights_0700F8B8.a, 2),
gsSPLightColor(LIGHT_1, 0xfefe8cff),
gsSPLightColor(LIGHT_2, 0x656538ff),
gsSPVertex(bbh_seg7_vertex_0700F918, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 5, 6, 3, 0x0, 5, 7, 8, 0x0),
@@ -404,13 +388,13 @@ static const Gfx bbh_seg7_dl_07010A48[] = {
gsSPVertex(bbh_seg7_vertex_0700F9F8, 7, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP1Triangle( 0, 6, 1, 0x0),
gsSPLight(&bbh_seg7_lights_0700F8D0.l, 1),
gsSPLight(&bbh_seg7_lights_0700F8D0.a, 2),
gsSPLightColor(LIGHT_1, 0x505050ff),
gsSPLightColor(LIGHT_2, 0x202020ff),
gsSPVertex(bbh_seg7_vertex_0700FA68, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSPLight(&bbh_seg7_lights_0700F8E8.l, 1),
gsSPLight(&bbh_seg7_lights_0700F8E8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(bbh_seg7_vertex_0700FAE8, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
@@ -423,18 +407,18 @@ static const Gfx bbh_seg7_dl_07010B58[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spooky_09003800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bbh_seg7_lights_0700F8B8.l, 1),
gsSPLight(&bbh_seg7_lights_0700F8B8.a, 2),
gsSPLightColor(LIGHT_1, 0xfefe8cff),
gsSPLightColor(LIGHT_2, 0x656538ff),
gsSPVertex(bbh_seg7_vertex_0700FBA8, 4, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSPLight(&bbh_seg7_lights_0700F8E8.l, 1),
gsSPLight(&bbh_seg7_lights_0700F8E8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(bbh_seg7_vertex_0700FBE8, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0),
gsSPLight(&bbh_seg7_lights_0700F900.l, 1),
gsSPLight(&bbh_seg7_lights_0700F900.a, 2),
gsSPLightColor(LIGHT_1, 0x807052ff),
gsSPLightColor(LIGHT_2, 0x332c20ff),
gsSPVertex(bbh_seg7_vertex_0700FCA8, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
@@ -447,14 +431,14 @@ static const Gfx bbh_seg7_dl_07010C30[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bbh_seg7_texture_07000000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bbh_seg7_lights_0700F8B8.l, 1),
gsSPLight(&bbh_seg7_lights_0700F8B8.a, 2),
gsSPLightColor(LIGHT_1, 0xfefe8cff),
gsSPLightColor(LIGHT_2, 0x656538ff),
gsSPVertex(bbh_seg7_vertex_0700FD68, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0),
gsSPLight(&bbh_seg7_lights_0700F8E8.l, 1),
gsSPLight(&bbh_seg7_lights_0700F8E8.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(bbh_seg7_vertex_0700FE28, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
gsSP2Triangles( 0, 5, 3, 0x0, 0, 4, 1, 0x0),
+2 -6
View File
@@ -1,8 +1,4 @@
// 0x07011228 - 0x07011240
static const Lights1 bbh_seg7_lights_07011228 = gdSPDefLights1(
0x66, 0x66, 0x66,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x07011240 - 0x070112C0
static const Vtx bbh_seg7_vertex_07011240[] = {
@@ -252,8 +248,8 @@ static const Gfx bbh_seg7_dl_07011DF0[] = {
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spooky_0900A000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPLight(&bbh_seg7_lights_07011228.l, 1),
gsSPLight(&bbh_seg7_lights_07011228.a, 2),
gsSPLightColor(LIGHT_1, 0xffffffff),
gsSPLightColor(LIGHT_2, 0x666666ff),
gsSPVertex(bbh_seg7_vertex_07011240, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
Loaded 100 of 441 files, more files were not shown because too many files have changed in this diff. Show more