aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/game.cpp
diff options
context:
space:
mode:
authorDenis Kasak2009-08-05 02:35:51 +0000
committerDenis Kasak2009-08-05 02:35:51 +0000
commit6546c2ed8eb30201f0af68639cb5e37f65620741 (patch)
tree75d0301f30a94aac95f41e0370823a0f62a414cd /engines/draci/game.cpp
parentc9b24d2ff9f27a5926ea0dd992a85923dd1616f8 (diff)
downloadscummvm-rg350-6546c2ed8eb30201f0af68639cb5e37f65620741.tar.gz
scummvm-rg350-6546c2ed8eb30201f0af68639cb5e37f65620741.tar.bz2
scummvm-rg350-6546c2ed8eb30201f0af68639cb5e37f65620741.zip
* Added kTitleColour = 255 enum constant used in the following item.
* Added proper colouring of the title animation fonts * Added Game::getEscRoom(). svn-id: r43063
Diffstat (limited to 'engines/draci/game.cpp')
-rw-r--r--engines/draci/game.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/draci/game.cpp b/engines/draci/game.cpp
index 8fce400c9d..e9714d6124 100644
--- a/engines/draci/game.cpp
+++ b/engines/draci/game.cpp
@@ -204,7 +204,7 @@ void Game::init() {
// Initialize animation for object / room titles
Animation *titleAnim = _vm->_anims->addText(kTitleText, true);
- Text *title = new Text("", _vm->_smallFont, kFontColour3, 0, 0);
+ Text *title = new Text("", _vm->_smallFont, kTitleColour, 0, 0);
titleAnim->addFrame(title);
// Initialize animation for speech text
@@ -775,6 +775,10 @@ void Game::setSpeechTick(uint tick) {
_speechTick = tick;
}
+int Game::getEscRoom() {
+ return _currentRoom._escRoom;
+}
+
/**
* The GPL command Mark sets the animation index (which specifies the order in which
* animations were loaded in) which is then used by the Release command to delete