qtv changes allow you to spectate annother spectator. FTE changes fix independant physics stuff a bit, and fix AVI recording a little also.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2440 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
b444ca99ac
commit
acf93f1548
24 changed files with 537 additions and 220 deletions
|
@ -15,10 +15,12 @@ qboolean M_Script_Key (int key, menu_t *menu)
|
|||
{
|
||||
if (menu->selecteditem && menu->selecteditem->common.type == mt_edit)
|
||||
return false;
|
||||
if (key >= '0' && key <= '9')
|
||||
if (key >= '0' && key <= '9' && *menualias.string)
|
||||
{
|
||||
if (key == '0') //specal case so that "hello" < "0"... (plus matches impulses)
|
||||
Cbuf_AddText(va("set option %i\n%s\n", key-'0'+1, menualias.string), RESTRICT_LOCAL);
|
||||
if (key == '0') //specal case so that "hello" < "0"... (plus matches common impulses)
|
||||
Cbuf_AddText(va("set option %i\n%s\n", 10, menualias.string), RESTRICT_LOCAL);
|
||||
else
|
||||
Cbuf_AddText(va("set option %i\n%s\n", key-'0', menualias.string), RESTRICT_LOCAL);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
@ -150,7 +152,10 @@ void M_MenuS_Picture_f (void)
|
|||
return;
|
||||
}
|
||||
|
||||
MC_AddPicture(menu_script, x, y, picname);
|
||||
if (!strcmp(Cmd_Argv(1), "-"))
|
||||
MC_AddCenterPicture(menu_script, y, picname);
|
||||
else
|
||||
MC_AddPicture(menu_script, x, y, picname);
|
||||
}
|
||||
|
||||
void M_MenuS_Edit_f (void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue