Files
HackerOoT/include/config/config_debug_features.h

114 lines
2.5 KiB
C
Raw Permalink Normal View History

2024-01-31 22:48:05 +01:00
#ifndef CONFIG_DEBUG_FEATURES_H
2024-02-03 19:06:20 +01:00
#define CONFIG_DEBUG_FEATURES_H
2024-01-31 22:48:05 +01:00
/******************
* DEBUG FEATURES *
******************/
/**
* Enable or disable debug rom's features
* See `config_debug_controls.h` for controls
*/
// -------------------------------------------
/**
* General features
*/
/**** [DEBUG HEAP] ****/
2024-02-03 19:06:20 +01:00
// ``IS_DEBUG_HEAP_ENABLED``
2024-02-03 02:42:49 +01:00
#define ENABLE_DEBUG_HEAP false
2024-01-31 22:48:05 +01:00
// The memory space to allocate for the debug heap (used by the Camera Debugger)
// Note: it can't be higher than 0x800000 with the Expansion Pak
// Note: if the Expansion Pak is missing the heap's size will be 0x400
2024-02-03 02:42:49 +01:00
#define DEBUG_HEAP_SIZE 0x600000
2024-01-31 22:48:05 +01:00
/**** [NO CLIP] ****/
2024-02-03 19:06:20 +01:00
// ``IS_NO_CLIP_ENABLED``
2024-02-03 02:42:49 +01:00
#define ENABLE_NO_CLIP true
2024-01-31 22:48:05 +01:00
/**** [INPUT DISPLAY] ****/
2024-02-03 19:06:20 +01:00
// ``CAN_SHOW_INPUT_DISPLAY``
2024-02-03 02:42:49 +01:00
#define SHOW_INPUT_DISPLAY false
2024-01-31 22:48:05 +01:00
/**** [CUTSCENE FEATURES] ****/
2024-02-03 19:06:20 +01:00
// ``CAN_SHOW_CS_INFOS``
2024-02-03 02:42:49 +01:00
#define SHOW_CS_INFOS false
2024-02-03 19:06:20 +01:00
// ``IS_CS_CONTROL_ENABLED``
2024-02-03 02:42:49 +01:00
#define ENABLE_CS_CONTROL false
2024-01-31 22:48:05 +01:00
// Allow skip on the title screen (if using ``ENABLE_CS_CONTROL``)
2024-02-03 19:06:20 +01:00
// ``CS_CAN_SKIP_TITLE_SCREEN``
2024-02-03 02:42:49 +01:00
#define CS_CTRL_SKIP_TITLE_SCREEN false
2024-01-31 22:48:05 +01:00
/**** [TIME INFORMATIONS] ****/
2024-02-03 19:06:20 +01:00
// ``CAN_SHOW_TIME_INFOS``
2024-02-03 02:42:49 +01:00
#define SHOW_TIME_INFOS false
2024-01-31 22:48:05 +01:00
/**** [FRAMERATE OPTIONS] ****/
// TODO: check for frame advance for drawing, improve how it works
2024-02-03 19:06:20 +01:00
// ``ARE_FRAMERATE_OPTIONS_ENABLED``
2024-02-03 02:42:49 +01:00
#define ENABLE_FRAMERATE_OPTIONS false
2024-01-31 22:48:05 +01:00
/**** [MAP SELECT] ****/
2024-02-03 19:06:20 +01:00
// ``IS_MAP_SELECT_ENABLED``
2024-04-20 13:14:27 +02:00
#define ENABLE_MAP_SELECT true
2024-01-31 22:48:05 +01:00
/**** [DEBUG FILE 1] ****/
2024-02-03 19:06:20 +01:00
// ``IS_DEBUG_SAVE_ENABLED``
2024-02-03 02:42:49 +01:00
#define ENABLE_DEBUG_SAVE true
2024-01-31 22:48:05 +01:00
/**** [TEST SCENES] ****/
2024-02-03 19:06:20 +01:00
// ``CAN_INCLUDE_TEST_SCENES``
2024-02-03 02:42:49 +01:00
#define INCLUDE_TEST_SCENES false
2024-01-31 22:48:05 +01:00
// -------------------------------------------
/**
* In-game editors
*/
/**** [INVENTORY EDITOR] ****/
2024-02-03 19:06:20 +01:00
// ``IS_INV_EDITOR_ENABLED``
2024-02-03 17:02:10 +01:00
#define ENABLE_INV_EDITOR false
2024-01-31 22:48:05 +01:00
/**** [EVENT EDITOR] ****/
2024-02-03 19:06:20 +01:00
// ``IS_EVENT_EDITOR_ENABLED``
2024-02-03 17:02:10 +01:00
#define ENABLE_EVENT_EDITOR false
2024-01-31 22:48:05 +01:00
/**** [REGISTERS EDITOR] ****/
2024-02-03 19:06:20 +01:00
// ``IS_REG_EDITOR_ENABLED``
2024-02-03 17:02:10 +01:00
#define ENABLE_REG_EDITOR false
2024-01-31 22:48:05 +01:00
// -------------------------------------------
/**
* In-game debuggers
*/
/**** [CAMERA DEBUGGER] ****/
2024-02-03 19:06:20 +01:00
// ``IS_CAMERA_DEBUG_ENABLED``
2024-01-31 22:48:05 +01:00
// Includes a cutscene debugger/exporter
2024-02-01 00:46:49 +01:00
#define ENABLE_CAMERA_DEBUGGER false
2024-01-31 22:48:05 +01:00
/**** [AUDIO DEBUGGER] ****/
2024-02-03 19:06:20 +01:00
// ``IS_AUDIO_DEBUG_ENABLED``
2024-02-03 17:02:10 +01:00
#define ENABLE_AUDIO_DEBUGGER false
2024-01-31 22:48:05 +01:00
/**** [ACTOR DEBUGGER] ****/
2024-02-03 19:06:20 +01:00
// ``IS_ACTOR_DEBUG_ENABLED``
2024-02-03 17:02:10 +01:00
#define ENABLE_ACTOR_DEBUGGER false
2024-01-31 22:48:05 +01:00
/**** [MESSAGES DEBUGGER] ****/
2024-02-03 19:06:20 +01:00
// ``IS_MSG_DEBUG_ENABLED``
2024-02-03 17:02:10 +01:00
#define ENABLE_MSG_DEBUGGER false
2024-01-31 22:48:05 +01:00
/**** [SPEEDMETER] ****/
2024-02-03 19:06:20 +01:00
// ``IS_SPEEDMETER_ENABLED``
2024-01-31 22:48:05 +01:00
// This looks like a profiler
2024-02-03 17:02:10 +01:00
#define ENABLE_SPEEDMETER false
2024-01-31 22:48:05 +01:00
#endif