762 files changed
+27625
-30817
No files matched your search
+13
-13
@@ -2,19 +2,19 @@
|
||||
* text=auto
|
||||
|
||||
# List text files in case git doesn't characterize correctly
|
||||
*.c text
|
||||
*.h text
|
||||
*.s text
|
||||
*.in text
|
||||
*.js text
|
||||
*.md text
|
||||
*.py text
|
||||
*.sh text
|
||||
*.ld text
|
||||
*.inc text
|
||||
*.txt text
|
||||
*.json text
|
||||
*.yaml text
|
||||
*.c text eol=lf
|
||||
*.h text eol=lf
|
||||
*.s text eol=lf
|
||||
*.in text eol=lf
|
||||
*.js text eol=lf
|
||||
*.md text eol=lf
|
||||
*.py text eol=lf
|
||||
*.sh text eol=lf
|
||||
*.ld text eol=lf
|
||||
*.inc text eol=lf
|
||||
*.txt text eol=lf
|
||||
*.json text eol=lf
|
||||
*.yaml text eol=lf
|
||||
|
||||
# Same for binary
|
||||
*.bin binary
|
||||
|
||||
@@ -38,6 +38,9 @@
|
||||
# datadump
|
||||
/tools/ddump/*
|
||||
|
||||
# python cache in tools/
|
||||
/tools/__pycache__/*
|
||||
|
||||
# Text editor remnants
|
||||
*.swp
|
||||
.vscode/*
|
||||
|
||||
Vendored
+1
-3
@@ -26,9 +26,7 @@
|
||||
"VERSION_US=1",
|
||||
"F3DEX_GBI_2=1",
|
||||
"F3DZEX_NON_GBI_2=1",
|
||||
"F3DEX_GBI_SHARED=1",
|
||||
"NON_MATCHING=1",
|
||||
"AVOID_UB=1"
|
||||
"F3DEX_GBI_SHARED=1"
|
||||
],
|
||||
"compilerPath": "/usr/bin/mips-linux-gnu-gcc",
|
||||
"cStandard": "gnu17",
|
||||
|
||||
@@ -1,416 +0,0 @@
|
||||
Refresh 15 (mostly a hotfix for RSP microcode selection)
|
||||
|
||||
1.) Renamed frame_buffer funcs and _ZBUFFER (#1184)
|
||||
2.) RSP Microcode Hotfix (#1183)
|
||||
3.) Label osSetTimer.c (#1182)
|
||||
4.) Fix styling (#1177)
|
||||
5.) Rename all `FrameBuffer` variants to `Framebuffer` (#1176)
|
||||
6.) Remove (WIP) from sh.
|
||||
7.) Allow both archives and ELF objects to be patched (#1127)
|
||||
|
||||
Refresh 14
|
||||
|
||||
1.) Label whomp and some object fields (#1174)
|
||||
2.) Generate MIO0 object files using binutils `ld` instead of `as` (#1173)
|
||||
3.) Bowser documentation (#1166)
|
||||
4.) Fix comment syntax in 00_sound_player.0 (#1172)
|
||||
5.) Rename in-game menu variables (#1163)
|
||||
6.) Document double red coin sound and JP sound glitch (#1170)
|
||||
7.) Document different bug in external.c (#1168)
|
||||
8.) updated names/types of octagonal platform data (#1164)
|
||||
9.) Label a number of unnamed variables. (#1169)
|
||||
10.) Document JP PU sound glitch (#1167)
|
||||
11.) Set model ids to spawn_triangle_break_particles (#1165)
|
||||
12.) Fix borders in clear_frame_buffer (#1162)
|
||||
13.) Fix seq header files for 64-bit (#1161)
|
||||
14.) Game_init.c remaining doc (#1158)
|
||||
15.) Label a couple static variables in sound_init.c (#1159)
|
||||
16.) Properly define dialog values (status, flags, cutscenes) (#1153)
|
||||
17.) Label all of amp's assets. (#1018)
|
||||
18.) Split audio/synthesis.c into Shindou/non-Shindou files (#1144)
|
||||
19.) Avoid CC_CHECK warnings when using gcc (#1157)
|
||||
20.) level_select_menu.c => title_screen.c (#1152)
|
||||
21.) Use C preprocessor on assembly files (#1126)
|
||||
22.) Replace output_level_headers.py with sed equivalent (#1109)
|
||||
23.) Fix CC_CHECK warnings related to unused symbols and UB (#1155)
|
||||
24.) Define remaining floor lower limit values (#1147)
|
||||
25.) use r+b mode for libultra.a patch tool (#1148)
|
||||
26.) Use proper values for gPrevFrameObjectCount ifs (#1146)
|
||||
27.) Some minor bowser.inc.c labelling. (#1150)
|
||||
28.) fix king bob-omb texture pointers (#1145)
|
||||
29.) Split audio/load.c into Shindou/non-Shindou files (#1143)
|
||||
30.) Small Shindou audio cleanups (#1142)
|
||||
31.) Fix endians in ALSeqData (#1141)
|
||||
32.) Document S8 decoder rsp operation and some more (#1139)
|
||||
33.) Fix Shindou synthesis_process_note fake match (#1140)
|
||||
34.) More audio documentation, for the new rsp code and other fixes (#1138)
|
||||
35.) Build fixes for macOS: cpp, clang, recomp, aiff_extract_codebook (#1135)
|
||||
36.) Add ENABLE_RUMBLE to config.h (#1122)
|
||||
37.) Reduce recomp memory consumption by using smaller disassembly blocks (#1128)
|
||||
38.) Makefile fixes (#1123)
|
||||
39.) Update README.md
|
||||
40.) Update README.md
|
||||
41.) Reflect current decompilation status
|
||||
42.) Allow both archives and ELF objects to be patched (#1127)
|
||||
43.) Remove WIP mention in README for sh version.
|
||||
|
||||
Refresh 13 2
|
||||
|
||||
- No more nonmatchings remain for all builds including Shindou.
|
||||
|
||||
1.) Shindou OK (#1118)
|
||||
2.) Match shindou sequence_player_process_sequence (#1117)
|
||||
3.) Match func_sh_802f4e50 (#1116)
|
||||
|
||||
Refresh 13
|
||||
|
||||
- No more nonmatchings remain for US, JP, or EU builds. Three(!!!) remain for Shindou (SH).
|
||||
|
||||
*) SHINDOU MATCHING (#1081)
|
||||
*) Makefile gcc fixes (#1114)
|
||||
|
||||
1.) Update diff.py (#1113)
|
||||
2.) Add support for generating C arrays from n64graphics and add Texture typedef (#1032)
|
||||
3.) Update README and Dockerfile with recomp info (#1105)
|
||||
4.) Support building tools with MSYS2 (#1112)
|
||||
5.) Support building tools with clang and macOS (#1106)
|
||||
6.) Clean tools directory when running distclean target (#1104)
|
||||
7.) Make build output cleaner (#1095)
|
||||
8.) Added 2 surface defines to bowser.inc.c (#1111)
|
||||
9.) fix fake matchings (#1108)
|
||||
10.) Use statically recompiled IDO instead of qemu-irix (#1099)
|
||||
11.) Add VERBOSE=1 to Jenkinsfile
|
||||
12.) updated intro_geo to use layer defines for geo flags (#1090)
|
||||
13.) Fix F3DZEX (#1097)
|
||||
14.) layer_transpose should take an s8 (#1093)
|
||||
15.) Fix tools/ build (#1082)
|
||||
16.) Relabel and document fish.inc.c (#1077)
|
||||
17.) Ensure all calls to .py files use $(PYTHON) (#1080)
|
||||
18.) Name Mario, Peach, and instrument sound files (#1078)
|
||||
19.) Goddard labeling, part 2 (#1076)
|
||||
20.) Fix envfx_snow and envfx_bubbles fake matches (#1075)
|
||||
21.) Use array subscripts instead of pointer math in 2 files (#1074)
|
||||
22.) refactor Makefile a bit (#1068)
|
||||
23.) Further improvements on field names (#1059)
|
||||
24.) Label and document manta_ray.inc.c (#1073)
|
||||
25.) Fix level_script and behavior fake matches (#1072)
|
||||
26.) Proper cell defines and more floor lower limit values. (#1065)
|
||||
27.) Document and re-label some goddard/intro code (#1069)
|
||||
28.) Match remaining functions (#1070)
|
||||
29.) match 'spawn_special_objects' (#1071)
|
||||
30.) Document parts of external.c and format sound defines (#1067)
|
||||
|
||||
Refresh 12
|
||||
|
||||
1.) Debug box improvements (#1066)
|
||||
2.) Improve 'geo_render_mirror_mario' (#1064)
|
||||
3.) Cleanup and small labeling (#1063)
|
||||
4.) Anim renames and other related renames (#1062)
|
||||
5.) remove do while 0 and make one line comments consistent (#1061)
|
||||
6.) fixed typo in segments.h (#1060)
|
||||
7.) Name unknown fields (from public repo) (#1058)
|
||||
8.) Change 'void *' to 'struct MainPoolState *' (#1057)
|
||||
9.) Fix type of freeList (#1056)
|
||||
10.) Newer version of diff script (#1055)
|
||||
11.) Add stubbed_printfs based on unused audio strings (#1054)
|
||||
12.) Fix comment in paintings.c (#1053)
|
||||
13.) Add defines for hardcoded cell/floor height values (#1051)
|
||||
14.) Update README.md: Remove GitHub specific Markdown syntax (#1052)
|
||||
15.) Properly label interation status that handle's Bowser's shockwave attack (#1050)
|
||||
|
||||
Refresh 11
|
||||
1.) Make geo_process_level_of_detail endian-independent (#1049)
|
||||
2.) Label oMoveFlags and slight cleanup. (#1046)
|
||||
3.) Avoid UB in synthesis_resample_and_mix_reverb (#1048)
|
||||
4.) Change some void * to correct type (#1047)
|
||||
5.) Remove oPathedWaypointsS16 and convert all paths to Trajectory struct. (#1045)
|
||||
6.) Mr Blizzard documentation, Tox Box Unks (#1042)
|
||||
7.) Pipe input to textconv. (#1041)
|
||||
8.) Remove erroneous long double casts from audiofile.cpp (#1039)
|
||||
9.) Replace fixed dialogID in play_dialog_sound to DIALOG_COUNT (#1040)
|
||||
|
||||
Refresh #10.1
|
||||
1.) Diff update (#1033)
|
||||
2.) Fix texture dimensions for exclamation boxes (#1034)
|
||||
3.) Fix armips compilation on Windows by changing order of inclusion files (#1035)
|
||||
4.) Embed libaudiofile into the repo as a single file (#1036)
|
||||
5.) Fix some tools issues found while compiling on MSYS2 (#1037)
|
||||
|
||||
Refresh #10
|
||||
1.) GCC 9 noreturn UB fixes (#961)
|
||||
2.) List supported binutils variants in README.md (#960)
|
||||
3.) fix fly guy's possible values for target roll
|
||||
4.) clarify that 1 is an exclusive bound in random_float (#962)
|
||||
5.) replace unkB8 with prevNumStarsForDialog (#963)
|
||||
6.) Replace "BulletBillUnkF8" with "BulletBillInitialMoveYaw" (#966)
|
||||
7.) Renamed more warp behaviors and spawn types (#949)
|
||||
8.) EU bss cleanups (#965)
|
||||
9.) Add -fno-zero-initialized-in-bss to GCC CFLAGS (#968)
|
||||
10.) Use empty .SECONDARY target instead of .PRECIOUS (#964)
|
||||
11.) Match EU seq_channel_layer_process_script (#969)
|
||||
12.) Fix version variable overwriting bug for non-matching compilations (#974)
|
||||
13.) small bhv_collect_star_init labeling (#972)
|
||||
14.) Align SI DMA command buffers, add more names to osCont code (#973)
|
||||
15.) Minor for loop fix in playback.c (#976)
|
||||
16.) Add Docker config (Public #36)
|
||||
17.) Fix usage output crash for skyconv (#977)
|
||||
18.) Cleanup tools and their build flags (#978)
|
||||
19.) Print more detailed file reading error messages in extract_assets (#982)
|
||||
20.) Remove asmdiff (#983)
|
||||
21.) Fixed tabledesign makefile bug (#985)
|
||||
22.) Improve first-diff.py (#987)
|
||||
23.) Bring in some enhancements such as widescreen enhancements (#981)
|
||||
24.) Fix background shadow border if widescreen in shade_screen (#988)
|
||||
25.) Merge common EU sections in osExceptionPreamble (#990)
|
||||
26.) Introduce the NO_SEGMENTED_MEMORY define (#989)
|
||||
27.) NO_SEGMENTED_MEMORY comments (#992)
|
||||
28.) Introduce f3dex2e and a GBI_FLOATS setting (#993)
|
||||
29.) Audio uses signed 16-bit integers as samples, not unsigned (#995)
|
||||
30.) Assemble RSP ucode with armips (#970)
|
||||
31.) Label Mr. Blizzard, Yoshi, Whomp, Wiggler, Wood Piece oFields. (#996)
|
||||
32.) update crash enhancement (#1003)
|
||||
33.) Update README.md to use new public Discord server invite
|
||||
34.) Label variables in act_idle. (#1005)
|
||||
35.) Fix a typo in camera.h (#1009)
|
||||
36.) Fixed up profiler.c (#1010)
|
||||
37.) Add -d to first-diff.py (#1012)
|
||||
38.) Fix typo in first-diff.py (#1013)
|
||||
39.) Remove binutils 2.27 dependency check (#1015)
|
||||
40.) Update armips to v0.11.0 tag and add generator script (#1004)
|
||||
41.) Extract IPL3 font from ROM (#1011)
|
||||
42.) Documented audio playback flags (#1021)
|
||||
43.) Change RSP register notation to dollar-prefixed numbers (#1022)
|
||||
44.) Only check for QEMU_IRIX in Makefile when compiling with IDO (#1023)
|
||||
45.) Clean up header files and update function prototypes (#1000)
|
||||
46.) Named local variables in geo_update_layer_transparency (#1019)
|
||||
47.) Extract crash screen font textures from EU and SH ROMs (#1025)
|
||||
48.) Use ACTIVE_FLAG defines where appropriate (#1026)
|
||||
49.) Changed type of actor collision from s16 to Collision (#1024)
|
||||
50.) Implement sqrtf in assembly file (#1028)
|
||||
51.) Rename Struct8032FCE8 as OpenableGrill and identify data members (#1029)
|
||||
52.) Fix some mistakes in the abi doc (#1031)
|
||||
53.) The README.md PR (#979)
|
||||
|
||||
Refresh #8
|
||||
1.) Use INT_STATUS_ macros for oInteractStatus (#911)
|
||||
2.) Update bullet_bill.inc.c (#912)
|
||||
3.) Make geo.c in levels nonconst to reduce diffs with gcc enhancement patch in future (#913)
|
||||
4.) Improve process_level_music_dynamics (#915)
|
||||
5.) add AVOID_UB define for fixing libultra aliasing. (#916)
|
||||
6.) const hack to TARGET_N64 and tweak ld script (#918)
|
||||
7.) Replace raw level/course numbers with defines (#919)
|
||||
8.) Label all graph node flags. (#920)
|
||||
9.) readme.md capitalization
|
||||
10.) The Big Function PR (Part 5) (#910)
|
||||
11.) Label hardware registers (#922)
|
||||
12.) Match EU synthesis_process_note (#923)
|
||||
13.) Some quick value changes (#909)
|
||||
14.) Added sequence player defines (#926)
|
||||
15.) Shindou diffs 2 [merge game.c and display.c, required for SH] (#927)
|
||||
16.) Match synthesis_process_notes and use -sopt for synthesis.c (#928)
|
||||
17.) Fix mips64-binutils for Fedora 31 and similar Linux distros (#931)
|
||||
18.) Update first-diff.py to work with Shindou (#933)
|
||||
19.) Labelled behavior_script.c (#929)
|
||||
20.) shindou diffs up to level_update (#932)
|
||||
21.) Update diff.py and diff_settings.py to work with SH (#936)
|
||||
22.) Add some Shindou resources to extract_assets.py (#939)
|
||||
23.) Label and document gd_math.c (#930)
|
||||
24.) Label all of Mario's actions. (#941)
|
||||
25.) Label all particles. (#940)
|
||||
26.) Renamed death related warpBhvs (#942)
|
||||
27.) Small Shindou differences (#945)
|
||||
28.) match player_performed_grab_escape_action in all versions (#943)
|
||||
29.) add main alignment (aglab2, #947)
|
||||
30.) Match a bunch of fake EU matchings (#944)
|
||||
31.) Shindou diffs round 4 (#937)
|
||||
32.) Easy PAL fake matchings (#946)
|
||||
33.) Merge object_helpers and object_helpers2 headers (#948)
|
||||
34.) match cap_check_quicksand (#950)
|
||||
35.) Shindou crash screen diffs (#938)
|
||||
36.) Thread6 (#951)
|
||||
37.) Correct IPL3 function and label addresses (#952)
|
||||
38.) Add COMPILER flag for Makefile and add official mips gcc support. (#953)
|
||||
39.) add align to sequence_00 (fixes gcc build) (#957)
|
||||
40.) Fixed itty bitty typo (#959)
|
||||
|
||||
Refresh #7
|
||||
1.) update README.md (#861)
|
||||
2.) [eu] fix decompilation bugs in synthesis_process_note (#862)
|
||||
3.) Label and document Snufit.inc.c (#863)
|
||||
4.) Label and document Snufit.inc.c (#863)
|
||||
5.) Match append_bubble_vertex_buffer, append_snowflake_vertex_buffer (#860)
|
||||
6.) Compile audio/effects.c with -sopt (#870)
|
||||
7.) Match handle_dialog_text_and_pages (#872)
|
||||
8.) Remove improperly used LEVEL_SA define. (#875)
|
||||
9.) Remove unused EU ASM files (#873)
|
||||
10.) Shindou build flag support (#876)
|
||||
11.) The Big Function PR (Part 1) (#864)
|
||||
12.) "Re-document" file_select and star_select for EU (#877)
|
||||
13.) Document paintings.c (#868)
|
||||
14.) Minor interaction.c labelling/documentation. (#882)
|
||||
15.) Match synthesis_execute, prepare_reverb_ring_buffer, func_eu_802e00d8 (#886)
|
||||
16.) The Big Function PR (Part 2) (#874)
|
||||
17.) Additional painting documentation (#883)
|
||||
18.) Some EU audio labelling (#885)
|
||||
19.) Bring synthesis_do_one_audio_update a bit closer to matching (#887)
|
||||
20.) Misleading comment, this actually contols Bowser's init action (#889)
|
||||
21.) Match synthesis_do_one_audio_update (#890)
|
||||
22.) Remove unneeded if(1) in synthesis_do_one_audio_update (#891)
|
||||
23.) Match synthesis_resample_and_mix_reverb (#893)
|
||||
24.) Set LANG=C (#896)
|
||||
25.) Match note_apply_headset_pan_effects (#897)
|
||||
26.) Match play_sequence (#898)
|
||||
27.) Match sequence_channel_enable (#899)
|
||||
28.) Match sequence_player_process_sequence (#900)
|
||||
29.) Match (eu) alloc_bank_or_seq (#901)
|
||||
30.) Match alloc_bank_or_seq (#903)
|
||||
31.) Update README.md (again)
|
||||
32.) Documented behaviour/fish.inc.c & blue_fish.inc.c (#894)
|
||||
33.) Labelled 4 behavior files, made object_helper functions consistent (#881)
|
||||
34.) Add a make target for .copt (#902)
|
||||
35.) The Big Function PR (Part 3) (#888)
|
||||
36.) The Big Function PR (Part 4) (#906)
|
||||
37.) Rename src/audio/memory.c -> heap.c (#907)
|
||||
38.) Fix BBH texture (#908)
|
||||
|
||||
Refresh #6
|
||||
1.) Make tools work on MinGW (#804)
|
||||
2.) Document mario_misc (#628)
|
||||
3.) add patch_libmalloc.py script to work around compiler crashes (#811)
|
||||
4.) Label the coffins file. (#829)
|
||||
5.) Convert enhancements into patches (#827)
|
||||
6.) Document Tweester.inc.c (#840)
|
||||
7.) EU OK and cleanup EU (#782)
|
||||
|
||||
Refresh #5
|
||||
1.) mem_error_screen.inc.c updated for C (#775)
|
||||
2.) updated patch_libultra_math to work directly on libultra.a (#781)
|
||||
3.) Enhancement: Debug boxes (#783)
|
||||
4.) Label effects MemoryPool (#784)
|
||||
5.) Use full-width characters for JP text and rename mislabeled stuff (#772)
|
||||
6.) Small asset extraction fixes (#785)
|
||||
7.) Fix incremental asset extraction after the last PR (#790)
|
||||
8.) Labelled behavior script commands, tidied up behavior scripts and ren…
|
||||
9.) Document camera.c (#741)
|
||||
10.) Fix a HMC texture asset (#795)
|
||||
11.) Fix UB in angle conversion for paintings. Needed for pc-port. (#796)
|
||||
12.) Fix PSS texture assets (#801)
|
||||
13.) Fix some camera typos (#802)
|
||||
|
||||
Refresh #4
|
||||
1.) Label screen_transition.c (#737)
|
||||
2.) Revamp macros (#738)
|
||||
3.) Simplify the cake makefile logic (#739)
|
||||
4.) Move zbuffer to C (#742)
|
||||
5.) Audio blob endian/64-bit fixes (#740)
|
||||
6.) Ub fixes (#745)
|
||||
7.) process_level_music_dynamics: slightly better stack and regalloc (#746)
|
||||
8.) move level order specific definitions out to levels/level_defines.h (#743)
|
||||
9.) Renamed some mislabelled sound effects (#748)
|
||||
10.) Very minor white space fixes in Mario.c (#752)
|
||||
11.) Renamed GRAVITY to OBJ_PHYSICS (#755)
|
||||
12.) Use defined macros instead of literal values for interactions in behavior_data.c (#754)
|
||||
13.) iQue Player console detection + full support (#756)
|
||||
14.) Fix Goddard Mario head for little endian etc. (#757)
|
||||
15.) Small bits of audio doc (#749)
|
||||
16.) Update diff script (#750)
|
||||
17.) Nicer format for course/dialog text, enum for dialog IDs (#753)
|
||||
18.) first-diff: store most recent mtime during check (#759)
|
||||
19.) Use Lights1 struct for light values (#760)
|
||||
20.) Detect mips64-elf in diff.py (#761)
|
||||
21.) Name display lists in gd renderer.c (#764)
|
||||
22.) Document a variety of PU type crashes. (#765)
|
||||
23.) Label object_behaviors. (#716)
|
||||
24.) Update swoop.inc.c (#767)
|
||||
25.) Label tilting_pyramid.inc.c (#768)
|
||||
26.) Label red_coin.inc.c (#770)
|
||||
27.) Use more level defines (#758)
|
||||
28.) Named Mario actions 6, 7, and 8 and noted causes of hands-free holding glitch (#769)
|
||||
|
||||
Refresh #3
|
||||
1.) Small bits of sound sample labelling
|
||||
2.) Append 'b' to fopen calls in n64graphics to satisfy Windows
|
||||
3.) Document synthesis.c and abi.h
|
||||
4.) Remove gbi_old.h and use gbi.h instead for F3D_OLD
|
||||
5.) Fix and change most values used by f3d commands
|
||||
6.) Convert actors to C
|
||||
7.) Make extract_assets.py fail on bad baserom
|
||||
8.) Fix some (pragma-ignored) warnings
|
||||
9.) Convert trig tables and data/ buffers into C
|
||||
10.) Document intro behaviors and some of camera.c
|
||||
11.) Match dma_sample_data
|
||||
12.) Convert levels, bin, text, goddard_tex_dl to C
|
||||
13.) Remove .bss size hardcoding
|
||||
14.) Add mips64 fallback and alt dump option to diff.sh
|
||||
15.) Convert behavior_data to C
|
||||
16.) Get rid of the enum in behavior_data.
|
||||
17.) Change more values used by f3d commands
|
||||
18.) Document game/skybox.c
|
||||
19.) Actors levels fixup
|
||||
20.) Convert Mario animations to C (kind of)
|
||||
22.) generate skybox data from 248x248 images
|
||||
23.) 64-bit fixes
|
||||
24.) Move demo data to C
|
||||
25.) Change uintptr_t to GeoLayout for actors
|
||||
26.) Move libc includes to include/libc/
|
||||
|
||||
Refresh #2a (hotfix)
|
||||
Changes from Refresh #2:
|
||||
|
||||
1.) Fixed text Makefile dependencies"
|
||||
|
||||
Refresh #2
|
||||
Changes from Refresh #1:
|
||||
|
||||
1.) Label src/game/behaviors/boo.inc.c
|
||||
2.) Verify half of audio_defines.h
|
||||
3.) Label ingame_menu.c and some dialog stuff
|
||||
4.) Improve handle_dialog_text_and_pages EU non-matching
|
||||
5.) Fix texture format for water splash/sparkle
|
||||
6.) Merge ucode.bin and ucode_unk.bin
|
||||
7.) 64-bit fixes
|
||||
8.) [AUDIO] Match func_80316928
|
||||
9.) Documented bug in Tuxie's mother's code
|
||||
10.) [AUDIO] Slightly closer matching for process_level_music_dynamics
|
||||
11.) Name channel scripts in sequence 0
|
||||
12.) Nicer error message when sha1sum doesn't match
|
||||
13.) Refactor object fields
|
||||
14.) Document file_select.c
|
||||
15.) Document star_select.c
|
||||
16.) Add uncompressed string support to textconv
|
||||
17.) Document main_menu geo and leveldata
|
||||
18.) Document hud.c and rename char textures
|
||||
19.) Correct gSPTextureRectangle values
|
||||
20.) Linker script wildcard
|
||||
- Fixes "undefined reference to x in discarded section y" linker errors.
|
||||
- Also means that you no longer have to add linker script entries for source files.
|
||||
21.) Reference qemu-irix package and add project structure
|
||||
- Installing qemu-irix is as simple as installing the provided Debian package on the GitHub "Releases" tab
|
||||
(https://github.com/n64decomp/qemu-irix).
|
||||
- Old qemu-irix installs are unaffected by this change, and it is still possible to install qemu-irix with the older method.
|
||||
|
||||
Refresh #1
|
||||
Changes from initial release:
|
||||
|
||||
1.) More README cleanups and documentation
|
||||
2.) Fix .gitignore in tools/
|
||||
3.) More README cleanups and corrections
|
||||
4.) oUnk190 -> oInteractionSubtype
|
||||
5.) Normalize line endings
|
||||
6.) Replace bank_sets.s by sequences.json + build magic
|
||||
7.) Fix tabledesign in .gitignore
|
||||
8.) Cleaned and documented arrays in audio/
|
||||
9.) Change minimum Python 3 requirement in README.md to 3.6
|
||||
10.) Remove whitespace in ingame_menu.c, save_file.c, and star_select.c
|
||||
11.) Documentation comment style fixed
|
||||
12.) sm64.map -> sm64.version.map (ex: sm64.us.map)
|
||||
13.) Decompile EU versions of HUD and obj behaviors
|
||||
14.) Label ukiki.inc.c and ukiki_cage.inc.c
|
||||
15.) Add missing OS header includes
|
||||
16.) Fix alignment issue in model_ids.h
|
||||
17.) A bunch of behavior changes:
|
||||
a.) Made styles consistent with function names (ex: BehBehaviorLoop -> beh_behavior_loop)
|
||||
b.) Split obj_behaviors_2.c into multiple .inc.c files in behaviors/
|
||||
c.) bhvHauntedRoomCheck -> bhvCoffinManager
|
||||
18.) Update README.md notes on WSL and add links
|
||||
19.) Added tidy.sh and also bracing around single-line ifs and loops
|
||||
Vendored
-60
@@ -1,60 +0,0 @@
|
||||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
stage('Build Tools') {
|
||||
steps {
|
||||
sh 'make -j4 -C tools/'
|
||||
}
|
||||
}
|
||||
stage('Extract Assets') {
|
||||
steps {
|
||||
sh 'ln -s "$ROMS_DIR/Super Mario 64 (J) [!].z64" baserom.jp.z64'
|
||||
sh 'ln -s "$ROMS_DIR/Super Mario 64 (U) [!].z64" baserom.us.z64'
|
||||
sh 'ln -s "$ROMS_DIR/Super Mario 64 (E) (M3) [!].z64" baserom.eu.z64'
|
||||
sh 'ln -s "$ROMS_DIR/Super Mario 64 - Shindou Edition (J) [!].z64" baserom.sh.z64'
|
||||
// verify no assets were committed to repo
|
||||
sh '[ -z "$(find {actors,levels,textures}/ -name \'*.png\')" ]'
|
||||
sh '[ -z "$(find assets/ -name \'*.m64\' -or \'*.bin\')" ]'
|
||||
sh './extract_assets.py jp us eu sh'
|
||||
}
|
||||
}
|
||||
stage('Build U Source') {
|
||||
steps {
|
||||
sh 'make -j4 VERSION=us VERBOSE=1 COLOR=0'
|
||||
}
|
||||
}
|
||||
stage('Build S Source') {
|
||||
steps {
|
||||
sh 'make -j4 VERSION=sh VERBOSE=1 COLOR=0'
|
||||
}
|
||||
}
|
||||
stage('Build E Source') {
|
||||
steps {
|
||||
sh 'make -j4 VERSION=eu VERBOSE=1 COLOR=0'
|
||||
}
|
||||
}
|
||||
stage('Build J Source') {
|
||||
steps {
|
||||
sh 'make -j4 VERSION=jp VERBOSE=1 COLOR=0'
|
||||
}
|
||||
}
|
||||
stage('Test Enhancements') {
|
||||
steps {
|
||||
sh '''
|
||||
set -e
|
||||
for f in enhancements/*.patch
|
||||
do
|
||||
git clean -fd .
|
||||
git checkout -- .
|
||||
echo 'y' | tools/apply_patch.sh "$f"
|
||||
make -j4 VERSION=us COMPARE=0 VERBOSE=1
|
||||
done
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
environment {
|
||||
QEMU_IRIX = credentials('qemu-irix')
|
||||
ROMS_DIR = credentials('roms')
|
||||
}
|
||||
}
|
||||
@@ -5,6 +5,8 @@ include util.mk
|
||||
# Default target
|
||||
default: all
|
||||
|
||||
TARGET_STRING := sm64
|
||||
|
||||
# Preprocessor definitions
|
||||
DEFINES :=
|
||||
|
||||
@@ -85,6 +87,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
|
||||
@@ -114,21 +119,17 @@ else ifeq ($(GRUCODE),super3d) # Super3D
|
||||
DEFINES += SUPER3D_GBI=1 F3D_NEW=1
|
||||
endif
|
||||
|
||||
LIBRARIES := nustd hvqm2 z goddard
|
||||
|
||||
# TEXT ENGINES
|
||||
# s2dex_text_engine - Text Engine by someone2639
|
||||
TEXT_ENGINE := none
|
||||
$(eval $(call validate-option,TEXT_ENGINE,none s2dex_text_engine))
|
||||
|
||||
ifeq ($(TEXT_ENGINE), s2dex_text_engine)
|
||||
DEFINES += S2DEX_GBI_2=1 S2DEX_TEXT_ENGINE=1
|
||||
LIBRARIES += s2d_engine
|
||||
DUMMY != make -C src/s2d_engine COPY_DIR=$(shell pwd)/lib/
|
||||
SRC_DIRS += src/s2d_engine
|
||||
endif
|
||||
# add more text engines here
|
||||
|
||||
LINK_LIBRARIES = $(foreach i,$(LIBRARIES),-l$(i))
|
||||
|
||||
|
||||
#==============================================================================#
|
||||
# Optimization flags #
|
||||
#==============================================================================#
|
||||
@@ -190,14 +191,12 @@ GCC_GRAPH_NODE_OPT_FLAGS = \
|
||||
#==============================================================================#
|
||||
|
||||
ifeq ($(COMPILER),gcc)
|
||||
NON_MATCHING := 1
|
||||
MIPSISET := -mips3
|
||||
OPT_FLAGS := $(GCC_MAIN_OPT_FLAGS)
|
||||
COLLISION_OPT_FLAGS = $(GCC_COLLISION_OPT_FLAGS)
|
||||
MATH_UTIL_OPT_FLAGS = $(GCC_MATH_UTIL_OPT_FLAGS)
|
||||
GRAPH_NODE_OPT_FLAGS = $(GCC_GRAPH_NODE_OPT_FLAGS)
|
||||
else ifeq ($(COMPILER),clang)
|
||||
NON_MATCHING := 1
|
||||
# clang doesn't support ABI 'o32' for 'mips3'
|
||||
MIPSISET := -mips2
|
||||
OPT_FLAGS := $(DEFAULT_OPT_FLAGS)
|
||||
@@ -206,39 +205,26 @@ else ifeq ($(COMPILER),clang)
|
||||
GRAPH_NODE_OPT_FLAGS = $(DEFAULT_OPT_FLAGS)
|
||||
endif
|
||||
|
||||
|
||||
# NON_MATCHING - whether to build a matching, identical copy of the ROM
|
||||
# 1 - enable some alternate, more portable code that does not produce a matching ROM
|
||||
# 0 - build a matching ROM
|
||||
NON_MATCHING ?= 1
|
||||
$(eval $(call validate-option,NON_MATCHING,0 1))
|
||||
|
||||
ifeq ($(TARGET_N64),0)
|
||||
NON_MATCHING := 1
|
||||
endif
|
||||
|
||||
ifeq ($(NON_MATCHING),1)
|
||||
DEFINES += NON_MATCHING=1 AVOID_UB=1
|
||||
endif
|
||||
|
||||
|
||||
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))
|
||||
|
||||
# if `unf` is a target, make sure that UNF is set
|
||||
ifneq ($(filter unf,$(MAKECMDGOALS)),)
|
||||
UNF = 1
|
||||
endif
|
||||
|
||||
ifeq ($(UNF),1)
|
||||
DEFINES += UNF=1
|
||||
SRC_DIRS += src/usb
|
||||
USE_DEBUG := 1
|
||||
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)
|
||||
@@ -248,15 +234,18 @@ endif
|
||||
|
||||
ifeq ($(USE_DEBUG),1)
|
||||
ULTRALIB := ultra_d
|
||||
DEFINES += DEBUG=1
|
||||
DEFINES += DEBUG=1 OVERWRITE_OSPRINT=1
|
||||
else ifeq ($(UNF),1)
|
||||
ULTRALIB := ultra
|
||||
DEFINES += _FINALROM=1 NDEBUG=1 OVERWRITE_OSPRINT=1
|
||||
else
|
||||
ULTRALIB := ultra_rom
|
||||
DEFINES += _FINALROM=1 NDEBUG=1
|
||||
DEFINES += _FINALROM=1 NDEBUG=1 OVERWRITE_OSPRINT=0
|
||||
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)
|
||||
@@ -289,15 +278,6 @@ endif
|
||||
GZIPVER ?= std
|
||||
$(eval $(call validate-option,GZIPVER,std libdef))
|
||||
|
||||
# GODDARD - whether to use libgoddard (Mario Head)
|
||||
# 1 - includes code in ROM
|
||||
# 0 - does not
|
||||
GODDARD ?= 0
|
||||
$(eval $(call validate-option,GODDARD,0 1))
|
||||
ifeq ($(GODDARD),1)
|
||||
DEFINES += GODDARD=1
|
||||
endif
|
||||
|
||||
# Whether to hide commands or not
|
||||
VERBOSE ?= 0
|
||||
ifeq ($(VERBOSE),0)
|
||||
@@ -325,23 +305,23 @@ ifeq ($(filter clean distclean print-%,$(MAKECMDGOALS)),)
|
||||
# Make sure assets exist
|
||||
NOEXTRACT ?= 0
|
||||
ifeq ($(NOEXTRACT),0)
|
||||
DUMMY != $(PYTHON) extract_assets.py $(VERSION) >&2 || echo FAIL
|
||||
DUMMY != $(PYTHON) extract_assets.py us >&2 || echo FAIL
|
||||
ifeq ($(DUMMY),FAIL)
|
||||
$(error Failed to extract assets from US ROM)
|
||||
endif
|
||||
ifneq (,$(wildcard baserom.jp.z64))
|
||||
ifneq (,$(shell python3 tools/detect_baseroms.py jp))
|
||||
DUMMY != $(PYTHON) extract_assets.py jp >&2 || echo FAIL
|
||||
ifeq ($(DUMMY),FAIL)
|
||||
$(error Failed to extract assets from JP ROM)
|
||||
endif
|
||||
endif
|
||||
ifneq (,$(wildcard baserom.eu.z64))
|
||||
ifneq (,$(shell python3 tools/detect_baseroms.py eu))
|
||||
DUMMY != $(PYTHON) extract_assets.py eu >&2 || echo FAIL
|
||||
ifeq ($(DUMMY),FAIL)
|
||||
$(error Failed to extract assets from EU ROM)
|
||||
endif
|
||||
endif
|
||||
ifneq (,$(wildcard baserom.sh.z64))
|
||||
ifneq (,$(shell python3 tools/detect_baseroms.py sh))
|
||||
DUMMY != $(PYTHON) extract_assets.py sh >&2 || echo FAIL
|
||||
ifeq ($(DUMMY),FAIL)
|
||||
$(error Failed to extract assets from SH ROM)
|
||||
@@ -389,7 +369,8 @@ include Makefile.split
|
||||
# Source code files
|
||||
LEVEL_C_FILES := $(wildcard levels/*/leveldata.c) $(wildcard levels/*/script.c) $(wildcard levels/*/geo.c)
|
||||
C_FILES := $(foreach dir,$(SRC_DIRS),$(wildcard $(dir)/*.c)) $(LEVEL_C_FILES)
|
||||
LIBZ_C_FILES := $(foreach dir,$(LIBZ_SRC_DIRS),$(wildcard $(dir)/*.c))
|
||||
CPP_FILES := $(foreach dir,$(SRC_DIRS),$(wildcard $(dir)/*.cpp))
|
||||
LIBZ_C_FILES := $(foreach dir,$(LIBZ_SRC_DIRS),$(wildcard $(dir)/*.c))
|
||||
GODDARD_C_FILES := $(foreach dir,$(GODDARD_SRC_DIRS),$(wildcard $(dir)/*.c))
|
||||
S_FILES := $(foreach dir,$(SRC_DIRS),$(wildcard $(dir)/*.s))
|
||||
GENERATED_C_FILES := $(BUILD_DIR)/assets/mario_anim_data.c $(BUILD_DIR)/assets/demo_data.c
|
||||
@@ -410,6 +391,7 @@ SOUND_SEQUENCE_FILES := \
|
||||
|
||||
# Object files
|
||||
O_FILES := $(foreach file,$(C_FILES),$(BUILD_DIR)/$(file:.c=.o)) \
|
||||
$(foreach file,$(CPP_FILES),$(BUILD_DIR)/$(file:.cpp=.o)) \
|
||||
$(foreach file,$(S_FILES),$(BUILD_DIR)/$(file:.s=.o)) \
|
||||
$(foreach file,$(GENERATED_C_FILES),$(file:.c=.o)) \
|
||||
lib/PR/hvqm/hvqm2sp1.o lib/PR/hvqm/hvqm2sp2.o
|
||||
@@ -441,15 +423,21 @@ else
|
||||
$(error Unable to detect a suitable MIPS toolchain installed)
|
||||
endif
|
||||
|
||||
LIBRARIES := nustd hvqm2 z goddard
|
||||
|
||||
LINK_LIBRARIES = $(foreach i,$(LIBRARIES),-l$(i))
|
||||
|
||||
export LD_LIBRARY_PATH=./tools
|
||||
|
||||
AS := $(CROSS)as
|
||||
ifeq ($(COMPILER),gcc)
|
||||
CC := $(CROSS)gcc
|
||||
CXX := $(CROSS)g++
|
||||
$(BUILD_DIR)/actors/%.o: OPT_FLAGS := -Ofast -mlong-calls
|
||||
$(BUILD_DIR)/levels/%.o: OPT_FLAGS := -Ofast -mlong-calls
|
||||
else ifeq ($(COMPILER),clang)
|
||||
CC := clang
|
||||
CXX := clang++
|
||||
endif
|
||||
# Prefer gcc's cpp if installed on the system
|
||||
ifneq (,$(call find-command,cpp-10))
|
||||
@@ -466,6 +454,13 @@ AR := $(CROSS)ar
|
||||
OBJDUMP := $(CROSS)objdump
|
||||
OBJCOPY := $(CROSS)objcopy
|
||||
|
||||
ifeq ($(LD), tools/mips64-elf-ld)
|
||||
ifeq ($(shell ls -la tools/mips64-elf-ld | awk '{print $1}' | grep x),)
|
||||
$(warning [ERROR]: A required file in this repository is no longer executable.)
|
||||
$(error * Please run: 'chmod +x tools/mips64-elf-ld', then run `make` again)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_N64),1)
|
||||
TARGET_CFLAGS := -nostdinc -DTARGET_N64 -D_LANGUAGE_C
|
||||
CC_CFLAGS := -fno-builtin
|
||||
@@ -506,7 +501,6 @@ CPPFLAGS := -P -Wno-trigraphs $(DEF_INC_CFLAGS)
|
||||
YAY0TOOL := $(TOOLS_DIR)/slienc
|
||||
MIO0TOOL := $(TOOLS_DIR)/mio0
|
||||
RNCPACK := $(TOOLS_DIR)/rncpack
|
||||
ROMALIGN := $(TOOLS_DIR)/romalign
|
||||
FILESIZER := $(TOOLS_DIR)/filesizer
|
||||
N64CKSUM := $(TOOLS_DIR)/n64cksum
|
||||
N64GRAPHICS := $(TOOLS_DIR)/n64graphics
|
||||
@@ -517,6 +511,8 @@ 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
|
||||
FLIPS := $(TOOLS_DIR)/flips
|
||||
ifeq ($(GZIPVER),std)
|
||||
GZIP := gzip
|
||||
else
|
||||
@@ -528,11 +524,15 @@ ifneq (,$(call find-command,armips))
|
||||
else
|
||||
RSPASM := $(TOOLS_DIR)/armips
|
||||
endif
|
||||
ENDIAN_BITWIDTH := $(BUILD_DIR)/endian-and-bitwidth
|
||||
EMULATOR = mupen64plus
|
||||
EMU_FLAGS =
|
||||
LOADER = loader64
|
||||
LOADER_FLAGS = -vwf
|
||||
|
||||
ifneq (,$(call find-command,wslview))
|
||||
LOADER = ./$(TOOLS_DIR)/UNFLoader.exe
|
||||
else
|
||||
LOADER = ./$(TOOLS_DIR)/UNFLoader
|
||||
endif
|
||||
|
||||
SHA1SUM = sha1sum
|
||||
PRINT = printf
|
||||
|
||||
@@ -569,7 +569,10 @@ all: $(ROM)
|
||||
|
||||
clean:
|
||||
$(RM) -r $(BUILD_DIR_BASE)
|
||||
make -C src/s2d_engine clean
|
||||
|
||||
rebuildtools:
|
||||
$(MAKE) -C tools distclean
|
||||
$(MAKE) -C tools
|
||||
|
||||
distclean: clean
|
||||
$(PYTHON) extract_assets.py --clean
|
||||
@@ -582,13 +585,26 @@ test-pj64: $(ROM)
|
||||
wine ~/Desktop/new64/Project64.exe $<
|
||||
# someone2639
|
||||
|
||||
load: $(ROM)
|
||||
$(LOADER) $(LOADER_FLAGS) $<
|
||||
# download and extract most recent unfloader build if needed
|
||||
$(LOADER):
|
||||
ifeq (,$(wildcard $(LOADER)))
|
||||
@$(PRINT) "Downloading latest UNFLoader...$(NO_COL)\n"
|
||||
$(PYTHON) $(TOOLS_DIR)/get_latest_unfloader.py $(TOOLS_DIR)
|
||||
endif
|
||||
|
||||
load: $(ROM) $(LOADER)
|
||||
$(LOADER) -r $<
|
||||
|
||||
unf: $(ROM) $(LOADER)
|
||||
$(LOADER) -d -r $<
|
||||
|
||||
libultra: $(BUILD_DIR)/libultra.a
|
||||
|
||||
patch: $(ROM)
|
||||
$(FLIPS) --create --bps $(shell python3 tools/detect_baseroms.py $(VERSION)) $(ROM) $(BUILD_DIR)/$(TARGET_STRING).bps
|
||||
|
||||
# Extra object file dependencies
|
||||
$(BUILD_DIR)/asm/boot.o: $(IPL3_RAW_FILES)
|
||||
$(BUILD_DIR)/asm/ipl3.o: $(IPL3_RAW_FILES)
|
||||
$(BUILD_DIR)/src/game/crash_screen.o: $(CRASH_TEXTURE_C_FILES)
|
||||
$(BUILD_DIR)/src/game/version.o: $(BUILD_DIR)/src/game/version_data.h
|
||||
$(BUILD_DIR)/lib/aspMain.o: $(BUILD_DIR)/rsp/audio.bin
|
||||
@@ -710,17 +726,17 @@ $(BUILD_DIR)/levels/%/leveldata.bin: $(BUILD_DIR)/levels/%/leveldata.elf
|
||||
$(V)$(EXTRACT_DATA_FOR_MIO) $< $@
|
||||
|
||||
ifeq ($(COMPRESS),gzip)
|
||||
include gziprules.mk
|
||||
include compression/gziprules.mk
|
||||
else ifeq ($(COMPRESS),rnc1)
|
||||
include rnc1rules.mk
|
||||
include compression/rnc1rules.mk
|
||||
else ifeq ($(COMPRESS),rnc2)
|
||||
include rnc2rules.mk
|
||||
include compression/rnc2rules.mk
|
||||
else ifeq ($(COMPRESS),yay0)
|
||||
include yay0rules.mk
|
||||
include compression/yay0rules.mk
|
||||
else ifeq ($(COMPRESS),mio0)
|
||||
include mio0rules.mk
|
||||
include compression/mio0rules.mk
|
||||
else ifeq ($(COMPRESS),uncomp)
|
||||
include uncomprules.mk
|
||||
include compression/uncomprules.mk
|
||||
endif
|
||||
|
||||
#==============================================================================#
|
||||
@@ -735,17 +751,9 @@ $(BUILD_DIR)/%.aifc: $(BUILD_DIR)/%.table %.aiff
|
||||
$(call print,Encoding ADPCM:,$(word 2,$^),$@)
|
||||
$(V)$(VADPCM_ENC) -c $^ $@
|
||||
|
||||
$(ENDIAN_BITWIDTH): $(TOOLS_DIR)/determine-endian-bitwidth.c
|
||||
@$(PRINT) "$(GREEN)Generating endian-bitwidth $(NO_COL)\n"
|
||||
$(V)$(CC) -c $(CFLAGS) -o $@.dummy2 $< 2>$@.dummy1; true
|
||||
$(V)grep -o 'msgbegin --endian .* --bitwidth .* msgend' $@.dummy1 > $@.dummy2
|
||||
$(V)head -n1 <$@.dummy2 | cut -d' ' -f2-5 > $@
|
||||
$(V)$(RM) $@.dummy1
|
||||
$(V)$(RM) $@.dummy2
|
||||
|
||||
$(SOUND_BIN_DIR)/sound_data.ctl: sound/sound_banks/ $(SOUND_BANK_FILES) $(SOUND_SAMPLE_AIFCS) $(ENDIAN_BITWIDTH)
|
||||
$(SOUND_BIN_DIR)/sound_data.ctl: sound/sound_banks/ $(SOUND_BANK_FILES) $(SOUND_SAMPLE_AIFCS)
|
||||
@$(PRINT) "$(GREEN)Generating: $(BLUE)$@ $(NO_COL)\n"
|
||||
$(V)$(PYTHON) $(TOOLS_DIR)/assemble_sound.py $(BUILD_DIR)/sound/samples/ sound/sound_banks/ $(SOUND_BIN_DIR)/sound_data.ctl $(SOUND_BIN_DIR)/ctl_header $(SOUND_BIN_DIR)/sound_data.tbl $(SOUND_BIN_DIR)/tbl_header $(C_DEFINES) $$(cat $(ENDIAN_BITWIDTH))
|
||||
$(V)$(PYTHON) $(TOOLS_DIR)/assemble_sound.py $(BUILD_DIR)/sound/samples/ sound/sound_banks/ $(SOUND_BIN_DIR)/sound_data.ctl $(SOUND_BIN_DIR)/ctl_header $(SOUND_BIN_DIR)/sound_data.tbl $(SOUND_BIN_DIR)/tbl_header $(C_DEFINES)
|
||||
|
||||
$(SOUND_BIN_DIR)/sound_data.tbl: $(SOUND_BIN_DIR)/sound_data.ctl
|
||||
@true
|
||||
@@ -756,9 +764,9 @@ $(SOUND_BIN_DIR)/ctl_header: $(SOUND_BIN_DIR)/sound_data.ctl
|
||||
$(SOUND_BIN_DIR)/tbl_header: $(SOUND_BIN_DIR)/sound_data.ctl
|
||||
@true
|
||||
|
||||
$(SOUND_BIN_DIR)/sequences.bin: $(SOUND_BANK_FILES) sound/sequences.json $(SOUND_SEQUENCE_DIRS) $(SOUND_SEQUENCE_FILES) $(ENDIAN_BITWIDTH)
|
||||
$(SOUND_BIN_DIR)/sequences.bin: $(SOUND_BANK_FILES) sound/sequences.json $(SOUND_SEQUENCE_DIRS) $(SOUND_SEQUENCE_FILES)
|
||||
@$(PRINT) "$(GREEN)Generating: $(BLUE)$@ $(NO_COL)\n"
|
||||
$(V)$(PYTHON) $(TOOLS_DIR)/assemble_sound.py --sequences $@ $(SOUND_BIN_DIR)/sequences_header $(SOUND_BIN_DIR)/bank_sets sound/sound_banks/ sound/sequences.json $(SOUND_SEQUENCE_FILES) $(C_DEFINES) $$(cat $(ENDIAN_BITWIDTH))
|
||||
$(V)$(PYTHON) $(TOOLS_DIR)/assemble_sound.py --sequences $@ $(SOUND_BIN_DIR)/sequences_header $(SOUND_BIN_DIR)/bank_sets sound/sound_banks/ sound/sequences.json $(SOUND_SEQUENCE_FILES) $(C_DEFINES)
|
||||
|
||||
$(SOUND_BIN_DIR)/bank_sets: $(SOUND_BIN_DIR)/sequences.bin
|
||||
@true
|
||||
@@ -813,16 +821,24 @@ $(BUILD_DIR)/include/level_headers.h: levels/level_headers.h.in
|
||||
# Generate version_data.h
|
||||
$(BUILD_DIR)/src/game/version_data.h: tools/make_version.sh
|
||||
@$(PRINT) "$(GREEN)Generating: $(BLUE)$@ $(NO_COL)\n"
|
||||
$(V)tools/make_version.sh $(CROSS) > $@
|
||||
$(V)sh tools/make_version.sh $(CROSS) > $@
|
||||
|
||||
#==============================================================================#
|
||||
# Compilation Recipes #
|
||||
#==============================================================================#
|
||||
|
||||
# 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 != $(PYTHON) $(FIXLIGHTS_PY) actors
|
||||
DUMMY != $(PYTHON) $(FIXLIGHTS_PY) levels
|
||||
endif
|
||||
$(BUILD_DIR)/%.o: %.c
|
||||
$(call print,Compiling:,$<,$@)
|
||||
$(V)$(CC) -c $(CFLAGS) -MMD -MF $(BUILD_DIR)/$*.d -o $@ $<
|
||||
$(BUILD_DIR)/%.o: %.cpp
|
||||
$(call print,Compiling (C++):,$<,$@)
|
||||
$(V)$(CXX) -c $(CFLAGS) -std=c++17 -Wno-register -MMD -MF $(BUILD_DIR)/$*.d -o $@ $<
|
||||
$(BUILD_DIR)/%.o: $(BUILD_DIR)/%.c
|
||||
$(call print,Compiling:,$<,$@)
|
||||
$(V)$(CC) -c $(CFLAGS) -MMD -MF $(BUILD_DIR)/$*.d -o $@ $<
|
||||
@@ -840,7 +856,7 @@ $(BUILD_DIR)/rsp/%.bin $(BUILD_DIR)/rsp/%_data.bin: rsp/%.s
|
||||
# Run linker script through the C preprocessor
|
||||
$(BUILD_DIR)/$(LD_SCRIPT): $(LD_SCRIPT) $(BUILD_DIR)/goddard.txt
|
||||
$(call print,Preprocessing linker script:,$<,$@)
|
||||
$(V)$(CPP) $(CPPFLAGS) -DBUILD_DIR=$(BUILD_DIR) $(DEBUG_MAP_STACKTRACE_FLAG) -MMD -MP -MT $@ -MF $@.d -o $@ $<
|
||||
$(V)$(CPP) $(CPPFLAGS) -DBUILD_DIR=$(BUILD_DIR) -DULTRALIB=lib$(ULTRALIB) $(DEBUG_MAP_STACKTRACE_FLAG) -MMD -MP -MT $@ -MF $@.d -o $@ $<
|
||||
|
||||
# Link libgoddard
|
||||
$(BUILD_DIR)/libgoddard.a: $(GODDARD_O_FILES)
|
||||
@@ -855,11 +871,11 @@ $(BUILD_DIR)/libz.a: $(LIBZ_O_FILES)
|
||||
# SS2: Goddard rules to get size
|
||||
$(BUILD_DIR)/sm64_prelim.ld: sm64.ld $(O_FILES) $(YAY0_OBJ_FILES) $(SEG_FILES) $(BUILD_DIR)/libgoddard.a $(BUILD_DIR)/libz.a
|
||||
$(call print,Preprocessing preliminary linker script:,$<,$@)
|
||||
$(V)$(CPP) $(CPPFLAGS) -DPRELIMINARY=1 -DBUILD_DIR=$(BUILD_DIR) -MMD -MP -MT $@ -MF $@.d -o $@ $<
|
||||
$(V)$(CPP) $(CPPFLAGS) -DPRELIMINARY=1 -DBUILD_DIR=$(BUILD_DIR) -DULTRALIB=lib$(ULTRALIB) -MMD -MP -MT $@ -MF $@.d -o $@ $<
|
||||
|
||||
$(BUILD_DIR)/sm64_prelim.elf: $(BUILD_DIR)/sm64_prelim.ld
|
||||
@$(PRINT) "$(GREEN)Linking Preliminary ELF file: $(BLUE)$@ $(NO_COL)\n"
|
||||
$(V)$(LD) --gc-sections -L $(BUILD_DIR) -T undefined_syms.txt -T $< -Map $(BUILD_DIR)/sm64_prelim.map --no-check-sections $(addprefix -R ,$(SEG_FILES)) -o $@ $(O_FILES) -L$(LIBS_DIR) -l$(ULTRALIB) -Llib $(LINK_LIBRARIES) -u sprintf -u osMapTLB -Llib/gcclib/$(LIBGCCDIR) -lgcc
|
||||
$(V)$(LD) --gc-sections -L $(BUILD_DIR) -T $< -Map $(BUILD_DIR)/sm64_prelim.map --no-check-sections $(addprefix -R ,$(SEG_FILES)) -o $@ $(O_FILES) -L$(LIBS_DIR) -l$(ULTRALIB) -Llib $(LINK_LIBRARIES) -u sprintf -u osMapTLB -Llib/gcclib/$(LIBGCCDIR) -lgcc
|
||||
|
||||
$(BUILD_DIR)/goddard.txt: $(BUILD_DIR)/sm64_prelim.elf
|
||||
$(call print,Getting Goddard size...)
|
||||
@@ -867,13 +883,13 @@ $(BUILD_DIR)/goddard.txt: $(BUILD_DIR)/sm64_prelim.elf
|
||||
|
||||
$(BUILD_DIR)/asm/debug/map.o: asm/debug/map.s $(BUILD_DIR)/sm64_prelim.elf
|
||||
$(call print,Assembling:,$<,$@)
|
||||
$(V)python3 tools/mapPacker.py $(BUILD_DIR)/sm64_prelim.map $(BUILD_DIR)/bin/addr.bin $(BUILD_DIR)/bin/name.bin
|
||||
$(V)python3 tools/mapPacker.py $(BUILD_DIR)/sm64_prelim.elf $(BUILD_DIR)/bin/addr.bin $(BUILD_DIR)/bin/name.bin
|
||||
$(V)$(CROSS)gcc -c $(ASMFLAGS) $(foreach i,$(INCLUDE_DIRS),-Wa,-I$(i)) -x assembler-with-cpp -MMD -MF $(BUILD_DIR)/$*.d -o $@ $<
|
||||
|
||||
# Link SM64 ELF file
|
||||
$(ELF): $(BUILD_DIR)/sm64_prelim.elf $(BUILD_DIR)/asm/debug/map.o $(O_FILES) $(YAY0_OBJ_FILES) $(SEG_FILES) $(BUILD_DIR)/$(LD_SCRIPT) undefined_syms.txt $(BUILD_DIR)/libz.a $(BUILD_DIR)/libgoddard.a
|
||||
$(ELF): $(BUILD_DIR)/sm64_prelim.elf $(BUILD_DIR)/asm/debug/map.o $(O_FILES) $(YAY0_OBJ_FILES) $(SEG_FILES) $(BUILD_DIR)/$(LD_SCRIPT) $(BUILD_DIR)/libz.a $(BUILD_DIR)/libgoddard.a
|
||||
@$(PRINT) "$(GREEN)Linking ELF file: $(BLUE)$@ $(NO_COL)\n"
|
||||
$(V)$(LD) --gc-sections -L $(BUILD_DIR) -T undefined_syms.txt -T $(BUILD_DIR)/$(LD_SCRIPT) -T goddard.txt -Map $(BUILD_DIR)/sm64.$(VERSION).map --no-check-sections $(addprefix -R ,$(SEG_FILES)) -o $@ $(O_FILES) -L$(LIBS_DIR) -l$(ULTRALIB) -Llib $(LINK_LIBRARIES) -u sprintf -u osMapTLB -Llib/gcclib/$(LIBGCCDIR) -lgcc -lrtc
|
||||
$(V)$(LD) --gc-sections -L $(BUILD_DIR) -T $(BUILD_DIR)/$(LD_SCRIPT) -T goddard.txt -Map $(BUILD_DIR)/sm64.$(VERSION).map --no-check-sections $(addprefix -R ,$(SEG_FILES)) -o $@ $(O_FILES) -L$(LIBS_DIR) -l$(ULTRALIB) -Llib $(LINK_LIBRARIES) -u sprintf -u osMapTLB -Llib/gcclib/$(LIBGCCDIR) -lgcc -lrtc
|
||||
|
||||
# Build ROM
|
||||
ifeq (n,$(findstring n,$(firstword -$(MAKEFLAGS))))
|
||||
@@ -898,7 +914,7 @@ endif
|
||||
$(BUILD_DIR)/$(TARGET).objdump: $(ELF)
|
||||
$(OBJDUMP) -D $< > $@
|
||||
|
||||
.PHONY: all clean distclean default diff test load
|
||||
.PHONY: all clean distclean default test load rebuildtools
|
||||
# with no prerequisites, .SECONDARY causes no intermediate target to be removed
|
||||
.SECONDARY:
|
||||
|
||||
|
||||
@@ -21,15 +21,16 @@ This is a fork of the ultrasm64 repo by CrashOveride which includes the followin
|
||||
- **Fazana**: PuppyLib, ucode swapping, audio load time optimisations (with Arctic), general hacker qol improvements, visual debug
|
||||
- **Reonu**: Starting the project/repo, widescreen, reonucam, various defines for hacker QoL
|
||||
- **JoshDuMan**: Decomp guy, general assistance
|
||||
- **Arceveti**: Silhouette, shadow optimisation, better hanging, breath meter
|
||||
- **Arceveti**: Silhouette, shadow optimisation, better hanging, breath meter, 4 controller support
|
||||
- **axollyon**: Console testing, bugfixes, idea-guying, and had a hand in silhouettes
|
||||
- **Wiseguy**: World scale reimplementation, silhouette, graph node optimisations, instant input patch, cake screen fix, segmented code support, and various optimizations/fixes
|
||||
- **Kaze**: Graph node optimisations, automatic optimal collision distance
|
||||
- **Pyro Jay**: Texture improvements, repo banner art, some QoL stuff
|
||||
- **CrashOveride**: creating the [ultrasm64](https://github.com/CrashOveride95/ultrasm64) repo
|
||||
- **falcobuster**: Original coordinate overflow fix (world scale), ASM version of extended bounds
|
||||
- **falcobuster**: Original coordinate overflow fix (world scale), ASM version of extended bounds, emulator detector
|
||||
- **anonymous_moose**: porting falco's extended bounds to decomp
|
||||
- **tuxlovesyou**: `LOAD_MIO0_TEXTURE` macro and moral support
|
||||
- **devwizard**: the PJ64 pre-v3.0 detection part of the emulator detector
|
||||
|
||||
Thanks to Frame#5375 and AloXado320 for also helping with silhouette stuff
|
||||
|
||||
@@ -82,7 +83,7 @@ Thanks to Frame#5375 and AloXado320 for also helping with silhouette stuff
|
||||
- Many general use defines for object struct members, meant for use in custom object behaviors. Check `include/object_fields.h` for more info on this. (By MrComit)
|
||||
- Included `actors/group0.c` in `behavior_data.c`
|
||||
- The internal ROM name is now set with a define in `config/config_rom.h` to make it simpler
|
||||
- There is a `gIsConsole` variable that is 1 when running on console and 0 when running on emulator. This way you can wrap your code in a console check.
|
||||
- There is a `gEmulator` variable to detect console or specific emulators and emulator versions
|
||||
- Expanded audio heap allows for a larger concurrent note count and the importing of more m64 sequences and sound banks (By ArcticJaguar725) *
|
||||
- You can set a test level in `config/config_debug.h` in order to boot straight into it, so you can quickly test the level you're working on. *
|
||||
- Allow all surfaces in the game to have a `force` parameter. Activating this doesn't REQUIRE you to set `force` for every surface: If you don't set, it will default to 0x0000 rather than crashing. Increases RAM usage of collision. *
|
||||
@@ -105,7 +106,7 @@ Thanks to Frame#5375 and AloXado320 for also helping with silhouette stuff
|
||||
|
||||
**Neat Misc. Changes:**
|
||||
- Instant Input patch by Wiseguy (Removes all input lag caused by plugins supporting framebuffer)
|
||||
- This means that you'll have to do your framebuffer effects on buffer 0 for emulator, but NOT for console. You can use the `gIsConsole` variable to check for console when doing your framebuffer effects.
|
||||
- This means that you'll have to do your framebuffer effects on buffer 0 for emulator, but NOT for console. You can use the `gEmulator` variable to check for console when doing your framebuffer effects.
|
||||
- Widescreen (16:9) support toggleable by pressing `L` in the pause menu. *
|
||||
- S2DEX engine by someone2639! To use it, compile with `make TEXT_ENGINE=s2dex_text_engine` or just set `TEXT_ENGINE` to `s2dex_text_engine` in the makefile.
|
||||
- ia8 (64x64) coins, the vanilla coin texture is upgraded to accomodate. *
|
||||
@@ -121,7 +122,7 @@ Thanks to Frame#5375 and AloXado320 for also helping with silhouette stuff
|
||||
- Use `render_multi_image` to draw large texture rectangles consisting of multiple images on the screen.
|
||||
- More info in `puppyprint.c`
|
||||
- Wiseguy's Farcall TLB mapping allows to store executable code inside uncompressed segments, that can be loaded and ran as needed, instead of it having to be loaded at all times. See `farcall.h` in the include folder for instructions and details.
|
||||
|
||||
- Red Coin Stars now support up to 99 red coins! In addition, multi-area red coin missions can now be created by setting the 2nd behavior paramater of the red coin star to the number of reds required for the star to spawn.
|
||||
# UltraSM64
|
||||
|
||||
- This repo contains a full decompilation of Super Mario 64 (J), (U), (E), and (SH).
|
||||
@@ -135,7 +136,7 @@ Thanks to Frame#5375 and AloXado320 for also helping with silhouette stuff
|
||||
- It has been patched with someone2639's shiftable segments patch
|
||||
- Wiseguy's instant input patch has been added to allow for less input lag on emulation (Does not affect console)
|
||||
This does mean that any framebuffer effects will have to be done on buffer 0 if targeting emulators
|
||||
- Automatic console and emulator detection: Use the `gIsConsole` variable to wrap your code in an emulator check.
|
||||
- Automatic console and emulator detection: Use the `gEmulator` variable to wrap your code in an emulator check.
|
||||
- Separate defines for emulator and console black border height.
|
||||
- Getting HVQM FMV support to work with the game is WIP.
|
||||
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
v2.0.9
|
||||
v2.1.0
|
||||
+16
-28
@@ -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
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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
@@ -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
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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
@@ -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
@@ -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),
|
||||
|
||||
@@ -27,6 +27,7 @@ const Gfx bubble_seg4_dl_0401DD60[] = {
|
||||
gsSPVertex(bubble_seg4_vertex_0401CD20, 4, 0),
|
||||
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
||||
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
||||
gsDPPipeSync(),
|
||||
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
||||
gsSPEndDisplayList(),
|
||||
};
|
||||
@@ -40,6 +41,7 @@ const Gfx bubble_seg4_dl_0401DDE0[] = {
|
||||
gsSPVertex(bubble_seg4_vertex_0401CD20, 4, 0),
|
||||
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
||||
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
||||
gsDPPipeSync(),
|
||||
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
||||
gsSPEndDisplayList(),
|
||||
};
|
||||
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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(),
|
||||
|
||||
@@ -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(),
|
||||
};
|
||||
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -123,6 +123,7 @@ const Gfx coin_seg3_dl_start[] = {
|
||||
const Gfx coin_seg3_dl_end[] = {
|
||||
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
||||
gsSPTexture(0x0001, 0x0001, 0, G_TX_RENDERTILE, G_OFF),
|
||||
gsDPPipeSync(),
|
||||
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
||||
gsSPSetGeometryMode(G_LIGHTING),
|
||||
gsSPEndDisplayList(),
|
||||
@@ -503,6 +504,7 @@ const Gfx coin_seg3_sub_dl_begin[] = {
|
||||
const Gfx coin_seg3_sub_dl_end[] = {
|
||||
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
||||
gsSPTexture(0x0001, 0x0001, 0, G_TX_RENDERTILE, G_OFF),
|
||||
gsDPPipeSync(),
|
||||
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
||||
gsSPSetGeometryMode(G_LIGHTING),
|
||||
gsSPEndDisplayList(),
|
||||
|
||||
@@ -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
@@ -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
@@ -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
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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
@@ -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
@@ -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
@@ -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),
|
||||
|
||||
+1
-1
@@ -27,6 +27,6 @@
|
||||
#include "sparkle_animation/model.inc.c"
|
||||
|
||||
#ifdef S2DEX_TEXT_ENGINE
|
||||
#include "src/s2d_engine/config.h"
|
||||
#include "src/s2d_engine/s2d_config.h"
|
||||
#include FONT_C_FILE
|
||||
#endif
|
||||
@@ -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
@@ -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
@@ -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),
|
||||
|
||||
@@ -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
@@ -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
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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(),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -24,6 +24,7 @@ const Gfx leaves_seg3_dl_0301CDE0[] = {
|
||||
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
||||
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
||||
gsSPSetGeometryMode(G_LIGHTING | G_CULL_BACK),
|
||||
gsDPPipeSync(),
|
||||
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
||||
gsSPEndDisplayList(),
|
||||
};
|
||||
@@ -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
@@ -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),
|
||||
|
||||
+190
-222
@@ -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(),
|
||||
};
|
||||
@@ -392,10 +368,10 @@ const Gfx mario_metal_butt[] = {
|
||||
gsDPPipeSync(),
|
||||
gsSPSetGeometryMode(G_TEXTURE_GEN),
|
||||
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),
|
||||
gsDPLoadTextureBlock(mario_texture_metal, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 64, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_WRAP | G_TX_NOMIRROR, 5, 6, G_TX_NOLOD, G_TX_NOLOD),
|
||||
gsSPTexture(0x07C0, 0x0F80, 0, G_TX_RENDERTILE, G_ON),
|
||||
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(),
|
||||
};
|
||||
@@ -990,10 +966,10 @@ const Gfx mario_metal_left_thigh[] = {
|
||||
gsDPPipeSync(),
|
||||
gsSPSetGeometryMode(G_TEXTURE_GEN),
|
||||
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),
|
||||
gsDPLoadTextureBlock(mario_texture_metal, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 64, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_WRAP | G_TX_NOMIRROR, 5, 6, G_TX_NOLOD, G_TX_NOLOD),
|
||||
gsSPTexture(0x07C0, 0x0F80, 0, G_TX_RENDERTILE, G_ON),
|
||||
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(),
|
||||
};
|
||||
@@ -3281,10 +3249,10 @@ const Gfx mario_metal_medium_poly_butt[] = {
|
||||
gsDPPipeSync(),
|
||||
gsSPSetGeometryMode(G_TEXTURE_GEN),
|
||||
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),
|
||||
gsDPLoadTextureBlock(mario_texture_metal, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 64, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_WRAP | G_TX_NOMIRROR, 5, 6, G_TX_NOLOD, G_TX_NOLOD),
|
||||
gsSPTexture(0x07C0, 0x0F80, 0, G_TX_RENDERTILE, G_ON),
|
||||
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(),
|
||||
};
|
||||
@@ -3670,10 +3638,10 @@ const Gfx mario_metal_medium_poly_left_thigh[] = {
|
||||
gsDPPipeSync(),
|
||||
gsSPSetGeometryMode(G_TEXTURE_GEN),
|
||||
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),
|
||||
gsDPLoadTextureBlock(mario_texture_metal, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 64, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_WRAP | G_TX_NOMIRROR, 5, 6, G_TX_NOLOD, G_TX_NOLOD),
|
||||
gsSPTexture(0x07C0, 0x0F80, 0, G_TX_RENDERTILE, G_ON),
|
||||
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(),
|
||||
};
|
||||
@@ -4160,10 +4128,10 @@ const Gfx mario_metal_low_poly_butt[] = {
|
||||
gsDPPipeSync(),
|
||||
gsSPSetGeometryMode(G_TEXTURE_GEN),
|
||||
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),
|
||||
gsDPLoadTextureBlock(mario_texture_metal, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 64, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_WRAP | G_TX_NOMIRROR, 5, 6, G_TX_NOLOD, G_TX_NOLOD),
|
||||
gsSPTexture(0x07C0, 0x0F80, 0, G_TX_RENDERTILE, G_ON),
|
||||
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(),
|
||||
};
|
||||
@@ -4405,10 +4373,10 @@ const Gfx mario_metal_low_poly_left_thigh[] = {
|
||||
gsDPPipeSync(),
|
||||
gsSPSetGeometryMode(G_TEXTURE_GEN),
|
||||
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),
|
||||
gsDPLoadTextureBlock(mario_texture_metal, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 64, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_WRAP | G_TX_NOMIRROR, 5, 6, G_TX_NOLOD, G_TX_NOLOD),
|
||||
gsSPTexture(0x07C0, 0x0F80, 0, G_TX_RENDERTILE, G_ON),
|
||||
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(),
|
||||
@@ -6640,10 +6608,10 @@ const Gfx mario_metal_cap_unused_dl[] = {
|
||||
gsDPPipeSync(),
|
||||
gsSPSetGeometryMode(G_TEXTURE_GEN),
|
||||
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),
|
||||
gsDPLoadTextureBlock(mario_texture_metal, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 64, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_WRAP | G_TX_NOMIRROR, 5, 6, G_TX_NOLOD, G_TX_NOLOD),
|
||||
gsSPTexture(0x07C0, 0x0F80, 0, G_TX_RENDERTILE, G_ON),
|
||||
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)),
|
||||
@@ -6819,7 +6787,7 @@ const Gfx mario_metal_cap_wings_transparent[] = {
|
||||
gsDPPipeSync(),
|
||||
gsSPSetGeometryMode(G_TEXTURE_GEN | G_CULL_BACK | G_SHADING_SMOOTH),
|
||||
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),
|
||||
gsDPLoadTextureBlock(mario_texture_metal, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 64, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_WRAP | G_TX_NOMIRROR, 5, 6, G_TX_NOLOD, G_TX_NOLOD),
|
||||
gsSPTexture(0x07C0, 0x0F80, 0, G_TX_RENDERTILE, G_ON),
|
||||
gsSPEndDisplayList(),
|
||||
};
|
||||
@@ -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(),
|
||||
@@ -283,17 +271,17 @@ const Gfx mario_cap_seg3_dl_03022FF8[] = {
|
||||
gsDPPipeSync(),
|
||||
gsSPSetGeometryMode(G_TEXTURE_GEN),
|
||||
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),
|
||||
gsDPLoadTextureBlock(mario_cap_seg3_texture_0301CF50, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 64, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_WRAP | G_TX_NOMIRROR, 5, 6, G_TX_NOLOD, G_TX_NOLOD),
|
||||
gsSPTexture(0x07C0, 0x0F80, 0, G_TX_RENDERTILE, G_ON),
|
||||
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),
|
||||
gsDPPipeSync(),
|
||||
gsSPClearGeometryMode(G_TEXTURE_GEN),
|
||||
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
||||
gsSPTexture(0x0F80, 0x07C0, 0, G_TX_RENDERTILE, G_OFF),
|
||||
gsSPTexture(0x07C0, 0x0F80, 0, G_TX_RENDERTILE, G_OFF),
|
||||
gsDPSetAlphaCompare(G_AC_NONE),
|
||||
gsDPSetEnvColor(255, 255, 255, 255),
|
||||
gsSPEndDisplayList(),
|
||||
@@ -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(),
|
||||
@@ -377,16 +365,10 @@ const Gfx mario_cap_seg3_dl_03023298[] = {
|
||||
gsDPPipeSync(),
|
||||
gsSPSetGeometryMode(G_TEXTURE_GEN),
|
||||
gsDPSetCombineMode(G_CC_MODULATERGBFADE, G_CC_MODULATERGBFADE),
|
||||
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mario_cap_seg3_texture_0301CF50),
|
||||
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0, G_TX_LOADTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD),
|
||||
gsDPLoadSync(),
|
||||
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 64 * 32 - 1, CALC_DXT(64, G_IM_SIZ_16b_BYTES)),
|
||||
gsDPPipeSync(),
|
||||
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),
|
||||
gsDPLoadTextureBlock(mario_cap_seg3_texture_0301CF50, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 64, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_WRAP | G_TX_NOMIRROR, 5, 6, G_TX_NOLOD, G_TX_NOLOD),
|
||||
gsSPTexture(0x07C0, 0x0F80, 0, G_TX_RENDERTILE, G_ON),
|
||||
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),
|
||||
|
||||
@@ -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
@@ -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
@@ -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),
|
||||
|
||||
@@ -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(),
|
||||
|
||||
@@ -36,11 +36,13 @@ const Gfx mr_i_eyeball_seg6_dl_06002080[] = {
|
||||
gsDPLoadSync(),
|
||||
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
||||
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
||||
gsDPPipeSync(),
|
||||
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mr_i_eyeball_seg6_texture_06001080),
|
||||
gsDPLoadSync(),
|
||||
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 64 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
|
||||
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
|
||||
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
||||
gsDPPipeSync(),
|
||||
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
||||
gsSPEndDisplayList(),
|
||||
};
|
||||
@@ -40,6 +40,7 @@ const Gfx mr_i_iris_seg6_dl_06004170[] = {
|
||||
gsSPVertex(mr_i_iris_seg6_vertex_06002130, 4, 0),
|
||||
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
||||
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
||||
gsDPPipeSync(),
|
||||
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
||||
gsSPEndDisplayList(),
|
||||
};
|
||||
|
||||
+38
-110
@@ -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
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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(£able_pole_seg6_lights_06001038.l, 1),
|
||||
gsSPLight(£able_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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -23,6 +23,7 @@ const Gfx sand_seg3_dl_particle[] = {
|
||||
gsSPVertex(sand_seg3_vertex_billboard_16x16, 4, 0),
|
||||
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
||||
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
||||
gsDPPipeSync(),
|
||||
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
||||
gsSPSetGeometryMode(G_LIGHTING),
|
||||
gsSPEndDisplayList(),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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(),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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 +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
@@ -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),
|
||||
|
||||
@@ -50,6 +50,7 @@ const Gfx sparkles_seg4_dl_0402A490[] = {
|
||||
gsSPVertex(sparkles_seg4_vertex_04027450, 4, 0),
|
||||
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
||||
gsSPTexture(0x0001, 0x0001, 0, G_TX_RENDERTILE, G_OFF),
|
||||
gsDPPipeSync(),
|
||||
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
||||
gsSPEndDisplayList(),
|
||||
};
|
||||
|
||||
@@ -47,6 +47,7 @@ const Gfx sparkles_animation_seg4_dl_04035288[] = {
|
||||
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
||||
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
||||
gsSPSetGeometryMode(G_LIGHTING),
|
||||
gsDPPipeSync(),
|
||||
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
||||
gsSPEndDisplayList(),
|
||||
};
|
||||
|
||||
@@ -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
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
@@ -46,6 +42,7 @@ const Gfx transparent_star_seg3_dl_body[] = {
|
||||
gsDPSetCombineMode(G_CC_SHADEFADEA, G_CC_SHADEFADEA),
|
||||
gsDPSetEnvColor(255, 255, 255, 120),
|
||||
gsSPDisplayList(transparent_star_seg3_sub_dl_body),
|
||||
gsDPPipeSync(),
|
||||
gsDPSetEnvColor(255, 255, 255, 255),
|
||||
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
||||
gsSPEndDisplayList(),
|
||||
|
||||
@@ -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
@@ -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
@@ -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),
|
||||
|
||||
@@ -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[] = {
|
||||
|
||||
@@ -56,6 +56,7 @@ const Gfx smoke_seg4_dl_040216A0[] = {
|
||||
gsSPVertex(smoke_seg4_vertex_0401DE60, 4, 0),
|
||||
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
|
||||
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
||||
gsDPPipeSync(),
|
||||
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
||||
gsSPSetGeometryMode(G_LIGHTING),
|
||||
gsSPEndDisplayList(),
|
||||
|
||||
@@ -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(),
|
||||
|
||||
Loaded 100 of 762 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user