mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
cope with q3 data foo!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@463 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
7ac4045675
commit
010cd26fc7
1 changed files with 10 additions and 11 deletions
|
@ -13,8 +13,6 @@ void M_Menu_MultiPlayer_f (void)
|
|||
qpic_t *p;
|
||||
|
||||
p = Draw_SafeCachePic("gfx/mp_menu.lmp");
|
||||
if (!p)
|
||||
return; //go q2.
|
||||
|
||||
key_dest = key_menu;
|
||||
m_state = m_complex;
|
||||
|
@ -22,27 +20,28 @@ void M_Menu_MultiPlayer_f (void)
|
|||
|
||||
menu = M_CreateMenu(0);
|
||||
|
||||
MC_AddPicture(menu, 16, 4, "gfx/qplaque.lmp");
|
||||
MC_AddCenterPicture(menu, 4, "gfx/p_multi.lmp");
|
||||
|
||||
|
||||
MC_AddPicture(menu, 72, 32, "gfx/mp_menu.lmp");
|
||||
if (p)
|
||||
{
|
||||
MC_AddPicture(menu, 16, 4, "gfx/qplaque.lmp");
|
||||
MC_AddCenterPicture(menu, 4, "gfx/p_multi.lmp");
|
||||
MC_AddPicture(menu, 72, 32, "gfx/mp_menu.lmp");
|
||||
}
|
||||
|
||||
b = MC_AddConsoleCommand(menu, 72, 32, "", "menu_slist\n");
|
||||
menu->selecteditem = (menuoption_t*)b;
|
||||
b->common.height = 20;
|
||||
b->common.width = p->width;
|
||||
b->common.width = p?p->width:320;
|
||||
b = MC_AddConsoleCommand(menu, 72, 52, "", "menu_newmulti\n");
|
||||
b->common.height = 20;
|
||||
b->common.width = p->width;
|
||||
b->common.width = p?p->width:320;
|
||||
b = MC_AddConsoleCommand(menu, 72, 72, "", "menu_setup\n");
|
||||
b->common.height = 20;
|
||||
b->common.width = p->width;
|
||||
b->common.width = p?p->width:320;
|
||||
|
||||
b = MC_AddConsoleCommand(menu, 72, 92, "", "menu_demo\n");
|
||||
MC_AddWhiteText(menu, 72, 92+20/2-6, "Demos", false);
|
||||
b->common.height = 20/2+2;
|
||||
b->common.width = p->width;
|
||||
b->common.width = p?p->width:320;
|
||||
|
||||
menu->cursoritem = (menuoption_t*)MC_AddCursor(menu, 54, 32);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue