mirror of https://github.com/AxioDL/metaforce.git
32 lines
717 B
C++
32 lines
717 B
C++
#ifndef __URDE_CGAMESTATE_HPP__
|
|
#define __URDE_CGAMESTATE_HPP__
|
|
|
|
#include <memory>
|
|
#include "CBasics.hpp"
|
|
#include "CPlayerState.hpp"
|
|
#include "CGameOptions.hpp"
|
|
#include "World/CWorldTransManager.hpp"
|
|
|
|
namespace urde
|
|
{
|
|
|
|
class CGameState
|
|
{
|
|
int m_stateFlag = -1;
|
|
CPlayerState m_playerState;
|
|
CWorldTransManager x9c_transManager;
|
|
float m_gameTime = 0.0;
|
|
CGameOptions m_gameOpts;
|
|
double xa0_playTime;
|
|
public:
|
|
CGameState() {}
|
|
CGameState(CBitStreamReader& stream);
|
|
void SetCurrentWorldId(unsigned int id, const std::string& name);
|
|
CWorldTransManager& WorldTransitionManager() {return x9c_transManager;}
|
|
void SetTotalPlayTime(float time);
|
|
};
|
|
|
|
}
|
|
|
|
#endif // __URDE_CGAMESTATE_HPP__
|