mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 17:03:13 +00:00
SUPERNOVA2: Add room deletion to game manager
This commit is contained in:
parent
5c8171eed6
commit
cb9c28a374
@ -102,6 +102,12 @@ GameManager::GameManager(Supernova2Engine *vm)
|
||||
}
|
||||
|
||||
GameManager::~GameManager() {
|
||||
destroyRooms();
|
||||
}
|
||||
|
||||
void GameManager::destroyRooms() {
|
||||
delete _rooms[INTRO];
|
||||
delete _rooms[AIRPORT];
|
||||
}
|
||||
|
||||
void GameManager::initState() {
|
||||
|
@ -104,6 +104,7 @@ public:
|
||||
|
||||
void initState();
|
||||
void initRooms();
|
||||
void destroyRooms();
|
||||
void getInput();
|
||||
void changeRoom(RoomId id);
|
||||
void wait(int ticks);
|
||||
|
Loading…
x
Reference in New Issue
Block a user