aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2005-09-25 00:08:13 +0000
committerEugene Sandulenko2005-09-25 00:08:13 +0000
commitd795b8a71446e1bbfe1c41521f04f232e28d5c15 (patch)
tree25532f5ae40e62fcd1dbf03d8712ffdc2f465504
parent898ddaf04bec6b1215a0bf6db699e772883b2c2e (diff)
downloadscummvm-rg350-d795b8a71446e1bbfe1c41521f04f232e28d5c15.tar.gz
scummvm-rg350-d795b8a71446e1bbfe1c41521f04f232e28d5c15.tar.bz2
scummvm-rg350-d795b8a71446e1bbfe1c41521f04f232e28d5c15.zip
Give more names to IHNM script functions.
svn-id: r18879
-rw-r--r--saga/script.h16
-rw-r--r--saga/sfuncs.cpp48
2 files changed, 32 insertions, 32 deletions
diff --git a/saga/script.h b/saga/script.h
index e37353c2db..d35fbd7333 100644
--- a/saga/script.h
+++ b/saga/script.h
@@ -563,17 +563,17 @@ private:
void sfSetSpeechBox(SCRIPTFUNC_PARAMS);
void sf74(SCRIPTFUNC_PARAMS);
void sf75(SCRIPTFUNC_PARAMS);
- void sf83(SCRIPTFUNC_PARAMS);
- void sf84(SCRIPTFUNC_PARAMS);
- void sf85(SCRIPTFUNC_PARAMS);
+ void sfScriptStartVideo(SCRIPTFUNC_PARAMS);
+ void sfScriptReturnFromVideo(SCRIPTFUNC_PARAMS);
+ void sfScriptEndVideo(SCRIPTFUNC_PARAMS);
void sf87(SCRIPTFUNC_PARAMS);
void sf88(SCRIPTFUNC_PARAMS);
void sf89(SCRIPTFUNC_PARAMS);
- void sf95(SCRIPTFUNC_PARAMS);
- void sf96(SCRIPTFUNC_PARAMS);
- void sf97(SCRIPTFUNC_PARAMS);
- void sf98(SCRIPTFUNC_PARAMS);
- void sf99(SCRIPTFUNC_PARAMS);
+ void sfGetPoints(SCRIPTFUNC_PARAMS);
+ void sfSetGlobalFlag(SCRIPTFUNC_PARAMS);
+ void sfClearGlobalFlag(SCRIPTFUNC_PARAMS);
+ void sfTestGlobalFlag(SCRIPTFUNC_PARAMS);
+ void sfSetPoints(SCRIPTFUNC_PARAMS);
void sf103(SCRIPTFUNC_PARAMS);
void sf104(SCRIPTFUNC_PARAMS);
diff --git a/saga/sfuncs.cpp b/saga/sfuncs.cpp
index 9c28b90c7b..d969fa5005 100644
--- a/saga/sfuncs.cpp
+++ b/saga/sfuncs.cpp
@@ -218,9 +218,9 @@ static const ScriptFunctionDescription IHNMscriptFunctionsList[IHNM_SCRIPT_FUNCT
OPCODE(sfResetMouseClicks),
OPCODE(sfWaitFrames),
OPCODE(sfScriptFade),
- OPCODE(sf83),
- OPCODE(sf84),
- OPCODE(sf85),
+ OPCODE(sfScriptStartVideo),
+ OPCODE(sfScriptReturnFromVideo),
+ OPCODE(sfScriptEndVideo),
OPCODE(sfSetActorZ),
OPCODE(sf87),
OPCODE(sf88),
@@ -230,11 +230,11 @@ static const ScriptFunctionDescription IHNMscriptFunctionsList[IHNM_SCRIPT_FUNCT
OPCODE(sfNull),
OPCODE(sfDemoIsInteractive),
OPCODE(sfVsetTrack),
- OPCODE(sf95),
- OPCODE(sf96),
- OPCODE(sf97),
- OPCODE(sf98),
- OPCODE(sf99),
+ OPCODE(sfGetPoints),
+ OPCODE(sfSetGlobalFlag),
+ OPCODE(sfClearGlobalFlag),
+ OPCODE(sfTestGlobalFlag),
+ OPCODE(sfSetPoints),
OPCODE(sfSetSpeechBox),
OPCODE(sfDebugShowData),
OPCODE(sfWaitFramesEsc),
@@ -1874,16 +1874,16 @@ void Script::sfScriptFade(SCRIPTFUNC_PARAMS) {
SF_stub("sfScriptFade", thread, nArgs);
}
-void Script::sf83(SCRIPTFUNC_PARAMS) {
- SF_stub("sf83", thread, nArgs);
+void Script::sfScriptStartVideo(SCRIPTFUNC_PARAMS) {
+ SF_stub("sfScriptStartVideo", thread, nArgs);
}
-void Script::sf84(SCRIPTFUNC_PARAMS) {
- SF_stub("sf84", thread, nArgs);
+void Script::sfScriptReturnFromVideo(SCRIPTFUNC_PARAMS) {
+ SF_stub("sfScriptReturnFromVideo", thread, nArgs);
}
-void Script::sf85(SCRIPTFUNC_PARAMS) {
- SF_stub("sf85", thread, nArgs);
+void Script::sfScriptEndVideo(SCRIPTFUNC_PARAMS) {
+ SF_stub("sfScriptEndVideo", thread, nArgs);
}
void Script::sf87(SCRIPTFUNC_PARAMS) {
@@ -1920,24 +1920,24 @@ void Script::sfVsetTrack(SCRIPTFUNC_PARAMS) {
_vm->_scene->changeScene(sceneNumber, actorsEntrance, kTransitionFade, chapter);
}
-void Script::sf95(SCRIPTFUNC_PARAMS) {
- SF_stub("sf95", thread, nArgs);
+void Script::sfGetPoints(SCRIPTFUNC_PARAMS) {
+ SF_stub("sfGetPoints", thread, nArgs);
}
-void Script::sf96(SCRIPTFUNC_PARAMS) {
- SF_stub("sf96", thread, nArgs);
+void Script::sfSetGlobalFlag(SCRIPTFUNC_PARAMS) {
+ SF_stub("sfSetGlobalFlag", thread, nArgs);
}
-void Script::sf97(SCRIPTFUNC_PARAMS) {
- SF_stub("sf97", thread, nArgs);
+void Script::sfClearGlobalFlag(SCRIPTFUNC_PARAMS) {
+ SF_stub("sfClearGlobalFlag", thread, nArgs);
}
-void Script::sf98(SCRIPTFUNC_PARAMS) {
- SF_stub("sf98", thread, nArgs);
+void Script::sfTestGlobalFlag(SCRIPTFUNC_PARAMS) {
+ SF_stub("sfTestGlobalFlag", thread, nArgs);
}
-void Script::sf99(SCRIPTFUNC_PARAMS) {
- SF_stub("sf99", thread, nArgs);
+void Script::sfSetPoints(SCRIPTFUNC_PARAMS) {
+ SF_stub("sfSetPoints", thread, nArgs);
}
void Script::sfSetSpeechBox(SCRIPTFUNC_PARAMS) {