mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-06-04 19:20:53 +00:00
- Fixed: The player setup menu still drew the cursor at the original Y positions.
git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@711 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
parent
cb6cf73607
commit
9f02fbfd2a
1 changed files with 3 additions and 2 deletions
|
@ -235,6 +235,7 @@ static int saveSlot; // which slot to save in
|
||||||
static size_t saveCharIndex; // which char we're editing
|
static size_t saveCharIndex; // which char we're editing
|
||||||
|
|
||||||
static int LINEHEIGHT;
|
static int LINEHEIGHT;
|
||||||
|
static const int PLAYERSETUP_LINEHEIGHT = 16;
|
||||||
|
|
||||||
static char savegamestring[SAVESTRINGSIZE];
|
static char savegamestring[SAVESTRINGSIZE];
|
||||||
static FString EndString;
|
static FString EndString;
|
||||||
|
@ -2142,7 +2143,7 @@ static void M_DrawPlayerSlider (int x, int y, int cur)
|
||||||
|
|
||||||
static void M_PlayerSetupDrawer ()
|
static void M_PlayerSetupDrawer ()
|
||||||
{
|
{
|
||||||
const int LINEHEIGHT = 16;
|
const int LINEHEIGHT = PLAYERSETUP_LINEHEIGHT;
|
||||||
int x, xo, yo;
|
int x, xo, yo;
|
||||||
EColorRange label, value;
|
EColorRange label, value;
|
||||||
DWORD color;
|
DWORD color;
|
||||||
|
@ -3543,7 +3544,7 @@ void M_Drawer ()
|
||||||
if (skullAnimCounter < 6)
|
if (skullAnimCounter < 6)
|
||||||
{
|
{
|
||||||
screen->DrawText (ConFont, CR_RED, x - 16,
|
screen->DrawText (ConFont, CR_RED, x - 16,
|
||||||
currentMenu->y + itemOn*LINEHEIGHT +
|
currentMenu->y + itemOn*PLAYERSETUP_LINEHEIGHT +
|
||||||
(!(gameinfo.gametype & (GAME_DoomStrifeChex)) ? 6 : -1), "\xd",
|
(!(gameinfo.gametype & (GAME_DoomStrifeChex)) ? 6 : -1), "\xd",
|
||||||
DTA_Clean, true, TAG_DONE);
|
DTA_Clean, true, TAG_DONE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue