mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 20:59:00 +00:00
* Added kTitleColour = 255 enum constant used in the following item.
* Added proper colouring of the title animation fonts * Added Game::getEscRoom(). svn-id: r43063
This commit is contained in:
parent
c9b24d2ff9
commit
6546c2ed8e
@ -42,7 +42,7 @@ extern const Common::String kFontBig;
|
||||
enum {
|
||||
kFontColour1 = 2, kFontColour2 = 0,
|
||||
kFontColour3 = 3, kFontColour4 = 4,
|
||||
kOverFontColour = 255
|
||||
kOverFontColour = 255, kTitleColour = 255
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -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
|
||||
|
@ -219,6 +219,8 @@ public:
|
||||
|
||||
int getIconStatus(int iconID);
|
||||
|
||||
int getEscRoom();
|
||||
|
||||
int getMarkedAnimationIndex();
|
||||
void setMarkedAnimationIndex(int index);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user