TITANIC: Implement display of initial copyright screen

I've left it disabled for now, whilst the engine is still being worked on
This commit is contained in:
Paul Gilbert 2016-08-28 19:34:15 -04:00
parent 3196758840
commit 400d8308c2
2 changed files with 13 additions and 13 deletions

View File

@ -49,19 +49,24 @@ CMainGameWindow::CMainGameWindow(TitanicEngine *vm): _vm(vm),
CMainGameWindow::~CMainGameWindow() {
}
bool CMainGameWindow::Create() {
Image image;
image.load("TITANIC");
// TODO: Stuff
return true;
}
void CMainGameWindow::applicationStarting() {
// Set the video mode
CScreenManager *screenManager = CScreenManager::setCurrent();
screenManager->setMode(640, 480, 16, 0, true);
#if 0
// Show the initial copyright & info screen for the game
if (gDebugLevel <= 0) {
Image image;
image.load("Bitmap/TITANIC");
_vm->_screen->blitFrom(image, Point(
SCREEN_WIDTH / 2 - image.w / 2,
SCREEN_HEIGHT / 2 - image.h / 2
));
_vm->_events->sleep(5000);
}
#endif
// Set up the game project, and get game slot
int saveSlot = getSavegameSlot();
if (saveSlot == -2)

View File

@ -103,11 +103,6 @@ public:
virtual void keyDown(Common::KeyState keyState);
virtual void keyUp(Common::KeyState keyState);
/**
* Creates the window
*/
bool Create();
/**
* Called when the application starts
*/