mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-10-31 15:45:06 -04:00
stone of agony folly the interface too.
This commit is contained in:
parent
6457571b47
commit
10a6568e82
@ -10283,8 +10283,16 @@ void func_80848EF8(Player* this, GlobalContext* globalCtx) {
|
|||||||
int rectTop = 60; //Top Y Pos
|
int rectTop = 60; //Top Y Pos
|
||||||
int rectWidth = 24; //Texture Width
|
int rectWidth = 24; //Texture Width
|
||||||
int rectHeight = 24; //Texture Heigh
|
int rectHeight = 24; //Texture Heigh
|
||||||
int DefaultIconA= 50; //Default icon alphe (55 on 255)
|
int DefaultIconA= 50; //Default icon alpha (55 on 255)
|
||||||
|
|
||||||
|
if (CVar_GetS32("gHUDMargins", 0) != 0) {
|
||||||
|
rectLeft = OTRGetRectDimensionFromLeftEdge(26+(CVar_GetS32("gHUDMargin_L", 0)*-1));
|
||||||
|
rectTop = 60+(CVar_GetS32("gHUDMargin_T", 0)*-1);
|
||||||
|
} else {
|
||||||
|
rectTop = 60;
|
||||||
|
rectLeft = OTRGetRectDimensionFromLeftEdge(26);
|
||||||
|
}
|
||||||
|
|
||||||
OPEN_DISPS(globalCtx->state.gfxCtx, "../z_player.c", 2824);
|
OPEN_DISPS(globalCtx->state.gfxCtx, "../z_player.c", 2824);
|
||||||
gDPPipeSync(OVERLAY_DISP++);
|
gDPPipeSync(OVERLAY_DISP++);
|
||||||
gDPSetPrimColor(OVERLAY_DISP++, 0, 0, 255, 255, 255, DefaultIconA);
|
gDPSetPrimColor(OVERLAY_DISP++, 0, 0, 255, 255, 255, DefaultIconA);
|
||||||
|
Loading…
Reference in New Issue
Block a user