More-accurate SelStage.cpp variable arrangement

This commit is contained in:
Clownacy 2020-01-07 21:53:21 +00:00
parent 74cd1b0473
commit cef901792b

View file

@ -14,8 +14,8 @@
PERMIT_STAGE gPermitStage[8];
static int gSelectedStage;
static int gStageSelectTitleY;
int gSelectedStage;
int gStageSelectTitleY;
void ClearPermitStage(void)
{
@ -107,6 +107,9 @@ void PutStageSelectObject(void)
{
static unsigned int flash;
int i;
RECT rcStage;
RECT rcView = {0, 0, WINDOW_WIDTH, WINDOW_HEIGHT};
RECT rcCur[2] = {
@ -116,10 +119,8 @@ void PutStageSelectObject(void)
RECT rcTitle1 = {80, 64, 144, 72};
int i;
int stage_num;
int stage_x;
RECT rcStage;
if (gStageSelectTitleY > (WINDOW_HEIGHT / 2) - 74)
--gStageSelectTitleY;