aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/insane
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-07-14 13:33:58 +0000
committerTorbjörn Andersson2006-07-14 13:33:58 +0000
commit6358547a434a30283c7eeacab6e6f822fd2073d2 (patch)
treeb3f31db9dce97586f5df624e12be40b91d81d800 /engines/scumm/insane
parentfb3a3f75aa150d428d28dbb5a2391e833387946b (diff)
downloadscummvm-rg350-6358547a434a30283c7eeacab6e6f822fd2073d2.tar.gz
scummvm-rg350-6358547a434a30283c7eeacab6e6f822fd2073d2.tar.bz2
scummvm-rg350-6358547a434a30283c7eeacab6e6f822fd2073d2.zip
More whitespace changes.
svn-id: r23496
Diffstat (limited to 'engines/scumm/insane')
-rw-r--r--engines/scumm/insane/insane_ben.cpp2
-rw-r--r--engines/scumm/insane/insane_enemy.cpp8
-rw-r--r--engines/scumm/insane/insane_scenes.cpp2
3 files changed, 6 insertions, 6 deletions
diff --git a/engines/scumm/insane/insane_ben.cpp b/engines/scumm/insane/insane_ben.cpp
index 64566fe628..35ad7004a3 100644
--- a/engines/scumm/insane/insane_ben.cpp
+++ b/engines/scumm/insane/insane_ben.cpp
@@ -501,7 +501,7 @@ int32 Insane::calcBenDamage(bool arg_0, bool arg_4) {
void Insane::actor02Reaction(int32 buttons) {
int32 tmp, tmp2;
- switch(_actor[0].act[2].state) {
+ switch (_actor[0].act[2].state) {
case 1:
smlayer_setActorLayer(0, 2, 5);
_actor[0].weaponClass = 2;
diff --git a/engines/scumm/insane/insane_enemy.cpp b/engines/scumm/insane/insane_enemy.cpp
index 1c3830154b..ec38aa9fe8 100644
--- a/engines/scumm/insane/insane_enemy.cpp
+++ b/engines/scumm/insane/insane_enemy.cpp
@@ -178,7 +178,7 @@ int32 Insane::enemy0handler(int32 actor1, int32 actor2, int32 probability) {
break;
}
} else {
- switch(_vm->_rnd.getRandomNumber(14)) {
+ switch (_vm->_rnd.getRandomNumber(14)) {
case 2:
if (!_enemyState[EN_ROTT1][2]) {
_enemyState[EN_ROTT1][2] = 1;
@@ -342,7 +342,7 @@ int32 Insane::enemy1handler(int32 actor1, int32 actor2, int32 probability) {
break;
}
} else {
- switch(_vm->_rnd.getRandomNumber(14)) {
+ switch (_vm->_rnd.getRandomNumber(14)) {
case 2:
if (!_enemyState[EN_ROTT2][2]) {
_enemyState[EN_ROTT2][2] = 1;
@@ -1353,7 +1353,7 @@ void Insane::actor11Reaction(int32 buttons) {
chooseEnemyWeaponAnim(buttons);
- switch(_actor[1].tilt) {
+ switch (_actor[1].tilt) {
case -3:
if (_actor[1].act[1].state != 41 || _actor[1].weaponClass != _actor[1].animWeaponClass) {
setEnemyAnimation(1, 6);
@@ -1617,7 +1617,7 @@ void Insane::setEnemyState(void) {
void Insane::actor12Reaction(int32 buttons) {
int32 tmp, tmp2;
- switch(_actor[1].act[2].state) {
+ switch (_actor[1].act[2].state) {
case 1:
smlayer_setActorLayer(1, 2, 5);
_actor[1].weaponClass = 2;
diff --git a/engines/scumm/insane/insane_scenes.cpp b/engines/scumm/insane/insane_scenes.cpp
index 343299425f..52a54edee8 100644
--- a/engines/scumm/insane/insane_scenes.cpp
+++ b/engines/scumm/insane/insane_scenes.cpp
@@ -344,7 +344,7 @@ int Insane::loadSceneData(int scene, int flag, int phase) {
break;
case 3:
case 13:
- switch(_currEnemy) {
+ switch (_currEnemy) {
case EN_TORQUE:
smlayer_loadSound(59, flag, phase);
smlayer_loadSound(93, flag, phase);