One d3d renderer.
Wonder how much this breaks. Place your bets now. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2501 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
b8b56f03cc
commit
1f9484f93d
68 changed files with 14908 additions and 4365 deletions
|
@ -338,6 +338,55 @@ bindnames_t q2bindnames[] =
|
|||
};
|
||||
#endif
|
||||
|
||||
|
||||
bindnames_t h2bindnames[] =
|
||||
{
|
||||
{"+attack", "attack "},
|
||||
{"impulse 10", "change weapon "},
|
||||
{"+jump", "jump / swim up"},
|
||||
{"+forward", "walk forward "},
|
||||
{"+back", "backpedal "},
|
||||
{"+left", "turn left "},
|
||||
{"+right", "turn right "},
|
||||
{"+speed", "run "},
|
||||
{"+moveleft", "step left "},
|
||||
{"+moveright", "step right "},
|
||||
{"+strafe", "sidestep "},
|
||||
{"+crouch", "crouch "},
|
||||
{"+lookup", "look up "},
|
||||
{"+lookdown", "look down "},
|
||||
{"centerview", "center view "},
|
||||
{"+mlook", "mouse look "},
|
||||
{"+klook", "keyboard look "},
|
||||
{"+moveup", "swim up "},
|
||||
{"+movedown", "swim down "},
|
||||
{"impulse 13", "lift object "},
|
||||
{"invuse", "use inv item "},
|
||||
{"impulse 44", "drop inv item "},
|
||||
{"+showinfo", "full inventory"},
|
||||
{"+showdm", "info / frags "},
|
||||
//{"toggle_dm", "toggle frags "},
|
||||
//{"+infoplaque", "objectives "}, //requires pulling info out of the mod... on the client.
|
||||
{"invleft", "inv move left "},
|
||||
{"invright", "inv move right"},
|
||||
{"impulse 100", "inv:torch "},
|
||||
{"impulse 101", "inv:qrtz flask"},
|
||||
{"impulse 102", "inv:mystic urn"},
|
||||
{"impulse 103", "inv:krater "},
|
||||
{"impulse 104", "inv:chaos devc"},
|
||||
{"impulse 105", "inv:tome power"},
|
||||
{"impulse 106", "inv:summon stn"},
|
||||
{"impulse 107", "inv:invisiblty"},
|
||||
{"impulse 108", "inv:glyph "},
|
||||
{"impulse 109", "inv:boots "},
|
||||
{"impulse 110", "inv:repulsion "},
|
||||
{"impulse 111", "inv:bo peep "},
|
||||
{"impulse 112", "inv:flight "},
|
||||
{"impulse 113", "inv:force cube"},
|
||||
{"impulse 114", "inv:icon defn "},
|
||||
{NULL}
|
||||
};
|
||||
|
||||
bindnames_t *bindnames;
|
||||
int numbindnames;
|
||||
|
||||
|
@ -348,6 +397,7 @@ void M_Menu_Keys_f (void)
|
|||
{
|
||||
int y;
|
||||
menu_t *menu;
|
||||
int mgt;
|
||||
|
||||
key_dest = key_menu;
|
||||
m_state = m_complex;
|
||||
|
@ -356,11 +406,15 @@ void M_Menu_Keys_f (void)
|
|||
|
||||
MC_AddCenterPicture(menu, 4, "gfx/ttl_cstm.lmp");
|
||||
|
||||
mgt = M_GameType();
|
||||
#ifdef Q2CLIENT
|
||||
if (cls.protocol == CP_QUAKE2)
|
||||
if (mgt == MGT_QUAKE2) //quake2 main menu.
|
||||
bindnames = q2bindnames;
|
||||
else
|
||||
#endif
|
||||
if (mgt == MGT_HEXEN2)
|
||||
bindnames = h2bindnames;
|
||||
else
|
||||
bindnames = qwbindnames;
|
||||
|
||||
y = 48;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue