mirror of
https://github.com/alexbatalov/fallout2-ce.git
synced 2024-09-04 13:59:04 +00:00
parent
227bd81fda
commit
9d53098427
@ -18,6 +18,9 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#define SKILLDEX_WINDOW_RIGHT_MARGIN 4
|
||||
#define SKILLDEX_WINDOW_BOTTOM_MARGIN 6
|
||||
|
||||
// 0x51D43C
|
||||
bool gSkilldexWindowIsoWasEnabled = false;
|
||||
|
||||
@ -182,8 +185,10 @@ int skilldexWindowInit()
|
||||
return -1;
|
||||
}
|
||||
|
||||
gSkilldexWindow = windowCreate(640 - gSkilldexFrmSizes[SKILLDEX_FRM_BACKGROUND].width - 4,
|
||||
379 - gSkilldexFrmSizes[SKILLDEX_FRM_BACKGROUND].height - 6,
|
||||
int skilldexWindowX = screenGetWidth() - gSkilldexFrmSizes[SKILLDEX_FRM_BACKGROUND].width - SKILLDEX_WINDOW_RIGHT_MARGIN;
|
||||
int skilldexWindowY = screenGetHeight() - 100 - 1 - gSkilldexFrmSizes[SKILLDEX_FRM_BACKGROUND].height - SKILLDEX_WINDOW_BOTTOM_MARGIN;
|
||||
gSkilldexWindow = windowCreate(skilldexWindowX,
|
||||
skilldexWindowY,
|
||||
gSkilldexFrmSizes[SKILLDEX_FRM_BACKGROUND].width,
|
||||
gSkilldexFrmSizes[SKILLDEX_FRM_BACKGROUND].height,
|
||||
256,
|
||||
|
Loading…
Reference in New Issue
Block a user