git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6365 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Bukz
2011-04-27 11:21:44 +00:00
parent 4e9be4519d
commit 8cba55667e
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
bind MOUSE1 "attack"
bind MOUSE2 [ if $old_editbinds [ if $editing [ showmenu editing ] [ altaction ] ] [ if (&& (alive) (! $editing)) [ altaction ] [ slowtoggle $flystyle ] ] ]
bind MOUSE3 "weapon"
bind MOUSE3 [ if $editing [ showmenu editing ] [ weapon ] ]
bind MOUSE4 "universaldelta 1"
bind MOUSE5 "universaldelta -1"
bind BACKSPACE [ if $editing [ delent ] [ dropflag ] ]
+2
View File
@@ -248,6 +248,7 @@ ICOMMANDF(skin_rvsf, ARG_1EST, (char *s) { return _setskin(s, TEAM_RVSF); });
ICOMMANDF(skin, ARG_1EST, (char *s) { return _setskin(s, player1->team); });
int curteam() { return player1->team; }
int isSpect() { return (player1->team==TEAM_SPECT || player1->spectatemode==SM_FLY); }
int currole() { return player1->clientrole; }
int curmode() { return gamemode; }
int curmastermode() { return servstate.mastermode; }
@@ -266,6 +267,7 @@ COMMANDN(team, newteam, ARG_1STR);
COMMANDN(name, newname, ARG_1STR);
COMMAND(benchme, ARG_NONE);
COMMAND(curteam, ARG_IVAL);
COMMAND(isSpect, ARG_IVAL);
COMMAND(currole, ARG_IVAL);
COMMAND(curmode, ARG_IVAL);
COMMAND(curmastermode, ARG_IVAL);