mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
Finetuning of previous commit
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@732 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
4b342f6dc2
commit
31b8bda9bd
2 changed files with 13 additions and 13 deletions
|
@ -104,11 +104,11 @@ byte pic_up_data[8][8] =
|
|||
{
|
||||
{255,255,255,255,255,255,255,255},
|
||||
{255,255,255,255,255,255,255,255},
|
||||
{255,255, 5, 4, 2,255,255,255},
|
||||
{255, 3, 6, 4, 2, 1,255,255},
|
||||
{255, 6, 5, 4, 3, 2,255,255},
|
||||
{ 3, 6, 4, 4, 4, 2, 1,255},
|
||||
{ 6, 5, 4, 4, 4, 3, 2,255},
|
||||
{255,255,255, 7,255,255,255,255},
|
||||
{255,255, 8, 8, 6,255,255,255},
|
||||
{255, 8, 8, 2, 6, 6,255,255},
|
||||
{ 8, 8, 2, 2,255, 8, 9,255},
|
||||
{255, 2, 2,255,255,255, 2, 2},
|
||||
{255,255,255,255,255,255,255,255},
|
||||
};
|
||||
|
||||
|
@ -116,12 +116,12 @@ byte pic_down_data[8][8] =
|
|||
{
|
||||
{255,255,255,255,255,255,255,255},
|
||||
{255,255,255,255,255,255,255,255},
|
||||
{ 6, 5, 4, 4, 4, 3, 2,255},
|
||||
{ 3, 6, 4, 4, 4, 2, 1,255},
|
||||
{255, 6, 5, 4, 3, 2,255,255},
|
||||
{255, 3, 6, 4, 2, 1,255,255},
|
||||
{255,255, 5, 4, 2,255,255,255},
|
||||
{255,255,255,255,255,255,255,255},
|
||||
{ 8, 8,255,255,255, 8, 9,255},
|
||||
{255, 8, 8,255, 6, 6, 2, 2},
|
||||
{255,255, 8, 8, 6, 2, 2,255},
|
||||
{255,255,255, 7, 2, 2,255,255},
|
||||
{255,255,255,255, 2,255,255,255},
|
||||
};
|
||||
//QuakeSpasm
|
||||
|
||||
|
|
|
@ -1282,7 +1282,7 @@ const char *bindnames[][2] =
|
|||
|
||||
#define NUMCOMMANDS (sizeof(bindnames)/sizeof(bindnames[0]))
|
||||
|
||||
#define KEYS_SIZE 15
|
||||
#define KEYS_SIZE 18
|
||||
|
||||
static int keys_cursor;
|
||||
qboolean m_keys_bind_grab;
|
||||
|
@ -1359,9 +1359,9 @@ void M_Keys_Draw (void)
|
|||
M_Print (18, 32, "Enter to change, backspace to clear");
|
||||
|
||||
if (keys_top)
|
||||
Draw_Pic (6, 48, pic_up);
|
||||
M_DrawTransPic (6, 48, pic_up);
|
||||
if (keys_top + KEYS_SIZE < (int)NUMCOMMANDS)
|
||||
Draw_Pic (6, 48 + ((KEYS_SIZE-1)*8), pic_down);
|
||||
M_DrawTransPic (6, 48 + ((KEYS_SIZE-1)*8), pic_down);
|
||||
|
||||
// search for known bindings
|
||||
for (i = 0; i < KEYS_SIZE; i++)
|
||||
|
|
Loading…
Reference in a new issue