Removing course specific camera processing is now a toggle in config.h

This commit is contained in:
Reonu
2021-05-26 15:10:32 +01:00
parent aabf12a079
commit dbea1f734b
2 changed files with 6 additions and 2 deletions

View File

@@ -51,6 +51,8 @@
#define AUTO_LOD
// Skip peach letter cutscene
#define PEACH_SKIP
// Remove course specific camera processing
#define CAMERA_FIX
// 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

View File

@@ -28,6 +28,7 @@
#include "paintings.h"
#include "engine/graph_node.h"
#include "level_table.h"
#include "config.h"
#define CBUTTON_MASK (U_CBUTTONS | D_CBUTTONS | L_CBUTTONS | R_CBUTTONS)
@@ -3049,8 +3050,9 @@ void update_camera(struct Camera *c) {
c->nextYaw = gLakituState.nextYaw;
c->mode = gLakituState.mode;
c->defMode = gLakituState.defMode;
//camera_course_processing(c);
#ifndef CAMERA_FIX
camera_course_processing(c);
#endif
stub_camera_3(c);
sCButtonsPressed = find_c_buttons_pressed(sCButtonsPressed, gPlayer1Controller->buttonPressed,
gPlayer1Controller->buttonDown);