2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 19:44:55 +00:00

various implementations

This commit is contained in:
Jack Andersen
2015-08-19 16:52:07 -10:00
parent e1d45fd01c
commit 746eb46026
34 changed files with 643 additions and 23 deletions

View File

@@ -2,20 +2,26 @@
#define __RETRO_CGAMESTATE_HPP__
#include <memory>
#include "CBasics.hpp"
#include "CPlayerState.hpp"
#include "CGameOptions.hpp"
#include "CWorldTransManager.hpp"
namespace Retro
{
class CGameState
{
int m_stateFlag = -1;
TOneStatic<CPlayerState> m_playerState;
CWorldTransManager m_transManager;
float m_gameTime = 0.0;
CGameOptions m_gameOpts;
public:
CGameState()
{
}
CGameState() {}
CGameState(CInputStream& stream);
void SetCurrentWorldId(unsigned int id, const std::string& name);
CWorldTransManager& WorldTransitionManager() {return m_transManager;}
};
}