2024-01-12 17:11:40 +00:00
|
|
|
#ifndef MODS_H
|
|
|
|
#define MODS_H
|
|
|
|
|
2024-08-12 14:58:54 +00:00
|
|
|
|
2024-05-08 18:57:11 +00:00
|
|
|
/**
|
|
|
|
* Quick Boot:
|
|
|
|
* Define this variable to a game state to boot into that
|
2024-08-12 14:58:54 +00:00
|
|
|
* state. Two presets (map and main menu) are provided.
|
2024-05-08 18:57:11 +00:00
|
|
|
* For the full list of game states, see sf64thread.h.
|
2024-08-12 14:58:54 +00:00
|
|
|
*/
|
2024-05-08 18:57:11 +00:00
|
|
|
// #define MODS_BOOT_STATE 3 // main menu
|
|
|
|
// #define MODS_BOOT_STATE 4 // map
|
|
|
|
|
2024-01-12 17:11:40 +00:00
|
|
|
/**
|
|
|
|
* Level Select:
|
2024-05-05 20:48:16 +00:00
|
|
|
* Use the D-Pad to select a level. Press L to start in
|
|
|
|
* an advanced level phase (warp zone or Andross fight).
|
|
|
|
* Useful for debugging and speedrunning training.
|
2024-08-12 14:58:54 +00:00
|
|
|
*/
|
2024-01-12 17:11:40 +00:00
|
|
|
#define MODS_LEVEL_SELECT 0
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sound Effects Jukebox:
|
|
|
|
* Ability to play sound effects inside the expert sound menu
|
2024-05-02 00:57:50 +00:00
|
|
|
* Use L to switch between jukebox and soundtrack
|
|
|
|
* Use D-PAD to move the cursor
|
|
|
|
* Use C buttons to edit values
|
2024-08-12 14:58:54 +00:00
|
|
|
*/
|
2024-01-12 17:11:40 +00:00
|
|
|
#define MODS_SFX_JUKEBOX 0
|
|
|
|
|
2024-05-03 19:56:26 +00:00
|
|
|
/**
|
|
|
|
* Auto debugger:
|
|
|
|
* Crash debugger appears without needing to enter code.
|
2024-08-12 14:58:54 +00:00
|
|
|
*/
|
2024-05-03 19:56:26 +00:00
|
|
|
#define MODS_AUTO_DEBUGGER 0
|
|
|
|
|
2024-04-20 19:18:09 +00:00
|
|
|
/**
|
|
|
|
* FPS Counter:
|
2024-05-25 17:17:03 +00:00
|
|
|
* Hold Z + R and press L to toggle FPS Display
|
2024-08-12 14:58:54 +00:00
|
|
|
*/
|
2024-04-20 19:18:09 +00:00
|
|
|
#define MODS_FPS_COUNTER 0
|
|
|
|
|
2024-05-02 00:57:50 +00:00
|
|
|
/**
|
2024-05-20 14:28:13 +00:00
|
|
|
* RAM modifier:
|
2024-05-25 17:17:03 +00:00
|
|
|
* Hold Z + R and press C> to cycle modes
|
2024-08-12 14:58:54 +00:00
|
|
|
*
|
2024-05-20 14:28:13 +00:00
|
|
|
* Cheats:
|
|
|
|
* Use D-Pad up and down to select a cheat
|
|
|
|
* Use D-Pad left and right to set its value
|
|
|
|
* Press L to set the value or twice to lock it
|
2024-08-12 14:58:54 +00:00
|
|
|
*
|
2024-05-20 14:28:13 +00:00
|
|
|
* Object Ram Editor:
|
2024-05-02 00:57:50 +00:00
|
|
|
* Watch up to seven addresses from the player and object arrays
|
2024-05-20 14:28:13 +00:00
|
|
|
* Use D-Pad to move the cursor and change values
|
2024-05-02 00:57:50 +00:00
|
|
|
* Press L to edit the highlighted value
|
2024-08-12 14:58:54 +00:00
|
|
|
*/
|
2024-05-20 14:28:13 +00:00
|
|
|
#define MODS_RAM_MOD 0
|
2024-04-20 19:18:09 +00:00
|
|
|
|
2024-08-12 14:58:54 +00:00
|
|
|
/**
|
|
|
|
* Spawner:
|
2024-08-15 08:20:30 +00:00
|
|
|
* Spawn Scenery, Actors, Bosses, Sprites, Items, Effects and even Event Actors.
|
2024-08-12 14:58:54 +00:00
|
|
|
*
|
|
|
|
* Controls:
|
|
|
|
* D-Pad left and right to set the object Id.
|
|
|
|
* C-Right to change between spawn modes.
|
|
|
|
* Analog stick sets the spawn position.
|
|
|
|
* L-Trigger to spawn the object.
|
|
|
|
* D-Pad UP to kill all objects.
|
|
|
|
* D-Pad DOWN to freeze/unfreeze the ship speed.
|
|
|
|
* WARNING: Spawning an object that's not loaded in memory will likely result in a crash.
|
|
|
|
*/
|
|
|
|
#define MODS_SPAWNER 0
|
|
|
|
|
2024-01-12 17:11:40 +00:00
|
|
|
/* ************************* */
|
|
|
|
|
|
|
|
#if MODS_LEVEL_SELECT == 1
|
|
|
|
void Map_LevelSelect(void);
|
|
|
|
#endif
|
|
|
|
|
2024-04-20 19:18:09 +00:00
|
|
|
#if MODS_FPS_COUNTER == 1
|
|
|
|
static void Play_RenderFps(void);
|
|
|
|
#endif
|
|
|
|
|
2024-05-20 14:28:13 +00:00
|
|
|
#if MODS_RAM_MOD == 1
|
|
|
|
void RamMod_Update(void);
|
2024-05-02 00:57:50 +00:00
|
|
|
#endif
|
|
|
|
|
2024-08-12 14:58:54 +00:00
|
|
|
#if MODS_SPAWNER == 1
|
|
|
|
void Spawner(void);
|
|
|
|
#endif
|
|
|
|
|
2024-01-12 17:11:40 +00:00
|
|
|
#endif
|