Merge pull request #2506 from LRFLEW/fixes

Fixed extern and enum name usage
This commit is contained in:
Ted John committed 2015-12-16 20:53:15 +00:00
commit 1a206380f8
11 files changed
+12 -12

No files matched your search

-1
View File
@@ -44,7 +44,6 @@ void *gCrowdSoundChannel = 0;
bool gGameSoundsOff = false;
void *gRainSoundChannel = 0;
rct_ride_music gRideMusicList[AUDIO_MAX_RIDE_MUSIC];
rct_ride_music_info *gRideMusicInfoList[NUM_DEFAULT_MUSIC_TRACKS];
rct_ride_music_params gRideMusicParamsList[AUDIO_MAX_RIDE_MUSIC];
rct_ride_music_params *gRideMusicParamsListEnd;
void *gTitleMusicChannel = 0;
+1
View File
@@ -45,6 +45,7 @@ typedef struct argparse argparse_t;
typedef int (*cmdline_action)(const char **argv, int argc);
int gExitCode = 0;
int sprite_mode;
#ifndef DISABLE_NETWORK
int gNetworkStart = NETWORK_MODE_NONE;
+1 -1
View File
@@ -26,7 +26,7 @@
/** The exit code for OpenRCT2 when it exits. */
extern int gExitCode;
int sprite_mode;
extern int sprite_mode;
extern int gNetworkStart;
extern char gNetworkStartHost[128];
+1 -1
View File
@@ -458,7 +458,7 @@ enum {
WC_STAFF = 220,
WC_EDITOR_TRACK_BOTTOM_TOOLBAR = 221,
WC_EDITOR_SCENARIO_BOTTOM_TOOLBAR = 222,
} WINDOW_CLASS;
};
enum PROMPT_MODE {
PM_SAVE_BEFORE_LOAD = 0,
+1 -1
View File
@@ -502,7 +502,7 @@ enum {
extern const uint8 RCT1ColourConversionTable[32];
const uint8 gRideCategories[0x60];
extern const uint8 gRideCategories[0x60];
bool rct1_read_sc4(const char *path, rct1_s4 *s4);
bool rct1_read_sv4(const char *path, rct1_s4 *s4);
+1 -1
View File
@@ -35,7 +35,7 @@ enum {
TITLE_SCRIPT_SPEED,
TITLE_SCRIPT_LOOP,
TITLE_SCRIPT_ENDLOOP
} TITLE_SCRIPT_COMMANDS;
};
extern sint32 gTitleScriptCommand;
extern uint8 gTitleScriptSave;
+1 -1
View File
@@ -25,7 +25,7 @@
#include "../util/util.h"
#include "../network/network.h"
char _password[33];
static char _password[33];
enum WINDOW_NETWORK_STATUS_WIDGET_IDX {
WIDX_BACKGROUND,
+3 -3
View File
@@ -28,9 +28,9 @@
#include "../util/util.h"
#include "error.h"
char _port[7];
char _name[65];
char _password[33];
static char _port[7];
static char _name[65];
static char _password[33];
enum {
WIDX_BACKGROUND,
+1 -1
View File
@@ -41,7 +41,7 @@ enum{
BANNER_FLAG_NO_ENTRY = (1 << 0),
BANNER_FLAG_1 = (1 << 1),
BANNER_FLAG_2 = (1 << 2)
} BANNER_FLAGS;
};
extern rct_banner *gBanners;
+1 -1
View File
@@ -85,7 +85,7 @@ int climate_celsius_to_fahrenheit(int celsius)
}
// cheats
extern int g_climate_locked;
int g_climate_locked;
extern void toggle_climate_lock();
/**
+1 -1
View File
@@ -54,7 +54,7 @@ typedef struct {
extern const rct_weather climate_weather_data[6];
// cheats
int g_climate_locked;
extern int g_climate_locked;
void toggle_climate_lock();
int climate_celsius_to_fahrenheit(int celsius);