aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2003-12-15 20:53:16 +0000
committerMax Horn2003-12-15 20:53:16 +0000
commitc3a9b2df6789055325b7fea6dd591cea1d419682 (patch)
tree1288f54af622f130419b44a8751cba4b8416d8e0 /scumm
parente2f851c8501f4ff8643ca6693cd0e3b103597ccb (diff)
downloadscummvm-rg350-c3a9b2df6789055325b7fea6dd591cea1d419682.tar.gz
scummvm-rg350-c3a9b2df6789055325b7fea6dd591cea1d419682.tar.bz2
scummvm-rg350-c3a9b2df6789055325b7fea6dd591cea1d419682.zip
indention
svn-id: r11663
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v6.cpp90
1 files changed, 45 insertions, 45 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp
index fe914d71e9..9c1e4f86d4 100644
--- a/scumm/script_v6.cpp
+++ b/scumm/script_v6.cpp
@@ -2425,52 +2425,52 @@ void ScummEngine_v6::o6_kernelSetFunctions() {
// FIXME: FT Demo has different Insane
debug(1, "FT_INSANE Mode: %d", insaneMode);
- switch (insaneMode) {
- case 0:
- sp->play("minedriv.san", getGameDataPath());
- break;
- case 1:
- sp->play("tovista2.san", getGameDataPath());
- break;
- case 2:
- sp->play("tovista1.san", getGameDataPath());
- break;
- case 3:
- if (readArray(insaneVarNum,0,50) == 0) {
- InfoDialog info(this, "Set MineRoad - You can now jump the gorge.");
- runDialog(info);
-
- writeArray(insaneVarNum, 0, 50, 1); // INSANE callback: Chain
- writeArray(insaneVarNum, 0, 51, 1); // INSANE callback: Chainsaw
- writeArray(insaneVarNum, 0, 52, 1); // INSANE callback: Mace
- writeArray(insaneVarNum, 0, 53, 1); // INSANE callback: 2x4
- writeArray(insaneVarNum, 0, 54, 1); // INSANE callback: Wrench
- writeArray(insaneVarNum, 0, 55, 1); // INSANE callback: Dust
-
- writeArray(insaneVarNum, 0, 8, 1); // INSANE callback: Give Googles
- writeArray(insaneVarNum, 0, 7, 1); // INSANE callback: Give nitro fuel
-
- putState(235, 1); // Cheat and activate Ramp
- writeVar(142 | 0x8000, 1); // Cheat and activate auto-booster (fan)
- }
+ switch (insaneMode) {
+ case 0:
+ sp->play("minedriv.san", getGameDataPath());
+ break;
+ case 1:
+ sp->play("tovista2.san", getGameDataPath());
+ break;
+ case 2:
+ sp->play("tovista1.san", getGameDataPath());
+ break;
+ case 3:
+ if (readArray(insaneVarNum,0,50) == 0) {
+ InfoDialog info(this, "Set MineRoad - You can now jump the gorge.");
+ runDialog(info);
+
+ writeArray(insaneVarNum, 0, 50, 1); // INSANE callback: Chain
+ writeArray(insaneVarNum, 0, 51, 1); // INSANE callback: Chainsaw
+ writeArray(insaneVarNum, 0, 52, 1); // INSANE callback: Mace
+ writeArray(insaneVarNum, 0, 53, 1); // INSANE callback: 2x4
+ writeArray(insaneVarNum, 0, 54, 1); // INSANE callback: Wrench
+ writeArray(insaneVarNum, 0, 55, 1); // INSANE callback: Dust
+
+ writeArray(insaneVarNum, 0, 8, 1); // INSANE callback: Give Googles
+ writeArray(insaneVarNum, 0, 7, 1); // INSANE callback: Give nitro fuel
+
+ putState(235, 1); // Cheat and activate Ramp
+ writeVar(142 | 0x8000, 1); // Cheat and activate auto-booster (fan)
+ }
// sp->play("minefite.san", getGameDataPath());
- break;
- case 4:
- sp->play("rottopen.san", getGameDataPath());
- break;
- case 5:
- case 6:
- case 7:
- case 8:
- warning("FT_INSANE mode %d: Stub", args[1]);
- break;
- case 9:
- sp->play("credits.san", getGameDataPath());
- break;
- default:
- // Other INSANE modes
- warning("Unknown FT_INSANE mode for %d", args[1]);
- sp->play((char *)getStringAddressVar(VAR_VIDEONAME), getGameDataPath());
+ break;
+ case 4:
+ sp->play("rottopen.san", getGameDataPath());
+ break;
+ case 5:
+ case 6:
+ case 7:
+ case 8:
+ warning("FT_INSANE mode %d: Stub", args[1]);
+ break;
+ case 9:
+ sp->play("credits.san", getGameDataPath());
+ break;
+ default:
+ // Other INSANE modes
+ warning("Unknown FT_INSANE mode for %d", args[1]);
+ sp->play((char *)getStringAddressVar(VAR_VIDEONAME), getGameDataPath());
}
} else {
// Other INSANE modes