[Scummvm-cvs-logs] SF.net SVN: scummvm:[43063] scummvm/branches/gsoc2009-draci/engines/draci
dkasak13 at users.sourceforge.net
dkasak13 at users.sourceforge.net
Wed Aug 5 04:35:52 CEST 2009
Revision: 43063
http://scummvm.svn.sourceforge.net/scummvm/?rev=43063&view=rev
Author: dkasak13
Date: 2009-08-05 02:35:51 +0000 (Wed, 05 Aug 2009)
Log Message:
-----------
* Added kTitleColour = 255 enum constant used in the following item.
* Added proper colouring of the title animation fonts
* Added Game::getEscRoom().
Modified Paths:
--------------
scummvm/branches/gsoc2009-draci/engines/draci/font.h
scummvm/branches/gsoc2009-draci/engines/draci/game.cpp
scummvm/branches/gsoc2009-draci/engines/draci/game.h
Modified: scummvm/branches/gsoc2009-draci/engines/draci/font.h
===================================================================
--- scummvm/branches/gsoc2009-draci/engines/draci/font.h 2009-08-05 02:26:51 UTC (rev 43062)
+++ scummvm/branches/gsoc2009-draci/engines/draci/font.h 2009-08-05 02:35:51 UTC (rev 43063)
@@ -42,7 +42,7 @@
enum {
kFontColour1 = 2, kFontColour2 = 0,
kFontColour3 = 3, kFontColour4 = 4,
- kOverFontColour = 255
+ kOverFontColour = 255, kTitleColour = 255
};
/**
Modified: scummvm/branches/gsoc2009-draci/engines/draci/game.cpp
===================================================================
--- scummvm/branches/gsoc2009-draci/engines/draci/game.cpp 2009-08-05 02:26:51 UTC (rev 43062)
+++ scummvm/branches/gsoc2009-draci/engines/draci/game.cpp 2009-08-05 02:35:51 UTC (rev 43063)
@@ -204,7 +204,7 @@
// 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 @@
_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
Modified: scummvm/branches/gsoc2009-draci/engines/draci/game.h
===================================================================
--- scummvm/branches/gsoc2009-draci/engines/draci/game.h 2009-08-05 02:26:51 UTC (rev 43062)
+++ scummvm/branches/gsoc2009-draci/engines/draci/game.h 2009-08-05 02:35:51 UTC (rev 43063)
@@ -219,6 +219,8 @@
int getIconStatus(int iconID);
+ int getEscRoom();
+
int getMarkedAnimationIndex();
void setMarkedAnimationIndex(int index);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list