sane(r) command signatures (warning: huge commit)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6908 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -5,13 +5,13 @@
|
||||
|
||||
void *scoremenu = NULL;
|
||||
|
||||
void showscores(int on)
|
||||
void showscores(bool on)
|
||||
{
|
||||
if(on) showmenu("score", false);
|
||||
else closemenu("score");
|
||||
}
|
||||
|
||||
COMMAND(showscores, ARG_1INT);
|
||||
COMMANDF(showscores, "i", (int *on) { showscores(*on != 0); });
|
||||
|
||||
struct sline
|
||||
{
|
||||
@@ -543,4 +543,4 @@ void winners()
|
||||
result(winners);
|
||||
}
|
||||
|
||||
COMMAND(winners, ARG_NONE);
|
||||
COMMAND(winners, "");
|
||||
|
||||
Reference in New Issue
Block a user