getmodeacr replaced with hardcoded getmode

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6498 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Bukz
2011-06-04 18:52:06 +00:00
parent 9c9e7dc361
commit f6848c2f84
4 changed files with 19 additions and 11 deletions
+3
View File
@@ -1490,6 +1490,8 @@ void strpos_(char *haystack, char *needle, char *occurence)
void l0(int p, int v) { string f; string r; formatstring(f)("%%0%dd", p); formatstring(r)(f, v); result(r); }
void getmode(int acr = 0) { result(modestr(gamemode, acr ? true : false)); }
COMMANDN(millis, millis_, ARG_IVAL);
COMMANDN(strlen, strlen_, ARG_1STR);
COMMANDN(substr, substr_, ARG_3STR);
@@ -1499,6 +1501,7 @@ COMMAND(systime, ARG_NONE);
COMMANDN(timestamp, timestamp_, ARG_NONE);
COMMAND(datestring, ARG_NONE);
COMMANDN(timestring, timestring_, ARG_NONE);
COMMAND(getmode, ARG_1INT);
const char *currentserver(int i, bool internal) // = false) [client version]
{