Name some HMC geolayouts + some demo fixes
This commit is contained in:
1 parent
be8a27f79f
commit
72be706ec7
44 files changed
+229
-227
No files matched your search
+1
-1
@@ -65,7 +65,7 @@ s8 sAudioEnabled = TRUE;
|
||||
u32 gNumVblanks = 0;
|
||||
s8 gResetTimer = 0;
|
||||
s8 gNmiResetBarsTimer = 0;
|
||||
s8 gDebugLevelSelect = FALSE;
|
||||
s8 gDebugLevelSelect = TRUE;
|
||||
|
||||
s8 gShowProfiler = FALSE;
|
||||
s8 gShowDebugText = FALSE;
|
||||
|
||||
+8
-6
@@ -2873,7 +2873,9 @@ void update_camera(struct Camera *c) {
|
||||
c->nextYaw = gLakituState.nextYaw;
|
||||
c->mode = gLakituState.mode;
|
||||
c->defMode = gLakituState.defMode;
|
||||
#ifndef CAMERA_FIX
|
||||
#ifdef CAMERA_FIX
|
||||
if (gCurrDemoInput != NULL) camera_course_processing(c);
|
||||
#else
|
||||
camera_course_processing(c);
|
||||
#endif
|
||||
sCButtonsPressed = find_c_buttons_pressed(sCButtonsPressed, gPlayer1Controller->buttonPressed,
|
||||
@@ -3226,12 +3228,12 @@ void init_camera(struct Camera *c) {
|
||||
gLakituState.nextYaw = gLakituState.yaw;
|
||||
c->yaw = gLakituState.yaw;
|
||||
c->nextYaw = gLakituState.yaw;
|
||||
#ifdef CAMERA_FIX
|
||||
set_camera_mode(c, CAMERA_MODE_8_DIRECTIONS, 0);
|
||||
#endif
|
||||
#ifdef PUPPYCAM
|
||||
#ifdef CAMERA_FIX
|
||||
if (gCurrDemoInput == NULL) set_camera_mode(c, CAMERA_MODE_8_DIRECTIONS, 0);
|
||||
#endif
|
||||
#ifdef PUPPYCAM
|
||||
puppycam_init();
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -503,7 +503,7 @@ void run_demo_inputs(void) {
|
||||
} else {
|
||||
// Backup the start button if it is pressed, since we don't want the
|
||||
// demo input to override the mask where start may have been pressed.
|
||||
u16 startPushed = gControllers[0].controllerData->button & START_BUTTON;
|
||||
u16 startPushed = (gControllers[0].controllerData->button & START_BUTTON);
|
||||
|
||||
// Perform the demo inputs by assigning the current button mask and the stick inputs.
|
||||
gControllers[0].controllerData->stick_x = gCurrDemoInput->rawStickX;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "types.h"
|
||||
#include "memory.h"
|
||||
|
||||
#define GFX_POOL_SIZE 10000 // Size of how large the master display list (gDisplayListHead) can be
|
||||
#define GFX_POOL_SIZE 10000 // Size of how large the master display list (gDisplayListHead) can be. 6400 is vanilla
|
||||
|
||||
struct GfxPool {
|
||||
Gfx buffer[GFX_POOL_SIZE];
|
||||
|
||||
Reference in new issue
Block a user