aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/custom.h
diff options
context:
space:
mode:
authorStrangerke2012-09-07 08:11:33 +0200
committerStrangerke2012-09-07 08:11:33 +0200
commit80b51481b9dc3e70e2e55f16c853d6a1e6711522 (patch)
tree21a62ecd278671ad7c5e0726994499e36847cfce /engines/tony/custom.h
parentab719630ba08d243baae155836d287ec4a1bd57d (diff)
downloadscummvm-rg350-80b51481b9dc3e70e2e55f16c853d6a1e6711522.tar.gz
scummvm-rg350-80b51481b9dc3e70e2e55f16c853d6a1e6711522.tar.bz2
scummvm-rg350-80b51481b9dc3e70e2e55f16c853d6a1e6711522.zip
TONY: Some more cleanup
Diffstat (limited to 'engines/tony/custom.h')
-rw-r--r--engines/tony/custom.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/engines/tony/custom.h b/engines/tony/custom.h
index 289083912e..0f1061e8cd 100644
--- a/engines/tony/custom.h
+++ b/engines/tony/custom.h
@@ -43,8 +43,6 @@ struct MusicFileEntry {
#define INIT_CUSTOM_FUNCTION MapCustomFunctions
-#define DECLARE_CUSTOM_FUNCTION(x) void x
-
#define BEGIN_CUSTOM_FUNCTION_MAP() \
static void AssignError(int num) { \
error("Custom function %u has been already assigned!", num); \
@@ -68,6 +66,17 @@ class RMLocation;
class RMInventory;
class RMInput;
+void charsSaveAll(Common::OutSaveFile *f);
+void charsLoadAll(Common::InSaveFile *f);
+void mCharResetCodes();
+void saveChangedHotspot(Common::OutSaveFile *f);
+void loadChangedHotspot(Common::InSaveFile *f);
+void reapplyChangedHotspot();
+
+void restoreMusic(CORO_PARAM);
+void saveMusic(Common::OutSaveFile *f);
+void loadMusic(Common::InSaveFile *f);
+
void INIT_CUSTOM_FUNCTION(LPCUSTOMFUNCTION *lpMap, Common::String *lpStrMap);
void setupGlobalVars(RMTony *tony, RMPointer *ptr, RMGameBoxes *box, RMLocation *loc, RMInventory *inv, RMInput *input);