mirror of
https://github.com/alexbatalov/fallout2-ce.git
synced 2024-09-04 13:59:04 +00:00
parent
73d624a46c
commit
ac3f8dacaa
@ -493,9 +493,10 @@ int optionsWindowInit()
|
||||
memcpy(_opbtns[index], gOptionsWindowFrmData[cycle + 1], gOptionsWindowFrmSizes[OPTIONS_WINDOW_FRM_BUTTON_ON].width * gOptionsWindowFrmSizes[OPTIONS_WINDOW_FRM_BUTTON_ON].height);
|
||||
}
|
||||
|
||||
gOptionsWindow = windowCreate(
|
||||
(640 - gOptionsWindowFrmSizes[OPTIONS_WINDOW_FRM_BACKGROUND].width) / 2,
|
||||
(480 - gOptionsWindowFrmSizes[OPTIONS_WINDOW_FRM_BACKGROUND].height) / 2 - 60,
|
||||
int optionsWindowX = (screenGetWidth() - gOptionsWindowFrmSizes[OPTIONS_WINDOW_FRM_BACKGROUND].width) / 2;
|
||||
int optionsWindowY = (screenGetHeight() - gOptionsWindowFrmSizes[OPTIONS_WINDOW_FRM_BACKGROUND].height) / 2 - 60;
|
||||
gOptionsWindow = windowCreate(optionsWindowX,
|
||||
optionsWindowY,
|
||||
gOptionsWindowFrmSizes[0].width,
|
||||
gOptionsWindowFrmSizes[0].height,
|
||||
256,
|
||||
|
Loading…
Reference in New Issue
Block a user