remove extra UnlockSystem from GameState (it didn't belong at the
top, in "main state info", anyway)
This commit is contained in:
@@ -48,7 +48,6 @@ GameState* GAMESTATE = NULL; // global and accessable from anywhere in our progr
|
||||
GameState::GameState()
|
||||
{
|
||||
m_pPosition = NULL;
|
||||
m_pUnlockingSys = new UnlockSystem;
|
||||
|
||||
m_CurGame = GAME_DANCE;
|
||||
m_iCoins = 0;
|
||||
@@ -66,7 +65,6 @@ GameState::GameState()
|
||||
|
||||
GameState::~GameState()
|
||||
{
|
||||
delete m_pUnlockingSys;
|
||||
delete m_pPosition;
|
||||
for( unsigned i=0; i<m_pCharacters.size(); i++ )
|
||||
delete m_pCharacters[i];
|
||||
|
||||
@@ -29,7 +29,6 @@ class GameDef;
|
||||
class StyleDef;
|
||||
class NoteFieldPositioning;
|
||||
class Character;
|
||||
class UnlockSystem;
|
||||
class TimingData;
|
||||
struct StageStats;
|
||||
|
||||
@@ -48,7 +47,6 @@ public:
|
||||
//
|
||||
// Main state info
|
||||
//
|
||||
UnlockSystem *m_pUnlockingSys;
|
||||
Game m_CurGame;
|
||||
Style m_CurStyle;
|
||||
bool m_bSideIsJoined[NUM_PLAYERS]; // left side, right side
|
||||
|
||||
Reference in New Issue
Block a user