aboutsummaryrefslogtreecommitdiff
path: root/queen/logic.h
diff options
context:
space:
mode:
authorDavid Eriksson2004-01-05 11:58:20 +0000
committerDavid Eriksson2004-01-05 11:58:20 +0000
commitc21e5d797cbcd19a949eed9a94ebee283af90a24 (patch)
tree54ab54fc138cd668b57f206f75e1ce9c810ee205 /queen/logic.h
parent8dabcaaef10227cc87c62a84598df87e814357dc (diff)
downloadscummvm-rg350-c21e5d797cbcd19a949eed9a94ebee283af90a24.tar.gz
scummvm-rg350-c21e5d797cbcd19a949eed9a94ebee283af90a24.tar.bz2
scummvm-rg350-c21e5d797cbcd19a949eed9a94ebee283af90a24.zip
At last - credits!
svn-id: r12155
Diffstat (limited to 'queen/logic.h')
-rw-r--r--queen/logic.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/queen/logic.h b/queen/logic.h
index 6af4a033d5..1ad67b5b40 100644
--- a/queen/logic.h
+++ b/queen/logic.h
@@ -25,6 +25,7 @@
#include "common/util.h"
#include "queen/defs.h"
#include "queen/structs.h"
+#include "queen/resource.h"
namespace Queen {
@@ -53,11 +54,13 @@ struct ZoneSlot {
};
class QueenEngine;
+class Credits;
class Logic {
public:
Logic(QueenEngine *vm);
+ ~Logic();
uint16 currentRoom() const { return _currentRoom; }
void currentRoom(uint16 room) {
@@ -296,6 +299,9 @@ public:
void asmInterviewIntro();
void asmEndInterview();
+ void startCredits(const char *filename);
+ void stopCredits();
+
typedef bool (Logic::*ExecuteSpecialMoveProc)(uint16);
typedef bool (Logic::*PreChangeRoomProc)();
@@ -312,6 +318,8 @@ protected:
void initialise();
+ LineReader *_queen2jas;
+
uint16 _currentRoom;
uint16 _oldRoom;
uint16 _newRoom;
@@ -440,6 +448,7 @@ protected:
PreChangeRoomProc _preChangeRoom;
QueenEngine *_vm;
+ Credits *_credits;
};