Super Mario 64s source code (from a leak on 4chan so be careful)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#ifndef _CONFIG_H_
#define _CONFIG_H_
/**
* @file config.h * A catch-all file for configuring various bugfixes and other settings * (maybe eventually) in SM64 */
// Bug Fixes
// --| Categories
/// Turn on bug fixes for really bad, C standard breaking code. As these bugs
/// have caused compilation issues with modern GCC, these bug fixes are
/// automatically enabled when compiling with GCC
#define BUGFIXES_CRITICAL (0 || __GNUC__)
// --| US Version Nintendo Bug Fixes
/// Fixes bug where obtaining over 999 coins sets the number of lives to 999 (or -25)
#define BUGFIX_MAX_LIVES (0 || VERSION_US)
/// Fixes bug in Bob-Omb Battlefield where entering a warp stops the Koopa race music
#define BUGFIX_KOOPA_RACE_MUSIC (0 || VERSION_US)
// --| Goddard / Mario Head Bug Fixes
/// Goddard left out important and necessary return statements; this puts them back in
#define BUGFIX_GODDARD_MISSING_RETURN (0 || BUGFIXES_CRITICAL)
/// It seems that Goddard only declared, not prototyped some functions. This lead to
/// incorrect promotion of floats to doubles.
#define BUGFIX_GODDARD_BAD_DECLARATIONS (0 || BUGFIXES_CRITICAL)
//Screen Size Defines
#define SCREEN_WIDTH 320
#define SCREEN_HEIGHT 240
//Border Height Define for NTSC Versions
#define BORDER_HEIGHT 8
#endif
|