2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 07:47:42 +00:00

Display Gamma integration

This commit is contained in:
Jack Andersen
2018-01-21 12:05:25 -10:00
parent cb4fbd6265
commit e949b3419e
9 changed files with 61 additions and 13 deletions

View File

@@ -129,6 +129,8 @@ class CGameOptions
u32 x60_hudAlpha = 0xff;
u32 x64_helmetAlpha = 0xff;
s32 m_gamma = 0;
union
{
struct
@@ -155,6 +157,9 @@ public:
float TuneScreenBrightness();
void SetScreenBrightness(s32, bool);
s32 GetScreenBrightness() const { return x48_screenBrightness; }
void ApplyGamma();
void SetGamma(s32, bool);
s32 GetGamma() const { return m_gamma; }
void SetScreenPositionX(s32, bool);
s32 GetScreenPositionX() const { return x4c_screenXOffset; }
void SetScreenPositionY(s32, bool);