[Scummvm-cvs-logs] scummvm master -> 2f0b6c7e95817ec5848f2bfae6226a10f7a0ce25

Strangerke Strangerke at scummvm.org
Wed Feb 19 21:05:04 CET 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
2f0b6c7e95 VOYEUR: Set private some functions in ThreadResources


Commit: 2f0b6c7e95817ec5848f2bfae6226a10f7a0ce25
    https://github.com/scummvm/scummvm/commit/2f0b6c7e95817ec5848f2bfae6226a10f7a0ce25
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-02-19T12:02:22-08:00

Commit Message:
VOYEUR: Set private some functions in ThreadResources

Changed paths:
    engines/voyeur/files.h



diff --git a/engines/voyeur/files.h b/engines/voyeur/files.h
index 511a7f6..f2fd918 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);
 






More information about the Scummvm-git-logs mailing list