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

Basic CGameAllocator implementation (WIP)

This commit is contained in:
2017-09-12 08:27:48 -07:00
parent c0d5cee8b1
commit 001125429f
21 changed files with 363 additions and 59 deletions

View File

@@ -380,6 +380,7 @@ public:
TUniqueId GetSkipCinematicSpecialFunction() const { return xf38_skipCineSpecialFunc; }
void SetSkipCinematicSpecialFunction(TUniqueId id) { xf38_skipCineSpecialFunc = id; }
float GetHUDMessageTime() const { return xf78_hudMessageTime; }
u32 GetHUDMessageFrameCount() const { return xf80_hudMessageFrameCount; }
CAssetId GetPauseHUDMessage() const { return xf08_pauseHudMessage; }
void IncrementHUDMessageFrameCounter() { ++xf80_hudMessageFrameCount; }
bool ShouldQuitGame() const { return xf94_25_quitGame; }
@@ -441,6 +442,12 @@ public:
void SetThermalColdScale2(float s) { xf28_thermColdScale2 = s; }
float IntegrateVisorFog(float f) const;
u32 GetUpdateFrameIndex() const { return x8d8_updateFrameIdx; }
void sub_80043F2C(u32 frameCount, CAssetId msg, float f1)
{
xf84_ = frameCount;
xf88_ = msg;
xf8c_ = f1;
}
static float g_EscapeShakeCountdown;
static bool g_EscapeShakeCountdownInit;