'showscores' now takes an argument instead of a keypress; hide scores, when minimap is shown
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3890 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -9,7 +9,7 @@ bind MOUSE3 "weapon"
|
||||
bind MOUSE4 "universaldelta 1"
|
||||
bind MOUSE5 "universaldelta -1"
|
||||
bind BACKSPACE [ if $editing [ delent ] [ dropflag ] ]
|
||||
bind TAB "showscores"
|
||||
bind TAB [ showscores 1; onrelease [ showscores 0 ] ]
|
||||
bind CLEAR ""
|
||||
bind RETURN ""
|
||||
bind PAUSE ""
|
||||
@@ -128,7 +128,7 @@ bind LSHIFT "crouch"
|
||||
bind RCTRL "jump"
|
||||
bind LCTRL "jump"
|
||||
bind RALT ""
|
||||
bind LALT "toggleshowmap"
|
||||
bind LALT "showscores 0; toggleshowmap"
|
||||
bind RMETA ""
|
||||
bind LMETA ""
|
||||
bind LSUPER ""
|
||||
|
||||
+1
-1
@@ -399,7 +399,7 @@ extern void votecount(int v);
|
||||
extern void clearvote();
|
||||
|
||||
// scoreboard
|
||||
extern void showscores(bool on);
|
||||
extern void showscores(int on);
|
||||
extern void renderscores(void *menu, bool init);
|
||||
extern const char *asciiscores(bool destjpg = false);
|
||||
extern void consolescores();
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
void *scoremenu = NULL, *teammenu = NULL, *ctfmenu = NULL;
|
||||
|
||||
void showscores(bool on)
|
||||
void showscores(int on)
|
||||
{
|
||||
if(on) showmenu(m_flags ? "ctf score" : (m_teammode ? "team score" : "score"), false);
|
||||
else
|
||||
@@ -16,7 +16,7 @@ void showscores(bool on)
|
||||
}
|
||||
}
|
||||
|
||||
COMMAND(showscores, ARG_DOWN);
|
||||
COMMAND(showscores, ARG_1INT);
|
||||
|
||||
struct sline
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user