sm64coopdx/include/config.h

35 lines
1.4 KiB
C
Raw Normal View History

2019-10-05 19:08:05 +00:00
#ifndef CONFIG_H
2019-10-05 19:08:05 +00:00
#define CONFIG_H
2019-08-25 04:46:40 +00:00
/**
* @file config.h
* A catch-all file for configuring various bugfixes and other settings
* (maybe eventually) in SM64
*/
// Bug Fixes
// --| US Version Nintendo Bug Fixes
/// Fixes bug where obtaining over 999 coins sets the number of lives to 999 (or -25)
2020-04-03 18:57:26 +00:00
#define BUGFIX_MAX_LIVES (0 || VERSION_US || VERSION_EU || VERSION_SH)
2019-11-03 19:36:27 +00:00
/// Fixes bug where the Boss music won't fade out after defeating King Bob-omb
2019-10-05 19:08:05 +00:00
#define BUGFIX_KING_BOB_OMB_FADE_MUSIC (0 || VERSION_US || VERSION_EU)
2019-08-25 04:46:40 +00:00
/// Fixes bug in Bob-Omb Battlefield where entering a warp stops the Koopa race music
2020-04-03 18:57:26 +00:00
#define BUGFIX_KOOPA_RACE_MUSIC (0 || VERSION_US || VERSION_EU || VERSION_SH)
2019-08-25 04:46:40 +00:00
/// Fixes bug where Piranha Plants do not reset their action state when the
/// player exits their activation radius.
2020-04-03 18:57:26 +00:00
#define BUGFIX_PIRANHA_PLANT_STATE_RESET (0 || VERSION_US || VERSION_EU || VERSION_SH)
2019-08-25 04:46:40 +00:00
/// Fixes bug where sleeping Piranha Plants damage players that bump into them
2020-04-03 18:57:26 +00:00
#define BUGFIX_PIRANHA_PLANT_SLEEP_DAMAGE (0 || VERSION_US || VERSION_SH)
2019-08-25 04:46:40 +00:00
/// Fixes bug where it shows a star when you grab a key in bowser battle stages
#define BUGFIX_STAR_BOWSER_KEY (0 || VERSION_US || VERSION_EU)
2019-10-05 19:08:05 +00:00
// Screen Size Defines
2019-08-25 04:46:40 +00:00
#define SCREEN_WIDTH 320
#define SCREEN_HEIGHT 240
// What's the point of having a border if we're not an N64?
#define BORDER_HEIGHT 0 // Never use a border as not-N64
2019-08-25 04:46:40 +00:00
#endif