mirror of
https://github.com/MorsGames/sm64plus.git
synced 2025-01-22 07:31:58 -05:00
fix compilation errors on Linux x86_64
This commit is contained in:
parent
6a637bfcb3
commit
af5adc9fbf
4 changed files with 84 additions and 80 deletions
|
@ -3194,6 +3194,9 @@ void update_lakitu(struct Camera *c) {
|
|||
gLakituState.defMode = c->defMode;
|
||||
}
|
||||
|
||||
void manual_cam_modes(struct Camera *c);
|
||||
void mario_cam_modes(struct Camera *c);
|
||||
void lakitu_cam_modes(struct Camera *c);
|
||||
|
||||
/**
|
||||
* The main camera update function.
|
||||
|
|
|
@ -48,7 +48,7 @@ static void audio_sdl_play(const uint8_t *buf, size_t len) {
|
|||
#else
|
||||
uint8_t *mix_buf[len];
|
||||
SDL_memset(mix_buf, 0, len);
|
||||
SDL_MixAudioFormat(mix_buf, buf, AUDIO_S16, len, SDL_MIX_MAXVOLUME * configOverallVolume);
|
||||
SDL_MixAudioFormat((Uint8*)mix_buf, buf, AUDIO_S16, len, SDL_MIX_MAXVOLUME * configOverallVolume);
|
||||
SDL_QueueAudio(dev, mix_buf, len);
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "configfile.h"
|
||||
#include "../game/settings.h"
|
||||
|
@ -31,15 +32,15 @@ struct ConfigOption {
|
|||
|
||||
static const struct ConfigOption options[] = {
|
||||
{ .name = "DISPLAY", .type = CONFIG_TYPE_SECTION },
|
||||
{ .name = "fullscreen", .type = CONFIG_TYPE_BOOL, .boolValue = &configFullscreen },
|
||||
{ .name = "fullscreen", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configFullscreen },
|
||||
{ .name = "default_monitor", .type = CONFIG_TYPE_UINT, .uintValue = &configDefaultMonitor },
|
||||
{ .name = "window_width", .type = CONFIG_TYPE_UINT, .uintValue = &configWindowWidth },
|
||||
{ .name = "window_height", .type = CONFIG_TYPE_UINT, .uintValue = &configWindowHeight },
|
||||
{ .name = "custom_fullscreen_resolution", .type = CONFIG_TYPE_BOOL, .boolValue = &configCustomFullscreenResolution },
|
||||
{ .name = "custom_fullscreen_resolution", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configCustomFullscreenResolution },
|
||||
{ .name = "fullscreen_width", .type = CONFIG_TYPE_UINT, .uintValue = &configFullscreenWidth },
|
||||
{ .name = "fullscreen_height", .type = CONFIG_TYPE_UINT, .uintValue = &configFullscreenHeight },
|
||||
#if defined(_WIN32) || defined(_WIN64)
|
||||
{ .name = "custom_internal_resolution", .type = CONFIG_TYPE_BOOL, .boolValue = &configCustomInternalResolution },
|
||||
{ .name = "custom_internal_resolution", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configCustomInternalResolution },
|
||||
{ .name = "internal_resolution_width", .type = CONFIG_TYPE_UINT, .uintValue = &configInternalResolutionWidth },
|
||||
{ .name = "internal_resolution_height", .type = CONFIG_TYPE_UINT, .uintValue = &configInternalResolutionHeight },
|
||||
#endif
|
||||
|
@ -57,63 +58,63 @@ static const struct ConfigOption options[] = {
|
|||
{ .name = "level_of_detail", .type = CONFIG_TYPE_UINT, .uintValue = &configLevelOfDetail },
|
||||
{ .name = "texture_filtering", .type = CONFIG_TYPE_UINT, .uintValue = &configTextureFiltering },
|
||||
{ .name = "noise_type", .type = CONFIG_TYPE_UINT, .uintValue = &configNoiseType },
|
||||
{ .name = "force_4by3", .type = CONFIG_TYPE_BOOL, .boolValue = &configForce4by3 },
|
||||
{ .name = "force_4by3", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configForce4by3 },
|
||||
|
||||
{ .name = "CONTROLS", .type = CONFIG_TYPE_SECTION },
|
||||
{ .name = "improved_controls", .type = CONFIG_TYPE_BOOL, .boolValue = &configImprovedControls },
|
||||
{ .name = "improved_swimming", .type = CONFIG_TYPE_BOOL, .boolValue = &configImprovedSwimming },
|
||||
{ .name = "improved_hanging", .type = CONFIG_TYPE_BOOL, .boolValue = &configImprovedHanging },
|
||||
{ .name = "enemy_bouncing", .type = CONFIG_TYPE_BOOL, .boolValue = &configEnemyBouncing },
|
||||
{ .name = "dpad_controls", .type = CONFIG_TYPE_BOOL, .boolValue = &configDpadControls },
|
||||
{ .name = "full_air_control", .type = CONFIG_TYPE_BOOL, .boolValue = &configFullAirControl },
|
||||
{ .name = "improved_controls", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configImprovedControls },
|
||||
{ .name = "improved_swimming", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configImprovedSwimming },
|
||||
{ .name = "improved_hanging", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configImprovedHanging },
|
||||
{ .name = "enemy_bouncing", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configEnemyBouncing },
|
||||
{ .name = "dpad_controls", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configDpadControls },
|
||||
{ .name = "full_air_control", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configFullAirControl },
|
||||
|
||||
{ .name = "GAMEPLAY", .type = CONFIG_TYPE_SECTION },
|
||||
{ .name = "apply_bug_fixes", .type = CONFIG_TYPE_UINT, .uintValue = &configApplyBugFixes },
|
||||
{ .name = "save_lives_to_save_file", .type = CONFIG_TYPE_BOOL, .boolValue = &configSaveLives },
|
||||
{ .name = "make_items_respawn", .type = CONFIG_TYPE_BOOL, .boolValue = &configRespawnCertainItems },
|
||||
{ .name = "remove_inconvenient_warps", .type = CONFIG_TYPE_BOOL, .boolValue = &configRemoveAnnoyingWarps },
|
||||
{ .name = "improved_powerups", .type = CONFIG_TYPE_BOOL, .boolValue = &configBetterPowerups },
|
||||
{ .name = "improved_enemies", .type = CONFIG_TYPE_BOOL, .boolValue = &configBetterEnemies },
|
||||
{ .name = "improved_npcs", .type = CONFIG_TYPE_BOOL, .boolValue = &configTalkNPCs },
|
||||
{ .name = "improved_blast_away_the_wall", .type = CONFIG_TYPE_BOOL, .boolValue = &configBetterBlastAwayTheWall },
|
||||
{ .name = "bring_mips_back", .type = CONFIG_TYPE_BOOL, .boolValue = &configBringMipsBack },
|
||||
{ .name = "disable_fall_damage", .type = CONFIG_TYPE_BOOL, .boolValue = &configDisableFallDamage },
|
||||
{ .name = "allow_leaving_the_course_at_any_time", .type = CONFIG_TYPE_BOOL, .boolValue = &configLeaveAnyTime },
|
||||
{ .name = "make_secrets_visible", .type = CONFIG_TYPE_BOOL, .boolValue = &configVisibleSecrets },
|
||||
{ .name = "fix_exploits", .type = CONFIG_TYPE_BOOL, .boolValue = &configFixExploits },
|
||||
{ .name = "save_lives_to_save_file", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configSaveLives },
|
||||
{ .name = "make_items_respawn", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configRespawnCertainItems },
|
||||
{ .name = "remove_inconvenient_warps", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configRemoveAnnoyingWarps },
|
||||
{ .name = "improved_powerups", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configBetterPowerups },
|
||||
{ .name = "improved_enemies", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configBetterEnemies },
|
||||
{ .name = "improved_npcs", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configTalkNPCs },
|
||||
{ .name = "improved_blast_away_the_wall", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configBetterBlastAwayTheWall },
|
||||
{ .name = "bring_mips_back", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configBringMipsBack },
|
||||
{ .name = "disable_fall_damage", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configDisableFallDamage },
|
||||
{ .name = "allow_leaving_the_course_at_any_time", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configLeaveAnyTime },
|
||||
{ .name = "make_secrets_visible", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configVisibleSecrets },
|
||||
{ .name = "fix_exploits", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configFixExploits },
|
||||
|
||||
{ .name = "PROGRESSION", .type = CONFIG_TYPE_SECTION },
|
||||
{ .name = "tie_bowsers_sub_to_missions", .type = CONFIG_TYPE_BOOL, .boolValue = &configBowsersSub },
|
||||
{ .name = "tie_bowsers_sub_to_missions", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configBowsersSub },
|
||||
{ .name = "always_stay_in_course", .type = CONFIG_TYPE_UINT, .uintValue = &configStayInCourse },
|
||||
{ .name = "skip_mission_select", .type = CONFIG_TYPE_BOOL, .boolValue = &configSkipMissionSelect },
|
||||
{ .name = "auto_switch_to_the_next_mission", .type = CONFIG_TYPE_BOOL, .boolValue = &configSwitchToNextMission },
|
||||
{ .name = "skip_cutscenes", .type = CONFIG_TYPE_BOOL, .boolValue = &configSkipCutscenes },
|
||||
{ .name = "skip_mission_select", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configSkipMissionSelect },
|
||||
{ .name = "auto_switch_to_the_next_mission", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configSwitchToNextMission },
|
||||
{ .name = "skip_cutscenes", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configSkipCutscenes },
|
||||
|
||||
{ .name = "CAMERA", .type = CONFIG_TYPE_SECTION },
|
||||
{ .name = "default_camera_mode", .type = CONFIG_TYPE_UINT, .uintValue = &configDefaultCameraMode },
|
||||
{ .name = "alternate_camera_mode", .type = CONFIG_TYPE_UINT, .uintValue = &configAlternateCameraMode },
|
||||
{ .name = "horizontal_analog_camera", .type = CONFIG_TYPE_BOOL, .boolValue = &configImprovedCamera },
|
||||
{ .name = "vertical_analog_camera", .type = CONFIG_TYPE_BOOL, .boolValue = &configVerticalCamera },
|
||||
{ .name = "center_camera_button", .type = CONFIG_TYPE_BOOL, .boolValue = &configCenterCameraButton },
|
||||
{ .name = "invert_horizontal_camera_controls", .type = CONFIG_TYPE_BOOL, .boolValue = &configInvertedCamera },
|
||||
{ .name = "invert_vertical_camera_controls", .type = CONFIG_TYPE_BOOL, .boolValue = &configInvertedVerticalCamera },
|
||||
{ .name = "horizontal_analog_camera", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configImprovedCamera },
|
||||
{ .name = "vertical_analog_camera", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configVerticalCamera },
|
||||
{ .name = "center_camera_button", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configCenterCameraButton },
|
||||
{ .name = "invert_horizontal_camera_controls", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configInvertedCamera },
|
||||
{ .name = "invert_vertical_camera_controls", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configInvertedVerticalCamera },
|
||||
{ .name = "analog_camera_speed", .type = CONFIG_TYPE_FLOAT, .floatValue = &configCameraSpeed },
|
||||
{ .name = "additional_camera_distance", .type = CONFIG_TYPE_FLOAT, .floatValue = &configAdditionalCameraDistance },
|
||||
{ .name = "additional_fov", .type = CONFIG_TYPE_FLOAT, .floatValue = &configAdditionalFOV },
|
||||
|
||||
{ .name = "HUD AND UI", .type = CONFIG_TYPE_SECTION },
|
||||
{ .name = "add_quit_option", .type = CONFIG_TYPE_BOOL, .boolValue = &configQuitOption },
|
||||
{ .name = "add_quit_option", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configQuitOption },
|
||||
{ .name = "hud_layout", .type = CONFIG_TYPE_UINT, .uintValue = &configHudLayout },
|
||||
{ .name = "4by3_hud", .type = CONFIG_TYPE_BOOL, .boolValue = &config4by3Hud },
|
||||
{ .name = "show_the_collected_stars", .type = CONFIG_TYPE_BOOL, .boolValue = &gHudStars },
|
||||
{ .name = "add_zeroes_to_counters", .type = CONFIG_TYPE_BOOL, .boolValue = &configAddZeroes },
|
||||
{ .name = "always_show_the_100_coin_star", .type = CONFIG_TYPE_BOOL, .boolValue = &gShow100CoinStar },
|
||||
{ .name = "always_show_the_health_meter", .type = CONFIG_TYPE_BOOL, .boolValue = &gAlwaysShowHealth },
|
||||
{ .name = "hud_filtering", .type = CONFIG_TYPE_BOOL, .boolValue = &gHUDFiltering },
|
||||
{ .name = "hide_hud", .type = CONFIG_TYPE_BOOL, .boolValue = &gHideHud },
|
||||
{ .name = "4by3_hud", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&config4by3Hud },
|
||||
{ .name = "show_the_collected_stars", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gHudStars },
|
||||
{ .name = "add_zeroes_to_counters", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configAddZeroes },
|
||||
{ .name = "always_show_the_100_coin_star", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gShow100CoinStar },
|
||||
{ .name = "always_show_the_health_meter", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gAlwaysShowHealth },
|
||||
{ .name = "hud_filtering", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gHUDFiltering },
|
||||
{ .name = "hide_hud", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gHideHud },
|
||||
|
||||
{ .name = "MOUSE", .type = CONFIG_TYPE_SECTION },
|
||||
{ .name = "mouse_support", .type = CONFIG_TYPE_BOOL, .boolValue = &gMouseCam },
|
||||
{ .name = "mouse_support", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gMouseCam },
|
||||
{ .name = "mouse_sensitivity", .type = CONFIG_TYPE_FLOAT, .floatValue = &gMouseSensitivity },
|
||||
{ .name = "left_mouse_button_action", .type = CONFIG_TYPE_UINT, .uintValue = &configMouseLeft },
|
||||
{ .name = "right_mouse_button_action", .type = CONFIG_TYPE_UINT, .uintValue = &configMouseRight },
|
||||
|
@ -122,32 +123,32 @@ static const struct ConfigOption options[] = {
|
|||
{ .name = "mouse_wheel_down_action", .type = CONFIG_TYPE_UINT, .uintValue = &configMouseWheelDown },
|
||||
|
||||
{ .name = "EXTRA MOVES", .type = CONFIG_TYPE_SECTION },
|
||||
{ .name = "wall_sliding", .type = CONFIG_TYPE_BOOL, .boolValue = &gWallSliding },
|
||||
{ .name = "ground_pound_jump", .type = CONFIG_TYPE_BOOL, .boolValue = &gGroundPoundJump },
|
||||
{ .name = "sunshine_dive_hop", .type = CONFIG_TYPE_BOOL, .boolValue = &gSunshineDive },
|
||||
{ .name = "odyssey_ground_pound_dive", .type = CONFIG_TYPE_BOOL, .boolValue = &gOdysseyDive },
|
||||
{ .name = "odyssey_rolling", .type = CONFIG_TYPE_BOOL, .boolValue = &configRolling },
|
||||
{ .name = "flashback_ground_pound", .type = CONFIG_TYPE_BOOL, .boolValue = &gFlashbackPound },
|
||||
{ .name = "wall_sliding", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gWallSliding },
|
||||
{ .name = "ground_pound_jump", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gGroundPoundJump },
|
||||
{ .name = "sunshine_dive_hop", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gSunshineDive },
|
||||
{ .name = "odyssey_ground_pound_dive", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gOdysseyDive },
|
||||
{ .name = "odyssey_rolling", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configRolling },
|
||||
{ .name = "flashback_ground_pound", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gFlashbackPound },
|
||||
|
||||
{ .name = "RESTORATIONS", .type = CONFIG_TYPE_SECTION },
|
||||
{ .name = "enable_the_unused_pyramid_cutscene", .type = CONFIG_TYPE_BOOL, .boolValue = &configUnusedPyramidCutscene },
|
||||
{ .name = "restore_unused_sound_effects", .type = CONFIG_TYPE_BOOL, .boolValue = &configRestoreUnusedSounds },
|
||||
{ .name = "restore_mother_penguins_sad_eyes", .type = CONFIG_TYPE_BOOL, .boolValue = &gPenguinSadEyes },
|
||||
{ .name = "replace_triple_jump_with_twirl", .type = CONFIG_TYPE_BOOL, .boolValue = &gTwirlTripleJump },
|
||||
{ .name = "use_beta_like_camera", .type = CONFIG_TYPE_BOOL, .boolValue = &configBetaLikeCamera },
|
||||
{ .name = "make_mario_sparkle_at_course_start", .type = CONFIG_TYPE_BOOL, .boolValue = &gSpawnSparkles },
|
||||
{ .name = "replace_keys_with_stars_when_collected", .type = CONFIG_TYPE_BOOL, .boolValue = &gReplaceKeysWithStars },
|
||||
{ .name = "enable_the_unused_pyramid_cutscene", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configUnusedPyramidCutscene },
|
||||
{ .name = "restore_unused_sound_effects", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configRestoreUnusedSounds },
|
||||
{ .name = "restore_mother_penguins_sad_eyes", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gPenguinSadEyes },
|
||||
{ .name = "replace_triple_jump_with_twirl", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gTwirlTripleJump },
|
||||
{ .name = "use_beta_like_camera", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configBetaLikeCamera },
|
||||
{ .name = "make_mario_sparkle_at_course_start", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gSpawnSparkles },
|
||||
{ .name = "replace_keys_with_stars_when_collected", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gReplaceKeysWithStars },
|
||||
|
||||
{ .name = "BONUS MODES", .type = CONFIG_TYPE_SECTION },
|
||||
{ .name = "infinite_lives_mode", .type = CONFIG_TYPE_UINT, .uintValue = &gLifeMode },
|
||||
{ .name = "encore_mode", .type = CONFIG_TYPE_UINT, .uintValue = &gEncoreMode },
|
||||
{ .name = "green_demon_mode", .type = CONFIG_TYPE_UINT, .uintValue = &gGreenDemon },
|
||||
{ .name = "no_healing_mode", .type = CONFIG_TYPE_BOOL, .boolValue = &gNoHealingMode },
|
||||
{ .name = "hard_mode", .type = CONFIG_TYPE_BOOL, .boolValue = &gHardSave },
|
||||
{ .name = "daredevil_mode", .type = CONFIG_TYPE_BOOL, .boolValue = &gDaredevilSave },
|
||||
{ .name = "permadeath_mode", .type = CONFIG_TYPE_BOOL, .boolValue = &gHardcoreSave },
|
||||
{ .name = "casual_mode", .type = CONFIG_TYPE_BOOL, .boolValue = &gCasualMode },
|
||||
{ .name = "invisible_mode", .type = CONFIG_TYPE_BOOL, .boolValue = &configInvisibleMode },
|
||||
{ .name = "no_healing_mode", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gNoHealingMode },
|
||||
{ .name = "hard_mode", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gHardSave },
|
||||
{ .name = "daredevil_mode", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gDaredevilSave },
|
||||
{ .name = "permadeath_mode", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gHardcoreSave },
|
||||
{ .name = "casual_mode", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gCasualMode },
|
||||
{ .name = "invisible_mode", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configInvisibleMode },
|
||||
|
||||
{ .name = "COLORS", .type = CONFIG_TYPE_SECTION },
|
||||
{ .name = "color_palette", .type = CONFIG_TYPE_UINT, .uintValue = &configColorPalette },
|
||||
|
@ -193,34 +194,34 @@ static const struct ConfigOption options[] = {
|
|||
{ .name = "color_hair_shading_r", .type = CONFIG_TYPE_UINT, .uintValue = &configColorHair[1][0] },
|
||||
{ .name = "color_hair_shading_g", .type = CONFIG_TYPE_UINT, .uintValue = &configColorHair[1][1] },
|
||||
{ .name = "color_hair_shading_b", .type = CONFIG_TYPE_UINT, .uintValue = &configColorHair[1][2] },
|
||||
{ .name = "show_cap_logo", .type = CONFIG_TYPE_BOOL, .boolValue = &configShowCapLogo },
|
||||
{ .name = "show_cap_logo", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configShowCapLogo },
|
||||
|
||||
{ .name = "CHEATS", .type = CONFIG_TYPE_SECTION },
|
||||
{ .name = "level_select", .type = CONFIG_TYPE_BOOL, .boolValue = &gDebugLevelSelect },
|
||||
{ .name = "debug_movement_mode", .type = CONFIG_TYPE_BOOL, .boolValue = &gDebugMovementMode },
|
||||
{ .name = "debug_cap_changer", .type = CONFIG_TYPE_BOOL, .boolValue = &gDebugCapChanger },
|
||||
{ .name = "debug_object_spawner", .type = CONFIG_TYPE_BOOL, .boolValue = &configDebugObjectSpawner },
|
||||
{ .name = "level_select", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gDebugLevelSelect },
|
||||
{ .name = "debug_movement_mode", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gDebugMovementMode },
|
||||
{ .name = "debug_cap_changer", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gDebugCapChanger },
|
||||
{ .name = "debug_object_spawner", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configDebugObjectSpawner },
|
||||
{ .name = "moon_jump", .type = CONFIG_TYPE_UINT, .uintValue = &configMoonJump },
|
||||
{ .name = "easy_bowser_throws", .type = CONFIG_TYPE_BOOL, .boolValue = &configEasyBowserThrows },
|
||||
{ .name = "easy_bowser_throws", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configEasyBowserThrows },
|
||||
{ .name = "blj_everywhere", .type = CONFIG_TYPE_UINT, .uintValue = &configBLJEverywhere },
|
||||
{ .name = "god_mode", .type = CONFIG_TYPE_BOOL, .boolValue = &configGodMode },
|
||||
{ .name = "hyperspeed_mode", .type = CONFIG_TYPE_BOOL, .boolValue = &configHyperspeedMode },
|
||||
{ .name = "no_cannon_limits", .type = CONFIG_TYPE_BOOL, .boolValue = &gFlexibleCannons },
|
||||
{ .name = "god_mode", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configGodMode },
|
||||
{ .name = "hyperspeed_mode", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configHyperspeedMode },
|
||||
{ .name = "no_cannon_limits", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gFlexibleCannons },
|
||||
{ .name = "coins_required_for_the_coin_stars", .type = CONFIG_TYPE_UINT, .uintValue = &configCoinStarCoins },
|
||||
|
||||
{ .name = "FOR FUN", .type = CONFIG_TYPE_SECTION },
|
||||
{ .name = "rock_paper_scissors", .type = CONFIG_TYPE_BOOL, .boolValue = &configRockPaperScissors },
|
||||
{ .name = "mad_penguin", .type = CONFIG_TYPE_BOOL, .boolValue = &configAngryPenguin },
|
||||
{ .name = "paper_mode", .type = CONFIG_TYPE_BOOL, .boolValue = &gPaperMode },
|
||||
{ .name = "fx_mode", .type = CONFIG_TYPE_BOOL, .boolValue = &gFXMode },
|
||||
{ .name = "rock_paper_scissors", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configRockPaperScissors },
|
||||
{ .name = "mad_penguin", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&configAngryPenguin },
|
||||
{ .name = "paper_mode", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gPaperMode },
|
||||
{ .name = "fx_mode", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gFXMode },
|
||||
#if defined(_WIN32) || defined(_WIN64)
|
||||
{ .name = "wireframe_mode", .type = CONFIG_TYPE_BOOL, .boolValue = &gWireframeMode },
|
||||
{ .name = "wireframe_mode", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gWireframeMode },
|
||||
#endif
|
||||
{ .name = "disable_lighting", .type = CONFIG_TYPE_BOOL, .boolValue = &gDisableLighting },
|
||||
{ .name = "disable_lighting", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gDisableLighting },
|
||||
|
||||
{ .name = "ADVANCED", .type = CONFIG_TYPE_SECTION },
|
||||
{ .name = "show_debug_display", .type = CONFIG_TYPE_BOOL, .boolValue = &gShowDebugText },
|
||||
{ .name = "show_debug_profiler", .type = CONFIG_TYPE_BOOL, .boolValue = &gShowProfiler },
|
||||
{ .name = "show_debug_display", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gShowDebugText },
|
||||
{ .name = "show_debug_profiler", .type = CONFIG_TYPE_BOOL, .boolValue = (bool*)&gShowProfiler },
|
||||
{ .name = "fullscreen_refresh_rate", .type = CONFIG_TYPE_UINT, .uintValue = &configFullscreenRefreshRate },
|
||||
{ .name = "custom_camera_distance", .type = CONFIG_TYPE_FLOAT, .floatValue = &configCustomCameraDistance },
|
||||
{ .name = "zoomed_out_custom_camera_distance", .type = CONFIG_TYPE_FLOAT, .floatValue = &configCustomCameraDistanceZoomedOut },
|
||||
|
|
|
@ -32,7 +32,7 @@ SOFTWARE.
|
|||
|
||||
|
||||
#define _CRT_SECURE_NO_WARNINGS
|
||||
#undef __STRICT_ANSI__
|
||||
// #undef __STRICT_ANSI__
|
||||
|
||||
#if defined(__clang__)
|
||||
#if __has_feature(cxx_exceptions)
|
||||
|
|
Loading…
Reference in a new issue