You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
* Puppyprint text size * Update puppyprint.c * Revert broken render_multi_image changes * revert multi image tweak parallel momento * Update puppyprint debug colors to work with new hexadecimal system * Puppyprint color reversion to currEnv + some bugfixes * Remove a pointless color array * Add forgotten comment * i can type yes definitely * Fix some puppyprint formatting edge cases * Missed one last puppyprint edge case * Additional strLen check * Variable length fix + command ignoring strlen * type changes * Update puppyprint.c * Box clamping * Revamped profiling, fixed right alignment * Update puppycam2.c * Deferred printing * Update puppyprint.c * Fixed negatives being stupid * Puppyprint Memory view rework * Update level_script.c * tweaks * Fix new line spacing with different scales also small bit of optimisation * Spacing fixes * Lightweight text option * puppyprint debug now using light text where applicable * Update puppyprint.c * Update puppyprint.c * level select menu * merge profilers into one WIP * Fully ascii compliant * Finishing touches hopefully * Update puppyprint.c * new font * vanilla font * o * Update hud.c * last kerning fixes * Requested changes * requested changes * fix the j * requested changes * change ur clothes * Update surface_collision.c * requested changes * Update puppyprint.h * Update camera.c * . * Update puppyprint.c * Update puppyprint.c * Update puppyprint.c * fix J * font * font system rework * ia4 outline font * pain * fix deferred printing * fix format change * Add audio profiling to Puppyprint Debug * Optimize audio profiling substantially * Minor audio optimizations * requested changes * oops accidentally commited 6 lmfao * Update game_init.c * Update puppyprint.c * Update puppyprint.c * Improve Puppyprint deferred prints This is safer, more readable, and more runtime efficient all in the same package * change return type * fix building with profiler only * Update profiling.c * fix upscaled texture rectangles from multi image --------- Co-authored-by: gheskett <gheskett@gmail.com>
205 lines
4.4 KiB
C
205 lines
4.4 KiB
C
#pragma once
|
|
|
|
/*****************************
|
|
* COMPATIBILITY SAFE GUARDS *
|
|
*****************************/
|
|
|
|
/**
|
|
* NOTE: Only mess with these if you know what you're doing!
|
|
* These are put in place to insure that connected functionality works as intended.
|
|
*/
|
|
|
|
|
|
/*****************
|
|
* config_audio.h
|
|
*/
|
|
|
|
#ifndef MAX_SIMULTANEOUS_NOTES_EMULATOR
|
|
#ifdef EXPAND_AUDIO_HEAP
|
|
#define MAX_SIMULTANEOUS_NOTES_EMULATOR 40
|
|
#else
|
|
#define MAX_SIMULTANEOUS_NOTES_EMULATOR 20
|
|
#endif
|
|
#endif // MAX_SIMULTANEOUS_NOTES_EMULATOR
|
|
|
|
#ifndef MAX_SIMULTANEOUS_NOTES_CONSOLE
|
|
#ifdef EXPAND_AUDIO_HEAP
|
|
#define MAX_SIMULTANEOUS_NOTES_CONSOLE 24
|
|
#else
|
|
#define MAX_SIMULTANEOUS_NOTES_CONSOLE 16
|
|
#endif
|
|
#endif // MAX_SIMULTANEOUS_NOTES_CONSOLE
|
|
|
|
#if (MAX_SIMULTANEOUS_NOTES_EMULATOR >= MAX_SIMULTANEOUS_NOTES_CONSOLE)
|
|
#define MAX_SIMULTANEOUS_NOTES MAX_SIMULTANEOUS_NOTES_EMULATOR
|
|
#else
|
|
#define MAX_SIMULTANEOUS_NOTES MAX_SIMULTANEOUS_NOTES_CONSOLE
|
|
#endif
|
|
|
|
// Anything higher than 64 will most likely crash on boot. Even if it doesn't, it's still dangerous.
|
|
#if (MAX_SIMULTANEOUS_NOTES > 64)
|
|
#undef MAX_SIMULTANEOUS_NOTES
|
|
#define MAX_SIMULTANEOUS_NOTES 64
|
|
#elif (MAX_SIMULTANEOUS_NOTES < 0)
|
|
#undef MAX_SIMULTANEOUS_NOTES
|
|
#define MAX_SIMULTANEOUS_NOTES 0
|
|
#endif
|
|
|
|
#if defined(BETTER_REVERB) && !(defined(VERSION_US) || defined(VERSION_JP))
|
|
#undef BETTER_REVERB
|
|
#endif
|
|
|
|
|
|
/*****************
|
|
* config_graphics.h
|
|
*/
|
|
|
|
#ifndef F3DEX_GBI_2
|
|
#undef OBJECTS_REJ // OBJECTS_REJ requires f3dex2.
|
|
#endif // !F3DEX_GBI_2
|
|
|
|
#ifndef F3DEX_GBI_SHARED
|
|
#undef OBJECTS_REJ // Non F3DEX-based ucodes do NOT support ucode switching.
|
|
#endif // !F3DEX_GBI_SHARED
|
|
|
|
#ifdef OBJECTS_REJ
|
|
// Enable required ucodes.
|
|
#define F3DEX2_REJ_GBI
|
|
#define F3DLX2_REJ_GBI
|
|
#endif // OBJECTS_REJ
|
|
|
|
|
|
/*****************
|
|
* config_debug.h
|
|
*/
|
|
|
|
#ifdef DISABLE_ALL
|
|
#undef DEBUG_ALL
|
|
#undef TEST_LEVEL
|
|
#undef DEBUG_LEVEL_SELECT
|
|
#undef ENABLE_DEBUG_FREE_MOVE
|
|
#undef VANILLA_DEBUG
|
|
#undef VANILLA_STYLE_CUSTOM_DEBUG
|
|
#undef PUPPYPRINT_DEBUG
|
|
#undef PUPPYPRINT_DEBUG_CYCLES
|
|
#undef VISUAL_DEBUG
|
|
#undef UNLOCK_ALL
|
|
#undef COMPLETE_SAVE_FILE
|
|
#undef DEBUG_FORCE_CRASH_ON_BOOT
|
|
#undef USE_PROFILER
|
|
#endif // DISABLE_ALL
|
|
|
|
#ifdef DEBUG_ALL
|
|
#undef DEBUG_LEVEL_SELECT
|
|
#define DEBUG_LEVEL_SELECT
|
|
|
|
#undef ENABLE_DEBUG_FREE_MOVE
|
|
#define ENABLE_DEBUG_FREE_MOVE
|
|
|
|
#undef PUPPYPRINT
|
|
#define PUPPYPRINT
|
|
|
|
#undef PUPPYPRINT_DEBUG
|
|
#define PUPPYPRINT_DEBUG
|
|
|
|
#undef VISUAL_DEBUG
|
|
#define VISUAL_DEBUG
|
|
|
|
#undef UNLOCK_ALL
|
|
#define UNLOCK_ALL
|
|
|
|
#undef COMPLETE_SAVE_FILE
|
|
#define COMPLETE_SAVE_FILE
|
|
#endif // DEBUG_ALL
|
|
|
|
#ifdef PUPPYPRINT_DEBUG
|
|
#undef PUPPYPRINT
|
|
#define PUPPYPRINT
|
|
#undef USE_PROFILER
|
|
#define USE_PROFILER
|
|
#endif // PUPPYPRINT_DEBUG
|
|
|
|
#ifdef COMPLETE_SAVE_FILE
|
|
#undef UNLOCK_ALL
|
|
#define UNLOCK_ALL
|
|
#endif // COMPLETE_SAVE_FILE
|
|
|
|
|
|
/*****************
|
|
* config_camera.h
|
|
*/
|
|
|
|
#ifdef FORCED_CAMERA_MODE
|
|
#undef USE_COURSE_DEFAULT_MODE
|
|
#define USE_COURSE_DEFAULT_MODE // Forced camera mode overwrites the default mode.
|
|
#endif // FORCED_CAMERA_MODE
|
|
|
|
#ifndef WATER_SURFACE_CAMERA_MODE
|
|
#define WATER_SURFACE_CAMERA_MODE CAMERA_MODE_WATER_SURFACE
|
|
#endif // !WATER_SURFACE_CAMERA_MODE
|
|
|
|
#ifndef DEEP_WATER_CAMERA_MODE
|
|
#define DEEP_WATER_CAMERA_MODE CAMERA_MODE_BEHIND_MARIO
|
|
#endif // !DEEP_WATER_CAMERA_MODE
|
|
|
|
#ifndef FLYING_CAMERA_MODE
|
|
#define FLYING_CAMERA_MODE CAMERA_MODE_BEHIND_MARIO
|
|
#endif // !FLYING_CAMERA_MODE
|
|
|
|
|
|
/*****************
|
|
* config_game.h
|
|
*/
|
|
|
|
#ifndef START_LEVEL
|
|
#define START_LEVEL LEVEL_CASTLE_GROUNDS
|
|
#endif // !START_LEVEL
|
|
|
|
|
|
/*****************
|
|
* config_goddard.h
|
|
*/
|
|
|
|
#ifndef KEEP_MARIO_HEAD
|
|
#undef GODDARD_EASTER_EGG
|
|
|
|
#undef DISABLE_DEMO
|
|
#define DISABLE_DEMO
|
|
#endif // !KEEP_MARIO_HEAD
|
|
|
|
|
|
/*****************
|
|
* config_menu.h
|
|
*/
|
|
|
|
#ifdef DISABLE_EXIT_COURSE
|
|
#undef EXIT_COURSE_WHILE_MOVING
|
|
#undef EXIT_COURSE_LEVEL
|
|
#undef EXIT_COURSE_AREA
|
|
#undef EXIT_COURSE_NODE
|
|
#endif // DISABLE_EXIT_COURSE
|
|
|
|
|
|
/*****************
|
|
* config_objects.h
|
|
*/
|
|
|
|
// Enable floombas if the intro floombas are enabled.
|
|
#ifdef INTRO_FLOOMBAS
|
|
#undef FLOOMBAS
|
|
#define FLOOMBAS
|
|
#endif
|
|
|
|
|
|
/*****************
|
|
* config_rom.h
|
|
*/
|
|
|
|
#ifndef TARGET_N64
|
|
#undef BORDER_HEIGHT_CONSOLE
|
|
#define BORDER_HEIGHT_CONSOLE 0
|
|
|
|
#undef BORDER_HEIGHT_EMULATOR
|
|
#define BORDER_HEIGHT_EMULATOR 0
|
|
#endif // !TARGET_N64
|