Clean up some ifdefs and config.h

This commit is contained in:
Arceveti committed 2021-09-24 12:17:18 -07:00
1 parent 923db21615
commit 12c362ac86
57 files changed
+207 -5568

No files matched your search

-30
View File
@@ -110,11 +110,7 @@ const GeoLayout bowser_geo_0000D8[] = {
const GeoLayout bowser_geo_000424[] = {
GEO_SHADOW(SHADOW_CIRCLE_9_VERTS, 0x9B, 400),
GEO_OPEN_NODE(),
#if BUGFIX_BOWSER_FADING_OUT
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 0, 0, 0, bowser_seg6_dl_06040358),
#else
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 0, 0, 0, bowser_seg6_dl_06040210),
#endif
GEO_OPEN_NODE(),
GEO_ANIMATED_PART(LAYER_TRANSPARENT, -89, -2, -18, NULL),
GEO_OPEN_NODE(),
@@ -200,11 +196,7 @@ const GeoLayout bowser_geo_000424[] = {
GEO_OPEN_NODE(),
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 0, 0, 0, bowser_seg6_dl_0603A4E8),
GEO_CLOSE_NODE(),
#if BUGFIX_BOWSER_FADING_OUT
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 0, 0, 0, bowser_seg6_dl_0603B948),
#else
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 0, 0, 0, bowser_seg6_dl_0603B8D0),
#endif
GEO_CLOSE_NODE(),
GEO_CLOSE_NODE(),
GEO_CLOSE_NODE(),
@@ -226,11 +218,7 @@ const GeoLayout bowser_geo_000424[] = {
const GeoLayout bowser_geo_000770[] = {
GEO_NODE_START(),
GEO_OPEN_NODE(),
#if BUGFIX_BOWSER_FADING_OUT
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 0, 0, 0, bowser_seg6_dl_06040358),
#else
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 0, 0, 0, bowser_seg6_dl_06040210),
#endif
GEO_OPEN_NODE(),
GEO_ANIMATED_PART(LAYER_TRANSPARENT, -89, -2, -18, NULL),
GEO_OPEN_NODE(),
@@ -316,11 +304,7 @@ const GeoLayout bowser_geo_000770[] = {
GEO_OPEN_NODE(),
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 0, 0, 0, bowser_seg6_dl_0603A4E8),
GEO_CLOSE_NODE(),
#if BUGFIX_BOWSER_FADING_OUT
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 0, 0, 0, bowser_seg6_dl_0603B948),
#else
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 0, 0, 0, bowser_seg6_dl_0603B8D0),
#endif
GEO_CLOSE_NODE(),
GEO_CLOSE_NODE(),
GEO_CLOSE_NODE(),
@@ -338,24 +322,18 @@ const GeoLayout bowser_geo_000770[] = {
GEO_RETURN(),
};
#ifndef VERSION_JP
// 0x0D000AB8
const GeoLayout bowser_shadow_geo[] = {
GEO_SHADOW(SHADOW_CIRCLE_9_VERTS, 0x9B, 400),
GEO_RETURN(),
};
#endif
// 0x0D000AB8 / 0AC4
const GeoLayout bowser_geo[] = {
GEO_NODE_START(),
GEO_OPEN_NODE(),
GEO_ASM(0, geo_update_layer_transparency),
#ifndef VERSION_JP
GEO_SWITCH_CASE(3, geo_switch_anim_state),
#else
GEO_SWITCH_CASE(2, geo_switch_anim_state),
#endif
GEO_OPEN_NODE(),
GEO_NODE_START(),
GEO_OPEN_NODE(),
@@ -369,13 +347,11 @@ const GeoLayout bowser_geo[] = {
GEO_BRANCH(1, bowser_geo_000424),
GEO_CLOSE_NODE(),
#ifndef VERSION_JP
GEO_NODE_START(),
GEO_OPEN_NODE(),
GEO_ASM(0, geo_bits_bowser_coloring),
GEO_BRANCH(1, bowser_shadow_geo),
GEO_CLOSE_NODE(),
#endif
GEO_CLOSE_NODE(),
GEO_CLOSE_NODE(),
@@ -387,11 +363,7 @@ const GeoLayout bowser_geo_no_shadow[] = {
GEO_NODE_START(),
GEO_OPEN_NODE(),
GEO_ASM(0, geo_update_layer_transparency),
#ifndef VERSION_JP
GEO_SWITCH_CASE(3, geo_switch_anim_state),
#else
GEO_SWITCH_CASE(2, geo_switch_anim_state),
#endif
GEO_OPEN_NODE(),
GEO_NODE_START(),
GEO_OPEN_NODE(),
@@ -405,13 +377,11 @@ const GeoLayout bowser_geo_no_shadow[] = {
GEO_BRANCH(1, bowser_geo_000770),
GEO_CLOSE_NODE(),
#ifndef VERSION_JP
GEO_NODE_START(),
GEO_OPEN_NODE(),
GEO_ASM(0, geo_bits_bowser_coloring),
GEO_BRANCH(1, bowser_shadow_geo),
GEO_CLOSE_NODE(),
#endif
GEO_CLOSE_NODE(),
GEO_CLOSE_NODE(),
-4
View File
@@ -1184,7 +1184,6 @@ const Gfx bowser_seg6_dl_0603B8D0[] = {
gsSPEndDisplayList(),
};
#if BUGFIX_BOWSER_FADING_OUT
// 0x0603B948 - 0x0603B9C8
const Gfx bowser_seg6_dl_0603B948[] = {
gsDPPipeSync(),
@@ -1204,7 +1203,6 @@ const Gfx bowser_seg6_dl_0603B948[] = {
gsSPSetGeometryMode(G_LIGHTING),
gsSPEndDisplayList(),
};
#endif
// 0x0603B948
static const Vtx bowser_seg6_vertex_0603B948[] = {
@@ -2870,7 +2868,6 @@ const Gfx bowser_seg6_dl_06040210[] = {
gsSPEndDisplayList(),
};
#if BUGFIX_BOWSER_FADING_OUT
// 0x06040358 - 0x06040428
const Gfx bowser_seg6_dl_06040358[] = {
gsDPPipeSync(),
@@ -2900,7 +2897,6 @@ const Gfx bowser_seg6_dl_06040358[] = {
gsSPDisplayList(bowser_seg6_dl_060401F0),
gsSPEndDisplayList(),
};
#endif
// 0x060402D8
static const Vtx bowser_seg6_vertex_060402D8[] = {
-8
View File
@@ -68,11 +68,7 @@ const GeoLayout peach_geo_000254[] = {
GEO_OPEN_NODE(),
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 0, 0, 0, NULL),
GEO_OPEN_NODE(),
#ifdef VERSION_JP
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 0, 0, 0, peach_seg5_dl_05007230),
#else
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 0, 0, 0, peach_seg5_us_dl_05007288),
#endif
GEO_OPEN_NODE(),
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 78, 0, 0, peach_seg5_dl_05006A18),
GEO_OPEN_NODE(),
@@ -122,11 +118,7 @@ const GeoLayout peach_geo_000254[] = {
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 78, 0, 0, peach_seg5_dl_050060E0),
GEO_ANIMATED_PART(LAYER_TRANSPARENT, -23, -1, 0, NULL),
GEO_OPEN_NODE(),
#ifdef VERSION_JP
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 0, 0, 0, peach_seg5_dl_0500A0A8),
#else
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 0, 0, 0, peach_seg5_us_dl_0500A188),
#endif
GEO_CLOSE_NODE(),
GEO_CLOSE_NODE(),
GEO_CLOSE_NODE(),
-4
View File
@@ -1087,7 +1087,6 @@ const Gfx peach_seg5_dl_05007230[] = {
gsSPEndDisplayList(),
};
#ifndef VERSION_JP
// 0x05007288 - 0x050072E8
const Gfx peach_seg5_us_dl_05007288[] = {
gsDPPipeSync(),
@@ -1103,7 +1102,6 @@ const Gfx peach_seg5_us_dl_05007288[] = {
gsDPPipeSync(),
gsSPEndDisplayList(),
};
#endif
// 0x05007288
static const Lights1 peach_seg5_lights_05007288 = gdSPDefLights1(
@@ -2219,7 +2217,6 @@ const Gfx peach_seg5_dl_0500A0A8[] = {
gsSPEndDisplayList(),
};
#ifndef VERSION_JP
// 0x0500A188 - 0x0500A210
const Gfx peach_seg5_us_dl_0500A188[] = {
gsDPPipeSync(),
@@ -2240,4 +2237,3 @@ const Gfx peach_seg5_us_dl_0500A188[] = {
gsDPSetAlphaCompare(G_AC_NONE),
gsSPEndDisplayList(),
};
#endif
-12
View File
@@ -62,17 +62,9 @@ const GeoLayout toad_geo_00027C[] = {
GEO_OPEN_NODE(),
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 83, 0, 0, NULL),
GEO_OPEN_NODE(),
#ifdef VERSION_JP
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 126, -37, 0, toad_seg6_dl_06007710),
#else
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 126, -37, 0, toad_seg6_us_dl_06007788),
#endif
GEO_CLOSE_NODE(),
#ifdef VERSION_JP
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 25, 8, 0, toad_seg6_dl_06007A48),
#else
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 25, 8, 0, toad_seg6_us_dl_06007B00),
#endif
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 34, 8, 0, toad_seg6_dl_06007EB0),
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 4, 7, 38, NULL),
GEO_OPEN_NODE(),
@@ -105,11 +97,7 @@ const GeoLayout toad_geo_00027C[] = {
GEO_OPEN_NODE(),
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 0, 0, 0, NULL),
GEO_OPEN_NODE(),
#ifdef VERSION_JP
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 17, 0, -4, toad_seg6_dl_06008520),
#else
GEO_ANIMATED_PART(LAYER_TRANSPARENT, 17, 0, -4, toad_seg6_us_dl_06008608),
#endif
GEO_CLOSE_NODE(),
GEO_CLOSE_NODE(),
GEO_CLOSE_NODE(),
-6
View File
@@ -327,7 +327,6 @@ const Gfx toad_seg6_dl_06007710[] = {
gsSPEndDisplayList(),
};
#ifndef VERSION_JP
// 0x06007788 - 0x06007808
const Gfx toad_seg6_us_dl_06007788[] = {
gsDPPipeSync(),
@@ -347,7 +346,6 @@ const Gfx toad_seg6_us_dl_06007788[] = {
gsDPPipeSync(),
gsSPEndDisplayList(),
};
#endif
// 0x06007788
static const Lights1 toad_seg6_lights_06007788 = gdSPDefLights1(
@@ -423,7 +421,6 @@ const Gfx toad_seg6_dl_06007A48[] = {
gsSPEndDisplayList(),
};
#ifndef VERSION_JP
// 0x06007B00 - 0x06007B28
const Gfx toad_seg6_us_dl_06007B00[] = {
gsDPPipeSync(),
@@ -432,7 +429,6 @@ const Gfx toad_seg6_us_dl_06007B00[] = {
gsDPPipeSync(),
gsSPEndDisplayList(),
};
#endif
// 0x06007A80
static const Lights1 toad_seg6_lights_06007A80 = gdSPDefLights1(
@@ -698,7 +694,6 @@ const Gfx toad_seg6_dl_06008520[] = {
};
// US: 8608
#ifndef VERSION_JP
// 0x06008608 - 0x06008650
const Gfx toad_seg6_us_dl_06008608[] = {
gsDPPipeSync(),
@@ -711,7 +706,6 @@ const Gfx toad_seg6_us_dl_06008608[] = {
gsDPSetRenderMode(G_RM_AA_ZB_XLU_SURF, G_RM_NOOP2),
gsSPEndDisplayList(),
};
#endif
// 0x06008560
static const Lights1 toad_seg6_lights_06008560 = gdSPDefLights1(
-13
View File
@@ -2,18 +2,6 @@
// 0x06020A0C - 0x06020A90
const Collision whomp_seg6_collision_06020A0C[] = {
#ifdef VERSION_JP
COL_INIT(),
COL_VERTEX_INIT(0x8),
COL_VERTEX(-200, 50, -100),
COL_VERTEX(150, 50, -100),
COL_VERTEX(150, 430, -100),
COL_VERTEX(-200, 430, -100),
COL_VERTEX(-200, 50, -3),
COL_VERTEX(150, 430, -3),
COL_VERTEX(150, 50, -3),
COL_VERTEX(-200, 430, -3),
#else
COL_INIT(),
COL_VERTEX_INIT(0x8),
COL_VERTEX(-150, 50, -100),
@@ -24,7 +12,6 @@ const Collision whomp_seg6_collision_06020A0C[] = {
COL_VERTEX(150, 430, -3),
COL_VERTEX(150, 50, -3),
COL_VERTEX(-150, 430, -3),
#endif
COL_TRI_INIT(SURFACE_NO_CAM_COLLISION, 12),
COL_TRI(2, 1, 0),
+18 -18
View File
@@ -24,7 +24,7 @@ static const Vtx title_screen_bg_vertex_0A000000[] = {
};
// 0x0A000100 - 0x0A000118
const Gfx title_screen_bg_dl_0A000100[] = {
const Gfx title_screen_bg_dl_start[] = {
gsDPSetCombineMode(G_CC_DECALRGB, G_CC_DECALRGB),
gsDPSetRenderMode(G_RM_AA_OPA_SURF, G_RM_AA_OPA_SURF2),
gsSPEndDisplayList(),
@@ -62,7 +62,7 @@ const Gfx title_screen_bg_dl_0A000178[] = {
};
// 0x0A000190 - 0x0A0001C0
const Gfx title_screen_bg_dl_0A000190[] = {
const Gfx title_screen_bg_dl_end[] = {
gsDPPipeSync(),
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
gsSPSetGeometryMode(G_LIGHTING),
@@ -72,59 +72,57 @@ const Gfx title_screen_bg_dl_0A000190[] = {
};
// 0x0A0001C0
ALIGNED8 static const Texture title_texture_0A0001C0[] = {
ALIGNED8 static const Texture title_texture_title_0[] = {
#include "textures/title_screen_bg/title_screen_bg.001C0.rgba16.inc.c"
};
// 0x0A000E40
ALIGNED8 static const Texture title_texture_0A000E40[] = {
ALIGNED8 static const Texture title_texture_title_1[] = {
#include "textures/title_screen_bg/title_screen_bg.00E40.rgba16.inc.c"
};
// 0x0A001AC0
ALIGNED8 static const Texture title_texture_0A001AC0[] = {
ALIGNED8 static const Texture title_texture_title_2[] = {
#include "textures/title_screen_bg/title_screen_bg.01AC0.rgba16.inc.c"
};
// 0x0A002740
ALIGNED8 static const Texture title_texture_0A002740[] = {
ALIGNED8 static const Texture title_texture_title_3[] = {
#include "textures/title_screen_bg/title_screen_bg.02740.rgba16.inc.c"
};
// 0x0A0033C0
ALIGNED8 static const Texture title_texture_0A0033C0[] = {
ALIGNED8 static const Texture title_texture_game_over_0[] = {
#include "textures/title_screen_bg/title_screen_bg.033C0.rgba16.inc.c"
};
// 0x0A004040
ALIGNED8 static const Texture title_texture_0A004040[] = {
ALIGNED8 static const Texture title_texture_game_over_1[] = {
#include "textures/title_screen_bg/title_screen_bg.04040.rgba16.inc.c"
};
// 0x0A004CC0
ALIGNED8 static const Texture title_texture_0A004CC0[] = {
ALIGNED8 static const Texture title_texture_game_over_2[] = {
#include "textures/title_screen_bg/title_screen_bg.04CC0.rgba16.inc.c"
};
// 0x0A005940
ALIGNED8 static const Texture title_texture_0A005940[] = {
ALIGNED8 static const Texture title_texture_game_over_3[] = {
#include "textures/title_screen_bg/title_screen_bg.05940.rgba16.inc.c"
};
// 0x0A0065C0
const Texture *const mario_title_texture_table[] = {
title_texture_0A0001C0, title_texture_0A000E40, title_texture_0A001AC0, title_texture_0A002740,
title_texture_title_0, title_texture_title_1, title_texture_title_2, title_texture_title_3,
};
// 0x0A0065D0
const Texture *const game_over_texture_table[] = {
title_texture_0A0033C0, title_texture_0A004040, title_texture_0A004CC0, title_texture_0A005940,
title_texture_game_over_0, title_texture_game_over_1, title_texture_game_over_2, title_texture_game_over_3,
};
UNUSED static const u64 title_screen_bg_unused_0 = 0;
#ifdef VERSION_SH
const Gfx title_screen_bg_dl_0A0065E8[] = {
#ifdef GODDARD_EASTER_EGG
const Gfx title_screen_bg_dl_face_easter_egg_begin[] = {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_COPY),
gsDPSetTexturePersp(G_TP_NONE),
@@ -133,7 +131,7 @@ const Gfx title_screen_bg_dl_0A0065E8[] = {
gsSPEndDisplayList(),
};
const Gfx title_screen_bg_dl_0A006618[] = {
const Gfx title_screen_bg_dl_face_easter_egg_end[] = {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_1CYCLE),
gsDPSetTexturePersp(G_TP_PERSP),
@@ -145,8 +143,10 @@ const Gfx title_screen_bg_dl_0A006618[] = {
ALIGNED8 static const u8 title_texture_rumble_pak[] = {
#include "textures/title_screen_bg/title_screen_bg.06648.rgba16.inc.c"
};
#endif
const Gfx title_screen_bg_dl_0A007548[] = {
#if ENABLE_RUMBLE
const Gfx title_screen_bg_dl_rumble_pak[] = {
gsDPPipeSync(),
gsDPSetCycleType(G_CYC_COPY),
gsDPSetTexturePersp(G_TP_NONE),
-2
View File
@@ -3058,7 +3058,6 @@ const BehaviorScript bhvMerryGoRound[] = {
END_LOOP(),
};
#ifndef VERSION_JP
const BehaviorScript bhvPlaysMusicTrackWhenTouched[] = {
BEGIN(OBJ_LIST_DEFAULT),
OR_INT(oFlags, (OBJ_FLAG_COMPUTE_DIST_TO_MARIO | OBJ_FLAG_UPDATE_GFX_POS_AND_ANGLE)),
@@ -3066,7 +3065,6 @@ const BehaviorScript bhvPlaysMusicTrackWhenTouched[] = {
CALL_NATIVE(bhv_play_music_track_when_touched_loop),
END_LOOP(),
};
#endif
const BehaviorScript bhvBetaBowserAnchor[] = {
BEGIN(OBJ_LIST_DESTRUCTIVE),
+108 -136
View File
@@ -1,154 +1,80 @@
#ifndef CONFIG_H
#define CONFIG_H
// HACKERSM64 CONFIG DEFINES NEAR BOTTOM
#pragma once
/**
* @file config.h
* A catch-all file for configuring various bugfixes and other settings (maybe eventually) in SM64
* A catch-all file for configuring various bugfixes and other settings in SM64
*/
// Bug Fixes
// --| Post-JP Version Nintendo Bug Fixes
/// Fixes bug where obtaining over 999 coins sets the number of lives to 999 (or -25)
#define BUGFIX_MAX_LIVES (0 || VERSION_US || VERSION_EU || VERSION_SH)
/// Fixes bug where the Boss music won't fade out after defeating King Bob-omb
#define BUGFIX_KING_BOB_OMB_FADE_MUSIC (0 || VERSION_US || VERSION_EU || VERSION_SH)
/// Fixes bug in Bob-Omb Battlefield where entering a warp stops the Koopa race music
#define BUGFIX_KOOPA_RACE_MUSIC (0 || VERSION_US || VERSION_EU || VERSION_SH)
/// Fixes bug where Piranha Plants do not reset their action state when the
/// player exits their activation radius.
#define BUGFIX_PIRANHA_PLANT_STATE_RESET (0 || VERSION_US || VERSION_EU || VERSION_SH)
/// Fixes bug where sleeping Piranha Plants damage players that bump into them
#define BUGFIX_PIRANHA_PLANT_SLEEP_DAMAGE (0 || VERSION_US || VERSION_SH)
/// Fixes bug where it shows a star when you grab a key in bowser battle stages
#define BUGFIX_STAR_BOWSER_KEY (0 || VERSION_US || VERSION_EU || VERSION_SH)
/// Fixes bug that enables Mario in time stop even if is not ready to speak
#define BUGFIX_DIALOG_TIME_STOP (0 || VERSION_US || VERSION_EU || VERSION_SH)
/// Fixes bug that causes Mario to still collide with Bowser in BITS after his defeat
#define BUGFIX_BOWSER_COLLIDE_BITS_DEAD (0 || VERSION_US || VERSION_EU || VERSION_SH)
/// Fixes bug where Bowser wouldn't reset his speed when fallen off (and adds missing checks)
#define BUGFIX_BOWSER_FALLEN_OFF_STAGE (0 || VERSION_US || VERSION_EU || VERSION_SH)
/// Fixes bug where Bowser would look weird while fading out
#define BUGFIX_BOWSER_FADING_OUT (0 || VERSION_US || VERSION_EU || VERSION_SH)
/// Removes multi-language cake screen
#define EU_CUSTOM_CAKE_FIX 1
// -- ROM SETTINGS --
// Internal ROM name. NEEDS TO BE **EXACTLY** 20 CHARACTERS. Can't be 19 characters, can't be 21 characters. You can fill it with spaces.
// The end quote should be here: "
#define INTERNAL_ROM_NAME "SUPERMARIO64 "
// Support Rumble Pak
// Currently not recommended, as it may cause random crashes.
//#define ENABLE_RUMBLE (1 || VERSION_SH)
// Clear RAM on boot
#define CLEARRAM 1
// Screen Size Defines
#define SCREEN_WIDTH 320
#define SCREEN_HEIGHT 240
// Border Height Define for NTSC Versions
#ifdef TARGET_N64
#ifdef TARGET_N64 // safeguard
// Size of the black border at the top and bottom of the screen. You can set it to different values for console and emulator.
// There is generally no reason to have a value other than 0 for emulator. As for console, it provides a (small) performance boost.
#define BORDER_HEIGHT_CONSOLE 0
#define BORDER_HEIGHT_EMULATOR 0
#endif // TARGET_N64
#endif
// -- HackerSM64 specific settings --
// TEST LEVEL
// Uncomment this define and set a test level in order to boot straight into said level.
// This allows you to quickly test the level you're working on.
// If you want the game to boot normally, just comment out the define again.
//#define TEST_LEVEL LEVEL_BOB
// COMMON HACK CHANGES
// Internal ROM name. NEEDS TO BE **EXACTLY** 20 CHARACTERS. Can't be 19 characters, can't be 21 characters. You can fill it with spaces.
// The end quote should be here: "
#define INTERNAL_ROM_NAME "SUPERMARIO64 "
// -- GAME SETTINGS --
// Disable lives and hide the lives counter
#define DISABLE_LIVES
// Skip peach letter cutscene
#define PEACH_SKIP
// Fixes the castle music sometimes triggering after getting a dialog
#define CASTLE_MUSIC_FIX
// Remove course specific camera processing
#define CAMERA_FIX
// Number of coins to spawn the "100 coin" star. If you remove the define altogether, then there won't be a 100 coin star at all.
#define X_COIN_STAR 100
// Stars don't kick you out of the level
//#define NON_STOP_STARS
// Uncomment this if you want global star IDs (useful for creating an open world hack ala MVC)
//#define GLOBAL_STAR_IDS
// Number of possible unique model ID's (keep it higher than 256)
#define MODEL_ID_COUNT 256
// Number of supported areas per level.
#define AREA_COUNT 8
/// Removes multi-language cake screen
#define EU_CUSTOM_CAKE_FIX 1
// Adds multiple languages to the game. Just a placeholder for the most part, because it only works with EU, and must be enabled with EU.
#define MULTILANG (0 || VERSION_EU)
// -- EXIT COURSE SETTINGS --
// Disable exit course
//#define DISABLE_EXIT_COURSE
#ifndef DISABLE_EXIT_COURSE // safeguard
// Decides whether you can exit course while moving (has no effect if you disable exit course)
// #define EXIT_COURSE_WHILE_MOVING
// Decides which level "exit course" takes you to (has no effect if you disable exit course)
#define EXIT_COURSE_LEVEL LEVEL_CASTLE
// Decides the area node "exit course" takes you to (has no effect if you disable exit course)
#define EXIT_COURSE_AREA 0x01
// Decides the warp node "exit course" takes you to (has no effect if you disable exit course)
#define EXIT_COURSE_NODE 0x1F
#endif // DISABLE_EXIT_COURSE
// -- MOVEMENT SETTINGS --
// Change the movement speed when hanging from a ceiling (the vanilla value is 4.f)
#define HANGING_SPEED 12.f
// Makes Mario face the direction of the analog stick directly while hanging from a ceiling, without doing "semicircles"
#define TIGHTER_HANGING_CONTROLS
// Fixes Mario's turn radius by making it dependent on forward speed.
#define FIX_GROUND_TURN_RADIUS
// Makes Mario turn around instantly when moving on the ground
//#define SUPER_RESPONSIVE_CONTROLS
// Disables fall damage
#define NO_FALL_DAMAGE
// Disables the scream that mario makes when falling off a great height (this is separate from actual fall damage)
//#define NO_FALL_DAMAGE_SOUND
// Disables Mario getting stuck in snow and sand when falling
//#define NO_GETTING_BURIED
// Number of coins to spawn the "100 coin" star. If you remove the define altogether, then there won't be a 100 coin star at all.
#define X_COIN_STAR 100
// Platform displacement 2 also known as momentum patch. Makes Mario keep the momemtum from moving platforms. Doesn't break treadmills anymore!
#define PLATFORM_DISPLACEMENT_2
// Stars don't kick you out of the level
//#define NON_STOP_STARS
// Uncomment this if you want global star IDs (useful for creating an open world hack ala MVC)
//#define GLOBAL_STAR_IDS
// Uncomment this if you want to skip the title screen (Super Mario 64 logo)
//#define SKIP_TITLE_SCREEN
// Uncomment this if you want to keep the mario head and not skip it
//#define KEEP_MARIO_HEAD
// Disables the demo that plays when idle on the start screen (Arceveti)
#define DISABLE_DEMO
// Enables "parallel lakitu camera" or "aglab cam" which lets you move the camera smoothly with the dpad
#define PARALLEL_LAKITU_CAM
// Allows Mario to ledgegrab sloped floors
#define NO_FALSE_LEDGEGRABS
// Adds multiple languages to the game. Just a placeholder for the most part, because it only works with EU, and must be enabled with EU.
#define MULTILANG (0 || VERSION_EU)
// Enables Puppy Camera 2, a rewritten camera that can be freely configured and modified.
//#define PUPPYCAM
// Allows Mario's shadow to be transparent on top of transparent surfaces, such as water, lava, and ice
#define FIX_SHADOW_TRANSPARENCY
// Fixes the game reading the ia8 burn smoke texture as an rgba16
#define BURN_SMOKE_FIX
// Disable the fix to Koopa's unshelled model
#define KOOPA_KEEP_PINK_SHORTS
// Automatically calculate the optimal collision distance for an object based on its vertices.
#define AUTO_COLLISION_DISTANCE
// HACKER QOL
// Increase the maximum pole length (it will treat bparam1 and bparam2 as a single value)
#define LONGER_POLES
// Number of possible unique model ID's (keep it higher than 256)
#define MODEL_ID_COUNT 256
// Increase audio heap size to allow for more concurrent notes to be played and for more custom sequences/banks to be imported (not supported for SH)
#define EXPAND_AUDIO_HEAP
// Allow all surfaces types to have force, (doesn't require setting force, just allows it to be optional).
#define ALL_SURFACES_HAVE_FORCE
// Custom debug mode. Press DPAD left to show the debug UI. Press DPAD right to enter the noclip mode.
//#define CUSTOM_DEBUG
// Include Puppyprint, a display library for text and large images. Also includes a custom, enhanced performance profiler.
//#define PUPPYPRINT
#define PUPPYPRINT_DEBUG 0
// Visual debug enables some collision visuals. Tapping Right on the dpad will cycle between visual hitboxes, visual surfaces, both, and neither.
// If puppyprint is enabled, then this can be cycled only while the screen is active.
//#define VISUAL_DEBUG
// Number of supported areas per level.
#define AREA_COUNT 8
// Number of walls that can push Mario at once.
#define MAX_REFEREMCED_WALLS 4
// Lightweight directional lighting engine by Fazana. Intended for giving proximity and positional pointlights to small objects.
//#define PUPPYLIGHTS
// Open all courses and doors. Used for debugging purposes to unlock all content.
//#define UNLOCK_ALL
// BUG/GAME QOL FIXES
// Fix instant warp offset not working when warping across different areas
#define INSTANT_WARP_OFFSET_FIX
// Whether a tree uses snow particles or not is decided via the model IDs instead of the course number
#define TREE_PARTICLE_FIX
// Use Shindou's pole behavior
//#define SHINDOU_POLES
// Allows Mario to jump kick on steep surfaces that are set to be non slippery, instead of being forced to dive
#define JUMP_KICK_FIX
// Allow Mario to grab hangable ceilings from any state
@@ -160,19 +86,43 @@
// Disable BLJs and crush SimpleFlips's dreams
//#define DISABLE_BLJ
// RELATING TO EXIT COURSE
// Disable exit course
//#define DISABLE_EXIT_COURSE
// Decides whether you can exit course while moving (has no effect if you disable exit course)
//#define EXIT_COURSE_WHILE_MOVING
// Decides which level "exit course" takes you to (has no effect if you disable exit course)
#define EXIT_COURSE_LEVEL LEVEL_CASTLE
// Decides the area node "exit course" takes you to (has no effect if you disable exit course)
#define EXIT_COURSE_AREA 0x01
// Decides the warp node "exit course" takes you to (has no effect if you disable exit course)
#define EXIT_COURSE_NODE 0x1F
// -- COLLISION SETTINGS --
// Automatically calculate the optimal collision distance for an object based on its vertices.
#define AUTO_COLLISION_DISTANCE
// Allow all surfaces types to have force, (doesn't require setting force, just allows it to be optional).
#define ALL_SURFACES_HAVE_FORCE
// Number of walls that can push Mario at once.
#define MAX_REFEREMCED_WALLS 4
// Collision data is the type that the collision system uses. All data by default is stored as an s16, but you may change it to s32.
// Naturally, that would double the size of all collision data, but would allow you to use 32 bit values instead of 16.
// Rooms are s8 in vanilla, but if you somehow have more than 255 rooms, you may raise this number.
// Currently, they *must* say as s8, because the room tables generated by literally anything are explicitly u8 and don't use a macro, making this currently infeasable.
#define COLLISION_DATA_TYPE s16
#define ROOM_DATA_TYPE s8
// OTHER ENHANCEMENTS
// -- CUTSCENE SKIPS --
// Skip peach letter cutscene
#define PEACH_SKIP
// Uncomment this if you want to skip the title screen (Super Mario 64 logo)
//#define SKIP_TITLE_SCREEN
// Uncomment this if you want to keep the mario head and not skip it
//#define KEEP_MARIO_HEAD
#ifdef KEEP_MARIO_HEAD // safeguard
//Goddard easter egg from Shindou (has no effect if KEEP_MARIO_HEAD is disabled)
#define GODDARD_EASTER_EGG
// Disables the demo that plays when idle on the start screen (has no effect if KEEP_MARIO_HEAD is disabled)
#define DISABLE_DEMO
#endif // KEEP_MARIO_HEAD
// -- CAMERA SETTINGS --
// Remove course specific camera processing
#define CAMERA_FIX
// Enables "parallel lakitu camera" or "aglab cam" which lets you move the camera smoothly with the dpad
#define PARALLEL_LAKITU_CAM
// Enables Puppy Camera 2, a rewritten camera that can be freely configured and modified.
//#define PUPPYCAM
// -- GRAPHICS SETTINGS --
// Enable widescreen (16:9) support
#define WIDE
// Skybox size modifier, changing this will add support for larger skybox images. NOTE: Vanilla skyboxes may break if you change this option. Be sure to rescale them accordingly.
@@ -191,18 +141,40 @@
// Also enables new render layers, such as LAYER_ALPHA_DECAL.
// The number is the intensity of the silhouette, from 0-255.
// NOTE: The overlap between Mario's model parts is visible on certain HLE plugins.
// Also, this also disables anti-aliasing on Mario, and the outermost pixel edges of the silhouette are slightly visible on Mario's normal model at lower resolutions.
// Also, this also disables anti-aliasing on Mario.
#define SILHOUETTE 127
// Fixes the game reading the ia8 burn smoke texture as an rgba16
#define BURN_SMOKE_FIX
// Disable the fix to Koopa's unshelled model
#define KOOPA_KEEP_PINK_SHORTS
// Lightweight directional lighting engine by Fazana. Intended for giving proximity and positional pointlights to small objects.
// NOTE: Stil breaks occasionally, and PUPPYLIGHT_NODE doesn't work in areas that aren't area 1.
//#define PUPPYLIGHTS
// -- AUDIO SETTINGS --
// Fixes the castle music sometimes triggering after getting a dialog
#define CASTLE_MUSIC_FIX
// Increase audio heap size to allow for more concurrent notes to be played and for more custom sequences/banks to be imported (not supported for SH)
#define EXPAND_AUDIO_HEAP
// Use a much better implementation of reverb over vanilla's fake echo reverb. Great for caves or eerie levels, as well as just a better audio experience in general.
// Reverb parameters can be configured in audio/synthesis.c to meet desired aesthetic/performance needs. Currently US/JP only.
//#define BETTER_REVERB
// Collision data is the type that the collision system uses. All data by default is stored as an s16, but you may change it to s32.
// Naturally, that would double the size of all collision data, but would allow you to use 32 bit values instead of 16.
// Rooms are s8 in vanilla, but if you somehow have more than 255 rooms, you may raise this number.
// Currently, they *must* say as s8, because the room tables generated by literally anything are explicitly u8 and don't use a macro, making this currently infeasable.
#define COLLISION_DATA_TYPE s16
#define ROOM_DATA_TYPE s8
// -- DEBUG SETTINGS --
// TEST LEVEL
// Uncomment this define and set a test level in order to boot straight into said level.
// This allows you to quickly test the level you're working on.
// If you want the game to boot normally, just comment out the define again.
//#define TEST_LEVEL LEVEL_BOB
// Custom debug mode. Press DPAD left to show the debug UI. Press DPAD right to enter the noclip mode.
//#define CUSTOM_DEBUG
// Include Puppyprint, a display library for text and large images. Also includes a custom, enhanced performance profiler.
//#define PUPPYPRINT
#define PUPPYPRINT_DEBUG 0
// Visual debug enables some collision visuals. Tapping Right on the dpad will cycle between visual hitboxes, visual surfaces, both, and neither.
// If puppyprint is enabled, then this can be cycled only while the screen is active.
//#define VISUAL_DEBUG
// Open all courses and doors. Used for debugging purposes to unlock all content.
//#define UNLOCK_ALL
// If you want to change the extended boundaries mode, go to engine/extended_bounds.h and change EXTENDED_BOUNDS_MODE
#endif // CONFIG_H
-4
View File
@@ -462,9 +462,7 @@
#define /*0x0F4*/ oCoinRespawnBits OBJECT_FIELD_S32(0x1B)
#define /*0x0F8*/ oCoinSnapToGround OBJECT_FIELD_S32(0x1C)
#define /*0x110*/ oCoinBaseYVel OBJECT_FIELD_F32(0x22)
#ifndef VERSION_JP
#define /*0x1B0*/ oCoinBounceTimer OBJECT_FIELD_S32(0x4A)
#endif
/* Collision Particle */
#define /*0x0F4*/ oCollisionParticleScale OBJECT_FIELD_F32(0x1B)
@@ -702,9 +700,7 @@
#define /*0x0F8*/ oCameraLakituSpeed OBJECT_FIELD_F32(0x1C)
#define /*0x0FC*/ oCameraLakituCircleRadius OBJECT_FIELD_F32(0x1D)
#define /*0x100*/ oCameraLakituFinishedDialog OBJECT_FIELD_S32(0x1E)
#ifndef VERSION_JP
#define /*0x104*/ oCameraLakituIntroMusicPlayed OBJECT_FIELD_S32(0x1F)
#endif
#define /*0x1AC*/ oCameraLakituPitchVel OBJECT_FIELD_S16(0x49, 0)
#define /*0x1AE*/ oCameraLakituYawVel OBJECT_FIELD_S16(0x49, + 1)
-4
View File
@@ -282,11 +282,7 @@
#define SOUND_GENERAL_UNKNOWN1_2 /* 0x32250080 */ SOUND_ARG_LOAD(SOUND_BANK_GENERAL, 0x25, 0x00, SOUND_VIBRATO | SOUND_DISCRETE) // unverified
#define SOUND_GENERAL_CLAM_SHELL2 /* 0x30264080 */ SOUND_ARG_LOAD(SOUND_BANK_GENERAL, 0x26, 0x40, SOUND_DISCRETE) // unverified
#define SOUND_GENERAL_CLAM_SHELL3 /* 0x30274080 */ SOUND_ARG_LOAD(SOUND_BANK_GENERAL, 0x27, 0x40, SOUND_DISCRETE) // unverified
#ifdef VERSION_JP
#define SOUND_GENERAL_PAINTING_EJECT /* 0x38280080 */ SOUND_ARG_LOAD(SOUND_BANK_GENERAL, 0x28, 0x00, SOUND_CONSTANT_FREQUENCY | SOUND_DISCRETE)
#else
#define SOUND_GENERAL_PAINTING_EJECT /* 0x39280080 */ SOUND_ARG_LOAD(SOUND_BANK_GENERAL, 0x28, 0x00, SOUND_NO_VOLUME_LOSS | SOUND_CONSTANT_FREQUENCY | SOUND_DISCRETE)
#endif
#define SOUND_GENERAL_LEVEL_SELECT_CHANGE /* 0x302B0080 */ SOUND_ARG_LOAD(SOUND_BANK_GENERAL, 0x2B, 0x00, SOUND_DISCRETE)
#define SOUND_GENERAL_PLATFORM /* 0x302D8080 */ SOUND_ARG_LOAD(SOUND_BANK_GENERAL, 0x2D, 0x80, SOUND_DISCRETE) // unverified
#define SOUND_GENERAL_DONUT_PLATFORM_EXPLOSION /* 0x302E2080 */ SOUND_ARG_LOAD(SOUND_BANK_GENERAL, 0x2E, 0x20, SOUND_DISCRETE)
+2 -2
View File
@@ -268,13 +268,13 @@ extern const Gfx tiny_bubble_dl_0B006D38[];
extern const Gfx tiny_bubble_dl_0B006D68[];
// title_screen_bg
extern const Gfx title_screen_bg_dl_0A000100[];
extern const Gfx title_screen_bg_dl_start[];
extern const Gfx title_screen_bg_dl_0A000118[];
extern const Gfx title_screen_bg_dl_0A000130[];
extern const Gfx title_screen_bg_dl_0A000148[];
extern const Gfx title_screen_bg_dl_0A000160[];
extern const Gfx title_screen_bg_dl_0A000178[];
extern const Gfx title_screen_bg_dl_0A000190[];
extern const Gfx title_screen_bg_dl_end[];
extern const u8 *const mario_title_texture_table[];
extern const u8 *const game_over_texture_table[];
-140
View File
@@ -126,23 +126,6 @@ static const Vtx bits_seg7_vertex_07010208[] = {
// 0x07010308 - 0x070103F8
static const Vtx bits_seg7_vertex_07010308[] = {
#ifdef VERSION_JP
{{{ -921, -229, -434}, 0, { 308, 650}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -306, -383, -434}, 0, { 1076, 1924}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -921, -383, -434}, 0, { 54, 904}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -306, -229, -434}, 0, { 1330, 1670}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 922, -383, -434}, 0, { 3120, 3968}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 307, -383, -434}, 0, { 2098, 2946}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 307, -229, -434}, 0, { 2352, 2692}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 922, -229, -434}, 0, { 3374, 3714}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 922, -383, -741}, 0, { 3546, -1564}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 296, -383, -741}, 0, { 2504, -524}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 296, -383, -434}, 0, { 1992, -1034}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 205, -25, -434}, 0, { -1222, 478}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 205, -229, -434}, 0, { -882, 138}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 205, -229, -332}, 0, { -712, 308}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 205, -25, -332}, 0, { -1052, 650}, {0x96, 0x96, 0x96, 0xff}}},
#else
{{{ -921, -229, -434}, 0, { 308, 650}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -306, -383, -434}, 0, { 1076, 1924}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -921, -383, -434}, 0, { 54, 904}, {0x64, 0x64, 0x64, 0xff}}},
@@ -158,7 +141,6 @@ static const Vtx bits_seg7_vertex_07010308[] = {
{{{ 205, -229, -434}, 0, { -882, 138}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 205, -229, -332}, 0, { -712, 308}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 205, -25, -332}, 0, { -1052, 650}, {0x96, 0x96, 0x96, 0xff}}},
#endif
};
// 0x070103F8 - 0x070104D8
@@ -220,22 +202,6 @@ static const Vtx bits_seg7_vertex_070105C8[] = {
// 0x070106C8 - 0x070107A8
static const Vtx bits_seg7_vertex_070106C8[] = {
#ifdef VERSION_JP
{{{ 922, -434, -434}, 0, { -3096, -2758}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 922, -229, -434}, 0, { -3436, -2416}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 922, -229, 1613}, 0, { 0, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -921, -434, 1613}, 0, { 308, 650}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -921, -229, 1613}, 0, { 0, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -921, -229, -434}, 0, { -3436, -2416}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -921, -434, -434}, 0, { -3096, -2758}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 307, -229, -434}, 0, { -882, 138}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 307, -25, -1049}, 0, { -2244, -544}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 307, 179, -1049}, 0, { -2584, -202}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 307, -25, -434}, 0, { -1222, 478}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -517, 179, -1759}, 0, { -252, 1788}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -517, 282, -1759}, 0, { 0, 1532}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -517, 282, -2190}, 0, { 1076, 2608}, {0x7d, 0x7d, 0x7d, 0xff}}},
#else
{{{ 922, -434, -434}, 0, { -3096, -2758}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 922, -229, -434}, 0, { -3436, -2416}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 922, -229, 1613}, 0, { 0, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
@@ -250,27 +216,10 @@ static const Vtx bits_seg7_vertex_070106C8[] = {
{{{ -517, 179, -1759}, 0, { -252, 1788}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -517, 282, -1759}, 0, { 0, 1532}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -517, 282, -2190}, 0, { 1076, 2608}, {0x7d, 0x7d, 0x7d, 0xff}}},
#endif
};
// 0x070107A8 - 0x07010888
static const Vtx bits_seg7_vertex_070107A8[] = {
#ifdef VERSION_JP
{{{ -204, -229, -434}, 0, { 3374, 4394}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -204, 77, -1049}, 0, { 4908, 4906}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -204, 179, -1049}, 0, { 5078, 4736}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -306, -229, -434}, 0, { -882, 138}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -306, -25, -434}, 0, { -1222, 478}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -306, -25, -1049}, 0, { -2244, -544}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -306, 179, -1049}, 0, { -2584, -202}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 205, -229, -434}, 0, { -882, 138}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 205, -25, -434}, 0, { -1222, 478}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 205, 77, -1049}, 0, { -2414, -372}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 205, 179, -1049}, 0, { -2584, -202}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -517, 179, -1759}, 0, { -252, 1788}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -517, 282, -2190}, 0, { 1076, 2608}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -517, 179, -2190}, 0, { 820, 2862}, {0x7d, 0x7d, 0x7d, 0xff}}},
#else
{{{ -204, -229, -434}, 0, { 3374, 4394}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -204, 77, -1049}, 0, { 4908, 4906}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -204, 179, -1049}, 0, { 5078, 4736}, {0x7d, 0x7d, 0x7d, 0xff}}},
@@ -285,28 +234,10 @@ static const Vtx bits_seg7_vertex_070107A8[] = {
{{{ -517, 179, -1759}, 0, { -252, 1788}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -517, 282, -2190}, 0, { 1076, 2608}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -517, 179, -2190}, 0, { 820, 2862}, {0x7d, 0x7d, 0x7d, 0xff}}},
#endif
};
// 0x07010888 - 0x07010978
static const Vtx bits_seg7_vertex_07010888[] = {
#ifdef VERSION_JP
{{{ -921, -229, -332}, 0, { -712, 308}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -921, -25, -434}, 0, { -1222, 478}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -921, -229, -434}, 0, { -882, 138}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 522, 179, -2190}, 0, { 820, 2862}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 524, 282, -1757}, 0, { -4, 1528}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 524, 179, -1757}, 0, { -258, 1782}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 522, 282, -2190}, 0, { 1076, 2608}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -328, 282, -1837}, 0, { 196, 1728}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -328, 384, -2112}, 0, { 1136, 2156}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -328, 282, -2112}, 0, { 880, 2412}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -328, 384, -1837}, 0, { 452, 1472}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 333, 282, -2112}, 0, { 880, 2412}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 333, 384, -2112}, 0, { 1136, 2156}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 333, 384, -1837}, 0, { 1136, 2156}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 333, 282, -1837}, 0, { 880, 2412}, {0x7d, 0x7d, 0x7d, 0xff}}},
#else
{{{ -921, -229, -332}, 0, { -712, 308}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -921, -25, -434}, 0, { -1222, 478}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -921, -229, -434}, 0, { -882, 138}, {0x7d, 0x7d, 0x7d, 0xff}}},
@@ -322,7 +253,6 @@ static const Vtx bits_seg7_vertex_07010888[] = {
{{{ 333, 384, -2112}, 0, { 60, 570}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 333, 384, -1837}, 0, { -624, -114}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 333, 282, -1837}, 0, { -878, 142}, {0x7d, 0x7d, 0x7d, 0xff}}},
#endif
};
// 0x07010978 - 0x07010A68
@@ -384,23 +314,6 @@ static const Vtx bits_seg7_vertex_07010B58[] = {
// 0x07010C48 - 0x07010D38
static const Vtx bits_seg7_vertex_07010C48[] = {
#ifdef VERSION_JP
{{{ 922, -434, -434}, 0, { -116, 1074}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 922, -383, -741}, 0, { 480, 1500}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 922, -383, -434}, 0, { 0, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 922, -434, -741}, 0, { 394, 1584}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 200, 77, 1096}, 0, { -132, 2692}, {0x44, 0x44, 0x44, 0xff}}},
{{{ 415, 77, 1311}, 0, { 752, 2692}, {0x44, 0x44, 0x44, 0xff}}},
{{{ 200, 77, 1311}, 0, { 308, 2248}, {0x44, 0x44, 0x44, 0xff}}},
{{{ 307, -25, -1049}, 0, { 2352, -5482}, {0x44, 0x44, 0x44, 0xff}}},
{{{ 307, -229, -434}, 0, { 1330, -4460}, {0x44, 0x44, 0x44, 0xff}}},
{{{ -306, -229, -434}, 0, { 2352, -3438}, {0x44, 0x44, 0x44, 0xff}}},
{{{ -306, -25, -1049}, 0, { 3374, -4460}, {0x44, 0x44, 0x44, 0xff}}},
{{{ -721, 179, 379}, 0, { -1836, 3372}, {0x44, 0x44, 0x44, 0xff}}},
{{{ -506, 179, 594}, 0, { -950, 3372}, {0x44, 0x44, 0x44, 0xff}}},
{{{ -721, 179, 594}, 0, { -1392, 2930}, {0x44, 0x44, 0x44, 0xff}}},
{{{ -506, 179, 379}, 0, { -1392, 3816}, {0x44, 0x44, 0x44, 0xff}}},
#else
{{{ 922, -434, -434}, 0, { -116, 1074}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 922, -383, -741}, 0, { 480, 1500}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 922, -383, -434}, 0, { 0, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
@@ -416,7 +329,6 @@ static const Vtx bits_seg7_vertex_07010C48[] = {
{{{ -506, 179, 594}, 0, { -950, 3372}, {0x44, 0x44, 0x44, 0xff}}},
{{{ -721, 179, 594}, 0, { -1392, 2930}, {0x44, 0x44, 0x44, 0xff}}},
{{{ -506, 179, 379}, 0, { -1392, 3816}, {0x44, 0x44, 0x44, 0xff}}},
#endif
};
// 0x07010D38 - 0x07010E18
@@ -439,22 +351,6 @@ static const Vtx bits_seg7_vertex_07010D38[] = {
// 0x07010E18 - 0x07010EF8
static const Vtx bits_seg7_vertex_07010E18[] = {
#ifdef VERSION_JP
{{{ 307, -383, -434}, 0, { 2098, 2946}, {0x44, 0x44, 0x44, 0xff}}},
{{{ -306, -229, -434}, 0, { 1330, 1670}, {0x44, 0x44, 0x44, 0xff}}},
{{{ 307, -229, -434}, 0, { 2352, 2692}, {0x44, 0x44, 0x44, 0xff}}},
{{{ -306, -383, -434}, 0, { 1076, 1924}, {0x44, 0x44, 0x44, 0xff}}},
{{{ -511, -434, 2022}, 0, { -7014, -1224}, {0x44, 0x44, 0x44, 0xff}}},
{{{ -921, -434, 1613}, 0, { -7014, 138}, {0x44, 0x44, 0x44, 0xff}}},
{{{ -921, -434, -741}, 0, { -3096, 4054}, {0x44, 0x44, 0x44, 0xff}}},
{{{ 922, -434, -741}, 0, { 0, 990}, {0x44, 0x44, 0x44, 0xff}}},
{{{ 922, -434, 1613}, 0, { -3948, -2928}, {0x44, 0x44, 0x44, 0xff}}},
{{{ 512, -434, 2022}, 0, { -5310, -2928}, {0x44, 0x44, 0x44, 0xff}}},
{{{ 296, -383, -741}, 0, { 2504, -524}, {0x50, 0x50, 0x50, 0xff}}},
{{{ -313, -383, -741}, 0, { 1490, 490}, {0x50, 0x50, 0x50, 0xff}}},
{{{ -313, -383, -434}, 0, { 978, -20}, {0x50, 0x50, 0x50, 0xff}}},
{{{ 296, -383, -434}, 0, { 1992, -1034}, {0x50, 0x50, 0x50, 0xff}}},
#else
{{{ 307, -383, -434}, 0, { 2098, 2946}, {0x44, 0x44, 0x44, 0xff}}},
{{{ -306, -240, -434}, 0, { 1330, 1670}, {0x44, 0x44, 0x44, 0xff}}},
{{{ 307, -240, -434}, 0, { 2352, 2692}, {0x44, 0x44, 0x44, 0xff}}},
@@ -469,7 +365,6 @@ static const Vtx bits_seg7_vertex_07010E18[] = {
{{{ -313, -383, -741}, 0, { 1490, 490}, {0x50, 0x50, 0x50, 0xff}}},
{{{ -313, -383, -434}, 0, { 978, -20}, {0x50, 0x50, 0x50, 0xff}}},
{{{ 296, -383, -434}, 0, { 1992, -1034}, {0x50, 0x50, 0x50, 0xff}}},
#endif
};
// 0x07010EF8 - 0x07010FE8
@@ -567,23 +462,6 @@ static const Vtx bits_seg7_vertex_07011298[] = {
// 0x07011388 - 0x07011478
static const Vtx bits_seg7_vertex_07011388[] = {
#ifdef VERSION_JP
{{{ 512, -434, 2022}, 0, { -2756, 3032}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -511, -229, 2022}, 0, { -712, 1670}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -511, -434, 2022}, 0, { -1052, 1328}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 512, -229, 2022}, 0, { -2414, 3372}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -212, 179, -2495}, 0, { -736, 1304}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 218, 282, -2495}, 0, { 592, 2124}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 218, 179, -2495}, 0, { 336, 2378}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -212, 282, -2495}, 0, { -482, 1048}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 218, 179, -1454}, 0, { 336, 2378}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -212, 282, -1454}, 0, { -482, 1048}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -212, 179, -1454}, 0, { -736, 1304}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 218, 282, -1454}, 0, { 592, 2124}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -921, -25, -434}, 0, { 650, 308}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -306, -229, -434}, 0, { 1330, 1670}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -921, -229, -434}, 0, { 308, 650}, {0x64, 0x64, 0x64, 0xff}}},
#else
{{{ 512, -434, 2022}, 0, { -2756, 3032}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -511, -229, 2022}, 0, { -712, 1670}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -511, -434, 2022}, 0, { -1052, 1328}, {0x64, 0x64, 0x64, 0xff}}},
@@ -599,27 +477,10 @@ static const Vtx bits_seg7_vertex_07011388[] = {
{{{ -921, -25, -434}, 0, { 650, 308}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -306, -240, -434}, 0, { 1330, 1670}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -921, -229, -434}, 0, { 308, 650}, {0x64, 0x64, 0x64, 0xff}}},
#endif
};
// 0x07011478 - 0x07011558
static const Vtx bits_seg7_vertex_07011478[] = {
#ifdef VERSION_JP
{{{ -134, 282, -2306}, 0, { -286, 1244}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -134, 384, -2306}, 0, { 0, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 139, 384, -2306}, 0, { 652, 1672}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 139, 282, -1643}, 0, { 396, 1928}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 139, 384, -1643}, 0, { 652, 1672}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -134, 384, -1643}, 0, { 0, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -134, 282, -1643}, 0, { -286, 1244}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 307, -25, -434}, 0, { 2694, 2350}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 922, -25, -434}, 0, { 3716, 3372}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 922, -229, -434}, 0, { 3374, 3714}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 307, -229, -434}, 0, { 2352, 2692}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -921, -25, -434}, 0, { 650, 308}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -306, -25, -434}, 0, { 1672, 1328}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -306, -229, -434}, 0, { 1330, 1670}, {0x64, 0x64, 0x64, 0xff}}},
#else
{{{ -134, 282, -2306}, 0, { -286, 1244}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -134, 384, -2306}, 0, { 0, 990}, {0x64, 0x64, 0x64, 0xff}}},
{{{ 139, 384, -2306}, 0, { 652, 1672}, {0x64, 0x64, 0x64, 0xff}}},
@@ -634,7 +495,6 @@ static const Vtx bits_seg7_vertex_07011478[] = {
{{{ -921, -25, -434}, 0, { 650, 308}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -306, -25, -434}, 0, { 1672, 1328}, {0x64, 0x64, 0x64, 0xff}}},
{{{ -306, -240, -434}, 0, { 1330, 1670}, {0x64, 0x64, 0x64, 0xff}}},
#endif
};
// 0x07011558 - 0x07011648
-2
View File
@@ -43,9 +43,7 @@ static const LevelScript script_func_local_4[] = {
OBJECT_WITH_ACTS(/*model*/ MODEL_PENGUIN, /*pos*/ -4952, 6656, -6075, /*angle*/ 0, 270, 0, /*behParam*/ 0x02000000, /*beh*/ bhvRacingPenguin, /*acts*/ ACT_2 | ACT_3 | ACT_4 | ACT_5 | ACT_6),
OBJECT(/*model*/ MODEL_NONE, /*pos*/ -6500, -5836, -6400, /*angle*/ 0, 0, 0, /*behParam*/ 0x00000000, /*beh*/ bhvPenguinRaceFinishLine),
OBJECT(/*model*/ MODEL_NONE, /*pos*/ -6393, -716, 7503, /*angle*/ 0, 0, 0, /*behParam*/ 0x00000000, /*beh*/ bhvPenguinRaceShortcutCheck),
#ifndef VERSION_JP
OBJECT(/*model*/ MODEL_NONE, /*pos*/ -4943, 1321, 667, /*angle*/ 0, 0, 0, /*behParam*/ 0x00000000, /*beh*/ bhvPlaysMusicTrackWhenTouched),
#endif
RETURN(),
};
@@ -1,32 +1,5 @@
// 0x0702B65C - 0x0702B6E0
const Collision hmc_seg7_collision_0702B65C[] = {
#ifdef VERSION_JP
COL_INIT(),
COL_VERTEX_INIT(0x8),
COL_VERTEX(410, 0, 51),
COL_VERTEX(410, 819, -50),
COL_VERTEX(410, 819, 51),
COL_VERTEX(0, 819, 51),
COL_VERTEX(0, 0, 51),
COL_VERTEX(0, 819, -50),
COL_VERTEX(410, 0, -50),
COL_VERTEX(0, 0, -50),
COL_TRI_INIT(SURFACE_DEFAULT, 12),
COL_TRI(0, 1, 2),
COL_TRI(2, 3, 4),
COL_TRI(2, 4, 0),
COL_TRI(2, 1, 5),
COL_TRI(2, 5, 3),
COL_TRI(6, 5, 1),
COL_TRI(0, 6, 1),
COL_TRI(6, 7, 5),
COL_TRI(3, 5, 7),
COL_TRI(3, 7, 4),
COL_TRI(4, 7, 6),
COL_TRI(4, 6, 0),
COL_TRI_STOP(),
COL_END(),
#else
COL_INIT(),
COL_VERTEX_INIT(0x8),
COL_VERTEX(410, 0, 51),
@@ -52,5 +25,4 @@ const Collision hmc_seg7_collision_0702B65C[] = {
COL_TRI(4, 6, 0),
COL_TRI_STOP(),
COL_END(),
#endif
};
+4 -4
View File
@@ -55,7 +55,7 @@ const GeoLayout intro_geo_mario_head_regular[] = {
GEO_NODE_ORTHO(100),
GEO_OPEN_NODE(),
GEO_ASM(0, geo_intro_regular_backdrop),
#ifdef VERSION_SH
#ifdef GODDARD_EASTER_EGG
GEO_ASM(0, geo_intro_face_easter_egg),
#endif
GEO_CLOSE_NODE(),
@@ -69,7 +69,7 @@ const GeoLayout intro_geo_mario_head_regular[] = {
GEO_CLOSE_NODE(),
#endif
GEO_CLOSE_NODE(),
#ifdef VERSION_SH
#if ENABLE_RUMBLE
GEO_ZBUFFER(0),
GEO_OPEN_NODE(),
GEO_ASM(0, geo_intro_rumble_pak_graphic),
@@ -88,7 +88,7 @@ const GeoLayout intro_geo_mario_head_dizzy[] = {
GEO_NODE_ORTHO(100),
GEO_OPEN_NODE(),
GEO_ASM(0, geo_intro_gameover_backdrop),
#ifdef VERSION_SH
#ifdef GODDARD_EASTER_EGG
GEO_ASM(0, geo_intro_face_easter_egg),
#endif
GEO_CLOSE_NODE(),
@@ -102,7 +102,7 @@ const GeoLayout intro_geo_mario_head_dizzy[] = {
GEO_CLOSE_NODE(),
#endif
GEO_CLOSE_NODE(),
#ifdef VERSION_SH
#if ENABLE_RUMBLE
GEO_ZBUFFER(0),
GEO_OPEN_NODE(),
GEO_ASM(1, geo_intro_rumble_pak_graphic),
+38 -44
View File
@@ -1,9 +1,3 @@
#ifdef VERSION_JP
#define VAL_DIFF 25000
#else
#define VAL_DIFF 60000
#endif
// Define lists for list of level for macros. Each of the following fields are described:
// Argument 1: Internal ROM name of the level.
// Argument 2: Level enumerator for enum used to identify the level ID.
@@ -19,41 +13,41 @@
// TODO: Figure something out for sZoomOutAreaMasks?
// Reworked internal names, non-level name abbreviations used from quad64 bc that was prob the best idea. - send all complaints to pyro jay
STUB_LEVEL( "", LEVEL_UNKNOWN_1, COURSE_NONE, 20000, 0x00, 0x00, 0x00, _, _)
STUB_LEVEL( "", LEVEL_UNKNOWN_2, COURSE_NONE, 20000, 0x00, 0x00, 0x00, _, _)
STUB_LEVEL( "", LEVEL_UNKNOWN_3, COURSE_NONE, 20000, 0x00, 0x00, 0x00, _, _)
DEFINE_LEVEL("COURSE 5 BBH", LEVEL_BBH, COURSE_BBH, bbh, spooky, 28000, 0x28, 0x28, 0x28, sDynBbh, sCamBBH)
DEFINE_LEVEL("COURSE 4 CCM", LEVEL_CCM, COURSE_CCM, ccm, snow, 17000, 0x10, 0x38, 0x38, _, sCamCCM)
DEFINE_LEVEL("OW2 IN CASTLE", LEVEL_CASTLE, COURSE_NONE, castle_inside, inside, 20000, 0x20, 0x20, 0x30, _, sCamCastle)
DEFINE_LEVEL("COURSE 6 HMC", LEVEL_HMC, COURSE_HMC, hmc, cave, 16000, 0x28, 0x28, 0x28, sDynHmc, sCamHMC)
DEFINE_LEVEL("COURSE 8 SSL", LEVEL_SSL, COURSE_SSL, ssl, generic, 15000, 0x08, 0x30, 0x30, _, sCamSSL)
DEFINE_LEVEL("COURSE 1 BOB", LEVEL_BOB, COURSE_BOB, bob, generic, 15000, 0x08, 0x08, 0x08, _, _)
DEFINE_LEVEL("COURSE 10 SL", LEVEL_SL, COURSE_SL, sl, snow, 14000, 0x10, 0x28, 0x28, _, sCamSL)
DEFINE_LEVEL("COURSE 11 WDW", LEVEL_WDW, COURSE_WDW, wdw, grass, 17000, 0x10, 0x18, 0x18, sDynWdw, _)
DEFINE_LEVEL("COURSE 3 JRB", LEVEL_JRB, COURSE_JRB, jrb, water, 20000, 0x10, 0x18, 0x18, sDynJrb, _)
DEFINE_LEVEL("COURSE 13 THI", LEVEL_THI, COURSE_THI, thi, grass, 20000, 0x0c, 0x0c, 0x20, _, sCamTHI)
DEFINE_LEVEL("COURSE 14 TTC", LEVEL_TTC, COURSE_TTC, ttc, machine, 18000, 0x18, 0x18, 0x18, _, _)
DEFINE_LEVEL("COURSE 15 RR", LEVEL_RR, COURSE_RR, rr, sky, 20000, 0x20, 0x20, 0x20, _, sCamRR)
DEFINE_LEVEL("OW1 C GROUNDS", LEVEL_CASTLE_GROUNDS, COURSE_NONE, castle_grounds, outside, 25000, 0x08, 0x08, 0x08, _, _)
DEFINE_LEVEL("BC1 BITDW", LEVEL_BITDW, COURSE_BITDW, bitdw, sky, 16000, 0x28, 0x28, 0x28, _, _)
DEFINE_LEVEL("VCL VCUTM", LEVEL_VCUTM, COURSE_VCUTM, vcutm, outside, 30000, 0x28, 0x28, 0x28, _, _)
DEFINE_LEVEL("BC2 BITFS", LEVEL_BITFS, COURSE_BITFS, bitfs, sky, 16000, 0x28, 0x28, 0x28, _, _)
DEFINE_LEVEL("SC1 SEC AQUA", LEVEL_SA, COURSE_SA, sa, inside, 20000, 0x10, 0x10, 0x10, _, _)
DEFINE_LEVEL("BC3 BITS", LEVEL_BITS, COURSE_BITS, bits, sky, 16000, 0x28, 0x28, 0x28, _, _)
DEFINE_LEVEL("COURSE 7 LLL", LEVEL_LLL, COURSE_LLL, lll, fire, 22000, 0x08, 0x30, 0x30, _, _)
DEFINE_LEVEL("COURSE 9 DDD", LEVEL_DDD, COURSE_DDD, ddd, water, 17000, 0x10, 0x20, 0x20, sDynDdd, _)
DEFINE_LEVEL("COURSE 2 WF", LEVEL_WF, COURSE_WF, wf, grass, 13000, 0x08, 0x08, 0x08, _, _)
DEFINE_LEVEL("END CAKE", LEVEL_ENDING, COURSE_CAKE_END, ending, generic, 20000, 0x00, 0x00, 0x00, _, _)
DEFINE_LEVEL("OW3 C COURTYD", LEVEL_CASTLE_COURTYARD, COURSE_NONE, castle_courtyard, outside, 20000, 0x08, 0x08, 0x08, _, _)
DEFINE_LEVEL("SIC P SEC SLID", LEVEL_PSS, COURSE_PSS, pss, mountain, 20000, 0x28, 0x28, 0x28, _, _)
DEFINE_LEVEL("MCL COTMC", LEVEL_COTMC, COURSE_COTMC, cotmc, cave, 18000, 0x28, 0x28, 0x28, _, sCamCotMC)
DEFINE_LEVEL("WCL TOTWC", LEVEL_TOTWC, COURSE_TOTWC, totwc, sky, 20000, 0x20, 0x20, 0x20, _, _)
DEFINE_LEVEL("B BATTLE1", LEVEL_BOWSER_1, COURSE_BITDW, bowser_1, generic, VAL_DIFF, 0x40, 0x40, 0x40, _, _)
DEFINE_LEVEL("SC2 WMOTR", LEVEL_WMOTR, COURSE_WMOTR, wmotr, generic, 20000, 0x28, 0x28, 0x28, _, _)
STUB_LEVEL( "", LEVEL_UNKNOWN_32, COURSE_NONE, 20000, 0x70, 0x00, 0x00, _, _)
DEFINE_LEVEL("B BATTLE2", LEVEL_BOWSER_2, COURSE_BITFS, bowser_2, fire, VAL_DIFF, 0x40, 0x40, 0x40, _, _)
DEFINE_LEVEL("B BATTLE3", LEVEL_BOWSER_3, COURSE_BITS, bowser_3, generic, VAL_DIFF, 0x40, 0x40, 0x40, _, _)
STUB_LEVEL( "", LEVEL_UNKNOWN_35, COURSE_NONE, 20000, 0x00, 0x00, 0x00, _, _)
DEFINE_LEVEL("COURSE 12 TTM", LEVEL_TTM, COURSE_TTM, ttm, mountain, 15000, 0x08, 0x08, 0x08, _, _)
STUB_LEVEL( "", LEVEL_UNKNOWN_37, COURSE_NONE, 20000, 0x00, 0x00, 0x00, _, _)
STUB_LEVEL( "", LEVEL_UNKNOWN_38, COURSE_NONE, 20000, 0x00, 0x00, 0x00, sDynUnk38, _)
STUB_LEVEL( "", LEVEL_UNKNOWN_1, COURSE_NONE, 20000, 0x00, 0x00, 0x00, _, _)
STUB_LEVEL( "", LEVEL_UNKNOWN_2, COURSE_NONE, 20000, 0x00, 0x00, 0x00, _, _)
STUB_LEVEL( "", LEVEL_UNKNOWN_3, COURSE_NONE, 20000, 0x00, 0x00, 0x00, _, _)
DEFINE_LEVEL("COURSE 5 BBH", LEVEL_BBH, COURSE_BBH, bbh, spooky, 28000, 0x28, 0x28, 0x28, sDynBbh, sCamBBH)
DEFINE_LEVEL("COURSE 4 CCM", LEVEL_CCM, COURSE_CCM, ccm, snow, 17000, 0x10, 0x38, 0x38, _, sCamCCM)
DEFINE_LEVEL("OW2 IN CASTLE", LEVEL_CASTLE, COURSE_NONE, castle_inside, inside, 20000, 0x20, 0x20, 0x30, _, sCamCastle)
DEFINE_LEVEL("COURSE 6 HMC", LEVEL_HMC, COURSE_HMC, hmc, cave, 16000, 0x28, 0x28, 0x28, sDynHmc, sCamHMC)
DEFINE_LEVEL("COURSE 8 SSL", LEVEL_SSL, COURSE_SSL, ssl, generic, 15000, 0x08, 0x30, 0x30, _, sCamSSL)
DEFINE_LEVEL("COURSE 1 BOB", LEVEL_BOB, COURSE_BOB, bob, generic, 15000, 0x08, 0x08, 0x08, _, _)
DEFINE_LEVEL("COURSE 10 SL", LEVEL_SL, COURSE_SL, sl, snow, 14000, 0x10, 0x28, 0x28, _, sCamSL)
DEFINE_LEVEL("COURSE 11 WDW", LEVEL_WDW, COURSE_WDW, wdw, grass, 17000, 0x10, 0x18, 0x18, sDynWdw, _)
DEFINE_LEVEL("COURSE 3 JRB", LEVEL_JRB, COURSE_JRB, jrb, water, 20000, 0x10, 0x18, 0x18, sDynJrb, _)
DEFINE_LEVEL("COURSE 13 THI", LEVEL_THI, COURSE_THI, thi, grass, 20000, 0x0c, 0x0c, 0x20, _, sCamTHI)
DEFINE_LEVEL("COURSE 14 TTC", LEVEL_TTC, COURSE_TTC, ttc, machine, 18000, 0x18, 0x18, 0x18, _, _)
DEFINE_LEVEL("COURSE 15 RR", LEVEL_RR, COURSE_RR, rr, sky, 20000, 0x20, 0x20, 0x20, _, sCamRR)
DEFINE_LEVEL("OW1 C GROUNDS", LEVEL_CASTLE_GROUNDS, COURSE_NONE, castle_grounds, outside, 25000, 0x08, 0x08, 0x08, _, _)
DEFINE_LEVEL("BC1 BITDW", LEVEL_BITDW, COURSE_BITDW, bitdw, sky, 16000, 0x28, 0x28, 0x28, _, _)
DEFINE_LEVEL("VCL VCUTM", LEVEL_VCUTM, COURSE_VCUTM, vcutm, outside, 30000, 0x28, 0x28, 0x28, _, _)
DEFINE_LEVEL("BC2 BITFS", LEVEL_BITFS, COURSE_BITFS, bitfs, sky, 16000, 0x28, 0x28, 0x28, _, _)
DEFINE_LEVEL("SC1 SEC AQUA", LEVEL_SA, COURSE_SA, sa, inside, 20000, 0x10, 0x10, 0x10, _, _)
DEFINE_LEVEL("BC3 BITS", LEVEL_BITS, COURSE_BITS, bits, sky, 16000, 0x28, 0x28, 0x28, _, _)
DEFINE_LEVEL("COURSE 7 LLL", LEVEL_LLL, COURSE_LLL, lll, fire, 22000, 0x08, 0x30, 0x30, _, _)
DEFINE_LEVEL("COURSE 9 DDD", LEVEL_DDD, COURSE_DDD, ddd, water, 17000, 0x10, 0x20, 0x20, sDynDdd, _)
DEFINE_LEVEL("COURSE 2 WF", LEVEL_WF, COURSE_WF, wf, grass, 13000, 0x08, 0x08, 0x08, _, _)
DEFINE_LEVEL("END CAKE", LEVEL_ENDING, COURSE_CAKE_END, ending, generic, 20000, 0x00, 0x00, 0x00, _, _)
DEFINE_LEVEL("OW3 C COURTYD", LEVEL_CASTLE_COURTYARD, COURSE_NONE, castle_courtyard, outside, 20000, 0x08, 0x08, 0x08, _, _)
DEFINE_LEVEL("SIC P SEC SLID", LEVEL_PSS, COURSE_PSS, pss, mountain, 20000, 0x28, 0x28, 0x28, _, _)
DEFINE_LEVEL("MCL COTMC", LEVEL_COTMC, COURSE_COTMC, cotmc, cave, 18000, 0x28, 0x28, 0x28, _, sCamCotMC)
DEFINE_LEVEL("WCL TOTWC", LEVEL_TOTWC, COURSE_TOTWC, totwc, sky, 20000, 0x20, 0x20, 0x20, _, _)
DEFINE_LEVEL("B BATTLE1", LEVEL_BOWSER_1, COURSE_BITDW, bowser_1, generic, 60000, 0x40, 0x40, 0x40, _, _)
DEFINE_LEVEL("SC2 WMOTR", LEVEL_WMOTR, COURSE_WMOTR, wmotr, generic, 20000, 0x28, 0x28, 0x28, _, _)
STUB_LEVEL( "", LEVEL_UNKNOWN_32, COURSE_NONE, 20000, 0x70, 0x00, 0x00, _, _)
DEFINE_LEVEL("B BATTLE2", LEVEL_BOWSER_2, COURSE_BITFS, bowser_2, fire, 60000, 0x40, 0x40, 0x40, _, _)
DEFINE_LEVEL("B BATTLE3", LEVEL_BOWSER_3, COURSE_BITS, bowser_3, generic, 60000, 0x40, 0x40, 0x40, _, _)
STUB_LEVEL( "", LEVEL_UNKNOWN_35, COURSE_NONE, 20000, 0x00, 0x00, 0x00, _, _)
DEFINE_LEVEL("COURSE 12 TTM", LEVEL_TTM, COURSE_TTM, ttm, mountain, 15000, 0x08, 0x08, 0x08, _, _)
STUB_LEVEL( "", LEVEL_UNKNOWN_37, COURSE_NONE, 20000, 0x00, 0x00, 0x00, _, _)
STUB_LEVEL( "", LEVEL_UNKNOWN_38, COURSE_NONE, 20000, 0x00, 0x00, 0x00, sDynUnk38, _)
File diff suppressed because it is too large. Load diff
-582
View File
@@ -1,22 +1,5 @@
// 0x070127E8 - 0x070128D8
static const Vtx rr_seg7_vertex_070127E8[] = {
#ifdef VERSION_JP
{{{ 768, -869, -2252}, 0, { 4056, -1054}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 358, -869, -1842}, 0, { 2012, -1054}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 768, -869, -1842}, 0, { 3034, -2076}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 358, -869, -2252}, 0, { 3034, 0}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 358, -460, -2252}, 0, { 96, 862}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 1178, -460, -2252}, 0, { 2140, 2904}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 1178, -511, -2252}, 0, { 2012, 3032}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -153, -869, -2252}, 0, { -2840, -288}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 768, -921, -2252}, 0, { 96, 2904}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -153, -921, -2252}, 0, { -2968, -160}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 768, -869, -2252}, 0, { 224, 2776}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -153, -921, -1842}, 0, { -2968, -160}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 768, -869, -1842}, 0, { 224, 2776}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -153, -869, -1842}, 0, { -2840, -288}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 768, -921, -1842}, 0, { 96, 2904}, {0x96, 0x96, 0x96, 0xff}}},
#else
{{{ 768, -869, -2252}, 0, { 4056, -1054}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 358, -869, -1842}, 0, { 2012, -1054}, {0x8c, 0x8c, 0x8c, 0xff}}},
{{{ 768, -869, -1842}, 0, { 3034, -2076}, {0x8c, 0x8c, 0x8c, 0xff}}},
@@ -32,27 +15,10 @@ static const Vtx rr_seg7_vertex_070127E8[] = {
{{{ 768, -869, -1842}, 0, { 224, 2776}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -153, -869, -1842}, 0, { -2840, -288}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 768, -921, -1842}, 0, { 96, 2904}, {0x96, 0x96, 0x96, 0xff}}},
#endif
};
// 0x070128D8 - 0x070129B8
static const Vtx rr_seg7_vertex_070128D8[] = {
#ifdef VERSION_JP
{{{ 358, -511, -1842}, 0, { 0, 990}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 1178, -511, -1842}, 0, { 2012, 3032}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 1178, -460, -1842}, 0, { 2140, 2904}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 358, -460, -1842}, 0, { 96, 862}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 154, 1126, 2107}, 0, { -2586, -1566}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 1485, 1126, 2107}, 0, { 480, 1498}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 1485, 1178, 2107}, 0, { 606, 1372}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 358, -460, -2252}, 0, { 96, 862}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 1178, -511, -2252}, 0, { 2012, 3032}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 358, -511, -2252}, 0, { 0, 990}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -2321, -1177, -2269}, 0, { -4118, 5076}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -2321, -972, -2269}, 0, { -3606, 5586}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -1706, -972, -2269}, 0, { -3606, 5586}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -1706, -1177, -2269}, 0, { -4118, 5076}, {0x96, 0x96, 0x96, 0xff}}},
#else
{{{ 358, -511, -1842}, 0, { 0, 990}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 1178, -460, -1842}, 0, { 2140, 2904}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 358, -460, -1842}, 0, { 96, 862}, {0x96, 0x96, 0x96, 0xff}}},
@@ -67,28 +33,10 @@ static const Vtx rr_seg7_vertex_070128D8[] = {
{{{ -2321, -972, -631}, 0, { 3800, -9486}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -2321, -1177, -631}, 0, { 3290, -8974}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -1706, -972, -631}, 0, { 5334, -7952}, {0x96, 0x96, 0x96, 0xff}}},
#endif
};
// 0x070129B8 - 0x07012AA8
static const Vtx rr_seg7_vertex_070129B8[] = {
#ifdef VERSION_JP
{{{ -1706, -1177, -631}, 0, { 4822, -7442}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -1706, -972, -631}, 0, { 5334, -7952}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -2321, -972, -631}, 0, { 3800, -9486}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -2321, -1177, -631}, 0, { 3290, -8974}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 154, 1126, 2107}, 0, { -2586, -1566}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 1485, 1178, 2107}, 0, { 606, 1372}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 154, 1178, 2107}, 0, { -2458, -1692}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 154, 1126, 673}, 0, { -2586, -1566}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 461, 1178, 673}, 0, { -1690, -926}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 461, 1126, 673}, 0, { -1818, -798}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 154, 1178, 673}, 0, { -2458, -1692}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 1485, 1126, 1697}, 0, { 480, 1498}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 461, 1178, 1697}, 0, { -1690, -926}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 1485, 1178, 1697}, 0, { 606, 1372}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 461, 1126, 1697}, 0, { -1818, -798}, {0x96, 0x96, 0x96, 0xff}}},
#else
{{{ 154, 1126, 2107}, 0, { -2586, -1566}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 1485, 1178, 2107}, 0, { 606, 1372}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 154, 1178, 2107}, 0, { -2458, -1692}, {0x96, 0x96, 0x96, 0xff}}},
@@ -104,28 +52,10 @@ static const Vtx rr_seg7_vertex_070129B8[] = {
{{{ -2321, -972, -2269}, 0, { 3800, -9486}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -1706, -1177, -2269}, 0, { 4822, -7442}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -1706, -972, -2269}, 0, { 5334, -7952}, {0x96, 0x96, 0x96, 0xff}}},
#endif
};
// 0x07012AA8 - 0x07012B98
static const Vtx rr_seg7_vertex_07012AA8[] = {
#ifdef VERSION_JP
{{{ 358, -460, -2252}, 0, { 808, 1828}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1178, -460, -1842}, 0, { 1830, -1236}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1178, -460, -2252}, 0, { 2852, -214}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 973, 1126, -248}, 0, { 4822, -1820}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1382, 1126, 161}, 0, { 4822, -3864}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1382, 1126, -248}, 0, { 5844, -2842}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 973, 1126, 161}, 0, { 3800, -2842}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1382, 1024, -248}, 0, { 5844, -2842}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1382, 1024, 161}, 0, { 4822, -3864}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1587, 1024, 161}, 0, { 5334, -4376}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1587, 1024, -248}, 0, { 6356, -3354}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -562, 1178, -248}, 0, { 990, 2010}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 461, 1178, 161}, 0, { 2524, -1564}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 461, 1178, -248}, 0, { 3546, -544}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -562, 1178, 161}, 0, { 0, 990}, {0xc8, 0xc8, 0xc8, 0xff}}},
#else
{{{ 358, -460, -2252}, 0, { 808, 1828}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 358, -460, -1842}, 0, { -212, 808}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1178, -460, -1842}, 0, { 1830, -1236}, {0xc8, 0xc8, 0xc8, 0xff}}},
@@ -141,29 +71,10 @@ static const Vtx rr_seg7_vertex_07012AA8[] = {
{{{ -562, 1178, 161}, 0, { 0, 990}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 461, 1178, 161}, 0, { 2524, -1564}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 461, 1178, -248}, 0, { 3546, -544}, {0xc8, 0xc8, 0xc8, 0xff}}},
#endif
};
// 0x07012B98 - 0x07012C98
static const Vtx rr_seg7_vertex_07012B98[] = {
#ifdef VERSION_JP
{{{ 1485, 1178, 2107}, 0, { 3290, -2332}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1485, 1178, 1697}, 0, { 4312, -1310}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 461, 1178, 1697}, 0, { 1756, 1244}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 358, -460, -2252}, 0, { 808, 1828}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 358, -460, -1842}, 0, { -212, 808}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1178, -460, -1842}, 0, { 1830, -1236}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -2321, -972, -631}, 0, { 13962, 14982}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -1706, -972, -631}, 0, { 15494, 13448}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -1706, -972, -2269}, 0, { 19582, 17536}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -2321, -972, -2269}, 0, { 18050, 19070}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 154, 1178, 2107}, 0, { 0, 990}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 461, 1178, 673}, 0, { 4312, 3798}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 154, 1178, 673}, 0, { 3544, 4564}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 358, -869, -2252}, 0, { 2268, 734}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -153, -869, -2252}, 0, { 990, 2010}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -153, -869, -1842}, 0, { 0, 990}, {0xc8, 0xc8, 0xc8, 0xff}}},
#else
{{{ 1485, 1178, 2107}, 0, { 3290, -2332}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1485, 1178, 1697}, 0, { 4312, -1310}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 461, 1178, 1697}, 0, { 1756, 1244}, {0xc8, 0xc8, 0xc8, 0xff}}},
@@ -180,27 +91,10 @@ static const Vtx rr_seg7_vertex_07012B98[] = {
{{{ 358, -869, -2252}, 0, { 2268, 734}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -153, -869, -2252}, 0, { 990, 2010}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -153, -869, -1842}, 0, { 0, 990}, {0xc8, 0xc8, 0xc8, 0xff}}},
#endif
};
// 0x07012C98 - 0x07012D78
static const Vtx rr_seg7_vertex_07012C98[] = {
#ifdef VERSION_JP
{{{ 358, -869, -2252}, 0, { 2268, 734}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -153, -869, -1842}, 0, { 0, 990}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 358, -869, -1842}, 0, { 1246, -288}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1485, -50, -2252}, 0, {-13168, 5752}, {0x38, 0x5e, 0x96, 0xff}}},
{{{ 1178, -50, -1842}, 0, {-12226, 5472}, {0x38, 0x5e, 0x96, 0xff}}},
{{{ 1178, -50, -2252}, 0, {-12226, 5472}, {0x38, 0x5e, 0x96, 0xff}}},
{{{ 1485, -50, -1842}, 0, {-13168, 5752}, {0x38, 0x5e, 0x96, 0xff}}},
{{{ 614, 102, -2252}, 0, { -3134, 2778}, {0x38, 0x5e, 0x96, 0xff}}},
{{{ 614, 102, -1842}, 0, { -3134, 2778}, {0x38, 0x5e, 0x96, 0xff}}},
{{{ 461, 102, -1842}, 0, { -2192, 2500}, {0x38, 0x5e, 0x96, 0xff}}},
{{{ 461, 102, -2252}, 0, { -2192, 2500}, {0x38, 0x5e, 0x96, 0xff}}},
{{{ 461, 102, -1842}, 0, { -2192, 2500}, {0x58, 0x87, 0xb9, 0xff}}},
{{{ 614, 102, -1842}, 0, { -3134, 2778}, {0x58, 0x87, 0xb9, 0xff}}},
{{{ 614, 256, -1842}, 0, { -2854, 2640}, {0x58, 0x87, 0xb9, 0xff}}},
#else
{{{ 358, -869, -2252}, 0, { 2268, 734}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -153, -869, -1842}, 0, { 0, 990}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 358, -869, -1842}, 0, { 1246, -288}, {0xc8, 0xc8, 0xc8, 0xff}}},
@@ -215,28 +109,10 @@ static const Vtx rr_seg7_vertex_07012C98[] = {
{{{ 461, 102, -1842}, 0, { -2192, 2500}, {0x58, 0x87, 0xb9, 0xff}}},
{{{ 614, 256, -1842}, 0, { -2854, 2640}, {0x58, 0x87, 0xb9, 0xff}}},
{{{ 461, 256, -1842}, 0, { -1914, 2360}, {0x58, 0x87, 0xb9, 0xff}}},
#endif
};
// 0x07012D78 - 0x07012E68
static const Vtx rr_seg7_vertex_07012D78[] = {
#ifdef VERSION_JP
{{{ 1178, -50, -1842}, 0, {-12226, 5472}, {0x58, 0x87, 0xb9, 0xff}}},
{{{ 1485, 102, -1842}, 0, {-12888, 5612}, {0x58, 0x87, 0xb9, 0xff}}},
{{{ 1178, 102, -1842}, 0, {-11948, 5334}, {0x58, 0x87, 0xb9, 0xff}}},
{{{ 1485, -50, -1842}, 0, {-13168, 5752}, {0x58, 0x87, 0xb9, 0xff}}},
{{{ 1178, 102, -2252}, 0, {-11948, 5334}, {0x58, 0x87, 0xb9, 0xff}}},
{{{ 1485, 102, -2252}, 0, {-12888, 5612}, {0x58, 0x87, 0xb9, 0xff}}},
{{{ 1485, -50, -2252}, 0, {-13168, 5752}, {0x58, 0x87, 0xb9, 0xff}}},
{{{ 1178, -50, -2252}, 0, {-12226, 5472}, {0x58, 0x87, 0xb9, 0xff}}},
{{{ 461, 256, -2252}, 0, { -1914, 2360}, {0x58, 0x87, 0xb9, 0xff}}},
{{{ 614, 256, -2252}, 0, { -2854, 2640}, {0x58, 0x87, 0xb9, 0xff}}},
{{{ 614, 102, -2252}, 0, { -3134, 2778}, {0x58, 0x87, 0xb9, 0xff}}},
{{{ 461, 102, -2252}, 0, { -2192, 2500}, {0x58, 0x87, 0xb9, 0xff}}},
{{{ 461, 102, -1842}, 0, { -2192, 2500}, {0x58, 0x87, 0xb9, 0xff}}},
{{{ 614, 256, -1842}, 0, { -2854, 2640}, {0x58, 0x87, 0xb9, 0xff}}},
{{{ 461, 256, -1842}, 0, { -1914, 2360}, {0x58, 0x87, 0xb9, 0xff}}},
#else
{{{ 1178, -50, -1842}, 0, {-12226, 5472}, {0x58, 0x87, 0xb9, 0xff}}},
{{{ 1485, -50, -1842}, 0, {-13168, 5752}, {0x58, 0x87, 0xb9, 0xff}}},
{{{ 1485, 102, -1842}, 0, {-12888, 5612}, {0x58, 0x87, 0xb9, 0xff}}},
@@ -252,28 +128,10 @@ static const Vtx rr_seg7_vertex_07012D78[] = {
{{{ 461, 102, -1842}, 0, { -2192, 2500}, {0x58, 0x87, 0xb9, 0xff}}},
{{{ 614, 102, -1842}, 0, { -3134, 2778}, {0x58, 0x87, 0xb9, 0xff}}},
{{{ 614, 256, -1842}, 0, { -2854, 2640}, {0x58, 0x87, 0xb9, 0xff}}},
#endif
};
// 0x07012E68 - 0x07012F58
static const Vtx rr_seg7_vertex_07012E68[] = {
#ifdef VERSION_JP
{{{ 1178, 102, -2252}, 0, {-11948, 5334}, {0x97, 0xb2, 0xcd, 0xff}}},
{{{ 1485, 102, -1842}, 0, {-12888, 5612}, {0x97, 0xb2, 0xcd, 0xff}}},
{{{ 1485, 102, -2252}, 0, {-12888, 5612}, {0x97, 0xb2, 0xcd, 0xff}}},
{{{ 1178, 102, -1842}, 0, {-11948, 5334}, {0x97, 0xb2, 0xcd, 0xff}}},
{{{ 461, 256, -2252}, 0, { -1914, 2360}, {0x97, 0xb2, 0xcd, 0xff}}},
{{{ 614, 256, -1842}, 0, { -2854, 2640}, {0x97, 0xb2, 0xcd, 0xff}}},
{{{ 614, 256, -2252}, 0, { -2854, 2640}, {0x97, 0xb2, 0xcd, 0xff}}},
{{{ 461, 256, -1842}, 0, { -1914, 2360}, {0x97, 0xb2, 0xcd, 0xff}}},
{{{ 614, 256, -2252}, 0, { -2854, 2640}, {0x52, 0x7f, 0xac, 0xff}}},
{{{ 614, 256, -1842}, 0, { -2854, 2640}, {0x52, 0x7f, 0xac, 0xff}}},
{{{ 614, 102, -1842}, 0, { -3134, 2778}, {0x52, 0x7f, 0xac, 0xff}}},
{{{ 1485, 102, -2252}, 0, {-12888, 5612}, {0x52, 0x7f, 0xac, 0xff}}},
{{{ 1485, -50, -1842}, 0, {-13168, 5752}, {0x52, 0x7f, 0xac, 0xff}}},
{{{ 1485, -50, -2252}, 0, {-13168, 5752}, {0x52, 0x7f, 0xac, 0xff}}},
{{{ 1485, 102, -1842}, 0, {-12888, 5612}, {0x52, 0x7f, 0xac, 0xff}}},
#else
{{{ 1178, 102, -2252}, 0, {-11948, 5334}, {0x97, 0xb2, 0xcd, 0xff}}},
{{{ 1178, 102, -1842}, 0, {-11948, 5334}, {0x97, 0xb2, 0xcd, 0xff}}},
{{{ 1485, 102, -1842}, 0, {-12888, 5612}, {0x97, 0xb2, 0xcd, 0xff}}},
@@ -289,27 +147,10 @@ static const Vtx rr_seg7_vertex_07012E68[] = {
{{{ 1485, 102, -1842}, 0, {-12888, 5612}, {0x52, 0x7f, 0xac, 0xff}}},
{{{ 1485, -50, -1842}, 0, {-13168, 5752}, {0x52, 0x7f, 0xac, 0xff}}},
{{{ 1485, -50, -2252}, 0, {-13168, 5752}, {0x52, 0x7f, 0xac, 0xff}}},
#endif
};
// 0x07012F58 - 0x07013038
static const Vtx rr_seg7_vertex_07012F58[] = {
#ifdef VERSION_JP
{{{ 1178, -50, -2252}, 0, {-12226, 5472}, {0x52, 0x7f, 0xac, 0xff}}},
{{{ 1178, -50, -1842}, 0, {-12226, 5472}, {0x52, 0x7f, 0xac, 0xff}}},
{{{ 1178, 102, -1842}, 0, {-11948, 5334}, {0x52, 0x7f, 0xac, 0xff}}},
{{{ 1178, 102, -2252}, 0, {-11948, 5334}, {0x52, 0x7f, 0xac, 0xff}}},
{{{ 461, 102, -2252}, 0, { -2192, 2500}, {0x52, 0x7f, 0xac, 0xff}}},
{{{ 461, 256, -1842}, 0, { -1914, 2360}, {0x52, 0x7f, 0xac, 0xff}}},
{{{ 461, 256, -2252}, 0, { -1914, 2360}, {0x52, 0x7f, 0xac, 0xff}}},
{{{ 461, 102, -1842}, 0, { -2192, 2500}, {0x52, 0x7f, 0xac, 0xff}}},
{{{ 614, 256, -2252}, 0, { -2854, 2640}, {0x52, 0x7f, 0xac, 0xff}}},
{{{ 614, 102, -1842}, 0, { -3134, 2778}, {0x52, 0x7f, 0xac, 0xff}}},
{{{ 614, 102, -2252}, 0, { -3134, 2778}, {0x52, 0x7f, 0xac, 0xff}}},
{{{ 461, 1178, -248}, 0, { 2012, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 461, 1126, 161}, 0, { 0, 1244}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 461, 1126, -248}, 0, { 2012, 1244}, {0x7d, 0x7d, 0x7d, 0xff}}},
#else
{{{ 1178, -50, -2252}, 0, {-12226, 5472}, {0x52, 0x7f, 0xac, 0xff}}},
{{{ 1178, 102, -1842}, 0, {-11948, 5334}, {0x52, 0x7f, 0xac, 0xff}}},
{{{ 1178, 102, -2252}, 0, {-11948, 5334}, {0x52, 0x7f, 0xac, 0xff}}},
@@ -324,28 +165,10 @@ static const Vtx rr_seg7_vertex_07012F58[] = {
{{{ 461, 1178, -248}, 0, { 2012, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 461, 1178, 161}, 0, { 0, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 461, 1126, 161}, 0, { 0, 1244}, {0x7d, 0x7d, 0x7d, 0xff}}},
#endif
};
// 0x07013038 - 0x07013128
static const Vtx rr_seg7_vertex_07013038[] = {
#ifdef VERSION_JP
{{{ 1382, 1126, -248}, 0, { 2012, 1244}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 1382, 1024, 161}, 0, { 0, 1754}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 1382, 1024, -248}, 0, { 2012, 1754}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 1382, 1126, 161}, 0, { 0, 1244}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 973, 1075, -248}, 0, { 2012, 1498}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 973, 1126, 161}, 0, { 0, 1244}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 973, 1126, -248}, 0, { 2012, 1244}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 973, 1075, 161}, 0, { 0, 1500}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 1587, 1024, -248}, 0, { 2012, 1754}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 1587, 922, 161}, 0, { 0, 2266}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 1587, 922, -248}, 0, { 2012, 2266}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 1587, 1024, 161}, 0, { 0, 1754}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 768, -869, -2252}, 0, { 1118, 1882}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 768, -869, -1842}, 0, { 96, 862}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 768, -921, -1842}, 0, { 0, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
#else
{{{ 1382, 1126, -248}, 0, { 2012, 1244}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 1382, 1126, 161}, 0, { 0, 1244}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 1382, 1024, 161}, 0, { 0, 1754}, {0x7d, 0x7d, 0x7d, 0xff}}},
@@ -361,27 +184,10 @@ static const Vtx rr_seg7_vertex_07013038[] = {
{{{ 768, -869, -2252}, 0, { 1118, 1882}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 768, -921, -1842}, 0, { 0, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 768, -921, -2252}, 0, { 990, 2010}, {0x7d, 0x7d, 0x7d, 0xff}}},
#endif
};
// 0x07013128 - 0x07013208
static const Vtx rr_seg7_vertex_07013128[] = {
#ifdef VERSION_JP
{{{ 461, 1178, -248}, 0, { 2012, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 461, 1178, 161}, 0, { 0, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 461, 1126, 161}, 0, { 0, 1244}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -562, 1126, 161}, 0, { 0, 1244}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -562, 1178, 161}, 0, { 0, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -562, 1178, -248}, 0, { 2012, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -562, 1126, -248}, 0, { 2012, 1244}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -153, -921, -1842}, 0, { 0, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -153, -869, -2252}, 0, { 1118, 1882}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -153, -921, -2252}, 0, { 990, 2010}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -153, -869, -1842}, 0, { 96, 862}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 768, -869, -2252}, 0, { 1118, 1882}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 768, -921, -1842}, 0, { 0, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 768, -921, -2252}, 0, { 990, 2010}, {0x7d, 0x7d, 0x7d, 0xff}}},
#else
{{{ 461, 1178, -248}, 0, { 2012, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 461, 1126, 161}, 0, { 0, 1244}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 461, 1126, -248}, 0, { 2012, 1244}, {0x7d, 0x7d, 0x7d, 0xff}}},
@@ -396,28 +202,10 @@ static const Vtx rr_seg7_vertex_07013128[] = {
{{{ 768, -869, -2252}, 0, { 1118, 1882}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 768, -869, -1842}, 0, { 96, 862}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 768, -921, -1842}, 0, { 0, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
#endif
};
// 0x07013208 - 0x070132F8
static const Vtx rr_seg7_vertex_07013208[] = {
#ifdef VERSION_JP
{{{ -1706, -1177, -2269}, 0, { -4118, 5076}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -1706, -972, -631}, 0, { 478, 1498}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -1706, -1177, -631}, 0, { 0, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 1178, -460, -2252}, 0, { 2012, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 1178, -511, -1842}, 0, { 862, 96}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 1178, -511, -2252}, 0, { 1884, 1116}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 1178, -460, -1842}, 0, { 990, 0}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 358, -511, -1842}, 0, { 862, 96}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 358, -460, -2252}, 0, { 2012, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 358, -511, -2252}, 0, { 1884, 1116}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 358, -460, -1842}, 0, { 990, 0}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -2321, -1177, -631}, 0, { 0, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -2321, -972, -2269}, 0, { -3606, 5586}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -2321, -1177, -2269}, 0, { -4118, 5076}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -2321, -972, -631}, 0, { 478, 1498}, {0x7d, 0x7d, 0x7d, 0xff}}},
#else
{{{ -1706, -1177, -2269}, 0, { -4118, 5076}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -1706, -972, -2269}, 0, { -3606, 5586}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -1706, -972, -631}, 0, { 478, 1498}, {0x7d, 0x7d, 0x7d, 0xff}}},
@@ -433,28 +221,10 @@ static const Vtx rr_seg7_vertex_07013208[] = {
{{{ -2321, -972, -2269}, 0, { -3606, 5586}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -2321, -1177, -2269}, 0, { -4118, 5076}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -2321, -972, -631}, 0, { 478, 1498}, {0x7d, 0x7d, 0x7d, 0xff}}},
#endif
};
// 0x070132F8 - 0x070133E8
static const Vtx rr_seg7_vertex_070132F8[] = {
#ifdef VERSION_JP
{{{ 154, 1126, 2107}, 0, { 990, 0}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 154, 1178, 673}, 0, { -3224, 4438}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 154, 1126, 673}, 0, { -3352, 4310}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -1706, -1177, -2269}, 0, { -4118, 5076}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -1706, -972, -2269}, 0, { -3606, 5586}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -1706, -972, -631}, 0, { 478, 1498}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 1485, 1178, 1697}, 0, { 96, 1116}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 1485, 1126, 2107}, 0, { 990, 0}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 1485, 1126, 1697}, 0, { 0, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 1485, 1178, 2107}, 0, { 1118, 96}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 461, 1126, 673}, 0, { -3352, 4310}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 461, 1178, 673}, 0, { -3224, 4438}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 461, 1178, 1697}, 0, { 96, 1116}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 461, 1126, 1697}, 0, { 0, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 154, 1178, 2107}, 0, { 1118, 96}, {0x7d, 0x7d, 0x7d, 0xff}}},
#else
{{{ 154, 1126, 2107}, 0, { 990, 0}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 154, 1178, 2107}, 0, { 1118, 96}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 154, 1178, 673}, 0, { -3224, 4438}, {0x7d, 0x7d, 0x7d, 0xff}}},
@@ -470,27 +240,10 @@ static const Vtx rr_seg7_vertex_070132F8[] = {
{{{ 461, 1126, 1697}, 0, { 0, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 461, 1178, 673}, 0, { -3224, 4438}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 154, 1126, 673}, 0, { -3352, 4310}, {0x7d, 0x7d, 0x7d, 0xff}}},
#endif
};
// 0x070133E8 - 0x070134C8
static const Vtx rr_seg7_vertex_070133E8[] = {
#ifdef VERSION_JP
{{{ 461, 1126, 1697}, 0, { 1756, 1244}, {0x44, 0x44, 0x44, 0xff}}},
{{{ 1485, 1126, 2107}, 0, { 3290, -2332}, {0x44, 0x44, 0x44, 0xff}}},
{{{ 154, 1126, 2107}, 0, { 0, 990}, {0x44, 0x44, 0x44, 0xff}}},
{{{ 1587, 922, -248}, 0, { 6356, -3354}, {0x44, 0x44, 0x44, 0xff}}},
{{{ 1331, 922, 161}, 0, { 4694, -3736}, {0x44, 0x44, 0x44, 0xff}}},
{{{ 1331, 922, -248}, 0, { 5716, -2714}, {0x44, 0x44, 0x44, 0xff}}},
{{{ 1587, 922, 161}, 0, { 5334, -4376}, {0x44, 0x44, 0x44, 0xff}}},
{{{ -562, 1126, -248}, 0, { 990, 2010}, {0x44, 0x44, 0x44, 0xff}}},
{{{ 461, 1126, -248}, 0, { 3546, -544}, {0x44, 0x44, 0x44, 0xff}}},
{{{ 461, 1126, 161}, 0, { 2524, -1566}, {0x44, 0x44, 0x44, 0xff}}},
{{{ -562, 1126, 161}, 0, { 0, 990}, {0x44, 0x44, 0x44, 0xff}}},
{{{ 154, 1126, 673}, 0, { 3544, 4564}, {0x44, 0x44, 0x44, 0xff}}},
{{{ 461, 1126, 673}, 0, { 4312, 3798}, {0x44, 0x44, 0x44, 0xff}}},
{{{ 1485, 1126, 1697}, 0, { 4312, -1310}, {0x44, 0x44, 0x44, 0xff}}},
#else
{{{ 461, 1126, 1697}, 0, { 1756, 1244}, {0x44, 0x44, 0x44, 0xff}}},
{{{ 1485, 1126, 2107}, 0, { 3290, -2332}, {0x44, 0x44, 0x44, 0xff}}},
{{{ 154, 1126, 2107}, 0, { 0, 990}, {0x44, 0x44, 0x44, 0xff}}},
@@ -505,29 +258,10 @@ static const Vtx rr_seg7_vertex_070133E8[] = {
{{{ 154, 1126, 673}, 0, { 3544, 4564}, {0x44, 0x44, 0x44, 0xff}}},
{{{ 461, 1126, 673}, 0, { 4312, 3798}, {0x44, 0x44, 0x44, 0xff}}},
{{{ 1485, 1126, 1697}, 0, { 4312, -1310}, {0x44, 0x44, 0x44, 0xff}}},
#endif
};
// 0x070134C8 - 0x070135C8
static const Vtx rr_seg7_vertex_070134C8[] = {
#ifdef VERSION_JP
{{{ 1331, 922, -248}, 0, { 5716, -2714}, {0x55, 0x55, 0x55, 0xff}}},
{{{ 1331, 922, 161}, 0, { 4694, -3736}, {0x55, 0x55, 0x55, 0xff}}},
{{{ 973, 1075, 161}, 0, { 3800, -2842}, {0x55, 0x55, 0x55, 0xff}}},
{{{ 973, 1075, -248}, 0, { 4822, -1820}, {0x55, 0x55, 0x55, 0xff}}},
{{{ 358, -511, -2252}, 0, { 808, 1828}, {0x55, 0x55, 0x55, 0xff}}},
{{{ 1178, -511, -1842}, 0, { 1830, -1236}, {0x55, 0x55, 0x55, 0xff}}},
{{{ 358, -511, -1842}, 0, { -212, 808}, {0x55, 0x55, 0x55, 0xff}}},
{{{ 1178, -511, -2252}, 0, { 2852, -214}, {0x55, 0x55, 0x55, 0xff}}},
{{{ -2321, -1177, -2269}, 0, { 18050, 19070}, {0x55, 0x55, 0x55, 0xff}}},
{{{ -1706, -1177, -631}, 0, { 15494, 13448}, {0x55, 0x55, 0x55, 0xff}}},
{{{ -2321, -1177, -631}, 0, { 13962, 14982}, {0x55, 0x55, 0x55, 0xff}}},
{{{ -1706, -1177, -2269}, 0, { 19582, 17536}, {0x55, 0x55, 0x55, 0xff}}},
{{{ -153, -921, -2252}, 0, { 990, 2010}, {0x55, 0x55, 0x55, 0xff}}},
{{{ 768, -921, -1842}, 0, { 2268, -1310}, {0x55, 0x55, 0x55, 0xff}}},
{{{ -153, -921, -1842}, 0, { 0, 990}, {0x55, 0x55, 0x55, 0xff}}},
{{{ 768, -921, -2252}, 0, { 3290, -288}, {0x55, 0x55, 0x55, 0xff}}},
#else
{{{ 1331, 922, -248}, 0, { 5716, -2714}, {0x55, 0x55, 0x55, 0xff}}},
{{{ 973, 1075, 161}, 0, { 3800, -2842}, {0x55, 0x55, 0x55, 0xff}}},
{{{ 973, 1075, -248}, 0, { 4822, -1820}, {0x55, 0x55, 0x55, 0xff}}},
@@ -544,27 +278,10 @@ static const Vtx rr_seg7_vertex_070134C8[] = {
{{{ 768, -921, -1842}, 0, { 2268, -1310}, {0x55, 0x55, 0x55, 0xff}}},
{{{ -153, -921, -1842}, 0, { 0, 990}, {0x55, 0x55, 0x55, 0xff}}},
{{{ 768, -921, -2252}, 0, { 3290, -288}, {0x55, 0x55, 0x55, 0xff}}},
#endif
};
// 0x070135C8 - 0x070136A8
static const Vtx rr_seg7_vertex_070135C8[] = {
#ifdef VERSION_JP
{{{ 973, 1075, -248}, 0, { 3672, 4948}, {0x91, 0x91, 0x91, 0xff}}},
{{{ 973, 1126, -248}, 0, { 3800, 4820}, {0x91, 0x91, 0x91, 0xff}}},
{{{ 1382, 1126, -248}, 0, { 4822, 5842}, {0x91, 0x91, 0x91, 0xff}}},
{{{ 1382, 1024, -248}, 0, { 4568, 6098}, {0x91, 0x91, 0x91, 0xff}}},
{{{ 1331, 922, -248}, 0, { 4184, 6226}, {0x91, 0x91, 0x91, 0xff}}},
{{{ 1587, 1024, -248}, 0, { 5078, 6610}, {0x91, 0x91, 0x91, 0xff}}},
{{{ 1587, 922, -248}, 0, { 4822, 6864}, {0x91, 0x91, 0x91, 0xff}}},
{{{ 1382, 1126, 161}, 0, { 4822, 5842}, {0x91, 0x91, 0x91, 0xff}}},
{{{ 973, 1126, 161}, 0, { 3800, 4820}, {0x91, 0x91, 0x91, 0xff}}},
{{{ 973, 1075, 161}, 0, { 3672, 4948}, {0x91, 0x91, 0x91, 0xff}}},
{{{ 1331, 922, 161}, 0, { 4184, 6226}, {0x91, 0x91, 0x91, 0xff}}},
{{{ 1382, 1024, 161}, 0, { 4568, 6098}, {0x91, 0x91, 0x91, 0xff}}},
{{{ 1587, 1024, 161}, 0, { 5078, 6610}, {0x91, 0x91, 0x91, 0xff}}},
{{{ 1587, 922, 161}, 0, { 4822, 6864}, {0x91, 0x91, 0x91, 0xff}}},
#else
{{{ 973, 1075, -248}, 0, { 3672, 4948}, {0x91, 0x91, 0x91, 0xff}}},
{{{ 973, 1126, -248}, 0, { 3800, 4820}, {0x91, 0x91, 0x91, 0xff}}},
{{{ 1382, 1126, -248}, 0, { 4822, 5842}, {0x91, 0x91, 0x91, 0xff}}},
@@ -579,21 +296,10 @@ static const Vtx rr_seg7_vertex_070135C8[] = {
{{{ 973, 1126, 161}, 0, { 3800, 4820}, {0x91, 0x91, 0x91, 0xff}}},
{{{ 1587, 922, 161}, 0, { 4822, 6864}, {0x91, 0x91, 0x91, 0xff}}},
{{{ 1587, 1024, 161}, 0, { 5078, 6610}, {0x91, 0x91, 0x91, 0xff}}},
#endif
};
// 0x070136A8 - 0x07013728
static const Vtx rr_seg7_vertex_070136A8[] = {
#ifdef VERSION_JP
{{{ -562, 1126, 161}, 0, { 0, 990}, {0x91, 0x91, 0x91, 0xff}}},
{{{ 461, 1178, 161}, 0, { 2650, 3416}, {0x91, 0x91, 0x91, 0xff}}},
{{{ -562, 1178, 161}, 0, { 96, 862}, {0x91, 0x91, 0x91, 0xff}}},
{{{ 461, 1126, 161}, 0, { 2524, 3544}, {0x91, 0x91, 0x91, 0xff}}},
{{{ -562, 1178, -248}, 0, { 96, 862}, {0x91, 0x91, 0x91, 0xff}}},
{{{ 461, 1126, -248}, 0, { 2524, 3544}, {0x91, 0x91, 0x91, 0xff}}},
{{{ -562, 1126, -248}, 0, { 0, 990}, {0x91, 0x91, 0x91, 0xff}}},
{{{ 461, 1178, -248}, 0, { 2650, 3416}, {0x91, 0x91, 0x91, 0xff}}},
#else
{{{ -562, 1126, 161}, 0, { 0, 990}, {0x91, 0x91, 0x91, 0xff}}},
{{{ 461, 1178, 161}, 0, { 2650, 3416}, {0x91, 0x91, 0x91, 0xff}}},
{{{ -562, 1178, 161}, 0, { 96, 862}, {0x91, 0x91, 0x91, 0xff}}},
@@ -602,29 +308,10 @@ static const Vtx rr_seg7_vertex_070136A8[] = {
{{{ 461, 1178, -248}, 0, { 2650, 3416}, {0x91, 0x91, 0x91, 0xff}}},
{{{ 461, 1126, -248}, 0, { 2524, 3544}, {0x91, 0x91, 0x91, 0xff}}},
{{{ -562, 1126, -248}, 0, { 0, 990}, {0x91, 0x91, 0x91, 0xff}}},
#endif
};
// 0x07013728 - 0x07013828
static const Vtx rr_seg7_vertex_07013728[] = {
#ifdef VERSION_JP
{{{ 461, 307, 1697}, 0, { 0, -784}, {0x38, 0x84, 0x95, 0xff}}},
{{{ 461, 358, 2107}, 0, { 2012, -850}, {0x38, 0x84, 0x95, 0xff}}},
{{{ 461, 307, 2107}, 0, { 2012, -784}, {0x38, 0x84, 0x95, 0xff}}},
{{{ 461, 358, 1697}, 0, { 0, -850}, {0x38, 0x84, 0x95, 0xff}}},
{{{ -204, -255, 1697}, 0, { 0, 956}, {0x38, 0x84, 0x95, 0xff}}},
{{{ -204, -204, 2107}, 0, { 2012, 890}, {0x38, 0x84, 0x95, 0xff}}},
{{{ -204, -204, 1697}, 0, { 0, 890}, {0x38, 0x84, 0x95, 0xff}}},
{{{ -204, -255, 2107}, 0, { 2012, 956}, {0x38, 0x84, 0x95, 0xff}}},
{{{ 461, 307, 1697}, 0, { 0, -460}, {0x32, 0x61, 0x77, 0xff}}},
{{{ -204, -255, 1697}, 0, { 0, 990}, {0x32, 0x61, 0x77, 0xff}}},
{{{ -204, -204, 1697}, 0, { -420, 934}, {0x32, 0x61, 0x77, 0xff}}},
{{{ 461, 358, 1697}, 0, { -420, -516}, {0x32, 0x61, 0x77, 0xff}}},
{{{ 461, 358, 2107}, 0, { -420, -516}, {0x32, 0x61, 0x77, 0xff}}},
{{{ -204, -204, 2107}, 0, { -420, 934}, {0x32, 0x61, 0x77, 0xff}}},
{{{ -204, -255, 2107}, 0, { 0, 990}, {0x32, 0x61, 0x77, 0xff}}},
{{{ 461, 307, 2107}, 0, { 0, -460}, {0x32, 0x61, 0x77, 0xff}}},
#else
{{{ 461, 307, 1697}, 0, { 0, -784}, {0x38, 0x84, 0x95, 0xff}}},
{{{ 461, 358, 1697}, 0, { 0, -850}, {0x38, 0x84, 0x95, 0xff}}},
{{{ 461, 358, 2107}, 0, { 2012, -850}, {0x38, 0x84, 0x95, 0xff}}},
@@ -641,21 +328,10 @@ static const Vtx rr_seg7_vertex_07013728[] = {
{{{ -204, -204, 2107}, 0, { -420, 934}, {0x32, 0x61, 0x77, 0xff}}},
{{{ -204, -255, 2107}, 0, { 0, 990}, {0x32, 0x61, 0x77, 0xff}}},
{{{ 461, 307, 2107}, 0, { 0, -460}, {0x32, 0x61, 0x77, 0xff}}},
#endif
};
// 0x07013828 - 0x070138A8
static const Vtx rr_seg7_vertex_07013828[] = {
#ifdef VERSION_JP
{{{ 461, 307, 2107}, 0, { 2012, -784}, {0x27, 0x4a, 0x5a, 0xff}}},
{{{ -204, -255, 2107}, 0, { 2012, 956}, {0x27, 0x4a, 0x5a, 0xff}}},
{{{ -204, -255, 1697}, 0, { 0, 956}, {0x27, 0x4a, 0x5a, 0xff}}},
{{{ 461, 307, 1697}, 0, { 0, -784}, {0x27, 0x4a, 0x5a, 0xff}}},
{{{ -204, -204, 1697}, 0, { 0, 890}, {0xff, 0xe5, 0x43, 0xff}}},
{{{ 461, 358, 2107}, 0, { 2012, -850}, {0xff, 0xe5, 0x43, 0xff}}},
{{{ 461, 358, 1697}, 0, { 0, -850}, {0xff, 0xe5, 0x43, 0xff}}},
{{{ -204, -204, 2107}, 0, { 2012, 890}, {0xff, 0xe5, 0x43, 0xff}}},
#else
{{{ 461, 307, 2107}, 0, { 2012, -784}, {0x27, 0x4a, 0x5a, 0xff}}},
{{{ -204, -255, 1697}, 0, { 0, 956}, {0x27, 0x4a, 0x5a, 0xff}}},
{{{ 461, 307, 1697}, 0, { 0, -784}, {0x27, 0x4a, 0x5a, 0xff}}},
@@ -664,28 +340,10 @@ static const Vtx rr_seg7_vertex_07013828[] = {
{{{ -204, -204, 2107}, 0, { 2012, 890}, {0xff, 0xe5, 0x43, 0xff}}},
{{{ 461, 358, 2107}, 0, { 2012, -850}, {0xff, 0xe5, 0x43, 0xff}}},
{{{ 461, 358, 1697}, 0, { 0, -850}, {0xff, 0xe5, 0x43, 0xff}}},
#endif
};
// 0x070138A8 - 0x07013998
static const Vtx rr_seg7_vertex_070138A8[] = {
#ifdef VERSION_JP
{{{ 41, 1341, 1893}, 0, {-11836, 3862}, {0xb4, 0xd5, 0xe7, 0xff}}},
{{{ 33, 1341, 1907}, 0, {-11912, 3882}, {0xb4, 0xd5, 0xe7, 0xff}}},
{{{ 41, 1341, 1920}, 0, {-11836, 3862}, {0xb4, 0xd5, 0xe7, 0xff}}},
{{{ 64, 1341, 1907}, 0, {-11606, 3806}, {0xb4, 0xd5, 0xe7, 0xff}}},
{{{ 56, 1341, 1893}, 0, {-11682, 3824}, {0xb4, 0xd5, 0xe7, 0xff}}},
{{{ 56, 1341, 1920}, 0, {-11682, 3824}, {0xb4, 0xd5, 0xe7, 0xff}}},
{{{ 1167, 2161, 1893}, 0, { -3660, 798}, {0xb4, 0xd5, 0xe7, 0xff}}},
{{{ 1190, 2161, 1907}, 0, { -3430, 742}, {0xb4, 0xd5, 0xe7, 0xff}}},
{{{ 1183, 2161, 1893}, 0, { -3506, 760}, {0xb4, 0xd5, 0xe7, 0xff}}},
{{{ 1167, 2161, 1920}, 0, { -3660, 798}, {0xb4, 0xd5, 0xe7, 0xff}}},
{{{ 1183, 2161, 1920}, 0, { -3506, 760}, {0xb4, 0xd5, 0xe7, 0xff}}},
{{{ 1160, 2161, 1907}, 0, { -3736, 818}, {0xb4, 0xd5, 0xe7, 0xff}}},
{{{ 1178, 1178, 1902}, 0, { 1348, 772}, {0x97, 0xa9, 0xcd, 0xff}}},
{{{ 1160, 2161, 1907}, 0, { -3736, 818}, {0x97, 0xa9, 0xcd, 0xff}}},
{{{ 1167, 2161, 1893}, 0, { -3660, 798}, {0x97, 0xa9, 0xcd, 0xff}}},
#else
{{{ 41, 1341, 1893}, 0, {-11836, 3862}, {0xb4, 0xd5, 0xe7, 0xff}}},
{{{ 56, 1341, 1920}, 0, {-11682, 3824}, {0xb4, 0xd5, 0xe7, 0xff}}},
{{{ 64, 1341, 1907}, 0, {-11606, 3806}, {0xb4, 0xd5, 0xe7, 0xff}}},
@@ -701,28 +359,10 @@ static const Vtx rr_seg7_vertex_070138A8[] = {
{{{ 1178, 1178, 1902}, 0, { 1348, 772}, {0x97, 0xa9, 0xcd, 0xff}}},
{{{ 1160, 2161, 1907}, 0, { -3736, 818}, {0x97, 0xa9, 0xcd, 0xff}}},
{{{ 1167, 2161, 1893}, 0, { -3660, 798}, {0x97, 0xa9, 0xcd, 0xff}}},
#endif
};
// 0x07013998 - 0x07013A88
static const Vtx rr_seg7_vertex_07013998[] = {
#ifdef VERSION_JP
{{{ 51, 358, 1902}, 0, { -6826, 3836}, {0x97, 0xa9, 0xcd, 0xff}}},
{{{ 33, 1341, 1907}, 0, {-11912, 3882}, {0x97, 0xa9, 0xcd, 0xff}}},
{{{ 41, 1341, 1893}, 0, {-11836, 3862}, {0x97, 0xa9, 0xcd, 0xff}}},
{{{ 59, 358, 1889}, 0, { -6750, 3818}, {0x97, 0xa9, 0xcd, 0xff}}},
{{{ 82, 358, 1902}, 0, { -6520, 3760}, {0x97, 0xa9, 0xcd, 0xff}}},
{{{ 64, 1341, 1907}, 0, {-11606, 3806}, {0x97, 0xa9, 0xcd, 0xff}}},
{{{ 56, 1341, 1920}, 0, {-11682, 3824}, {0x97, 0xa9, 0xcd, 0xff}}},
{{{ 74, 358, 1915}, 0, { -6596, 3780}, {0x97, 0xa9, 0xcd, 0xff}}},
{{{ 1208, 1178, 1902}, 0, { 1654, 696}, {0x97, 0xa9, 0xcd, 0xff}}},
{{{ 1190, 2161, 1907}, 0, { -3430, 742}, {0x97, 0xa9, 0xcd, 0xff}}},
{{{ 1183, 2161, 1920}, 0, { -3506, 760}, {0x97, 0xa9, 0xcd, 0xff}}},
{{{ 1201, 1178, 1915}, 0, { 1578, 716}, {0x97, 0xa9, 0xcd, 0xff}}},
{{{ 1178, 1178, 1902}, 0, { 1348, 772}, {0x97, 0xa9, 0xcd, 0xff}}},
{{{ 1167, 2161, 1893}, 0, { -3660, 798}, {0x97, 0xa9, 0xcd, 0xff}}},
{{{ 1185, 1178, 1889}, 0, { 1424, 754}, {0x97, 0xa9, 0xcd, 0xff}}},
#else
{{{ 51, 358, 1902}, 0, { -6826, 3836}, {0x97, 0xa9, 0xcd, 0xff}}},
{{{ 41, 1341, 1893}, 0, {-11836, 3862}, {0x97, 0xa9, 0xcd, 0xff}}},
{{{ 59, 358, 1889}, 0, { -6750, 3818}, {0x97, 0xa9, 0xcd, 0xff}}},
@@ -738,29 +378,10 @@ static const Vtx rr_seg7_vertex_07013998[] = {
{{{ 1178, 1178, 1902}, 0, { 1348, 772}, {0x97, 0xa9, 0xcd, 0xff}}},
{{{ 1167, 2161, 1893}, 0, { -3660, 798}, {0x97, 0xa9, 0xcd, 0xff}}},
{{{ 1185, 1178, 1889}, 0, { 1424, 754}, {0x97, 0xa9, 0xcd, 0xff}}},
#endif
};
// 0x07013A88 - 0x07013B88
static const Vtx rr_seg7_vertex_07013A88[] = {
#ifdef VERSION_JP
{{{ 1185, 1178, 1889}, 0, { 1424, 754}, {0x52, 0x70, 0xac, 0xff}}},
{{{ 1167, 2161, 1893}, 0, { -3660, 798}, {0x52, 0x70, 0xac, 0xff}}},
{{{ 1183, 2161, 1893}, 0, { -3506, 760}, {0x52, 0x70, 0xac, 0xff}}},
{{{ 59, 358, 1889}, 0, { -6750, 3818}, {0x52, 0x70, 0xac, 0xff}}},
{{{ 56, 1341, 1893}, 0, {-11682, 3824}, {0x52, 0x70, 0xac, 0xff}}},
{{{ 74, 358, 1889}, 0, { -6596, 3780}, {0x52, 0x70, 0xac, 0xff}}},
{{{ 41, 1341, 1893}, 0, {-11836, 3862}, {0x52, 0x70, 0xac, 0xff}}},
{{{ 74, 358, 1915}, 0, { -6596, 3780}, {0x52, 0x70, 0xac, 0xff}}},
{{{ 41, 1341, 1920}, 0, {-11836, 3862}, {0x52, 0x70, 0xac, 0xff}}},
{{{ 59, 358, 1915}, 0, { -6750, 3818}, {0x52, 0x70, 0xac, 0xff}}},
{{{ 56, 1341, 1920}, 0, {-11682, 3824}, {0x52, 0x70, 0xac, 0xff}}},
{{{ 1201, 1178, 1915}, 0, { 1578, 716}, {0x52, 0x70, 0xac, 0xff}}},
{{{ 1167, 2161, 1920}, 0, { -3660, 798}, {0x52, 0x70, 0xac, 0xff}}},
{{{ 1185, 1178, 1915}, 0, { 1424, 754}, {0x52, 0x70, 0xac, 0xff}}},
{{{ 1183, 2161, 1920}, 0, { -3506, 760}, {0x52, 0x70, 0xac, 0xff}}},
{{{ 1201, 1178, 1889}, 0, { 1578, 716}, {0x52, 0x70, 0xac, 0xff}}},
#else
{{{ 1185, 1178, 1889}, 0, { 1424, 754}, {0x52, 0x70, 0xac, 0xff}}},
{{{ 1183, 2161, 1893}, 0, { -3506, 760}, {0x52, 0x70, 0xac, 0xff}}},
{{{ 1201, 1178, 1889}, 0, { 1578, 716}, {0x52, 0x70, 0xac, 0xff}}},
@@ -777,29 +398,10 @@ static const Vtx rr_seg7_vertex_07013A88[] = {
{{{ 1167, 2161, 1920}, 0, { -3660, 798}, {0x52, 0x70, 0xac, 0xff}}},
{{{ 1185, 1178, 1915}, 0, { 1424, 754}, {0x52, 0x70, 0xac, 0xff}}},
{{{ 1167, 2161, 1893}, 0, { -3660, 798}, {0x52, 0x70, 0xac, 0xff}}},
#endif
};
// 0x07013B88 - 0x07013C88
static const Vtx rr_seg7_vertex_07013B88[] = {
#ifdef VERSION_JP
{{{ 1201, 1178, 1889}, 0, { 1578, 716}, {0x79, 0x8c, 0xeb, 0xff}}},
{{{ 1183, 2161, 1893}, 0, { -3506, 760}, {0x79, 0x8c, 0xeb, 0xff}}},
{{{ 1190, 2161, 1907}, 0, { -3430, 742}, {0x79, 0x8c, 0xeb, 0xff}}},
{{{ 74, 358, 1889}, 0, { -6596, 3780}, {0x79, 0x8c, 0xeb, 0xff}}},
{{{ 64, 1341, 1907}, 0, {-11606, 3806}, {0x79, 0x8c, 0xeb, 0xff}}},
{{{ 82, 358, 1902}, 0, { -6520, 3760}, {0x79, 0x8c, 0xeb, 0xff}}},
{{{ 56, 1341, 1893}, 0, {-11682, 3824}, {0x79, 0x8c, 0xeb, 0xff}}},
{{{ 59, 358, 1915}, 0, { -6750, 3818}, {0x79, 0x8c, 0xeb, 0xff}}},
{{{ 41, 1341, 1920}, 0, {-11836, 3862}, {0x79, 0x8c, 0xeb, 0xff}}},
{{{ 33, 1341, 1907}, 0, {-11912, 3882}, {0x79, 0x8c, 0xeb, 0xff}}},
{{{ 51, 358, 1902}, 0, { -6826, 3836}, {0x79, 0x8c, 0xeb, 0xff}}},
{{{ 1185, 1178, 1915}, 0, { 1424, 754}, {0x79, 0x8c, 0xeb, 0xff}}},
{{{ 1167, 2161, 1920}, 0, { -3660, 798}, {0x79, 0x8c, 0xeb, 0xff}}},
{{{ 1160, 2161, 1907}, 0, { -3736, 818}, {0x79, 0x8c, 0xeb, 0xff}}},
{{{ 1178, 1178, 1902}, 0, { 1348, 772}, {0x79, 0x8c, 0xeb, 0xff}}},
{{{ 1208, 1178, 1902}, 0, { 1654, 696}, {0x79, 0x8c, 0xeb, 0xff}}},
#else
{{{ 1201, 1178, 1889}, 0, { 1578, 716}, {0x79, 0x8c, 0xeb, 0xff}}},
{{{ 1190, 2161, 1907}, 0, { -3430, 742}, {0x79, 0x8c, 0xeb, 0xff}}},
{{{ 1208, 1178, 1902}, 0, { 1654, 696}, {0x79, 0x8c, 0xeb, 0xff}}},
@@ -816,147 +418,20 @@ static const Vtx rr_seg7_vertex_07013B88[] = {
{{{ 1178, 1178, 1902}, 0, { 1348, 772}, {0x79, 0x8c, 0xeb, 0xff}}},
{{{ 1167, 2161, 1920}, 0, { -3660, 798}, {0x79, 0x8c, 0xeb, 0xff}}},
{{{ 1183, 2161, 1893}, 0, { -3506, 760}, {0x79, 0x8c, 0xeb, 0xff}}},
#endif
};
// 0x07013C88 - 0x07013D78
static const Vtx rr_seg7_vertex_07013C88[] = {
#ifdef VERSION_JP
{{{ 59, 358, 1915}, 0, { 0, 0}, {0x38, 0x5e, 0x96, 0xff}}},
{{{ 82, 358, 1902}, 0, { 0, 0}, {0x38, 0x5e, 0x96, 0xff}}},
{{{ 74, 358, 1915}, 0, { 0, 0}, {0x38, 0x5e, 0x96, 0xff}}},
{{{ 59, 358, 1889}, 0, { 0, 0}, {0x38, 0x5e, 0x96, 0xff}}},
{{{ 74, 358, 1889}, 0, { 0, 0}, {0x38, 0x5e, 0x96, 0xff}}},
{{{ 51, 358, 1902}, 0, { 0, 0}, {0x38, 0x5e, 0x96, 0xff}}},
{{{ 77, 1198, 1932}, 0, { 0, 0}, {0x00, 0x96, 0x96, 0xff}}},
{{{ 25, 1198, 1932}, 0, { 0, 0}, {0x00, 0x96, 0x96, 0xff}}},
{{{ 51, 1198, 1983}, 0, { 0, 0}, {0x00, 0x96, 0x96, 0xff}}},
{{{ 1395, 2074, 1907}, 0, { 0, 0}, {0x00, 0x96, 0x96, 0xff}}},
{{{ 1216, 2074, 1881}, 0, { 0, 0}, {0x00, 0x96, 0x96, 0xff}}},
{{{ 1216, 2074, 1932}, 0, { 0, 0}, {0x00, 0x96, 0x96, 0xff}}},
{{{ 1177, 2074, 1830}, 0, { 0, 0}, {0x00, 0x96, 0x96, 0xff}}},
{{{ 1152, 2074, 1881}, 0, { 0, 0}, {0x00, 0x96, 0x96, 0xff}}},
{{{ 1203, 2074, 1881}, 0, { 0, 0}, {0x00, 0x96, 0x96, 0xff}}},
#else// this list is shorter in non-JP versions.
{{{ 59, 358, 1915}, 0, { 0, 0}, {0x38, 0x5e, 0x96, 0xff}}},
{{{ 82, 358, 1902}, 0, { 0, 0}, {0x38, 0x5e, 0x96, 0xff}}},
{{{ 74, 358, 1915}, 0, { 0, 0}, {0x38, 0x5e, 0x96, 0xff}}},
{{{ 74, 358, 1889}, 0, { 0, 0}, {0x38, 0x5e, 0x96, 0xff}}},
{{{ 59, 358, 1889}, 0, { 0, 0}, {0x38, 0x5e, 0x96, 0xff}}},
{{{ 51, 358, 1902}, 0, { 0, 0}, {0x38, 0x5e, 0x96, 0xff}}},
#endif
};
// this list doesn't exist in non-JP versions.
#ifdef VERSION_JP
// 0x07013D78 - 0x07013E68
static const Vtx rr_seg7_vertex_07013D78[] = {
{{{ 1203, 2074, 1932}, 0, { 0, 0}, {0x00, 0x96, 0x96, 0xff}}},
{{{ 1152, 2074, 1932}, 0, { 0, 0}, {0x00, 0x96, 0x96, 0xff}}},
{{{ 1177, 2074, 1983}, 0, { 0, 0}, {0x00, 0x96, 0x96, 0xff}}},
{{{ 1062, 2074, 1907}, 0, { 0, 0}, {0x00, 0x96, 0x96, 0xff}}},
{{{ 1139, 2074, 1932}, 0, { 0, 0}, {0x00, 0x96, 0x96, 0xff}}},
{{{ 1139, 2074, 1881}, 0, { 0, 0}, {0x00, 0x96, 0x96, 0xff}}},
{{{ -60, 1198, 1907}, 0, { 0, 0}, {0x00, 0x96, 0x96, 0xff}}},
{{{ 13, 1198, 1932}, 0, { 0, 0}, {0x00, 0x96, 0x96, 0xff}}},
{{{ 13, 1198, 1881}, 0, { 0, 0}, {0x00, 0x96, 0x96, 0xff}}},
{{{ 169, 1198, 1907}, 0, { 0, 0}, {0x00, 0x96, 0x96, 0xff}}},
{{{ 89, 1198, 1881}, 0, { 0, 0}, {0x00, 0x96, 0x96, 0xff}}},
{{{ 89, 1198, 1932}, 0, { 0, 0}, {0x00, 0x96, 0x96, 0xff}}},
{{{ 51, 1198, 1830}, 0, { 0, 0}, {0x00, 0x96, 0x96, 0xff}}},
{{{ 25, 1198, 1881}, 0, { 0, 0}, {0x00, 0x96, 0x96, 0xff}}},
{{{ 77, 1198, 1881}, 0, { 0, 0}, {0x00, 0x96, 0x96, 0xff}}},
};
#endif
// 0x07013E68 - 0x070142C0
static const Gfx rr_seg7_dl_07013E68[] = {
#ifdef VERSION_JP
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09007000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(rr_seg7_vertex_070127E8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0),
gsSP1Triangle(11, 14, 12, 0x0),
gsSPVertex(rr_seg7_vertex_070128D8, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 10, 12, 13, 0x0),
gsSPVertex(rr_seg7_vertex_070129B8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0),
gsSP1Triangle(11, 14, 12, 0x0),
gsSPVertex(rr_seg7_vertex_07012AA8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 9, 10, 0x0, 11, 12, 13, 0x0),
gsSP1Triangle(11, 14, 12, 0x0),
gsSPVertex(rr_seg7_vertex_07012B98, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 6, 8, 9, 0x0),
gsSP2Triangles(10, 2, 11, 0x0, 10, 11, 12, 0x0),
gsSP2Triangles( 0, 2, 10, 0x0, 13, 14, 15, 0x0),
gsSPVertex(rr_seg7_vertex_07012C98, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 9, 10, 0x0, 11, 12, 13, 0x0),
gsSPVertex(rr_seg7_vertex_07012D78, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0),
gsSP1Triangle(12, 13, 14, 0x0),
gsSPVertex(rr_seg7_vertex_07012E68, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
gsSP1Triangle(11, 14, 12, 0x0),
gsSPVertex(rr_seg7_vertex_07012F58, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
gsSPVertex(rr_seg7_vertex_07013038, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 9, 0x0),
gsSP1Triangle(12, 13, 14, 0x0),
gsSPVertex(rr_seg7_vertex_07013128, 14, 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, 12, 13, 0x0),
gsSPVertex(rr_seg7_vertex_07013208, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0),
gsSP1Triangle(11, 14, 12, 0x0),
gsSPVertex(rr_seg7_vertex_070132F8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 6, 9, 7, 0x0),
gsSP2Triangles(10, 11, 12, 0x0, 10, 12, 13, 0x0),
gsSP1Triangle( 0, 14, 1, 0x0),
gsSPVertex(rr_seg7_vertex_070133E8, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 9, 10, 0x0, 11, 0, 2, 0x0),
gsSP2Triangles(11, 12, 0, 0x0, 0, 13, 1, 0x0),
gsSPVertex(rr_seg7_vertex_070134C8, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 9, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 12, 15, 13, 0x0),
gsSPVertex(rr_seg7_vertex_070135C8, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 3, 4, 0, 0x0, 3, 5, 6, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 9, 10, 0x0, 10, 11, 7, 0x0),
gsSP2Triangles(10, 12, 11, 0x0, 10, 13, 12, 0x0),
gsSPVertex(rr_seg7_vertex_070136A8, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSPEndDisplayList(),
#else
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09007000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
@@ -1041,25 +516,10 @@ static const Gfx rr_seg7_dl_07013E68[] = {
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
gsSPEndDisplayList(),
#endif
};
// 0x070142C0 - 0x07014350
static const Gfx rr_seg7_dl_070142C0[] = {
#ifdef VERSION_JP
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09000800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(rr_seg7_vertex_07013728, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0),
gsSP2Triangles(12, 13, 14, 0x0, 12, 14, 15, 0x0),
gsSPVertex(rr_seg7_vertex_07013828, 8, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSPEndDisplayList(),
#else
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09000800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
@@ -1072,38 +532,10 @@ static const Gfx rr_seg7_dl_070142C0[] = {
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
gsSPEndDisplayList(),
#endif
};
// 0x07014350 - 0x07014490
static const Gfx rr_seg7_dl_07014350[] = {
#ifdef VERSION_JP
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09008000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(rr_seg7_vertex_070138A8, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
gsSP2Triangles( 0, 2, 5, 0x0, 0, 5, 3, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 6, 9, 10, 0x0),
gsSP2Triangles( 6, 10, 7, 0x0, 6, 11, 9, 0x0),
gsSP1Triangle(12, 13, 14, 0x0),
gsSPVertex(rr_seg7_vertex_07013998, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 10, 11, 0x0),
gsSP1Triangle(12, 13, 14, 0x0),
gsSPVertex(rr_seg7_vertex_07013A88, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 10, 8, 0x0, 11, 12, 13, 0x0),
gsSP2Triangles(11, 14, 12, 0x0, 0, 2, 15, 0x0),
gsSPVertex(rr_seg7_vertex_07013B88, 16, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 3, 6, 4, 0x0, 7, 8, 9, 0x0),
gsSP2Triangles( 7, 9, 10, 0x0, 11, 12, 13, 0x0),
gsSP2Triangles(11, 13, 14, 0x0, 0, 2, 15, 0x0),
gsSPEndDisplayList(),
#else
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09008000),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
@@ -1129,28 +561,14 @@ static const Gfx rr_seg7_dl_07014350[] = {
gsSP2Triangles( 7, 9, 10, 0x0, 11, 12, 13, 0x0),
gsSP2Triangles(11, 14, 12, 0x0, 0, 15, 1, 0x0),
gsSPEndDisplayList(),
#endif
};
// 0x07014490 - 0x07014508
static const Gfx rr_seg7_dl_07014490[] = {
#ifdef VERSION_JP
gsSPVertex(rr_seg7_vertex_07013C88, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 4, 0x0),
gsSP2Triangles( 0, 5, 3, 0x0, 0, 4, 1, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
gsSP1Triangle(12, 13, 14, 0x0),
gsSPVertex(rr_seg7_vertex_07013D78, 15, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 3, 4, 5, 0x0),
gsSP2Triangles( 6, 7, 8, 0x0, 9, 10, 11, 0x0),
gsSP1Triangle(12, 13, 14, 0x0),
gsSPEndDisplayList(),
#else
gsSPVertex(rr_seg7_vertex_07013C88, 6, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 3, 1, 0x0),
gsSP2Triangles( 0, 4, 3, 0x0, 0, 5, 4, 0x0),
gsSPEndDisplayList(),
#endif
};
// 0x07014508 - 0x07014590
-62
View File
@@ -106,24 +106,6 @@ static const Vtx rr_seg7_vertex_07002688[] = {
// 0x070026F8 - 0x070027F8
static const Vtx rr_seg7_vertex_070026F8[] = {
#ifdef VERSION_JP
{{{ 1636, 512, -792}, 0, { 2694, 3714}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 817, 717, -792}, 0, { 650, 308}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 817, 512, -792}, 0, { 0, 990}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -1595, 512, 1072}, 0, { 3290, -8974}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -1595, 717, 1072}, 0, { 3800, -9486}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -980, 717, 1072}, 0, { 5334, -7952}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -980, 512, 1072}, 0, { 4822, -7442}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -980, 717, 2301}, 0, { 5334, -7952}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -1595, 512, 2301}, 0, { 3290, -8974}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -980, 512, 2301}, 0, { 4822, -7442}, {0x96, 0x96, 0x96, 0xff}}},
{{{ -1595, 717, 2301}, 0, { 3800, -9486}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 817, 512, -1406}, 0, { 0, 990}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 817, 717, -1406}, 0, { 650, 308}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 1636, 717, -1406}, 0, { 3374, 3032}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 1636, 512, -1406}, 0, { 2694, 3714}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 1636, 717, -792}, 0, { 3374, 3032}, {0x96, 0x96, 0x96, 0xff}}},
#else
{{{ 1636, 512, -792}, 0, { 2694, 3714}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 817, 717, -792}, 0, { 650, 308}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 817, 512, -792}, 0, { 0, 990}, {0x96, 0x96, 0x96, 0xff}}},
@@ -140,28 +122,10 @@ static const Vtx rr_seg7_vertex_070026F8[] = {
{{{ 1636, 717, -1406}, 0, { 3374, 3032}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 1636, 512, -1406}, 0, { 2694, 3714}, {0x96, 0x96, 0x96, 0xff}}},
{{{ 1636, 717, -792}, 0, { 3374, 3032}, {0x96, 0x96, 0x96, 0xff}}},
#endif
};
// 0x070027F8 - 0x070028E8
static const Vtx rr_seg7_vertex_070027F8[] = {
#ifdef VERSION_JP
{{{ -1595, 717, 2301}, 0, { 0, 990}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -980, 717, 1072}, 0, { 4566, 2522}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -1595, 717, 1072}, 0, { 3034, 4054}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -980, 717, 2301}, 0, { 1502, -542}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1636, 717, -1406}, 0, { 4702, 344}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 817, 717, -792}, 0, { -64, 1022}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1636, 717, -792}, 0, { 2658, -1700}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 817, 717, -1406}, 0, { 1978, 3066}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1636, 512, -1406}, 0, { 0, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 1636, 717, -792}, 0, { 2694, -372}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 1636, 512, -792}, 0, { 2012, -1054}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -980, 512, 1072}, 0, { -540, 478}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -980, 717, 2301}, 0, { 3034, -2076}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -980, 512, 2301}, 0, { 2524, -2588}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -980, 717, 1072}, 0, { 0, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
#else
{{{ -1595, 717, 2301}, 0, { 0, 990}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -980, 717, 1072}, 0, { 4566, 2522}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ -1595, 717, 1072}, 0, { 3034, 4054}, {0xc8, 0xc8, 0xc8, 0xff}}},
@@ -177,28 +141,10 @@ static const Vtx rr_seg7_vertex_070027F8[] = {
{{{ -980, 717, 2301}, 0, { 4056, -1054}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -980, 512, 2199}, 0, { 3290, -1310}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -980, 717, 1072}, 0, { 990, 2010}, {0x7d, 0x7d, 0x7d, 0xff}}},
#endif
};
// 0x070028E8 - 0x070029D8
static const Vtx rr_seg7_vertex_070028E8[] = {
#ifdef VERSION_JP
{{{ -1595, 512, 2301}, 0, { 2524, -2588}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -1595, 717, 2301}, 0, { 3034, -2076}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -1595, 717, 1072}, 0, { 0, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -1595, 512, 1072}, 0, { -540, 478}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 817, 512, -792}, 0, { 2012, -1054}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 817, 717, -792}, 0, { 2694, -372}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 817, 717, -1406}, 0, { 650, 1670}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 817, 512, -1406}, 0, { 0, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 1636, 512, -1406}, 0, { 0, 990}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 1636, 717, -1406}, 0, { 650, 1670}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 1636, 717, -792}, 0, { 2694, -372}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ 817, 512, -1406}, 0, { 1978, 3066}, {0x55, 0x55, 0x55, 0xff}}},
{{{ 1636, 512, -792}, 0, { 2658, -1700}, {0x55, 0x55, 0x55, 0xff}}},
{{{ 817, 512, -792}, 0, { -64, 1022}, {0x55, 0x55, 0x55, 0xff}}},
{{{ 1636, 512, -1406}, 0, { 4702, 344}, {0x55, 0x55, 0x55, 0xff}}},
#else
{{{ -1595, 512, 2199}, 0, { -2330, -2332}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -1595, 717, 2301}, 0, { -2074, -3098}, {0x7d, 0x7d, 0x7d, 0xff}}},
{{{ -1595, 717, 1072}, 0, { 990, 0}, {0x7d, 0x7d, 0x7d, 0xff}}},
@@ -214,22 +160,14 @@ static const Vtx rr_seg7_vertex_070028E8[] = {
{{{ 1636, 512, -792}, 0, { 2658, -1700}, {0x55, 0x55, 0x55, 0xff}}},
{{{ 817, 512, -792}, 0, { -64, 1022}, {0x55, 0x55, 0x55, 0xff}}},
{{{ 1636, 512, -1406}, 0, { 4702, 344}, {0x55, 0x55, 0x55, 0xff}}},
#endif
};
// 0x070029D8 - 0x07002A18
static const Vtx rr_seg7_vertex_070029D8[] = {
#ifdef VERSION_JP
{{{ -1595, 512, 1072}, 0, { 3034, 4054}, {0x55, 0x55, 0x55, 0xff}}},
{{{ -980, 512, 1072}, 0, { 4566, 2522}, {0x55, 0x55, 0x55, 0xff}}},
{{{ -980, 512, 2301}, 0, { 1502, -542}, {0x55, 0x55, 0x55, 0xff}}},
{{{ -1595, 512, 2301}, 0, { 0, 990}, {0x55, 0x55, 0x55, 0xff}}},
#else
{{{ -1595, 512, 1072}, 0, { 3034, 4054}, {0x55, 0x55, 0x55, 0xff}}},
{{{ -980, 512, 1072}, 0, { 4566, 2522}, {0x55, 0x55, 0x55, 0xff}}},
{{{ -980, 512, 2199}, 0, { 1502, -542}, {0x55, 0x55, 0x55, 0xff}}},
{{{ -1595, 512, 2199}, 0, { 0, 990}, {0x55, 0x55, 0x55, 0xff}}},
#endif
};
// 0x07002A18 - 0x07002BC8
File diff suppressed because it is too large. Load diff
-47
View File
@@ -1,22 +1,6 @@
// US: 0x0701B0C8
// 0x0701B290 - 0x0701B370
static const Vtx rr_seg7_vertex_0701B290[] = {
#ifdef VERSION_JP
{{{ -306, 102, -818}, 0, { 3716, -714}, {0xaf, 0xcf, 0xc1, 0xff}}},
{{{ -306, 102, 819}, 0, { 990, 2010}, {0xaf, 0xcf, 0xc1, 0xff}}},
{{{ 307, 102, 819}, 0, { 0, 990}, {0xaf, 0xcf, 0xc1, 0xff}}},
{{{ 307, 102, -818}, 0, { 2694, -1736}, {0xaf, 0xcf, 0xc1, 0xff}}},
{{{ 307, 0, -767}, 0, { 2608, -1650}, {0x53, 0x73, 0x76, 0xff}}},
{{{ -306, 0, 768}, 0, { 1076, 1924}, {0x53, 0x73, 0x76, 0xff}}},
{{{ -306, 0, -767}, 0, { 3630, -628}, {0x53, 0x73, 0x76, 0xff}}},
{{{ 307, 0, 768}, 0, { 54, 904}, {0x53, 0x73, 0x76, 0xff}}},
{{{ -306, 102, -818}, 0, { 2694, 3714}, {0x63, 0x80, 0x88, 0xff}}},
{{{ -306, 0, 768}, 0, { -116, 1244}, {0x63, 0x80, 0x88, 0xff}}},
{{{ -306, 102, 819}, 0, { 0, 990}, {0x63, 0x80, 0x88, 0xff}}},
{{{ -306, 102, -818}, 0, { 3716, -714}, {0x63, 0x80, 0x88, 0xff}}},
{{{ -306, 0, -767}, 0, { 3630, -628}, {0x63, 0x80, 0x88, 0xff}}},
{{{ -306, 0, 768}, 0, { 1076, 1924}, {0x63, 0x80, 0x88, 0xff}}},
#else// increase from 14 to 16
{{{ -306, 102, -818}, 0, { 3716, -714}, {0xaf, 0xcf, 0xc1, 0xff}}},
{{{ -306, 102, 819}, 0, { 990, 2010}, {0xaf, 0xcf, 0xc1, 0xff}}},
{{{ 307, 102, 819}, 0, { 0, 990}, {0xaf, 0xcf, 0xc1, 0xff}}},
@@ -33,26 +17,11 @@ static const Vtx rr_seg7_vertex_0701B290[] = {
{{{ 307, 0, 768}, 0, { -116, 734}, {0x63, 0x80, 0x88, 0xff}}},
{{{ 307, 0, -767}, 0, { 2438, -1820}, {0x63, 0x80, 0x88, 0xff}}},
{{{ 307, 102, -818}, 0, { 2694, -1736}, {0x63, 0x80, 0x88, 0xff}}},
#endif
};
// US: 0x0701B1C8
// 0x0701B370 - 0x0701B430
static const Vtx rr_seg7_vertex_0701B370[] = {
#ifdef VERSION_JP
{{{ 307, 102, 819}, 0, { 0, 990}, {0x63, 0x80, 0x88, 0xff}}},
{{{ 307, 0, 768}, 0, { -116, 1244}, {0x63, 0x80, 0x88, 0xff}}},
{{{ 307, 0, -767}, 0, { 2438, 3798}, {0x63, 0x80, 0x88, 0xff}}},
{{{ 307, 102, -818}, 0, { 2694, 3714}, {0x63, 0x80, 0x88, 0xff}}},
{{{ 307, 102, -818}, 0, { 2694, -1736}, {0x79, 0x9c, 0x9f, 0xff}}},
{{{ 307, 0, -767}, 0, { 2608, -1650}, {0x79, 0x9c, 0x9f, 0xff}}},
{{{ -306, 0, -767}, 0, { 3630, -628}, {0x79, 0x9c, 0x9f, 0xff}}},
{{{ -306, 102, -818}, 0, { 3716, -714}, {0x79, 0x9c, 0x9f, 0xff}}},
{{{ -306, 102, 819}, 0, { 990, 2010}, {0x79, 0x9c, 0x9f, 0xff}}},
{{{ 307, 0, 768}, 0, { 54, 904}, {0x79, 0x9c, 0x9f, 0xff}}},
{{{ 307, 102, 819}, 0, { 0, 990}, {0x79, 0x9c, 0x9f, 0xff}}},
{{{ -306, 0, 768}, 0, { 1076, 1924}, {0x79, 0x9c, 0x9f, 0xff}}},
#else// reduced from 12 to 8
{{{ 307, 102, -818}, 0, { 2694, -1736}, {0x79, 0x9c, 0x9f, 0xff}}},
{{{ 307, 0, -767}, 0, { 2884, -1926}, {0x79, 0x9c, 0x9f, 0xff}}},
{{{ -306, 0, -767}, 0, { 3906, -904}, {0x79, 0x9c, 0x9f, 0xff}}},
@@ -61,25 +30,10 @@ static const Vtx rr_seg7_vertex_0701B370[] = {
{{{ 307, 0, 768}, 0, { -220, 1178}, {0x79, 0x9c, 0x9f, 0xff}}},
{{{ 307, 102, 819}, 0, { 0, 990}, {0x79, 0x9c, 0x9f, 0xff}}},
{{{ -306, 0, 768}, 0, { 800, 2200}, {0x79, 0x9c, 0x9f, 0xff}}},
#endif
};
// 0x0701B430 - 0x0701B4C0
static const Gfx rr_seg7_dl_0701B430[] = {
#ifdef VERSION_JP
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09001800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
gsSPVertex(rr_seg7_vertex_0701B290, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 11, 12, 13, 0x0),
gsSPVertex(rr_seg7_vertex_0701B370, 12, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 6, 7, 0x0),
gsSP2Triangles( 8, 9, 10, 0x0, 8, 11, 9, 0x0),
gsSPEndDisplayList(),
#else
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09001800),
gsDPLoadSync(),
gsDPLoadBlock(G_TX_LOADTILE, 0, 0, 32 * 32 - 1, CALC_DXT(32, G_IM_SIZ_16b_BYTES)),
@@ -92,7 +46,6 @@ static const Gfx rr_seg7_dl_0701B430[] = {
gsSP2Triangles( 0, 1, 2, 0x0, 0, 2, 3, 0x0),
gsSP2Triangles( 4, 5, 6, 0x0, 4, 7, 5, 0x0),
gsSPEndDisplayList(),
#endif
};
// 0x0701B4C0 - 0x0701B530
-6
View File
@@ -211,15 +211,9 @@ void pretend_audio_sptask_done(void) {
void handle_vblank(void) {
gNumVblanks++;
#ifdef VERSION_SH
if (gResetTimer > 0 && gResetTimer < 100) {
gResetTimer++;
}
#else
if (gResetTimer > 0) {
gResetTimer++;
}
#endif
receive_new_tasks();
-2
View File
@@ -264,9 +264,7 @@ s32 set_obj_anim_with_accel_and_sound(s16 frame1, s16 frame2, s32 sound) {
#include "behaviors/bbh_merry_go_round.inc.c"
#include "behaviors/static_checkered_platform.inc.c"
#include "behaviors/beta_bowser_anchor.inc.c"
#ifndef VERSION_JP
#include "behaviors/music_touch.inc.c"
#endif
#include "behaviors/castle_floor_trap.inc.c"
#include "behaviors/pole_base.inc.c"
#include "behaviors/sparkle_spawn.inc.c"
+1 -8
View File
@@ -12,7 +12,6 @@ void bhv_bbh_tilting_trap_platform_loop(void) {
// if statement, while immediately setting it over here.
// This was done so that Mario leaving or getting on the platform
// resets oTimer to 0.
#ifndef VERSION_JP
if (gMarioObject->platform == o) {
o->oAction = BBH_TILTING_TRAP_PLATFORM_ACT_MARIO_ON;
} else {
@@ -20,13 +19,9 @@ void bhv_bbh_tilting_trap_platform_loop(void) {
}
if (o->oAction == BBH_TILTING_TRAP_PLATFORM_ACT_MARIO_ON) {
#else
if (gMarioObject->platform == o) {
#endif
o->oAngleVelPitch = (s32)(o->oDistanceToMario * coss(o->oAngleToMario));
o->oFaceAnglePitch += o->oAngleVelPitch;
} else
#ifndef VERSION_JP
// In the US version, if the platform has tilted more than 3000 angle units
// in less than 16 frames since Mario got on it, and he has stepped off,
// this code will not run, so it will continue to rotate with the same
@@ -34,9 +29,7 @@ void bhv_bbh_tilting_trap_platform_loop(void) {
// the platform more dangerous. This code will not work correctly
// without the oAction changes above, since oTimer will not ever
// reset to 0 without them.
if ((absi(o->oFaceAnglePitch) < 3000) || (o->oTimer >= 16))
#endif
{
if ((absi(o->oFaceAnglePitch) < 3000) || (o->oTimer >= 16)) {
// Make the platform return to the horizontal at a speed of
// 200 angle units/frame, and clamp it to 0 if it's within 200 units of 0.
o->oAngleVelPitch = 0;
-10
View File
@@ -282,13 +282,9 @@ static s32 boo_update_during_death(void) {
if (o->oBooParentBigBoo != NULL) {
parentBigBoo = o->oBooParentBigBoo;
#ifndef VERSION_JP
if (!cur_obj_has_behavior(bhvBoo)) {
parentBigBoo->oBigBooNumMinionBoosKilled++;
}
#else
parentBigBoo->oBigBooNumMinionBoosKilled++;
#endif
}
return TRUE;
@@ -512,11 +508,7 @@ static void big_boo_act_0(void) {
o->oBooParentBigBoo = NULL;
#ifndef VERSION_JP
if (boo_should_be_active() && gDebugInfo[5][0] + 5 <= o->oBigBooNumMinionBoosKilled) {
#else
if (boo_should_be_active() && o->oBigBooNumMinionBoosKilled >= 5) {
#endif
o->oAction = 1;
cur_obj_set_pos_to_home();
@@ -636,9 +628,7 @@ static void big_boo_act_3(void) {
}
static void big_boo_act_4(void) {
#ifndef VERSION_JP
boo_stop();
#endif
if (o->oBehParams2ndByte == 0) {
obj_set_pos(o, 973, 0, 626);
-16
View File
@@ -125,7 +125,6 @@ void bhv_bowser_body_anchor_loop(void) {
// If Bowser is dead, set interaction type to text
// so that he can be ready to speak his dialog
if (o->parentObj->oAction == BOWSER_ACT_DEAD) {
#if BUGFIX_BOWSER_COLLIDE_BITS_DEAD
// Clear interaction type at the last sub action in BITS
// Fixes collision coliding after defeating him
if (o->parentObj->oSubAction == BOWSER_SUB_ACT_DEAD_FINAL_END_OVER) {
@@ -133,9 +132,6 @@ void bhv_bowser_body_anchor_loop(void) {
} else {
o->oInteractType = INTERACT_TEXT;
}
#else
o->oInteractType = INTERACT_TEXT;
#endif
} else {
// Do damage if Mario touches Bowser
o->oInteractType = INTERACT_DAMAGE;
@@ -447,7 +443,6 @@ void bowser_bits_actions(void) {
/**
* Reset Bowser position and speed if he wasn't able to land properly on stage
*/
#if BUGFIX_BOWSER_FALLEN_OFF_STAGE
void bowser_reset_fallen_off_stage(void) {
if (o->oVelY < 0 && o->oPosY < (o->oHomeY - 300.0f)) {
o->oPosX = o->oPosZ = 0;
@@ -456,7 +451,6 @@ void bowser_reset_fallen_off_stage(void) {
o->oForwardVel = 0;
}
}
#endif
/**
* Unused, makes Bowser be in idle and after it returns to default action
@@ -740,12 +734,10 @@ void bowser_act_big_jump(void) {
o->oSubAction++;
}
} else if (o->oSubAction == 1) {
#if BUGFIX_BOWSER_FALLEN_OFF_STAGE
// Reset Bowser back on stage in BITS if he doesn't land properly
if (o->oBehParams2ndByte == BOWSER_BP_BITS && o->oBowserStatus & BOWSER_STATUS_BIG_JUMP) {
bowser_reset_fallen_off_stage();
}
#endif
// Land on stage, reset status jump and velocity
if (bowser_land()) {
o->oBowserStatus &= ~BOWSER_STATUS_BIG_JUMP;
@@ -1094,15 +1086,7 @@ void bowser_act_jump_onto_stage(void) {
}
// Reset him back on stage if he still didn't landed yet
// Post-JP made this check as a separate function
#if BUGFIX_BOWSER_FALLEN_OFF_STAGE
bowser_reset_fallen_off_stage();
#else
if (o->oVelY < 0.0f && o->oPosY < o->oHomeY - 300.0f) {
o->oPosZ = 0.0f, o->oPosX = o->oPosZ;
o->oPosY = o->oHomeY + 2000.0f;
o->oVelY = 0.0f;
}
#endif
break;
// Bowser landed, so reset action after he's done jumping
case BOWSER_SUB_ACT_JUMP_ON_STAGE_STOP:
+1 -5
View File
@@ -52,11 +52,7 @@ void bhv_big_bully_init(void) {
}
void bully_check_mario_collision(void) {
if (
#ifdef VERSION_SH
o->oAction != BULLY_ACT_LAVA_DEATH && o->oAction != BULLY_ACT_DEATH_PLANE_DEATH &&
#endif
o->oInteractStatus & INT_STATUS_INTERACTED) {
if (o->oAction != BULLY_ACT_LAVA_DEATH && o->oAction != BULLY_ACT_DEATH_PLANE_DEATH && o->oInteractStatus & INT_STATUS_INTERACTED) {
if (o->oBehParams2ndByte == BULLY_BP_SIZE_SMALL)
cur_obj_play_sound_2(SOUND_OBJ2_BULLY_ATTACKED);
else
-11
View File
@@ -6,7 +6,6 @@ void bhv_celebration_star_init(void) {
o->oHomeZ = gMarioObject->header.gfx.pos[2];
o->oMoveAngleYaw = gMarioObject->header.gfx.angle[1] + 0x8000;
o->oCelebStarDiameterOfRotation = 100;
#if BUGFIX_STAR_BOWSER_KEY
if (gCurrLevelNum == LEVEL_BOWSER_1 || gCurrLevelNum == LEVEL_BOWSER_2) {
o->header.gfx.sharedChild = gLoadedGraphNodes[MODEL_BOWSER_KEY];
o->oFaceAnglePitch = 0;
@@ -20,12 +19,6 @@ void bhv_celebration_star_init(void) {
cur_obj_scale(0.4f);
o->oCelebStarIsBowserKey = 0;
}
#else
o->header.gfx.sharedChild = gLoadedGraphNodes[MODEL_STAR];
cur_obj_scale(0.4f);
o->oFaceAnglePitch = 0;
o->oFaceAngleRoll = 0;
#endif
}
void celeb_star_act_spin_around_mario(void) {
@@ -47,15 +40,11 @@ void celeb_star_act_spin_around_mario(void) {
void celeb_star_act_face_camera(void) {
if (o->oTimer < 10) {
#if BUGFIX_STAR_BOWSER_KEY
if (o->oCelebStarIsBowserKey == 0) {
cur_obj_scale((f32) o->oTimer / 10.0);
} else {
cur_obj_scale((f32) o->oTimer / 30.0);
}
#else
cur_obj_scale((f32) o->oTimer / 10.0);
#endif
o->oFaceAngleYaw += 0x1000;
} else {
o->oFaceAngleYaw = gMarioObject->header.gfx.angle[1];
-9
View File
@@ -85,23 +85,14 @@ void bhv_coin_loop(void) {
if (o->oVelY < 0)
cur_obj_become_tangible();
if (o->oMoveFlags & OBJ_MOVE_LANDED) {
#ifndef VERSION_JP
if (o->oMoveFlags & (OBJ_MOVE_ABOVE_DEATH_BARRIER | OBJ_MOVE_ABOVE_LAVA))
#else
if (o->oMoveFlags & OBJ_MOVE_ABOVE_LAVA)
#endif
obj_mark_for_deletion(o);
}
#ifndef VERSION_JP
if (o->oMoveFlags & OBJ_MOVE_BOUNCE) {
if (o->oCoinBounceTimer < 5)
cur_obj_play_sound_2(SOUND_GENERAL_COIN_DROP);
o->oCoinBounceTimer++;
}
#else
if (o->oMoveFlags & OBJ_MOVE_BOUNCE)
cur_obj_play_sound_2(SOUND_GENERAL_COIN_DROP);
#endif
if (cur_obj_wait_then_blink(400, 20))
obj_mark_for_deletion(o);
bhv_coin_sparkles_init();
@@ -29,9 +29,7 @@ void bhv_controllable_platform_sub_loop(void) {
if (gMarioObject->platform == o) {
sControllablePlatformDirectionState = o->oBehParams2ndByte;
#ifdef VERSION_SH
o->parentObj->header.gfx.node.flags &= ~GRAPH_RENDER_INVISIBLE;
#endif
o->oAction = 1;
cur_obj_play_sound_2(SOUND_GENERAL_MOVING_PLATFORM_SWITCH);
}
-2
View File
@@ -13,10 +13,8 @@ void bhv_rr_cruiser_wing_loop(void) {
o->oFaceAngleYaw = o->oRRCruiserWingInitYaw - sins(o->oTimer * 0x400) * 8192.0f;
o->oFaceAnglePitch = o->oRRCruiserWingInitPitch + coss(o->oTimer * 0x400) * 2048.0f;
}
#ifndef VERSION_JP
if (o->oTimer == 64) {
cur_obj_play_sound_2(SOUND_GENERAL_BOAT_ROCK);
o->oTimer = 0;
}
#endif
}
-13
View File
@@ -64,18 +64,6 @@ void dorrie_act_lower_head(void) {
if (cur_obj_init_anim_check_frame(2, 35)) {
cur_obj_reverse_animation();
#ifdef VERSION_JP
if (o->oTimer > 150) {
dorrie_begin_head_raise(FALSE);
} else if (gMarioObject->platform == o) {
if (o->oDorrieForwardDistToMario > 830.0f
&& set_mario_npc_dialog(MARIO_DIALOG_LOOK_UP) == MARIO_DIALOG_STATUS_START) {
dorrie_begin_head_raise(TRUE);
} else if (o->oDorrieForwardDistToMario > 320.0f) {
o->oTimer = 0;
}
}
#else
if (gMarioObject->platform == o) {
if (o->oDorrieOffsetY == -17.0f && o->oDorrieForwardDistToMario > 780.0f
&& set_mario_npc_dialog(MARIO_DIALOG_LOOK_UP) == MARIO_DIALOG_STATUS_START) {
@@ -86,7 +74,6 @@ void dorrie_act_lower_head(void) {
} else if (o->oTimer > 150) {
dorrie_begin_head_raise(FALSE);
}
#endif
} else {
o->oDorrieNeckAngle += 0x115;
-7
View File
@@ -21,10 +21,8 @@ void bhv_bobomb_anchor_mario_loop(void) {
}
void king_bobomb_act_0(void) {
#ifndef VERSION_JP
o->oForwardVel = 0.0f;
o->oVelY = 0.0f;
#endif
if (o->oSubAction == 0) {
cur_obj_become_intangible();
gSecondCameraFocus = o;
@@ -179,12 +177,7 @@ void king_bobomb_act_7(void) {
spawn_mist_particles_variable(0, 0, 200.0f);
spawn_triangle_break_particles(20, MODEL_DIRT_ANIMATION, 3.0f, 4);
cur_obj_shake_screen(SHAKE_POS_SMALL);
#ifndef VERSION_JP
cur_obj_spawn_star_at_y_offset(2000.0f, 4500.0f, -4500.0f, 200.0f);
#else
o->oPosY += 100.0f;
spawn_default_star(2000.0f, 4500.0f, -4500.0f);
#endif
o->oAction = 8;
}
}
+1 -14
View File
@@ -14,17 +14,12 @@ void bhv_mips_init(void) {
if (save_file_get_total_star_count(gCurrSaveFileNum - 1, COURSE_MIN - 1, COURSE_MAX - 1) >= 15
&& !(starFlags & SAVE_FLAG_TO_STAR_FLAG(SAVE_FLAG_COLLECTED_MIPS_STAR_1))) {
o->oBehParams2ndByte = 0;
#ifndef VERSION_JP
o->oMipsForwardVelocity = 40.0f;
#endif
}
// If the player has >= 50 stars and hasn't collected second MIPS star...
else if (save_file_get_total_star_count(gCurrSaveFileNum - 1, COURSE_MIN - 1, COURSE_MAX - 1) >= 50
} else if (save_file_get_total_star_count(gCurrSaveFileNum - 1, COURSE_MIN - 1, COURSE_MAX - 1) >= 50
&& !(starFlags & SAVE_FLAG_TO_STAR_FLAG(SAVE_FLAG_COLLECTED_MIPS_STAR_2))) {
o->oBehParams2ndByte = 1;
#ifndef VERSION_JP
o->oMipsForwardVelocity = 45.0f;
#endif
} else {
// No MIPS stars are available, hide MIPS.
o->activeFlags = ACTIVE_FLAG_DEACTIVATED;
@@ -32,11 +27,7 @@ void bhv_mips_init(void) {
o->oInteractionSubtype = INT_SUBTYPE_HOLDABLE_NPC;
#ifndef VERSION_JP
o->oGravity = 15.0f;
#else
o->oGravity = 2.5f;
#endif
o->oFriction = 0.89f;
o->oBuoyancy = 1.2f;
@@ -123,11 +114,7 @@ void bhv_mips_act_follow_path(void) {
followStatus = cur_obj_follow_path(followStatus);
// Update velocity and angle and do movement.
#ifndef VERSION_JP
o->oForwardVel = o->oMipsForwardVelocity;
#else
o->oForwardVel = 45.0f;
#endif
o->oMoveAngleYaw = o->oPathedTargetYaw;
collisionFlags = object_step();
-6
View File
@@ -211,13 +211,7 @@ void mr_i_act_1(void) {
}
void mr_i_act_0(void) {
#ifndef VERSION_JP
obj_set_angle(o, 0, 0, 0);
#else
o->oMoveAnglePitch = 0;
o->oMoveAngleYaw = 0;
o->oMoveAngleRoll = 0;
#endif
cur_obj_scale(o->oBehParams2ndByte + 1);
o->oGraphYOffset = 100.0f * o->header.gfx.scale[1];
if (o->oTimer == 0)
+1 -20
View File
@@ -13,14 +13,12 @@ void piranha_plant_act_idle(void) {
cur_obj_become_intangible();
cur_obj_init_animation_with_sound(8);
#if BUGFIX_PIRANHA_PLANT_STATE_RESET
/**
* This call is necessary because a Piranha Plant may enter this state
* with a scale below 1, which would cause it to appear shrunken. See
* documentation for, and calls to, piranha_plant_reset_when_far().
*/
cur_obj_scale(1);
#endif
if (o->oDistanceToMario < 1200.0f) {
o->oAction = PIRANHA_PLANT_ACT_SLEEPING;
@@ -75,17 +73,10 @@ void piranha_plant_act_sleeping(void) {
cur_obj_set_hitbox_radius_and_height(250.0f, 200.0f);
cur_obj_set_hurtbox_radius_and_height(150.0f, 100.0f);
#if BUGFIX_PIRANHA_PLANT_SLEEP_DAMAGE
/**
* Make Piranha Plants harmless, but tangible, while they sleep.
*/
o->oDamageOrCoinValue = 0;
#elif defined(VERSION_EU)
/**
* Make Piranha Plants harmful when sleeping - but do it explicitly.
*/
o->oDamageOrCoinValue = 3;
#endif
if (o->oDistanceToMario < 400.0f) {
if (mario_moving_fast_enough_to_make_piranha_plant_bite()) {
@@ -106,14 +97,10 @@ void piranha_plant_act_sleeping(void) {
* to the biting state.
*/
void piranha_plant_act_woken_up(void) {
#if BUGFIX_PIRANHA_PLANT_SLEEP_DAMAGE || defined(VERSION_EU)
/**
* Make Piranha Plants damage the player while awake. This call is only
* necessary in the US version because it is set to 3 by default and is
* never changed in the JP version.
* Make Piranha Plants damage the player while awake.
*/
o->oDamageOrCoinValue = 3;
#endif
if (o->oTimer == 0)
func_80321080(50);
@@ -122,7 +109,6 @@ void piranha_plant_act_woken_up(void) {
o->oAction = PIRANHA_PLANT_ACT_BITING;
}
#if BUGFIX_PIRANHA_PLANT_STATE_RESET
/**
* If the Piranha Plant is far from the player, move it to the idle state.
*
@@ -143,7 +129,6 @@ void piranha_plant_reset_when_far(void) {
o->oAction = PIRANHA_PLANT_ACT_IDLE;
}
}
#endif
/**
* Make the Piranha Plant play a falling-over animation and move to the dying
@@ -155,9 +140,7 @@ void piranha_plant_attacked(void) {
o->oInteractStatus = 0;
if (cur_obj_check_if_near_animation_end())
o->oAction = PIRANHA_PLANT_ACT_SHRINK_AND_DIE;
#if BUGFIX_PIRANHA_PLANT_STATE_RESET
piranha_plant_reset_when_far(); // see this function's comment
#endif
}
/**
@@ -187,9 +170,7 @@ void piranha_plant_act_shrink_and_die(void) {
cur_obj_scale(o->oPiranhaPlantScale);
#if BUGFIX_PIRANHA_PLANT_STATE_RESET
piranha_plant_reset_when_far(); // see this function's comment
#endif
}
/**
+1 -5
View File
@@ -18,12 +18,8 @@ void bhv_pole_init(void) {
* `spawn_objects_from_info`.
*/
#ifdef LONGER_POLES
// This treats bparam1 and bparam2 as a single value
o->hitboxHeight = ((o->oBehParams & 0xFFFF0000) >> 16) * 10;
#else
s32 tenthHitboxHeight = o->oBehParams >> 0x10 & 0xFF;
o->hitboxHeight = tenthHitboxHeight * 10;
#endif
}
/**
-4
View File
@@ -149,11 +149,7 @@ static void racing_penguin_act_show_final_text(void) {
o->oTimer = 0;
}
} else if (o->oRacingPenguinMarioWon) {
#ifdef VERSION_JP
spawn_default_star(-7339.0f, -5700.0f, -6774.0f);
#else
cur_obj_spawn_star_at_y_offset(-7339.0f, -5700.0f, -6774.0f, 200.0f);
#endif
o->oRacingPenguinMarioWon = FALSE;
}
}
+2 -12
View File
@@ -34,22 +34,12 @@ void bhv_tree_snow_or_leaf_loop(void) {
void bhv_snow_leaf_particle_spawn_init(void) {
struct Object *obj; // Either snow or leaf
#ifdef TREE_PARTICLE_FIX
struct Object *nearestTree = NULL;
#endif
s32 isSnow;
f32 scale;
gMarioObject->oActiveParticleFlags &= ~0x2000;
#ifdef TREE_PARTICLE_FIX
// Whether a tree uses snow particles or not is decided via the model IDs instead of the course number
nearestTree = cur_obj_nearest_object_with_behavior(bhvTree);
isSnow = (nearestTree->header.gfx.sharedChild == gLoadedGraphNodes[MODEL_CCM_SNOW_TREE] || nearestTree->header.gfx.sharedChild == gLoadedGraphNodes[MODEL_SL_SNOW_TREE]);
#else
if (gCurrLevelNum == LEVEL_CCM || gCurrLevelNum == LEVEL_SL)
isSnow = 1;
else
isSnow = 0;
#endif
if (isSnow) {
if (nearestTree->header.gfx.sharedChild == gLoadedGraphNodes[MODEL_CCM_SNOW_TREE] || nearestTree->header.gfx.sharedChild == gLoadedGraphNodes[MODEL_SL_SNOW_TREE]) {
if (random_float() < 0.5) {
obj = spawn_object(o, MODEL_WHITE_PARTICLE_DL, bhvTreeSnow);
scale = random_float();
-4
View File
@@ -75,11 +75,7 @@ void tuxies_mother_act_1(void) {
// or 1, which is not affected by the bitwise AND.
o->prevObj->OBJECT_FIELD_S32(o->oInteractionSubtype) &= ~INT_SUBTYPE_DROP_IMMEDIATELY;
obj_set_behavior(o->prevObj, bhvSmallPenguinReturned);
#ifndef VERSION_JP
cur_obj_spawn_star_at_y_offset(3167.0f, -4300.0f, 5108.0f, 200.0f);
#else
spawn_default_star(3500.0f, -4300.0f, 4650.0f);
#endif
o->oAction = 2;
}
break;
-6
View File
@@ -1083,13 +1083,7 @@ void handle_special_dialog_text(s16 dialogID) { // dialog ID tables, in order
// Red Switch, Green Switch, Blue Switch, 100 coins star, Bowser Red Coin Star
s16 dialogStarSound[] = { DIALOG_010, DIALOG_011, DIALOG_012, DIALOG_013, DIALOG_014 };
// King Bob-omb (Start), Whomp (Defeated), King Bob-omb (Defeated, missing in JP), Eyerock (Defeated), Wiggler (Defeated)
#if BUGFIX_KING_BOB_OMB_FADE_MUSIC
s16 dialogBossStop[] = { DIALOG_017, DIALOG_115, DIALOG_116, DIALOG_118, DIALOG_152 };
#else
//! @bug JP misses King Bob-omb defeated DIALOG_116, meaning that the boss music will still
//! play after King Bob-omb is defeated until BOB loads it's music after the star cutscene
s16 dialogBossStop[] = { DIALOG_017, DIALOG_115, DIALOG_118, DIALOG_152 };
#endif
s16 i;
for (i = 0; i < (s16) ARRAY_COUNT(dialogBossStart); i++) {
+3 -3
View File
@@ -1522,7 +1522,7 @@ u32 interact_pole(struct MarioState *m, UNUSED u32 interactType, struct Object *
s32 actionId = m->action & ACT_ID_MASK;
if (actionId >= 0x080 && actionId < 0x0A0) {
if (!(m->prevAction & ACT_FLAG_ON_POLE) || m->usedObj != o) {
#ifdef VERSION_SH
#if defined(VERSION_SH) || defined(SHINDOU_POLES)
f32 velConv = m->forwardVel; // conserve the velocity.
struct Object *marioObj = m->marioObj;
u32 lowSpeed;
@@ -1533,7 +1533,7 @@ u32 interact_pole(struct MarioState *m, UNUSED u32 interactType, struct Object *
mario_stop_riding_and_holding(m);
#ifdef VERSION_SH
#if defined(VERSION_SH) || defined(SHINDOU_POLES)
lowSpeed = (velConv <= 10.0f);
#endif
@@ -1554,7 +1554,7 @@ u32 interact_pole(struct MarioState *m, UNUSED u32 interactType, struct Object *
//! @bug Using m->forwardVel here is assumed to be 0.0f due to the set from earlier.
// This is fixed in the Shindou version.
#ifdef VERSION_SH
#if defined(VERSION_SH) || defined(SHINDOU_POLES)
marioObj->oMarioPoleYawVel = (s32)(velConv * 0x100 + 0x1000);
#else
marioObj->oMarioPoleYawVel = (s32)(m->forwardVel * 0x100 + 0x1000);
+2 -32
View File
@@ -445,13 +445,7 @@ void init_mario_after_warp(void) {
}
#endif
if (sWarpDest.levelNum == LEVEL_CASTLE && sWarpDest.areaIdx == 1
#ifndef VERSION_JP
&& (sWarpDest.nodeId == 31 || sWarpDest.nodeId == 32)
#else
&& sWarpDest.nodeId == 31
#endif
)
if (sWarpDest.levelNum == LEVEL_CASTLE && sWarpDest.areaIdx == 1 && (sWarpDest.nodeId == 31 || sWarpDest.nodeId == 32))
play_sound(SOUND_MENU_MARIO_CASTLE_WARP, gGlobalSoundSource);
#ifndef VERSION_JP
if (sWarpDest.levelNum == LEVEL_CASTLE_GROUNDS && sWarpDest.areaIdx == 1
@@ -558,11 +552,10 @@ void check_instant_warp(void) {
gMarioState->marioObj->oPosX = gMarioState->pos[0];
gMarioState->marioObj->oPosY = gMarioState->pos[1];
gMarioState->marioObj->oPosZ = gMarioState->pos[2];
#ifdef INSTANT_WARP_OFFSET_FIX
// Fix instant warp offset not working when warping across different areas
gMarioObject->header.gfx.pos[0] = gMarioState->pos[0];
gMarioObject->header.gfx.pos[1] = gMarioState->pos[1];
gMarioObject->header.gfx.pos[2] = gMarioState->pos[2];
#endif
cameraAngle = gMarioState->area->camera->yaw;
change_area(warp->area);
@@ -580,8 +573,6 @@ s16 music_unchanged_through_warp(s16 arg) {
struct ObjectWarpNode *warpNode = area_get_warp_node(arg);
s16 levelNum = warpNode->node.destLevel & 0x7F;
#if BUGFIX_KOOPA_RACE_MUSIC
s16 destArea = warpNode->node.destArea;
s16 unchanged = TRUE;
s16 currBgMusic;
@@ -604,21 +595,6 @@ s16 music_unchanged_through_warp(s16 arg) {
}
}
return unchanged;
#else
u16 destParam1 = gAreas[warpNode->node.destArea].musicParam;
u16 destParam2 = gAreas[warpNode->node.destArea].musicParam2;
s16 unchanged = levelNum == gCurrLevelNum && destParam1 == gCurrentArea->musicParam
&& destParam2 == gCurrentArea->musicParam2;
if (get_current_background_music() != destParam2) {
unchanged = FALSE;
}
return unchanged;
#endif
}
/**
@@ -957,7 +933,6 @@ void update_hud_values(void) {
gMarioState->numLives = 100;
}
#if BUGFIX_MAX_LIVES
if (gMarioState->numCoins > 999) {
gMarioState->numCoins = 999;
}
@@ -965,11 +940,6 @@ void update_hud_values(void) {
if (gHudDisplay.coins > 999) {
gHudDisplay.coins = 999;
}
#else
if (gMarioState->numCoins > 999) {
gMarioState->numLives = (s8) 999; //! Wrong variable
}
#endif
gHudDisplay.stars = gMarioState->numStars;
gHudDisplay.lives = gMarioState->numLives;
-16
View File
@@ -114,19 +114,6 @@ s32 set_pole_position(struct MarioState *m, f32 offsetY) {
s32 act_holding_pole(struct MarioState *m) {
struct Object *marioObj = m->marioObj;
#ifdef VERSION_JP
if (m->input & INPUT_A_PRESSED) {
add_tree_leaf_particles(m);
m->faceAngle[1] += 0x8000;
return set_mario_action(m, ACT_WALL_KICK_AIR, 0);
}
if (m->input & INPUT_Z_PRESSED) {
add_tree_leaf_particles(m);
m->forwardVel = -2.0f;
return set_mario_action(m, ACT_SOFT_BONK, 0);
}
#else
if ((m->input & INPUT_Z_PRESSED) || m->health < 0x100) {
add_tree_leaf_particles(m);
m->forwardVel = -2.0f;
@@ -138,7 +125,6 @@ s32 act_holding_pole(struct MarioState *m) {
m->faceAngle[1] += 0x8000;
return set_mario_action(m, ACT_WALL_KICK_AIR, 0);
}
#endif
if (m->controller->stickY > 16.0f) {
f32 poleTop = m->usedObj->hitboxHeight - 100.0f;
@@ -191,13 +177,11 @@ s32 act_climbing_pole(struct MarioState *m) {
struct Object *marioObj = m->marioObj;
s16 cameraAngle = m->area->camera->yaw;
#ifndef VERSION_JP
if (m->health < 0x100) {
add_tree_leaf_particles(m);
m->forwardVel = -2.0f;
return set_mario_action(m, ACT_SOFT_BONK, 0);
}
#endif
if (m->input & INPUT_A_PRESSED) {
add_tree_leaf_particles(m);
-1
View File
@@ -253,7 +253,6 @@ void handle_save_menu(struct MarioState *m) {
save_file_do_save(gCurrSaveFileNum - 1);
if (gSaveOptSelectIndex == MENU_OPT_SAVE_AND_QUIT) {
//! crashes
fade_into_special_warp(WARP_SPECIAL_MARIO_HEAD_REGULAR, 0); // reset game
}
}
-6
View File
@@ -488,8 +488,6 @@ void update_walking_speed(struct MarioState *m) {
m->faceAngle[1] =
m->intendedYaw - approach_s32((s16)(m->intendedYaw - m->faceAngle[1]), 0, 0x800, 0x800);
}
#elif SUPER_RESPONSIVE_CONTROLS
m->faceAngle[1] = m->intendedYaw;
#else
m->faceAngle[1] =
m->intendedYaw - approach_s32((s16)(m->intendedYaw - m->faceAngle[1]), 0, 0x800, 0x800);
@@ -1407,13 +1405,9 @@ void common_slide_action(struct MarioState *m, u32 endAction, u32 airAction, s32
case GROUND_STEP_HIT_WALL:
if (!mario_floor_is_slippery(m)) {
#ifdef VERSION_JP
m->particleFlags |= PARTICLE_VERTICAL_STAR;
#else
if (m->forwardVel > 16.0f) {
m->particleFlags |= PARTICLE_VERTICAL_STAR;
}
#endif
slide_bonk(m, ACT_GROUND_BONK, endAction);
} else if (m->wall != NULL) {
s16 wallAngle = atan2s(m->wall->normal.z, m->wall->normal.x);
+4 -18
View File
@@ -179,9 +179,7 @@ void play_anim_sound(struct MarioState *m, u32 actionState, s32 animFrame, u32 s
}
s32 act_start_sleeping(struct MarioState *m) {
#ifndef VERSION_JP
s32 animFrame = 0;
#endif
if (check_common_idle_cancels(m)) {
return TRUE;
@@ -197,32 +195,20 @@ s32 act_start_sleeping(struct MarioState *m) {
switch (m->actionState) {
case 0:
#ifndef VERSION_JP
animFrame =
#endif
set_mario_animation(m, MARIO_ANIM_START_SLEEP_IDLE);
animFrame = set_mario_animation(m, MARIO_ANIM_START_SLEEP_IDLE);
break;
case 1:
#ifndef VERSION_JP
animFrame =
#endif
set_mario_animation(m, MARIO_ANIM_START_SLEEP_SCRATCH);
animFrame = set_mario_animation(m, MARIO_ANIM_START_SLEEP_SCRATCH);
break;
case 2:
#ifndef VERSION_JP
animFrame =
#endif
set_mario_animation(m, MARIO_ANIM_START_SLEEP_YAWN);
animFrame = set_mario_animation(m, MARIO_ANIM_START_SLEEP_YAWN);
m->marioBodyState->eyeState = MARIO_EYES_HALF_CLOSED;
break;
case 3:
#ifndef VERSION_JP
animFrame =
#endif
set_mario_animation(m, MARIO_ANIM_START_SLEEP_SITTING);
animFrame = set_mario_animation(m, MARIO_ANIM_START_SLEEP_SITTING);
m->marioBodyState->eyeState = MARIO_EYES_HALF_CLOSED;
break;
}
-35
View File
@@ -1709,12 +1709,10 @@ static void cur_obj_update_floor(void) {
if (floor->type == SURFACE_BURNING) {
o->oMoveFlags |= OBJ_MOVE_ABOVE_LAVA;
}
#ifndef VERSION_JP
else if (floor->type == SURFACE_DEATH_PLANE) {
//! This misses SURFACE_VERTICAL_WIND (and maybe SURFACE_WARP)
o->oMoveFlags |= OBJ_MOVE_ABOVE_DEATH_BARRIER;
}
#endif
o->oFloorType = floor->type;
o->oFloorRoom = floor->room;
@@ -1725,11 +1723,7 @@ static void cur_obj_update_floor(void) {
}
static void cur_obj_update_floor_and_resolve_wall_collisions(s16 steepSlopeDegrees) {
#ifdef VERSION_JP
o->oMoveFlags &= ~OBJ_MOVE_ABOVE_LAVA;
#else
o->oMoveFlags &= ~(OBJ_MOVE_ABOVE_LAVA | OBJ_MOVE_ABOVE_DEATH_BARRIER);
#endif
if (o->activeFlags & (ACTIVE_FLAG_FAR_AWAY | ACTIVE_FLAG_IN_DIFFERENT_ROOM)) {
cur_obj_update_floor();
@@ -2539,7 +2533,6 @@ s32 cur_obj_update_dialog(s32 actionArg, s32 dialogFlags, s32 dialogID, UNUSED s
UNUSED s32 doneTurning = TRUE;
switch (o->oDialogState) {
#if BUGFIX_DIALOG_TIME_STOP
case DIALOG_STATUS_ENABLE_TIME_STOP:
// Patched :(
// Wait for Mario to be ready to speak, and then enable time stop
@@ -2552,18 +2545,6 @@ s32 cur_obj_update_dialog(s32 actionArg, s32 dialogFlags, s32 dialogID, UNUSED s
}
// Fall through so that Mario's action is interrupted immediately
// after time is stopped
#else
case DIALOG_STATUS_ENABLE_TIME_STOP:
//! We enable time stop even if Mario is not ready to speak. This
// allows us to move during time stop as long as Mario never enters
// an action that can be interrupted with text.
if (gMarioState->health >= 0x100) {
gTimeStopState |= TIME_STOP_ENABLED;
o->activeFlags |= ACTIVE_FLAG_INITIATED_TIME_STOP;
o->oDialogState++;
}
break;
#endif
case DIALOG_STATUS_INTERRUPT:
// Interrupt until Mario is actually speaking with the NPC
if (set_mario_npc_dialog(actionArg) == MARIO_DIALOG_STATUS_SPEAK) {
@@ -2624,7 +2605,6 @@ s32 cur_obj_update_dialog_with_cutscene(s32 actionArg, s32 dialogFlags, s32 cuts
s32 doneTurning = TRUE;
switch (o->oDialogState) {
#if BUGFIX_DIALOG_TIME_STOP
case DIALOG_STATUS_ENABLE_TIME_STOP:
// Wait for Mario to be ready to speak, and then enable time stop
if (mario_ready_to_speak() || gMarioState->action == ACT_READING_NPC_DIALOG) {
@@ -2637,19 +2617,6 @@ s32 cur_obj_update_dialog_with_cutscene(s32 actionArg, s32 dialogFlags, s32 cuts
}
// Fall through so that Mario's action is interrupted immediately
// after time is stopped
#else
case DIALOG_STATUS_ENABLE_TIME_STOP:
//! We enable time stop even if Mario is not ready to speak. This
// allows us to move during time stop as long as Mario never enters
// an action that can be interrupted with text.
if (gMarioState->health >= 0x0100) {
gTimeStopState |= TIME_STOP_ENABLED;
o->activeFlags |= ACTIVE_FLAG_INITIATED_TIME_STOP;
o->oDialogState++;
o->oDialogResponse = DIALOG_RESPONSE_NONE;
}
break;
#endif
case DIALOG_STATUS_INTERRUPT:
// Additional flag that makes the NPC rotate towards to Mario
if (dialogFlags & DIALOG_FLAG_TURN_TO_MARIO) {
@@ -2869,14 +2836,12 @@ void cur_obj_spawn_loot_blue_coin(void) {
}
}
#ifndef VERSION_JP
void cur_obj_spawn_star_at_y_offset(f32 targetX, f32 targetY, f32 targetZ, f32 offsetY) {
f32 objectPosY = o->oPosY;
o->oPosY += offsetY + gDebugInfo[5][0];
spawn_default_star(targetX, targetY, targetZ);
o->oPosY = objectPosY;
}
#endif
// Extra functions for HackerSM64
void obj_set_model(struct Object *obj, s32 modelID) {
-2
View File
@@ -279,9 +279,7 @@ void disable_time_stop_including_mario(void);
s32 cur_obj_check_interacted(void);
void cur_obj_spawn_loot_blue_coin(void);
#ifndef VERSION_JP
void cur_obj_spawn_star_at_y_offset(f32 targetX, f32 targetY, f32 targetZ, f32 offsetY);
#endif
// Extra functions for HackerSM64
void obj_set_model(struct Object *obj, s32 modelID);
-5
View File
@@ -460,12 +460,7 @@ void spawn_objects_from_info(UNUSED s32 unused, struct SpawnInfo *spawnInfo) {
gWDWWaterLevelChanging = FALSE;
gMarioOnMerryGoRound = FALSE;
//! (Spawning Displacement) On the Japanese version, Mario's platform object
// isn't cleared when transitioning between areas. This can cause Mario to
// receive displacement after spawning.
#ifndef VERSION_JP
clear_mario_platform();
#endif
if (gCurrAreaIndex == 2) {
gCCMEnteredSlide |= 1;
-3
View File
@@ -312,12 +312,9 @@ void apply_mario_platform_displacement(void) {
}
#endif
#ifndef VERSION_JP
/**
* Set Mario's platform to NULL.
*/
void clear_mario_platform(void) {
gMarioPlatform = NULL;
}
#endif
-2
View File
@@ -25,8 +25,6 @@ void set_mario_pos(f32 x, f32 y, f32 z);
void apply_platform_displacement(u32 isMario, struct Object *platform);
#endif
void apply_mario_platform_displacement(void);
#ifndef VERSION_JP
void clear_mario_platform(void);
#endif
#endif // PLATFORM_DISPLACEMENT_H
-10
View File
@@ -980,17 +980,7 @@ static void geo_process_shadow(struct GraphNodeShadow *node) {
mtxf_mul(gMatStack[gMatStackIndex], mtxf, *gCurGraphNodeCamera->matrixPtr);
mtxf_to_mtx(mtx, gMatStack[gMatStackIndex]);
gMatStackFixed[gMatStackIndex] = mtx;
#ifdef FIX_SHADOW_TRANSPARENCY
geo_append_display_list((void *) VIRTUAL_TO_PHYSICAL(shadowList), ((gShadowAboveWaterOrLava || gShadowAboveCustomWater || gMarioOnIceOrCarpet) ? LAYER_TRANSPARENT : LAYER_TRANSPARENT_DECAL));
#else
if (gShadowAboveWaterOrLava == TRUE) {
geo_append_display_list((void *) VIRTUAL_TO_PHYSICAL(shadowList), LAYER_ALPHA);
} else if (gMarioOnIceOrCarpet == TRUE || gShadowAboveCustomWater == TRUE) {
geo_append_display_list((void *) VIRTUAL_TO_PHYSICAL(shadowList), LAYER_TRANSPARENT);
} else {
geo_append_display_list((void *) VIRTUAL_TO_PHYSICAL(shadowList), LAYER_TRANSPARENT_DECAL);
}
#endif
gMatStackIndex--;
}
}
+18 -20
View File
@@ -204,11 +204,11 @@ Gfx *geo_intro_regular_backdrop(s32 state, struct GraphNode *node, UNUSED void *
dlIter = dl;
SET_GRAPH_NODE_LAYER(graphNode->node.flags, LAYER_OPAQUE);
gSPDisplayList(dlIter++, &dl_proj_mtx_fullscreen);
gSPDisplayList(dlIter++, &title_screen_bg_dl_0A000100);
gSPDisplayList(dlIter++, &title_screen_bg_dl_start);
for (i = 0; i < 12; ++i) {
gSPDisplayList(dlIter++, intro_backdrop_one_image(i, backgroundTable));
}
gSPDisplayList(dlIter++, &title_screen_bg_dl_0A000190);
gSPDisplayList(dlIter++, &title_screen_bg_dl_end);
gSPEndDisplayList(dlIter);
}
return dl;
@@ -262,19 +262,21 @@ Gfx *geo_intro_gameover_backdrop(s32 state, struct GraphNode *node, UNUSED void
// draw all the tiles
gSPDisplayList(dlIter++, &dl_proj_mtx_fullscreen);
gSPDisplayList(dlIter++, &title_screen_bg_dl_0A000100);
gSPDisplayList(dlIter++, &title_screen_bg_dl_start);
for (j = 0; j < ARRAY_COUNT(gameOverBackgroundTable); ++j)
gSPDisplayList(dlIter++, intro_backdrop_one_image(j, gameOverBackgroundTable));
gSPDisplayList(dlIter++, &title_screen_bg_dl_0A000190);
gSPDisplayList(dlIter++, &title_screen_bg_dl_end);
gSPEndDisplayList(dlIter);
}
return dl;
}
#ifdef VERSION_SH
extern Gfx title_screen_bg_dl_0A0065E8[];
extern Gfx title_screen_bg_dl_0A006618[];
extern Gfx title_screen_bg_dl_0A007548[];
#if ENABLE_RUMBLE
extern Gfx title_screen_bg_dl_rumble_pak[];
#endif
#ifdef GODDARD_EASTER_EGG
extern Gfx title_screen_bg_dl_face_easter_egg_begin[];
extern Gfx title_screen_bg_dl_face_easter_egg_end[];
//Data
s8 sFaceVisible[] = {
@@ -296,8 +298,7 @@ s8 sFaceToggleOrder[] = {
s8 sFaceCounter = 0;
void intro_gen_face_texrect(Gfx **dlIter)
{
void intro_gen_face_texrect(Gfx **dlIter) {
s32 x;
s32 y;
@@ -311,8 +312,7 @@ void intro_gen_face_texrect(Gfx **dlIter)
}
}
Gfx *intro_draw_face(u16 *image, s32 imageW, s32 imageH)
{
Gfx *intro_draw_face(u16 *image, s32 imageW, s32 imageH) {
Gfx *dl;
Gfx *dlIter;
@@ -324,13 +324,13 @@ Gfx *intro_draw_face(u16 *image, s32 imageW, s32 imageH)
dlIter = dl;
}
gSPDisplayList(dlIter++, title_screen_bg_dl_0A0065E8);
gSPDisplayList(dlIter++, title_screen_bg_dl_face_easter_egg_begin);
gDPLoadTextureBlock(dlIter++, VIRTUAL_TO_PHYSICAL(image), G_IM_FMT_RGBA, G_IM_SIZ_16b, imageW, imageH, 0, G_TX_CLAMP | G_TX_NOMIRROR, G_TX_CLAMP | G_TX_NOMIRROR, 6, 6, G_TX_NOLOD, G_TX_NOLOD);
intro_gen_face_texrect(&dlIter);
gSPDisplayList(dlIter++, title_screen_bg_dl_0A006618);
gSPDisplayList(dlIter++, title_screen_bg_dl_face_easter_egg_end);
gSPEndDisplayList(dlIter++);
@@ -348,7 +348,7 @@ u16 *intro_sample_frame_buffer(s32 imageW, s32 imageH, s32 sampleW, s32 sampleH)
s32 xOffset = 120;
s32 yOffset = 80;
fb = sFrameBuffers[sRenderingFrameBuffer];
fb = gFrameBuffers[sRenderingFrameBuffer];
image = alloc_display_list(imageW * imageH * sizeof(u16));
if (image == NULL) {
@@ -398,10 +398,6 @@ Gfx *geo_intro_face_easter_egg(s32 state, struct GraphNode *node, UNUSED void *c
s32 i;
if (state != 1) {
sFrameBuffers[0] = gFrameBuffer0;
sFrameBuffers[1] = gFrameBuffer1;
sFrameBuffers[2] = gFrameBuffer2;
for (i = 0; i < 48; i++) {
sFaceVisible[i] = 0;
}
@@ -432,7 +428,9 @@ Gfx *geo_intro_face_easter_egg(s32 state, struct GraphNode *node, UNUSED void *c
return dl;
}
#endif
#if ENABLE_RUMBLE
Gfx *geo_intro_rumble_pak_graphic(s32 state, struct GraphNode *node, UNUSED void *context) {
struct GraphNodeGenerated *genNode = (struct GraphNodeGenerated *)node;
Gfx *dlIter;
@@ -454,7 +452,7 @@ Gfx *geo_intro_rumble_pak_graphic(s32 state, struct GraphNode *node, UNUSED void
dl = alloc_display_list(3 * sizeof(*dl));
if (dl != NULL) {
dlIter = dl;
gSPDisplayList(dlIter++, &title_screen_bg_dl_0A007548);
gSPDisplayList(dlIter++, &title_screen_bg_dl_rumble_pak);
gSPEndDisplayList(dlIter);
}
} else {
+3 -1
View File
@@ -12,8 +12,10 @@ Gfx *geo_intro_tm_copyright(s32 state, struct GraphNode *node, UNUSED void *cont
Gfx *geo_intro_regular_backdrop(s32 state, struct GraphNode *node, UNUSED void *context);
Gfx *geo_intro_gameover_backdrop(s32 state, struct GraphNode *node, UNUSED void *context);
#ifdef VERSION_SH
#ifdef GODDARD_EASTER_EGG
Gfx *geo_intro_face_easter_egg(s32 state, struct GraphNode *node, UNUSED void *context);
#endif
#if ENABLE_RUMBLE
Gfx *geo_intro_rumble_pak_graphic(s32 state, struct GraphNode *node, UNUSED void *context);
#endif