mirror of
https://github.com/glest/glest-source.git
synced 2025-08-11 19:04:00 +02:00
- more cppcheck cleanup, AND some new inernal steam commandline parameters to reset stats and enable debugging
This commit is contained in:
@@ -99,6 +99,8 @@ const char *GAME_ARGS[] = {
|
||||
|
||||
"--create-data-archives",
|
||||
"--steam",
|
||||
"--steam-debug",
|
||||
"--steam-reset-stats",
|
||||
|
||||
"--verbose"
|
||||
|
||||
@@ -184,6 +186,8 @@ enum GAME_ARG_TYPE {
|
||||
|
||||
GAME_ARG_CREATE_DATA_ARCHIVES,
|
||||
GAME_ARG_STEAM,
|
||||
GAME_ARG_STEAM_DEBUG,
|
||||
GAME_ARG_STEAM_RESET_STATS,
|
||||
|
||||
GAME_ARG_VERBOSE_MODE,
|
||||
|
||||
|
@@ -59,7 +59,7 @@ public:
|
||||
// =====================================================
|
||||
// Misc
|
||||
// =====================================================
|
||||
void message(string message,bool isNonGraphicalModeEnabled, string writepath);
|
||||
void message(const string &message,bool isNonGraphicalModeEnabled, const string &writepath);
|
||||
void exceptionMessage(const exception &excp);
|
||||
|
||||
string getCommandLine();
|
||||
|
@@ -238,9 +238,9 @@ bool isKeyPressed(SDL_Keycode compareKey, SDL_KeyboardEvent input, vector<int> m
|
||||
bool isKeyPressed(SDL_Keycode compareKey, SDL_KeyboardEvent input, bool modifiersAllowed=true);
|
||||
|
||||
SDL_Keycode extractKeyPressed(SDL_KeyboardEvent input);
|
||||
bool isAllowedInputTextKey(SDL_Keycode key);
|
||||
//bool isAllowedInputTextKey(SDL_Keycode key);
|
||||
|
||||
wchar_t extractKeyPressedUnicode(SDL_KeyboardEvent input);
|
||||
//wchar_t extractKeyPressedUnicode(SDL_KeyboardEvent input);
|
||||
vector<int> extractKeyPressedUnicodeLength(string text);
|
||||
bool isAllowedInputTextKey(wchar_t &key);
|
||||
|
||||
|
Reference in New Issue
Block a user