TSAGE: Switched the startup scene from Scene #30 to Scene #1000 (Title Screen)

This commit is contained in:
Paul Gilbert 2011-04-08 23:57:52 +10:00
parent 699a28de60
commit d2843da224
3 changed files with 3 additions and 5 deletions

View File

@ -3365,8 +3365,8 @@ void SceneHandler::postInit(SceneObjectList *OwnerList) {
_globals->_inventory._scanner._sceneNumber = 1;
_globals->_inventory._ring._sceneNumber = 1;
// Currently hardcoded for first game room. Should be scene 1000 for title screen
_globals->_sceneManager.setNewScene(30);
// Switch to the title screen
_globals->_sceneManager.setNewScene(1000);
}
void SceneHandler::process(Event &event) {

View File

@ -253,6 +253,7 @@ void Scene1000::Action3::zoom(bool up) {
void Scene1000::postInit(SceneObjectList *OwnerList) {
Scene::postInit();
setZoomPercents(0, 100, 200, 100);
loadScene(1000);
if (_globals->_sceneManager._previousScene == 2000) {
setZoomPercents(150, 10, 180, 100);
@ -304,8 +305,6 @@ void Scene1000::postInit(SceneObjectList *OwnerList) {
setAction(&_action3);
}
loadScene(1000);
}
/*--------------------------------------------------------------------------

View File

@ -232,7 +232,6 @@ Scene::Scene(): _sceneBounds(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT),
}
Scene::~Scene() {
// TODO: Delete the obj11C object
}
void Scene::synchronise(Serialiser &s) {