From 2f0b6c7e95817ec5848f2bfae6226a10f7a0ce25 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Wed, 19 Feb 2014 21:01:14 +0100 Subject: VOYEUR: Set private some functions in ThreadResources --- engines/voyeur/files.h | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'engines') 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); -- cgit v1.2.3