aboutsummaryrefslogtreecommitdiff
path: root/engines/bbvs
diff options
context:
space:
mode:
authorjohndoe1232014-02-15 23:39:05 +0100
committerjohndoe1232014-02-15 23:39:05 +0100
commit86b5192d1b271033afa213891dbafa9ec5d60b3c (patch)
tree3704bc51e9f54e5f259eba77893a22bcf1ed0005 /engines/bbvs
parent62e7b4bbba3c56aa037e586a698268cc3708e3bb (diff)
downloadscummvm-rg350-86b5192d1b271033afa213891dbafa9ec5d60b3c.tar.gz
scummvm-rg350-86b5192d1b271033afa213891dbafa9ec5d60b3c.tar.bz2
scummvm-rg350-86b5192d1b271033afa213891dbafa9ec5d60b3c.zip
BBVS: Use spaces instead of tabs for formatting
Diffstat (limited to 'engines/bbvs')
-rw-r--r--engines/bbvs/bbvs.cpp2
-rw-r--r--engines/bbvs/bbvs.h120
-rw-r--r--engines/bbvs/dialogs.h6
-rw-r--r--engines/bbvs/minigames/bbtennis.h8
-rw-r--r--engines/bbvs/minigames/minigame.h8
5 files changed, 72 insertions, 72 deletions
diff --git a/engines/bbvs/bbvs.cpp b/engines/bbvs/bbvs.cpp
index 5775835df9..6b261be451 100644
--- a/engines/bbvs/bbvs.cpp
+++ b/engines/bbvs/bbvs.cpp
@@ -99,7 +99,7 @@ static const int kAfterVideoSceneNum[] = {
};
const int kMainMenu = 44;
-const int kCredits = 45;
+const int kCredits = 45;
bool WalkArea::contains(const Common::Point &pt) const {
return Common::Rect(x, y, x + width, y + height).contains(pt);
diff --git a/engines/bbvs/bbvs.h b/engines/bbvs/bbvs.h
index a896e9db4a..8bfe6481c6 100644
--- a/engines/bbvs/bbvs.h
+++ b/engines/bbvs/bbvs.h
@@ -63,84 +63,84 @@ class SoundMan;
#define BBVS_SAVEGAME_VERSION 0
enum {
- kVerbLook = 0,
- kVerbUse = 1,
- kVerbTalk = 2,
- kVerbWalk = 3,
- kVerbInvItem = 4,
- kVerbShowInv = 5
+ kVerbLook = 0,
+ kVerbUse = 1,
+ kVerbTalk = 2,
+ kVerbWalk = 3,
+ kVerbInvItem = 4,
+ kVerbShowInv = 5
};
enum {
- kITNone = 0,
- kITEmpty = 1,
- KITSceneObject = 2,
- kITBgObject = 3,
- kITDialog = 4,
- kITScroll = 5,
- kITSceneExit = 6,
- kITInvItem = 7
+ kITNone = 0,
+ kITEmpty = 1,
+ KITSceneObject = 2,
+ kITBgObject = 3,
+ kITDialog = 4,
+ kITScroll = 5,
+ kITSceneExit = 6,
+ kITInvItem = 7
};
enum {
- kGSScene = 0,
- kGSInventory = 1,
- kGSVerbs = 2,
- kGSWait = 3,
- kGSDialog = 4,
- kGSWaitDialog = 5
+ kGSScene = 0,
+ kGSInventory = 1,
+ kGSVerbs = 2,
+ kGSWait = 3,
+ kGSDialog = 4,
+ kGSWaitDialog = 5
};
enum {
- kActionCmdStop = 0,
- kActionCmdWalkObject = 3,
- kActionCmdMoveObject = 4,
- kActionCmdAnimObject = 5,
- kActionCmdSetCameraPos = 7,
- kActionCmdPlaySpeech = 8,
- kActionCmdPlaySound = 10,
- kActionCmdStartBackgroundSound = 11,
- kActionCmdStopBackgroundSound = 12
+ kActionCmdStop = 0,
+ kActionCmdWalkObject = 3,
+ kActionCmdMoveObject = 4,
+ kActionCmdAnimObject = 5,
+ kActionCmdSetCameraPos = 7,
+ kActionCmdPlaySpeech = 8,
+ kActionCmdPlaySound = 10,
+ kActionCmdStartBackgroundSound = 11,
+ kActionCmdStopBackgroundSound = 12
};
enum {
- kCondUnused = 1,
- kCondSceneObjectVerb = 2,
- kCondBgObjectVerb = 3,
- kCondSceneObjectInventory = 4,
- kCondBgObjectInventory = 5,
- kCondHasInventoryItem = 6,
- kCondHasNotInventoryItem = 7,
- kCondIsGameVar = 8,
- kCondIsNotGameVar = 9,
- kCondIsPrevSceneNum = 10,
- kCondIsCurrTalkObject = 11,
- kCondIsDialogItem = 12,
- kCondIsCameraNum = 13,
- kCondIsNotPrevSceneNum = 14,
- kCondDialogItem0 = 15,
- kCondIsButtheadAtBgObject = 16,
- kCondIsNotSceneVisited = 17,
- kCondIsSceneVisited = 18,
- kCondIsCameraNumTransition = 19
+ kCondUnused = 1,
+ kCondSceneObjectVerb = 2,
+ kCondBgObjectVerb = 3,
+ kCondSceneObjectInventory = 4,
+ kCondBgObjectInventory = 5,
+ kCondHasInventoryItem = 6,
+ kCondHasNotInventoryItem = 7,
+ kCondIsGameVar = 8,
+ kCondIsNotGameVar = 9,
+ kCondIsPrevSceneNum = 10,
+ kCondIsCurrTalkObject = 11,
+ kCondIsDialogItem = 12,
+ kCondIsCameraNum = 13,
+ kCondIsNotPrevSceneNum = 14,
+ kCondDialogItem0 = 15,
+ kCondIsButtheadAtBgObject = 16,
+ kCondIsNotSceneVisited = 17,
+ kCondIsSceneVisited = 18,
+ kCondIsCameraNumTransition = 19
};
enum {
- kActResAddInventoryItem = 1,
- kActResRemoveInventoryItem = 2,
- kActResSetGameVar = 3,
- kActResUnsetGameVar = 4,
- kActResStartDialog = 5,
- kActResChangeScene = 6
+ kActResAddInventoryItem = 1,
+ kActResRemoveInventoryItem = 2,
+ kActResSetGameVar = 3,
+ kActResUnsetGameVar = 4,
+ kActResStartDialog = 5,
+ kActResChangeScene = 6
};
enum {
- kLeftButtonClicked = 1,
- kRightButtonClicked = 2,
- kLeftButtonDown = 4,
- kRightButtonDown = 8,
- kAnyButtonClicked = kLeftButtonClicked | kRightButtonClicked,
- kAnyButtonDown = kLeftButtonDown | kRightButtonDown
+ kLeftButtonClicked = 1,
+ kRightButtonClicked = 2,
+ kLeftButtonDown = 4,
+ kRightButtonDown = 8,
+ kAnyButtonClicked = kLeftButtonClicked | kRightButtonClicked,
+ kAnyButtonDown = kLeftButtonDown | kRightButtonDown
};
struct BBPoint {
diff --git a/engines/bbvs/dialogs.h b/engines/bbvs/dialogs.h
index 9ecc33aaab..2dce2a110b 100644
--- a/engines/bbvs/dialogs.h
+++ b/engines/bbvs/dialogs.h
@@ -50,9 +50,9 @@ enum {
};
enum {
- kMainMenuScr = 0,
- kOptionsMenuScr = 1,
- kMiniGamesMenuScr = 2
+ kMainMenuScr = 0,
+ kOptionsMenuScr = 1,
+ kMiniGamesMenuScr = 2
};
class MainMenu : public GUI::Dialog {
diff --git a/engines/bbvs/minigames/bbtennis.h b/engines/bbvs/minigames/bbtennis.h
index 644eec73b2..fb6355f4eb 100644
--- a/engines/bbvs/minigames/bbtennis.h
+++ b/engines/bbvs/minigames/bbtennis.h
@@ -57,10 +57,10 @@ public:
};
enum {
- kGSTitleScreen = 0, // Title screen
- kGSMainGame = 1, // Game when called as part of the main game
- kGSStandaloneGame = 2, // Game when called as standalone game
- kGSScoreCountUp = 3 // Score countup and next level text
+ kGSTitleScreen = 0, // Title screen
+ kGSMainGame = 1, // Game when called as part of the main game
+ kGSStandaloneGame = 2, // Game when called as standalone game
+ kGSScoreCountUp = 3 // Score countup and next level text
};
Obj _objects[kMaxObjectsCount];
diff --git a/engines/bbvs/minigames/minigame.h b/engines/bbvs/minigames/minigame.h
index 1e1a4695e0..1bba25f435 100644
--- a/engines/bbvs/minigames/minigame.h
+++ b/engines/bbvs/minigames/minigame.h
@@ -31,10 +31,10 @@
namespace Bbvs {
enum {
- kMinigameBbLoogie = 0,
- kMinigameBbTennis = 1,
- kMinigameBbAnt = 2,
- kMinigameBbAirGuitar = 3,
+ kMinigameBbLoogie = 0,
+ kMinigameBbTennis = 1,
+ kMinigameBbAnt = 2,
+ kMinigameBbAirGuitar = 3,
kMinigameCount
};