2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-16 23:37:04 +00:00

Remove IAllocator, CMemory and CGameAllocator

This commit is contained in:
2016-12-23 22:08:48 -08:00
parent 5e2f2e3af8
commit 777419ad4e
24 changed files with 102 additions and 473 deletions

View File

@@ -17,9 +17,9 @@ struct CTweakGame : ITweakGame
Value<bool> x28_unknown1;
Value<bool> x29_unknown2;
Value<bool> x2a_unknown3;
Value<bool> x2b_unknown4;
Value<float> x2c_cunknown5;
Value<float> x30_unknown6;
Value<bool> x2b_splashScreensDisabled;
Value<float> x2c_unknown5;
Value<float> x30_presStartDelay;
Value<float> x34_unknown7;
Value<float> x38_unknown8;
Value<float> x3c_unknown9;
@@ -31,13 +31,21 @@ struct CTweakGame : ITweakGame
Value<float> x54_unknown15;
Value<float> x58_unknown16;
Value<float> x5c_unknown17;
Value<float> x60_unknown18;
Value<float> x64_hardmodeDamageMult;
Value<float> x68_hardmodeWeaponMult;
Value<float> x60_hardmodeDamageMult;
Value<float> x64_hardmodeWeaponMult;
virtual const std::string& GetWorldPrefix() const { return x4_worldPrefix; }
virtual bool GetSplashScreensDisabled() const { return x2b_splashScreensDisabled; }
virtual float GetFirstPersonFOV() const { return x24_fov; }
CTweakGame(athena::io::IStreamReader& in) { this->read(in); x2b_unknown4 = false; }
virtual float GetPressStartDelay() const { return x30_presStartDelay; }
virtual float GetHardModeDamageMultiplier() const { return x60_hardmodeDamageMult; }
virtual float GetHardModeWeaponMultiplier() const { return x64_hardmodeWeaponMult; }
CTweakGame() = default;
CTweakGame(athena::io::IStreamReader& in)
{
this->read(in);
x2b_splashScreensDisabled = false;
}
};
}
}