aboutsummaryrefslogtreecommitdiff
path: root/saga/script.h
diff options
context:
space:
mode:
authorAndrew Kurushin2004-12-24 10:22:01 +0000
committerAndrew Kurushin2004-12-24 10:22:01 +0000
commit53852dd52de16221829a888a724394d5af390fa9 (patch)
treefcc720c4963b5be10f6c02eb151ee8d39cfc11b5 /saga/script.h
parent426eeb909c02f1d2ac1e9b474736779f83108efc (diff)
downloadscummvm-rg350-53852dd52de16221829a888a724394d5af390fa9.tar.gz
scummvm-rg350-53852dd52de16221829a888a724394d5af390fa9.tar.bz2
scummvm-rg350-53852dd52de16221829a888a724394d5af390fa9.zip
- fix of 8 to 4 direction conversion
- added sfSetActorState function svn-id: r16288
Diffstat (limited to 'saga/script.h')
-rw-r--r--saga/script.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/saga/script.h b/saga/script.h
index 78c42779bf..65dd100ecf 100644
--- a/saga/script.h
+++ b/saga/script.h
@@ -112,6 +112,7 @@ enum CycleFlags {
struct SCRIPT_THREAD {
int flags; // ThreadFlags
int waitType; // ThreadWaitTypes
+ void *threadObj; // which object we're handling
uint sleepTime;
int ep_num; // Entrypoint number
@@ -262,6 +263,7 @@ public:
void SThreadCompleteThread(void);
int SThreadDestroy(SCRIPT_THREAD *thread);
+ void wakeUpActorThread(int waitType, void *threadObj);
void wakeUpThreads(int waitType);
void wakeUpThreadsDelayed(int waitType, int sleepTime);
@@ -310,7 +312,7 @@ private:
int SF_startAnim(SCRIPTFUNC_PARAMS);
int SF_actorWalkToAsync(SCRIPTFUNC_PARAMS);
int SF_enableZone(SCRIPTFUNC_PARAMS);
- int SF_setActorState(SCRIPTFUNC_PARAMS);
+ int sfSetActorState(SCRIPTFUNC_PARAMS);
int scriptMoveTo(SCRIPTFUNC_PARAMS);
int SF_sceneEq(SCRIPTFUNC_PARAMS);
int SF_dropObject(SCRIPTFUNC_PARAMS);