mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 04:27:42 +00:00
Update kaubfuda
This commit is contained in:
@@ -6,8 +6,23 @@ namespace urde
|
||||
{
|
||||
|
||||
CGameState::CGameState(CBitStreamReader& stream)
|
||||
: m_stateFlag(stream.readUint32Big()), m_playerState(stream), m_gameTime(stream.readFloatBig())
|
||||
{}
|
||||
{
|
||||
for (u32 i = 0; i < 128; i++)
|
||||
stream.ReadEncoded(8);
|
||||
u32 tmp = stream.ReadEncoded(32);
|
||||
double val1 = *(reinterpret_cast<float*>(&tmp));
|
||||
bool val2 = stream.ReadEncoded(1);
|
||||
stream.ReadEncoded(1);
|
||||
tmp = stream.ReadEncoded(32);
|
||||
double val3 = *(reinterpret_cast<float*>(&tmp));
|
||||
tmp = stream.ReadEncoded(32);
|
||||
double val4 = *(reinterpret_cast<float*>(&tmp));
|
||||
tmp = stream.ReadEncoded(32);
|
||||
double val5 = *(reinterpret_cast<float*>(&tmp));
|
||||
|
||||
CPlayerState tmpPlayer(stream);
|
||||
float currentHealth = tmpPlayer.GetHealthInfo().GetHP();
|
||||
}
|
||||
|
||||
void CGameState::SetCurrentWorldId(unsigned int id, const std::string& name)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user