diff --git a/src/AnnouncerManager.cpp b/src/AnnouncerManager.cpp index 88ef40dc27..1c815f79eb 100644 --- a/src/AnnouncerManager.cpp +++ b/src/AnnouncerManager.cpp @@ -5,7 +5,7 @@ #include "RageFile.h" #include -AnnouncerManager* ANNOUNCER = NULL; // global object accessable from anywhere in the program +AnnouncerManager* ANNOUNCER = NULL; // global and accessible from anywhere in our program const RString EMPTY_ANNOUNCER_NAME = "Empty"; diff --git a/src/AnnouncerManager.h b/src/AnnouncerManager.h index 8d4e9f05c5..645acbff55 100644 --- a/src/AnnouncerManager.h +++ b/src/AnnouncerManager.h @@ -42,7 +42,7 @@ protected: }; -extern AnnouncerManager* ANNOUNCER; // global and accessable from anywhere in our program +extern AnnouncerManager* ANNOUNCER; // global and accessible from anywhere in our program #endif diff --git a/src/BannerCache.cpp b/src/BannerCache.cpp index da1ae51c17..e17f4579d4 100644 --- a/src/BannerCache.cpp +++ b/src/BannerCache.cpp @@ -47,7 +47,7 @@ static Preference g_bPalettedBannerCache( "PalettedBannerCache", false ); * CacheBanner to avoid doing extra work. */ -BannerCache *BANNERCACHE; +BannerCache *BANNERCACHE; // global and accessible from anywhere in our program static map g_BannerPathToImage; diff --git a/src/BannerCache.h b/src/BannerCache.h index ad3323818b..aa04b6adfc 100644 --- a/src/BannerCache.h +++ b/src/BannerCache.h @@ -31,7 +31,7 @@ private: IniFile BannerData; }; -extern BannerCache *BANNERCACHE; // global and accessable from anywhere in our program +extern BannerCache *BANNERCACHE; // global and accessible from anywhere in our program #endif diff --git a/src/Bookkeeper.cpp b/src/Bookkeeper.cpp index e1137f52f5..39c5846e85 100644 --- a/src/Bookkeeper.cpp +++ b/src/Bookkeeper.cpp @@ -10,7 +10,7 @@ #include "XmlFileUtil.h" #include -Bookkeeper* BOOKKEEPER = NULL; // global and accessable from anywhere in our program +Bookkeeper* BOOKKEEPER = NULL; // global and accessible from anywhere in our program static const RString COINS_DAT = "Save/Coins.xml"; diff --git a/src/Bookkeeper.h b/src/Bookkeeper.h index cddef0b9f6..5b9cc5c0fa 100644 --- a/src/Bookkeeper.h +++ b/src/Bookkeeper.h @@ -61,7 +61,7 @@ private: map m_mapCoinsForHour; }; -extern Bookkeeper* BOOKKEEPER; // global and accessable from anywhere in our program +extern Bookkeeper* BOOKKEEPER; // global and accessible from anywhere in our program #endif diff --git a/src/CharacterManager.cpp b/src/CharacterManager.cpp index 8b70d9139f..03df847012 100644 --- a/src/CharacterManager.cpp +++ b/src/CharacterManager.cpp @@ -7,7 +7,7 @@ #define CHARACTERS_DIR "/Characters/" -CharacterManager* CHARMAN = NULL; // global object accessable from anywhere in the program +CharacterManager* CHARMAN = NULL; // global object accessible from anywhere in the program CharacterManager::CharacterManager() { diff --git a/src/CharacterManager.h b/src/CharacterManager.h index 4a687ee9d3..1f8bfe0567 100644 --- a/src/CharacterManager.h +++ b/src/CharacterManager.h @@ -34,7 +34,7 @@ private: }; -extern CharacterManager* CHARMAN; // global and accessable from anywhere in our program +extern CharacterManager* CHARMAN; // global and accessible from anywhere in our program #endif diff --git a/src/CryptManager.cpp b/src/CryptManager.cpp index 1c2427b7de..2208e986da 100644 --- a/src/CryptManager.cpp +++ b/src/CryptManager.cpp @@ -11,7 +11,7 @@ #include "libtomcrypt/src/headers/tomcrypt.h" -CryptManager* CRYPTMAN = NULL; // global and accessable from anywhere in our program +CryptManager* CRYPTMAN = NULL; // global and accessible from anywhere in our program static const RString PRIVATE_KEY_PATH = "Data/private.rsa"; static const RString PUBLIC_KEY_PATH = "Data/public.rsa"; diff --git a/src/CryptManager.h b/src/CryptManager.h index 64fc747ffb..ee897346d2 100644 --- a/src/CryptManager.h +++ b/src/CryptManager.h @@ -35,7 +35,7 @@ public: void PushSelf( lua_State *L ); }; -extern CryptManager* CRYPTMAN; // global and accessable from anywhere in our program +extern CryptManager* CRYPTMAN; // global and accessible from anywhere in our program #endif diff --git a/src/FontManager.cpp b/src/FontManager.cpp index 42b56ad5ea..a37d9e6685 100644 --- a/src/FontManager.cpp +++ b/src/FontManager.cpp @@ -5,7 +5,7 @@ #include "RageLog.h" #include -FontManager* FONT = NULL; // global and accessable from anywhere in our program +FontManager* FONT = NULL; // global and accessible from anywhere in our program // map from file name to a texture holder typedef pair FontName; diff --git a/src/FontManager.h b/src/FontManager.h index 75655628da..6dbb1a524a 100644 --- a/src/FontManager.h +++ b/src/FontManager.h @@ -18,7 +18,7 @@ public: //void PruneFonts(); }; -extern FontManager* FONT; // global and accessable from anywhere in our program +extern FontManager* FONT; // global and accessible from anywhere in our program #endif diff --git a/src/GameManager.cpp b/src/GameManager.cpp index 56ec3bacf7..68c40e5a76 100644 --- a/src/GameManager.cpp +++ b/src/GameManager.cpp @@ -12,7 +12,7 @@ #include "Style.h" #include "Foreach.h" -GameManager* GAMEMAN = NULL; // global and accessable from anywhere in our program +GameManager* GAMEMAN = NULL; // global and accessible from anywhere in our program enum { diff --git a/src/GameManager.h b/src/GameManager.h index 0f83b043f0..0fe6ff29ae 100644 --- a/src/GameManager.h +++ b/src/GameManager.h @@ -55,7 +55,7 @@ public: void PushSelf( lua_State *L ); }; -extern GameManager* GAMEMAN; // global and accessable from anywhere in our program +extern GameManager* GAMEMAN; // global and accessible from anywhere in our program #endif diff --git a/src/GameState.cpp b/src/GameState.cpp index ec4301f7c2..cf7c2ebd9b 100644 --- a/src/GameState.cpp +++ b/src/GameState.cpp @@ -42,7 +42,7 @@ #include #include -GameState* GAMESTATE = NULL; // global and accessable from anywhere in our program +GameState* GAMESTATE = NULL; // global and accessible from anywhere in our program #define NAME_BLACKLIST_FILE "/Data/NamesBlacklist.txt" diff --git a/src/InputFilter.cpp b/src/InputFilter.cpp index bec28d0dcb..bcf6ae1d0d 100644 --- a/src/InputFilter.cpp +++ b/src/InputFilter.cpp @@ -82,7 +82,7 @@ namespace * this won't cause timing problems, because the event timestamp is preserved. */ static Preference g_fInputDebounceTime( "InputDebounceTime", 0 ); -InputFilter* INPUTFILTER = NULL; // global and accessable from anywhere in our program +InputFilter* INPUTFILTER = NULL; // global and accessible from anywhere in our program static const float TIME_BEFORE_REPEATS = 0.375f; diff --git a/src/InputFilter.h b/src/InputFilter.h index a67d33a906..33a5e45d20 100644 --- a/src/InputFilter.h +++ b/src/InputFilter.h @@ -92,7 +92,7 @@ private: InputFilter& operator=(const InputFilter& rhs); }; -extern InputFilter* INPUTFILTER; // global and accessable from anywhere in our program +extern InputFilter* INPUTFILTER; // global and accessible from anywhere in our program #endif diff --git a/src/InputMapper.cpp b/src/InputMapper.cpp index 1d80e36669..c2bd98106a 100644 --- a/src/InputMapper.cpp +++ b/src/InputMapper.cpp @@ -26,7 +26,7 @@ namespace PlayerNumber g_JoinControllers; }; -InputMapper* INPUTMAPPER = NULL; // global and accessable from anywhere in our program +InputMapper* INPUTMAPPER = NULL; // global and accessible from anywhere in our program InputMapper::InputMapper() { diff --git a/src/InputMapper.h b/src/InputMapper.h index d09f23c53e..430f0a2015 100644 --- a/src/InputMapper.h +++ b/src/InputMapper.h @@ -202,7 +202,7 @@ private: InputMapper& operator=(const InputMapper& rhs); }; -extern InputMapper* INPUTMAPPER; // global and accessable from anywhere in our program +extern InputMapper* INPUTMAPPER; // global and accessible from anywhere in our program #endif diff --git a/src/InputQueue.cpp b/src/InputQueue.cpp index 7811cfc5a9..83dfe46f26 100644 --- a/src/InputQueue.cpp +++ b/src/InputQueue.cpp @@ -6,7 +6,7 @@ #include "Foreach.h" #include "InputMapper.h" -InputQueue* INPUTQUEUE = NULL; // global and accessable from anywhere in our program +InputQueue* INPUTQUEUE = NULL; // global and accessible from anywhere in our program const unsigned MAX_INPUT_QUEUE_LENGTH = 32; diff --git a/src/InputQueue.h b/src/InputQueue.h index cb7498470b..88e24df218 100644 --- a/src/InputQueue.h +++ b/src/InputQueue.h @@ -52,7 +52,7 @@ private: float m_fMaxSecondsBack; }; -extern InputQueue* INPUTQUEUE; // global and accessable from anywhere in our program +extern InputQueue* INPUTQUEUE; // global and accessible from anywhere in our program #endif diff --git a/src/LightsManager.cpp b/src/LightsManager.cpp index e2d2c4083a..84bad22410 100644 --- a/src/LightsManager.cpp +++ b/src/LightsManager.cpp @@ -93,7 +93,7 @@ static void GetUsedGameInputs( vector &vGameInputsOut ) vGameInputsOut.push_back( *gi ); } -LightsManager* LIGHTSMAN = NULL; // global and accessable from anywhere in our program +LightsManager* LIGHTSMAN = NULL; // global and accessible from anywhere in our program LightsManager::LightsManager() { diff --git a/src/LightsManager.h b/src/LightsManager.h index 6dc05c04f7..19a5889fa6 100644 --- a/src/LightsManager.h +++ b/src/LightsManager.h @@ -104,7 +104,7 @@ private: int m_iControllerTestManualCycleCurrent; }; -extern LightsManager* LIGHTSMAN; // global and accessable from anywhere in our program +extern LightsManager* LIGHTSMAN; // global and accessible from anywhere in our program #endif diff --git a/src/MemoryCardManager.cpp b/src/MemoryCardManager.cpp index 6c30e7be0b..079fce2d0b 100644 --- a/src/MemoryCardManager.cpp +++ b/src/MemoryCardManager.cpp @@ -13,7 +13,7 @@ #include "arch/MemoryCard/MemoryCardDriver_Null.h" #include "LuaManager.h" -MemoryCardManager* MEMCARDMAN = NULL; // global and accessable from anywhere in our program +MemoryCardManager* MEMCARDMAN = NULL; // global and accessible from anywhere in our program static void MemoryCardOsMountPointInit( size_t /*PlayerNumber*/ i, RString &sNameOut, RString &defaultValueOut ) { diff --git a/src/MemoryCardManager.h b/src/MemoryCardManager.h index 8a2bb4fe0b..0244907638 100644 --- a/src/MemoryCardManager.h +++ b/src/MemoryCardManager.h @@ -75,7 +75,7 @@ protected: RageSound m_soundDisconnect; }; -extern MemoryCardManager* MEMCARDMAN; // global and accessable from anywhere in our program +extern MemoryCardManager* MEMCARDMAN; // global and accessible from anywhere in our program #endif diff --git a/src/MessageManager.cpp b/src/MessageManager.cpp index 1b08eabff0..6f4ffcda29 100644 --- a/src/MessageManager.cpp +++ b/src/MessageManager.cpp @@ -9,7 +9,7 @@ #include #include -MessageManager* MESSAGEMAN = NULL; // global and accessable from anywhere in our program +MessageManager* MESSAGEMAN = NULL; // global and accessible from anywhere in our program static const char *MessageIDNames[] = { diff --git a/src/MessageManager.h b/src/MessageManager.h index 020868fb4a..a14735cbcb 100644 --- a/src/MessageManager.h +++ b/src/MessageManager.h @@ -193,7 +193,7 @@ public: void PushSelf( lua_State *L ); }; -extern MessageManager* MESSAGEMAN; // global and accessable from anywhere in our program +extern MessageManager* MESSAGEMAN; // global and accessible from anywhere in our program template class BroadcastOnChange diff --git a/src/ModelManager.cpp b/src/ModelManager.cpp index b054fd2811..f587ee4eb5 100644 --- a/src/ModelManager.cpp +++ b/src/ModelManager.cpp @@ -5,7 +5,7 @@ #include "RageLog.h" #include "RageDisplay.h" -ModelManager* MODELMAN = NULL; +ModelManager* MODELMAN = NULL; // global and accessible from anywhere in our program ModelManager::ModelManager() { diff --git a/src/ModelManager.h b/src/ModelManager.h index 67d10aa67b..34eb992049 100644 --- a/src/ModelManager.h +++ b/src/ModelManager.h @@ -52,7 +52,7 @@ protected: ModelManagerPrefs m_Prefs; }; -extern ModelManager* MODELMAN; // global and accessable from anywhere in our program +extern ModelManager* MODELMAN; // global and accessible from anywhere in our program #endif diff --git a/src/NoteSkinManager.cpp b/src/NoteSkinManager.cpp index ec67bbaf4f..4661ca2090 100644 --- a/src/NoteSkinManager.cpp +++ b/src/NoteSkinManager.cpp @@ -18,7 +18,7 @@ #include "SpecialFiles.h" /** @brief Have the NoteSkinManager available throughout the program. */ -NoteSkinManager* NOTESKIN = NULL; +NoteSkinManager* NOTESKIN = NULL; // global and accessible from anywhere in our program const RString GAME_COMMON_NOTESKIN_NAME = "common"; const RString GAME_BASE_NOTESKIN_NAME = "default"; diff --git a/src/NoteSkinManager.h b/src/NoteSkinManager.h index 3917982fb7..c6594e02bc 100644 --- a/src/NoteSkinManager.h +++ b/src/NoteSkinManager.h @@ -54,7 +54,7 @@ protected: GameController m_GameController; }; -extern NoteSkinManager* NOTESKIN; // global and accessable from anywhere in our program +extern NoteSkinManager* NOTESKIN; // global and accessible from anywhere in our program class LockNoteSkin { diff --git a/src/PrefsManager.cpp b/src/PrefsManager.cpp index 053f6964c7..39fd2faeb2 100644 --- a/src/PrefsManager.cpp +++ b/src/PrefsManager.cpp @@ -16,7 +16,7 @@ //STATIC_INI_PATH = "Data/Static.ini"; // overlay on the 2 above, can't be overridden //TYPE_TXT_FILE = "Data/Type.txt"; -PrefsManager* PREFSMAN = NULL; // global and accessable from anywhere in our program +PrefsManager* PREFSMAN = NULL; // global and accessible from anywhere in our program static const char *MusicWheelUsesSectionsNames[] = { "Never", diff --git a/src/PrefsManager.h b/src/PrefsManager.h index f57dff5a0c..142a9d64d4 100644 --- a/src/PrefsManager.h +++ b/src/PrefsManager.h @@ -339,7 +339,7 @@ protected: * pointer anyway). */ extern bool g_bAutoRestart; -extern PrefsManager* PREFSMAN; // global and accessable from anywhere in our program +extern PrefsManager* PREFSMAN; // global and accessible from anywhere in our program #endif diff --git a/src/ProfileManager.cpp b/src/ProfileManager.cpp index ecf59bb9c2..9ef64ecf3a 100644 --- a/src/ProfileManager.cpp +++ b/src/ProfileManager.cpp @@ -25,7 +25,7 @@ #include "CharacterManager.h" -ProfileManager* PROFILEMAN = NULL; // global and accessable from anywhere in our program +ProfileManager* PROFILEMAN = NULL; // global and accessible from anywhere in our program static void DefaultLocalProfileIDInit( size_t /*PlayerNumber*/ i, RString &sNameOut, RString &defaultValueOut ) { diff --git a/src/ProfileManager.h b/src/ProfileManager.h index 6cb5632388..33d9ba43d7 100644 --- a/src/ProfileManager.h +++ b/src/ProfileManager.h @@ -124,7 +124,7 @@ private: Profile *m_pMachineProfile; }; -extern ProfileManager* PROFILEMAN; // global and accessable from anywhere in our program +extern ProfileManager* PROFILEMAN; // global and accessible from anywhere in our program #endif diff --git a/src/RageDisplay.cpp b/src/RageDisplay.cpp index 81a3014829..292d00e35c 100644 --- a/src/RageDisplay.cpp +++ b/src/RageDisplay.cpp @@ -43,7 +43,7 @@ struct Centering static vector g_CenteringStack( 1, Centering(0, 0, 0, 0) ); -RageDisplay* DISPLAY = NULL; +RageDisplay* DISPLAY = NULL; // global and accessible from anywhere in our program Preference LOG_FPS( "LogFPS", true ); Preference g_fFrameLimitPercent( "FrameLimitPercent", 0.0f ); diff --git a/src/RageDisplay.h b/src/RageDisplay.h index 2dc3c79357..8e3e674116 100644 --- a/src/RageDisplay.h +++ b/src/RageDisplay.h @@ -410,7 +410,7 @@ protected: }; -extern RageDisplay* DISPLAY; // global and accessable from anywhere in our program +extern RageDisplay* DISPLAY; // global and accessible from anywhere in our program #endif /* diff --git a/src/RageInput.cpp b/src/RageInput.cpp index e636e12894..c384de4b12 100644 --- a/src/RageInput.cpp +++ b/src/RageInput.cpp @@ -7,7 +7,7 @@ #include "LuaManager.h" #include "LocalizedString.h" -RageInput* INPUTMAN = NULL; // globally accessable input device +RageInput* INPUTMAN = NULL; // global and accessible from anywhere in our program Preference g_sInputDrivers( "InputDrivers", "" ); // "" == DEFAULT_INPUT_DRIVER_LIST diff --git a/src/RageInput.h b/src/RageInput.h index feda3611c6..ff58fc76ce 100644 --- a/src/RageInput.h +++ b/src/RageInput.h @@ -34,7 +34,7 @@ public: extern Preference g_sInputDrivers; -extern RageInput* INPUTMAN; // global and accessable from anywhere in our program +extern RageInput* INPUTMAN; // global and accessible from anywhere in our program #endif diff --git a/src/RageLog.cpp b/src/RageLog.cpp index d3dda497de..12b1d123ee 100644 --- a/src/RageLog.cpp +++ b/src/RageLog.cpp @@ -12,7 +12,7 @@ #endif #include -RageLog* LOG; // global and accessable from anywhere in the program +RageLog* LOG; // global and accessible from anywhere in the program /* * We have a couple log types and a couple logs. diff --git a/src/RageLog.h b/src/RageLog.h index 6201ad7ccb..8e3e262636 100644 --- a/src/RageLog.h +++ b/src/RageLog.h @@ -41,7 +41,7 @@ private: void AddToRecentLogs( const RString &buf ); }; -extern RageLog* LOG; // global and accessable from anywhere in our program +extern RageLog* LOG; // global and accessible from anywhere in our program #endif /* diff --git a/src/RageTextureManager.cpp b/src/RageTextureManager.cpp index 4d6d959513..5e66e33275 100644 --- a/src/RageTextureManager.cpp +++ b/src/RageTextureManager.cpp @@ -29,7 +29,7 @@ #include -RageTextureManager* TEXTUREMAN = NULL; +RageTextureManager* TEXTUREMAN = NULL; // global and accessible from anywhere in our program namespace { diff --git a/src/RageTextureManager.h b/src/RageTextureManager.h index 5654c2d52b..dd41149834 100644 --- a/src/RageTextureManager.h +++ b/src/RageTextureManager.h @@ -93,7 +93,7 @@ private: RageTextureID::TexPolicy m_TexturePolicy; }; -extern RageTextureManager* TEXTUREMAN; // global and accessable from anywhere in our program +extern RageTextureManager* TEXTUREMAN; // global and accessible from anywhere in our program #endif diff --git a/src/ScreenManager.cpp b/src/ScreenManager.cpp index a626ef90a8..9b68e660c0 100644 --- a/src/ScreenManager.cpp +++ b/src/ScreenManager.cpp @@ -32,7 +32,7 @@ * * If a screen is added to the screen stack that isn't in the current screen group * (added to by GroupScreen), the screen group is reset: all prepared screens are - * unloaded and the persistance list is cleared. + * unloaded and the persistence list is cleared. * * Note that not all screens yet support reuse in this way; proper use of BeginScreen * is required. This will misbehave if a screen pushes another screen that's already @@ -73,7 +73,7 @@ #include "Foreach.h" #include "ActorUtil.h" -ScreenManager* SCREENMAN = NULL; // global and accessable from anywhere in our program +ScreenManager* SCREENMAN = NULL; // global and accessible from anywhere in our program static Preference g_bDelayedScreenLoad( "DelayedScreenLoad", false ); //static Preference g_bPruneFonts( "PruneFonts", true ); diff --git a/src/ScreenManager.h b/src/ScreenManager.h index 70d3608b65..d9b98649e6 100644 --- a/src/ScreenManager.h +++ b/src/ScreenManager.h @@ -104,7 +104,7 @@ private: }; -extern ScreenManager* SCREENMAN; // global and accessable from anywhere in our program +extern ScreenManager* SCREENMAN; // global and accessible from anywhere in our program #endif diff --git a/src/SongCacheIndex.cpp b/src/SongCacheIndex.cpp index c6c4740f70..aeb34a2da9 100644 --- a/src/SongCacheIndex.cpp +++ b/src/SongCacheIndex.cpp @@ -27,7 +27,7 @@ #define CACHE_INDEX SpecialFiles::CACHE_DIR + "index.cache" -SongCacheIndex *SONGINDEX; +SongCacheIndex *SONGINDEX; // global and accessible from anywhere in our program RString SongCacheIndex::GetCacheFilePath( const RString &sGroup, const RString &sPath ) { diff --git a/src/SongCacheIndex.h b/src/SongCacheIndex.h index d33361044e..12c9d9e04d 100644 --- a/src/SongCacheIndex.h +++ b/src/SongCacheIndex.h @@ -19,7 +19,7 @@ public: unsigned GetCacheHash( const RString &path ) const; }; -extern SongCacheIndex *SONGINDEX; // global and accessable from anywhere in our program +extern SongCacheIndex *SONGINDEX; // global and accessible from anywhere in our program #endif diff --git a/src/SongManager.cpp b/src/SongManager.cpp index 551f22ee60..20401e5a9a 100644 --- a/src/SongManager.cpp +++ b/src/SongManager.cpp @@ -36,7 +36,7 @@ #include "UnlockManager.h" #include "SpecialFiles.h" -SongManager* SONGMAN = NULL; // global and accessable from anywhere in our program +SongManager* SONGMAN = NULL; // global and accessible from anywhere in our program const RString ADDITIONAL_SONGS_DIR = "/AdditionalSongs/"; const RString ADDITIONAL_COURSES_DIR = "/AdditionalCourses/"; diff --git a/src/SongManager.h b/src/SongManager.h index 0ddb5bd69a..55bed22a24 100644 --- a/src/SongManager.h +++ b/src/SongManager.h @@ -217,7 +217,7 @@ protected: ThemeMetric1D COURSE_GROUP_COLOR; }; -extern SongManager* SONGMAN; // global and accessable from anywhere in our program +extern SongManager* SONGMAN; // global and accessible from anywhere in our program #endif diff --git a/src/StatsManager.cpp b/src/StatsManager.cpp index ade50e7b5a..5357d4066c 100644 --- a/src/StatsManager.cpp +++ b/src/StatsManager.cpp @@ -14,7 +14,7 @@ #include "CryptManager.h" #include "XmlFileUtil.h" -StatsManager* STATSMAN = NULL; // global object accessable from anywhere in the program +StatsManager* STATSMAN = NULL; // global object accessible from anywhere in the program void AddPlayerStatsToProfile( Profile *pProfile, const StageStats &ss, PlayerNumber pn ); XNode* MakeRecentScoreNode( const StageStats &ss, Trail *pTrail, const PlayerStageStats &pss, MultiPlayer mp ); diff --git a/src/StatsManager.h b/src/StatsManager.h index 0b9b812e9b..70bd664efc 100644 --- a/src/StatsManager.h +++ b/src/StatsManager.h @@ -39,7 +39,7 @@ private: StageStats m_AccumPlayedStageStats; }; -extern StatsManager* STATSMAN; // global and accessable from anywhere in our program +extern StatsManager* STATSMAN; // global and accessible from anywhere in our program #endif diff --git a/src/ThemeManager.cpp b/src/ThemeManager.cpp index c9fdfbba48..b65d9b3923 100644 --- a/src/ThemeManager.cpp +++ b/src/ThemeManager.cpp @@ -26,7 +26,7 @@ #include "XmlFileUtil.h" #include -ThemeManager* THEME = NULL; // global object accessable from anywhere in the program +ThemeManager* THEME = NULL; // global object accessible from anywhere in the program static const RString THEME_INFO_INI = "ThemeInfo.ini"; diff --git a/src/ThemeManager.h b/src/ThemeManager.h index 3bb9f3008f..eaa8278ba9 100644 --- a/src/ThemeManager.h +++ b/src/ThemeManager.h @@ -128,7 +128,7 @@ protected: bool m_bPseudoLocalize; }; -extern ThemeManager* THEME; // global and accessable from anywhere in our program +extern ThemeManager* THEME; // global and accessible from anywhere in our program #endif diff --git a/src/UnlockManager.cpp b/src/UnlockManager.cpp index 05623f8a45..cba162190d 100644 --- a/src/UnlockManager.cpp +++ b/src/UnlockManager.cpp @@ -19,7 +19,7 @@ #include "GameManager.h" #include "Style.h" -UnlockManager* UNLOCKMAN = NULL; // global and accessable from anywhere in our program +UnlockManager* UNLOCKMAN = NULL; // global and accessible from anywhere in our program #define UNLOCK_NAMES THEME->GetMetric ("UnlockManager","UnlockNames") #define UNLOCK(x) THEME->GetMetricR("UnlockManager", ssprintf("Unlock%sCommand",x.c_str())); diff --git a/src/UnlockManager.h b/src/UnlockManager.h index 0f11505b3b..940ffa86c5 100644 --- a/src/UnlockManager.h +++ b/src/UnlockManager.h @@ -179,7 +179,7 @@ private: set m_RouletteCodes; // "codes" which are available in roulette and which unlock if rouletted }; -extern UnlockManager* UNLOCKMAN; // global and accessable from anywhere in program +extern UnlockManager* UNLOCKMAN; // global and accessible from anywhere in program #endif diff --git a/src/arch/ArchHooks/ArchHooks.cpp b/src/arch/ArchHooks/ArchHooks.cpp index 514f272cbb..54f1f7910c 100644 --- a/src/arch/ArchHooks/ArchHooks.cpp +++ b/src/arch/ArchHooks/ArchHooks.cpp @@ -9,7 +9,7 @@ bool ArchHooks::g_bQuitting = false; bool ArchHooks::g_bToggleWindowed = false; // Keep from pulling RageThreads.h into ArchHooks.h static RageMutex g_Mutex( "ArchHooks" ); -ArchHooks *HOOKS = NULL; +ArchHooks *HOOKS = NULL; // global and accessible from anywhere in our program ArchHooks::ArchHooks(): m_bHasFocus(true), m_bFocusChanged(false) { diff --git a/src/arch/ArchHooks/ArchHooks.h b/src/arch/ArchHooks/ArchHooks.h index 70473654ef..713a5b718a 100644 --- a/src/arch/ArchHooks/ArchHooks.h +++ b/src/arch/ArchHooks/ArchHooks.h @@ -140,7 +140,7 @@ private: #endif -extern ArchHooks *HOOKS; // global and accessable from anywhere in our program +extern ArchHooks *HOOKS; // global and accessible from anywhere in our program /** * @file