aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur
diff options
context:
space:
mode:
Diffstat (limited to 'engines/voyeur')
-rw-r--r--engines/voyeur/files.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/engines/voyeur/files.h b/engines/voyeur/files.h
index 511a7f6fc3..f2fd918aba 100644
--- a/engines/voyeur/files.h
+++ b/engines/voyeur/files.h
@@ -549,14 +549,6 @@ public:
byte _buttonIds[64];
byte *_ctlPtr;
byte *_playCommandsPtr;
-public:
- ThreadResource(BoltFilesState &state, const byte *src);
- virtual ~ThreadResource() {}
-
- /**
- * Initialize the thread
- */
- void initThreadStruct(int idx, int id);
/**
* Loads the specified stack
@@ -569,14 +561,23 @@ public:
void unloadAStack(int stackId);
/**
- * Go to a new state and/or stack
+ * Initializes data for the thread based on the current state
*/
- bool goToState(int stackId, int stateId);
+ bool doState();
+
+public:
+ ThreadResource(BoltFilesState &state, const byte *src);
+ virtual ~ThreadResource() {}
/**
- * Initializes data for the thread based on the current state
+ * Initialize the thread
*/
- bool doState();
+ void initThreadStruct(int idx, int id);
+
+ /**
+ * Go to a new state and/or stack
+ */
+ bool goToState(int stackId, int stateId);
bool chooseSTAMPButton(int buttonId);