- more cppcheck cleanup, AND some new inernal steam commandline parameters to reset stats and enable debugging

This commit is contained in:
SoftCoder
2017-10-09 23:09:52 -07:00
parent 865a665bf0
commit 588ec21d8a
43 changed files with 489 additions and 469 deletions

View File

@@ -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,

View File

@@ -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();

View File

@@ -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);