aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2011-08-15 19:26:15 +1000
committerPaul Gilbert2011-08-15 19:26:15 +1000
commit28aef23a60e4a1bb943a40e1087e2d0de69d9de1 (patch)
tree298ba9785ab0832c9771e4cec4123972db0cfa17 /engines
parent833c6fdb72042b593d0bc23f8b9d223234e0ad8d (diff)
downloadscummvm-rg350-28aef23a60e4a1bb943a40e1087e2d0de69d9de1.tar.gz
scummvm-rg350-28aef23a60e4a1bb943a40e1087e2d0de69d9de1.tar.bz2
scummvm-rg350-28aef23a60e4a1bb943a40e1087e2d0de69d9de1.zip
TSAGE: Changed Ringworld/Blue Force namespaces to be embedded namespaces within tSage
Diffstat (limited to 'engines')
-rw-r--r--engines/tsage/blue_force/blueforce_logic.cpp7
-rw-r--r--engines/tsage/blue_force/blueforce_logic.h7
-rw-r--r--engines/tsage/blue_force/blueforce_scenes0.cpp7
-rw-r--r--engines/tsage/blue_force/blueforce_scenes0.h8
-rw-r--r--engines/tsage/blue_force/blueforce_scenes1.cpp8
-rw-r--r--engines/tsage/blue_force/blueforce_scenes1.h8
-rw-r--r--engines/tsage/globals.cpp16
-rw-r--r--engines/tsage/globals.h7
-rw-r--r--engines/tsage/ringworld/ringworld_demo.cpp8
-rw-r--r--engines/tsage/ringworld/ringworld_demo.h8
-rw-r--r--engines/tsage/ringworld/ringworld_logic.cpp8
-rw-r--r--engines/tsage/ringworld/ringworld_logic.h10
-rw-r--r--engines/tsage/ringworld/ringworld_scenes1.cpp8
-rw-r--r--engines/tsage/ringworld/ringworld_scenes1.h8
-rw-r--r--engines/tsage/ringworld/ringworld_scenes10.cpp8
-rw-r--r--engines/tsage/ringworld/ringworld_scenes10.h7
-rw-r--r--engines/tsage/ringworld/ringworld_scenes2.cpp8
-rw-r--r--engines/tsage/ringworld/ringworld_scenes2.h8
-rw-r--r--engines/tsage/ringworld/ringworld_scenes3.cpp8
-rw-r--r--engines/tsage/ringworld/ringworld_scenes3.h8
-rw-r--r--engines/tsage/ringworld/ringworld_scenes4.cpp8
-rw-r--r--engines/tsage/ringworld/ringworld_scenes4.h8
-rw-r--r--engines/tsage/ringworld/ringworld_scenes5.cpp8
-rw-r--r--engines/tsage/ringworld/ringworld_scenes5.h7
-rw-r--r--engines/tsage/ringworld/ringworld_scenes6.cpp7
-rw-r--r--engines/tsage/ringworld/ringworld_scenes6.h7
-rw-r--r--engines/tsage/ringworld/ringworld_scenes8.cpp8
-rw-r--r--engines/tsage/ringworld/ringworld_scenes8.h8
-rw-r--r--engines/tsage/staticres.cpp9
-rw-r--r--engines/tsage/staticres.h7
-rw-r--r--engines/tsage/tsage.cpp2
31 files changed, 178 insertions, 66 deletions
diff --git a/engines/tsage/blue_force/blueforce_logic.cpp b/engines/tsage/blue_force/blueforce_logic.cpp
index 8facc6a9f3..a29d677fb1 100644
--- a/engines/tsage/blue_force/blueforce_logic.cpp
+++ b/engines/tsage/blue_force/blueforce_logic.cpp
@@ -27,7 +27,9 @@
#include "tsage/tsage.h"
#include "tsage/staticres.h"
-namespace tSage_BlueForce {
+namespace tSage {
+
+namespace BlueForce {
void BlueForceGame::start() {
// Start the game
@@ -246,5 +248,6 @@ void GameScene::remove() {
BF_GLOBALS._scenePalette._field412 = 1;
}
+} // End of namespace BlueForce
-} // End of namespace tSage_BlueForce
+} // End of namespace tSage
diff --git a/engines/tsage/blue_force/blueforce_logic.h b/engines/tsage/blue_force/blueforce_logic.h
index 7aa5ad864a..e870fa1430 100644
--- a/engines/tsage/blue_force/blueforce_logic.h
+++ b/engines/tsage/blue_force/blueforce_logic.h
@@ -31,7 +31,9 @@
#define BF_INTERFACE_Y 168
-namespace tSage_BlueForce {
+namespace tSage {
+
+namespace BlueForce {
using namespace tSage;
@@ -88,7 +90,8 @@ class BlueAnimatedSpeaker: public Speaker {
public:
};
+} // End of namespace BlueForce
-} // End of namespace tSage_BlueForce
+} // End of namespace tSage
#endif
diff --git a/engines/tsage/blue_force/blueforce_scenes0.cpp b/engines/tsage/blue_force/blueforce_scenes0.cpp
index b5392635a3..a47d7d712f 100644
--- a/engines/tsage/blue_force/blueforce_scenes0.cpp
+++ b/engines/tsage/blue_force/blueforce_scenes0.cpp
@@ -25,7 +25,9 @@
#include "tsage/tsage.h"
#include "tsage/staticres.h"
-namespace tSage_BlueForce {
+namespace tSage {
+
+namespace BlueForce {
/*--------------------------------------------------------------------------
* Scene 20 - Tsunami Title Screen
@@ -237,5 +239,6 @@ void Scene50::Tooltip2::dispatch() {
/*--------------------------------------------------------------------------*/
+} // End of namespace BlueForce
-} // End of namespace tSage_BlueForce
+} // End of namespace tSage
diff --git a/engines/tsage/blue_force/blueforce_scenes0.h b/engines/tsage/blue_force/blueforce_scenes0.h
index 766b9f0295..7eda443ee9 100644
--- a/engines/tsage/blue_force/blueforce_scenes0.h
+++ b/engines/tsage/blue_force/blueforce_scenes0.h
@@ -32,7 +32,9 @@
#include "tsage/globals.h"
#include "tsage/sound.h"
-namespace tSage_BlueForce {
+namespace tSage {
+
+namespace BlueForce {
using namespace tSage;
@@ -78,6 +80,8 @@ public:
};
-} // End of namespace tSage_BlueForce
+} // End of namespace BlueForce
+
+} // End of namespace tSage
#endif
diff --git a/engines/tsage/blue_force/blueforce_scenes1.cpp b/engines/tsage/blue_force/blueforce_scenes1.cpp
index 1346399f24..1dafff2bce 100644
--- a/engines/tsage/blue_force/blueforce_scenes1.cpp
+++ b/engines/tsage/blue_force/blueforce_scenes1.cpp
@@ -27,7 +27,9 @@
#include "tsage/staticres.h"
#include "tsage/globals.h"
-namespace tSage_BlueForce {
+namespace tSage {
+
+namespace BlueForce {
/*--------------------------------------------------------------------------
* Scene 100 - Tsunami Title Screen #2
@@ -416,4 +418,6 @@ void Scene109::signal() {
}
}
-} // End of namespace tSage_BlueForce
+} // End of namespace BlueForce
+
+} // End of namespace tSage
diff --git a/engines/tsage/blue_force/blueforce_scenes1.h b/engines/tsage/blue_force/blueforce_scenes1.h
index 4d275ae89a..86ca4a9f14 100644
--- a/engines/tsage/blue_force/blueforce_scenes1.h
+++ b/engines/tsage/blue_force/blueforce_scenes1.h
@@ -32,7 +32,9 @@
#include "tsage/globals.h"
#include "tsage/sound.h"
-namespace tSage_BlueForce {
+namespace tSage {
+
+namespace BlueForce {
using namespace tSage;
@@ -115,6 +117,8 @@ public:
virtual void signal();
};
-} // End of namespace tSage_BlueForce
+} // End of namespace BlueForce
+
+} // End of namespace tSage
#endif
diff --git a/engines/tsage/globals.cpp b/engines/tsage/globals.cpp
index 1de6912809..5481c79be5 100644
--- a/engines/tsage/globals.cpp
+++ b/engines/tsage/globals.cpp
@@ -103,15 +103,15 @@ Globals::Globals() : _dialogCenter(160, 140), _gfxManagerInstance(_screenSurface
switch (_vm->getGameID()) {
case GType_Ringworld:
if (!(_vm->getFeatures() & GF_DEMO)) {
- _inventory = new tSage_Ringworld::RingworldInvObjectList();
- _game = new tSage_Ringworld::RingworldGame();
+ _inventory = new Ringworld::RingworldInvObjectList();
+ _game = new Ringworld::RingworldGame();
} else {
- _game = new tSage_Ringworld::RingworldDemoGame();
+ _game = new Ringworld::RingworldDemoGame();
}
break;
case GType_BlueForce:
- _game = new tSage_BlueForce::BlueForceGame();
+ _game = new BlueForce::BlueForceGame();
break;
}
}
@@ -167,11 +167,9 @@ void Globals::dispatchSounds() {
Common::for_each(_sounds.begin(), _sounds.end(), Globals::dispatchSound);
}
-} // end of namespace tSage
-
/*--------------------------------------------------------------------------*/
-namespace tSage_BlueForce {
+namespace BlueForce {
BlueForceGlobals::BlueForceGlobals(): Globals() {
_v51C24 = 0;
@@ -184,4 +182,6 @@ void BlueForceGlobals::synchronize(Serializer &s) {
error("Sync variables");
}
-} // end of namespace tSage_BlueForce
+} // end of namespace BlueForce
+
+} // end of namespace tSage
diff --git a/engines/tsage/globals.h b/engines/tsage/globals.h
index d4c82c1d0f..40865fba43 100644
--- a/engines/tsage/globals.h
+++ b/engines/tsage/globals.h
@@ -105,9 +105,8 @@ extern Globals *_globals;
// prior to many of the fields in Globals execute their constructors
extern ResourceManager *_resourceManager;
-} // end of namespace tSage
-namespace tSage_BlueForce {
+namespace BlueForce {
using namespace tSage;
@@ -127,6 +126,8 @@ public:
virtual void synchronize(Serializer &s);
};
-} // End of namespace tSage_BlueForce
+} // End of namespace BlueForce
+
+} // End of namespace tSage
#endif
diff --git a/engines/tsage/ringworld/ringworld_demo.cpp b/engines/tsage/ringworld/ringworld_demo.cpp
index 02203e4ffe..08cb88536c 100644
--- a/engines/tsage/ringworld/ringworld_demo.cpp
+++ b/engines/tsage/ringworld/ringworld_demo.cpp
@@ -25,7 +25,9 @@
#include "tsage/tsage.h"
#include "tsage/staticres.h"
-namespace tSage_Ringworld {
+namespace tSage {
+
+namespace Ringworld {
void RingworldDemoGame::start() {
// Start the demo's single scene
@@ -117,4 +119,6 @@ void RingworldDemoScene::process(Event &event) {
}
-} // End of namespace tSage_Ringworld
+} // End of namespace Ringworld
+
+} // End of namespace tSage
diff --git a/engines/tsage/ringworld/ringworld_demo.h b/engines/tsage/ringworld/ringworld_demo.h
index f9c9fcbfa1..13a33f85d6 100644
--- a/engines/tsage/ringworld/ringworld_demo.h
+++ b/engines/tsage/ringworld/ringworld_demo.h
@@ -30,7 +30,9 @@
#include "tsage/globals.h"
#include "tsage/sound.h"
-namespace tSage_Ringworld {
+namespace tSage {
+
+namespace Ringworld {
using namespace tSage;
@@ -56,6 +58,8 @@ public:
virtual void signal();
};
-} // End of namespace tSage_Ringworld
+} // End of namespace Ringworld
+
+} // End of namespace tSage
#endif
diff --git a/engines/tsage/ringworld/ringworld_logic.cpp b/engines/tsage/ringworld/ringworld_logic.cpp
index 8bf0ded996..94b8bccfd0 100644
--- a/engines/tsage/ringworld/ringworld_logic.cpp
+++ b/engines/tsage/ringworld/ringworld_logic.cpp
@@ -37,7 +37,9 @@
#include "tsage/ringworld/ringworld_scenes8.h"
#include "tsage/ringworld/ringworld_scenes10.h"
-namespace tSage_Ringworld {
+namespace tSage {
+
+namespace Ringworld {
Scene *RingworldGame::createScene(int sceneNumber) {
switch (sceneNumber) {
@@ -1487,4 +1489,6 @@ void RingworldGame::processEvent(Event &event) {
}
}
-} // End of namespace tSage_Ringworld
+} // End of namespace Ringworld
+
+} // End of namespace tSage
diff --git a/engines/tsage/ringworld/ringworld_logic.h b/engines/tsage/ringworld/ringworld_logic.h
index 0ff5428e8a..66084c7915 100644
--- a/engines/tsage/ringworld/ringworld_logic.h
+++ b/engines/tsage/ringworld/ringworld_logic.h
@@ -29,7 +29,9 @@
#include "tsage/scenes.h"
#include "tsage/globals.h"
-namespace tSage_Ringworld {
+namespace tSage {
+
+namespace Ringworld {
using namespace tSage;
@@ -440,7 +442,7 @@ public:
virtual Common::String getClassName() { return "RingworldInvObjectList"; }
};
-#define RING_INVENTORY (*((tSage_Ringworld::RingworldInvObjectList *)_globals->_inventory))
+#define RING_INVENTORY (*((::tSage::Ringworld::RingworldInvObjectList *)_globals->_inventory))
class RingworldGame: public Game {
protected:
@@ -458,6 +460,8 @@ public:
virtual void processEvent(Event &event);
};
-} // End of namespace tSage_Ringworld
+} // End of namespace Ringworld
+
+} // End of namespace tSage
#endif
diff --git a/engines/tsage/ringworld/ringworld_scenes1.cpp b/engines/tsage/ringworld/ringworld_scenes1.cpp
index c87b9ab972..ca16b785c4 100644
--- a/engines/tsage/ringworld/ringworld_scenes1.cpp
+++ b/engines/tsage/ringworld/ringworld_scenes1.cpp
@@ -25,7 +25,9 @@
#include "tsage/tsage.h"
#include "tsage/staticres.h"
-namespace tSage_Ringworld {
+namespace tSage {
+
+namespace Ringworld {
/*--------------------------------------------------------------------------
* Scene 10 - Kziniti Palace (Introduction)
@@ -3342,4 +3344,6 @@ void Scene6100::showMessage(const Common::String &msg, int color, Action *action
}
}
-} // End of namespace tSage_Ringworld
+} // End of namespace Ringworld
+
+} // End of namespace tSage
diff --git a/engines/tsage/ringworld/ringworld_scenes1.h b/engines/tsage/ringworld/ringworld_scenes1.h
index 7d93eb6483..ed8b0e48f7 100644
--- a/engines/tsage/ringworld/ringworld_scenes1.h
+++ b/engines/tsage/ringworld/ringworld_scenes1.h
@@ -32,7 +32,9 @@
#include "tsage/globals.h"
#include "tsage/sound.h"
-namespace tSage_Ringworld {
+namespace tSage {
+
+namespace Ringworld {
using namespace tSage;
@@ -535,6 +537,8 @@ public:
};
-} // End of namespace tSage_Ringworld
+} // End of namespace Ringworld
+
+} // End of namespace tSage
#endif
diff --git a/engines/tsage/ringworld/ringworld_scenes10.cpp b/engines/tsage/ringworld/ringworld_scenes10.cpp
index e7461ba10e..160d829285 100644
--- a/engines/tsage/ringworld/ringworld_scenes10.cpp
+++ b/engines/tsage/ringworld/ringworld_scenes10.cpp
@@ -26,7 +26,9 @@
#include "tsage/tsage.h"
#include "tsage/staticres.h"
-namespace tSage_Ringworld {
+namespace tSage {
+
+namespace Ringworld {
Scene2::Scene2() : Scene() {
_sceneState = 0;
@@ -2086,4 +2088,6 @@ void Scene9999::postInit(SceneObjectList *OwnerList) {
}
-} // End of namespace tSage_Ringworld
+} // End of namespace Ringworld
+
+} // End of namespace tSage
diff --git a/engines/tsage/ringworld/ringworld_scenes10.h b/engines/tsage/ringworld/ringworld_scenes10.h
index 54a3bfcdd0..e796fb5085 100644
--- a/engines/tsage/ringworld/ringworld_scenes10.h
+++ b/engines/tsage/ringworld/ringworld_scenes10.h
@@ -30,7 +30,9 @@
#include "tsage/scenes.h"
#include "tsage/globals.h"
-namespace tSage_Ringworld {
+namespace tSage {
+
+namespace Ringworld {
using namespace tSage;
@@ -528,7 +530,8 @@ public:
virtual void postInit(SceneObjectList *OwnerList = NULL);
};
+} // End of namespace Ringworld
-} // End of namespace tSage_Ringworld
+} // End of namespace tSage
#endif
diff --git a/engines/tsage/ringworld/ringworld_scenes2.cpp b/engines/tsage/ringworld/ringworld_scenes2.cpp
index 7091a9510c..63d0d4af14 100644
--- a/engines/tsage/ringworld/ringworld_scenes2.cpp
+++ b/engines/tsage/ringworld/ringworld_scenes2.cpp
@@ -26,7 +26,9 @@
#include "tsage/tsage.h"
#include "tsage/staticres.h"
-namespace tSage_Ringworld {
+namespace tSage {
+
+namespace Ringworld {
/*--------------------------------------------------------------------------
* Scene 1000 - Title Screen
@@ -925,4 +927,6 @@ void Scene1500::postInit(SceneObjectList *OwnerList) {
}
}
-} // End of namespace tSage_Ringworld
+} // End of namespace Ringworld
+
+} // End of namespace tSage
diff --git a/engines/tsage/ringworld/ringworld_scenes2.h b/engines/tsage/ringworld/ringworld_scenes2.h
index c066c41633..08654b0c80 100644
--- a/engines/tsage/ringworld/ringworld_scenes2.h
+++ b/engines/tsage/ringworld/ringworld_scenes2.h
@@ -30,7 +30,9 @@
#include "tsage/scenes.h"
#include "tsage/globals.h"
-namespace tSage_Ringworld {
+namespace tSage {
+
+namespace Ringworld {
using namespace tSage;
@@ -144,8 +146,8 @@ public:
virtual void postInit(SceneObjectList *OwnerList = NULL);
};
+} // End of namespace Ringworld
-
-} // End of namespace tSage_Ringworld
+} // End of namespace tSage
#endif
diff --git a/engines/tsage/ringworld/ringworld_scenes3.cpp b/engines/tsage/ringworld/ringworld_scenes3.cpp
index 238652f4dd..7f9e41fbc5 100644
--- a/engines/tsage/ringworld/ringworld_scenes3.cpp
+++ b/engines/tsage/ringworld/ringworld_scenes3.cpp
@@ -26,7 +26,9 @@
#include "tsage/tsage.h"
#include "tsage/staticres.h"
-namespace tSage_Ringworld {
+namespace tSage {
+
+namespace Ringworld {
/*--------------------------------------------------------------------------
* Scene 2000 - Cockpit cutscenes
@@ -6130,4 +6132,6 @@ void Scene2400::postInit(SceneObjectList *OwnerList) {
_globals->_soundHandler.play(153);
}
-} // End of namespace tSage_Ringworld
+} // End of namespace Ringworld
+
+} // End of namespace tSage
diff --git a/engines/tsage/ringworld/ringworld_scenes3.h b/engines/tsage/ringworld/ringworld_scenes3.h
index bd8fe28d43..2f79afe9d5 100644
--- a/engines/tsage/ringworld/ringworld_scenes3.h
+++ b/engines/tsage/ringworld/ringworld_scenes3.h
@@ -28,7 +28,9 @@
#include "tsage/converse.h"
#include "tsage/ringworld/ringworld_logic.h"
-namespace tSage_Ringworld {
+namespace tSage {
+
+namespace Ringworld {
using namespace tSage;
@@ -892,6 +894,8 @@ public:
virtual void postInit(SceneObjectList *OwnerList = NULL);
};
-} // End of namespace tSage_Ringworld
+} // End of namespace Ringworld
+
+} // End of namespace tSage
#endif
diff --git a/engines/tsage/ringworld/ringworld_scenes4.cpp b/engines/tsage/ringworld/ringworld_scenes4.cpp
index 543c17b693..ff4c5e3bf3 100644
--- a/engines/tsage/ringworld/ringworld_scenes4.cpp
+++ b/engines/tsage/ringworld/ringworld_scenes4.cpp
@@ -26,7 +26,9 @@
#include "tsage/tsage.h"
#include "tsage/staticres.h"
-namespace tSage_Ringworld {
+namespace tSage {
+
+namespace Ringworld {
/*--------------------------------------------------------------------------
* Scene 3500 - Ringworld Scan
@@ -247,4 +249,6 @@ void Scene3700::postInit(tSage::SceneObjectList *OwnerList) {
_globals->_soundHandler.play(195);
}
-} // End of namespace tSage_Ringworld
+} // End of namespace Ringworld
+
+} // End of namespace tSage
diff --git a/engines/tsage/ringworld/ringworld_scenes4.h b/engines/tsage/ringworld/ringworld_scenes4.h
index ccad604204..7b61c21cb0 100644
--- a/engines/tsage/ringworld/ringworld_scenes4.h
+++ b/engines/tsage/ringworld/ringworld_scenes4.h
@@ -28,7 +28,9 @@
#include "tsage/converse.h"
#include "tsage/ringworld/ringworld_logic.h"
-namespace tSage_Ringworld {
+namespace tSage {
+
+namespace Ringworld {
using namespace tSage;
@@ -89,6 +91,8 @@ public:
virtual void postInit(SceneObjectList *OwnerList = NULL);
};
-} // End of namespace tSage_Ringworld
+} // End of namespace Ringworld
+
+} // End of namespace tSage
#endif
diff --git a/engines/tsage/ringworld/ringworld_scenes5.cpp b/engines/tsage/ringworld/ringworld_scenes5.cpp
index bdb04161ad..fd3521e14c 100644
--- a/engines/tsage/ringworld/ringworld_scenes5.cpp
+++ b/engines/tsage/ringworld/ringworld_scenes5.cpp
@@ -26,7 +26,9 @@
#include "tsage/tsage.h"
#include "tsage/staticres.h"
-namespace tSage_Ringworld {
+namespace tSage {
+
+namespace Ringworld {
/*--------------------------------------------------------------------------
* Scene 4000 - Village
@@ -4438,4 +4440,6 @@ void Scene4301::dispatch() {
}
}
-} // End of namespace tSage_Ringworld
+} // End of namespace Ringworld
+
+} // End of namespace tSage
diff --git a/engines/tsage/ringworld/ringworld_scenes5.h b/engines/tsage/ringworld/ringworld_scenes5.h
index 49e4b95dba..4ece715345 100644
--- a/engines/tsage/ringworld/ringworld_scenes5.h
+++ b/engines/tsage/ringworld/ringworld_scenes5.h
@@ -28,7 +28,9 @@
#include "tsage/converse.h"
#include "tsage/ringworld/ringworld_logic.h"
-namespace tSage_Ringworld {
+namespace tSage {
+
+namespace Ringworld {
using namespace tSage;
@@ -689,7 +691,8 @@ public:
}
};
+} // End of namespace Ringworld
-} // End of namespace tSage_Ringworld
+} // End of namespace tSage
#endif
diff --git a/engines/tsage/ringworld/ringworld_scenes6.cpp b/engines/tsage/ringworld/ringworld_scenes6.cpp
index f1b7310938..95e85de1e7 100644
--- a/engines/tsage/ringworld/ringworld_scenes6.cpp
+++ b/engines/tsage/ringworld/ringworld_scenes6.cpp
@@ -25,7 +25,9 @@
#include "tsage/tsage.h"
#include "tsage/staticres.h"
-namespace tSage_Ringworld {
+namespace tSage {
+
+namespace Ringworld {
/*--------------------------------------------------------------------------
* Scene 5000 - Caverns - Entrance
@@ -2196,5 +2198,6 @@ void Scene5300::signal() {
}
}
+} // End of namespace Ringworld
-} // End of namespace tSage_Ringworld
+} // End of namespace tSage
diff --git a/engines/tsage/ringworld/ringworld_scenes6.h b/engines/tsage/ringworld/ringworld_scenes6.h
index 976c477077..839d73ca69 100644
--- a/engines/tsage/ringworld/ringworld_scenes6.h
+++ b/engines/tsage/ringworld/ringworld_scenes6.h
@@ -30,7 +30,9 @@
#include "tsage/scenes.h"
#include "tsage/globals.h"
-namespace tSage_Ringworld {
+namespace tSage {
+
+namespace Ringworld {
using namespace tSage;
@@ -326,7 +328,8 @@ public:
}
};
+} // End of namespace Ringworld
-} // End of namespace tSage_Ringworld
+} // End of namespace tSage
#endif
diff --git a/engines/tsage/ringworld/ringworld_scenes8.cpp b/engines/tsage/ringworld/ringworld_scenes8.cpp
index 15f469afea..739fbb019e 100644
--- a/engines/tsage/ringworld/ringworld_scenes8.cpp
+++ b/engines/tsage/ringworld/ringworld_scenes8.cpp
@@ -26,7 +26,9 @@
#include "tsage/tsage.h"
#include "tsage/staticres.h"
-namespace tSage_Ringworld {
+namespace tSage {
+
+namespace Ringworld {
void NamedHotspotMult::synchronize(Serializer &s) {
SceneHotspot::synchronize(s);
@@ -2542,4 +2544,6 @@ void Scene7700::synchronize(Serializer &s) {
}
}
-} // End of namespace tSage_Ringworld
+} // End of namespace Ringworld
+
+} // End of namespace tSage
diff --git a/engines/tsage/ringworld/ringworld_scenes8.h b/engines/tsage/ringworld/ringworld_scenes8.h
index defb2870f1..9b4d23dc2a 100644
--- a/engines/tsage/ringworld/ringworld_scenes8.h
+++ b/engines/tsage/ringworld/ringworld_scenes8.h
@@ -30,7 +30,9 @@
#include "tsage/scenes.h"
#include "tsage/globals.h"
-namespace tSage_Ringworld {
+namespace tSage {
+
+namespace Ringworld {
using namespace tSage;
@@ -487,6 +489,8 @@ public:
virtual void synchronize(Serializer &s);
};
-} // End of namespace tSage_Ringworld
+} // End of namespace Ringworld
+
+} // End of namespace tSage
#endif
diff --git a/engines/tsage/staticres.cpp b/engines/tsage/staticres.cpp
index 5d8f1b057f..adc69f2fe5 100644
--- a/engines/tsage/staticres.cpp
+++ b/engines/tsage/staticres.cpp
@@ -96,6 +96,9 @@ const char *PICK_BTN_STRING = "Pick";
const char *START_PLAY_BTN_STRING = " Start Play ";
const char *INTRODUCTION_BTN_STRING = "Introduction";
+
+namespace Ringworld {
+
const char *EXIT_MSG = " EXIT ";
const char *SCENE6100_CAREFUL = "Be careful! The probe cannot handle too much of that.";
const char *SCENE6100_TOUGHER = "Hey! This is tougher than it looks!";
@@ -118,6 +121,10 @@ const char *EXIT_BTN_STRING = "Exit";
const char *DEMO_BTN_STRING = "Demo";
const char *DEMO_RESUME_BTN_STRING = "Resume";
+} // End of namespace Ringworld
+
+namespace BlueForce {
+
// Blue Force general messages
const char *BF_NAME = "Blue Force";
const char *BF_COPYRIGHT = " Copyright, 1993 Tsunami Media, Inc.";
@@ -129,4 +136,6 @@ const char *BF_11_YEARS = "Eleven years later.";
const char *BF_NEXT_DAY = "The Next Day";
const char *BF_ACADEMY = "Here we are at the Academy";
+} // End of namespace BlueForce
+
} // End of namespace tSage
diff --git a/engines/tsage/staticres.h b/engines/tsage/staticres.h
index bac8976a14..1d1fc8b95c 100644
--- a/engines/tsage/staticres.h
+++ b/engines/tsage/staticres.h
@@ -62,6 +62,8 @@ extern const char *INV_EMPTY_MSG;
extern const char *START_PLAY_BTN_STRING;
extern const char *INTRODUCTION_BTN_STRING;
+namespace Ringworld {
+
// Scene specific resources
extern const char *EXIT_MSG;
extern const char *SCENE6100_CAREFUL;
@@ -86,6 +88,10 @@ extern const char *EXIT_BTN_STRING;
extern const char *DEMO_BTN_STRING;
extern const char *DEMO_RESUME_BTN_STRING;
+} // End of namespace Ringworld
+
+namespace BlueForce {
+
// Blue Force messages
extern const char *BF_NAME;
extern const char *BF_COPYRIGHT;
@@ -97,6 +103,7 @@ extern const char *BF_11_YEARS;
extern const char *BF_NEXT_DAY;
extern const char *BF_ACADEMY;
+} // End of namespace BlueForce
} // End of namespace tSage
diff --git a/engines/tsage/tsage.cpp b/engines/tsage/tsage.cpp
index 9cf462c164..554a5499e5 100644
--- a/engines/tsage/tsage.cpp
+++ b/engines/tsage/tsage.cpp
@@ -81,7 +81,7 @@ void TSageEngine::initialize() {
_resourceManager->addLib("FILES.RLB");
_resourceManager->addLib("TSAGE.RLB");
}
- _globals = new tSage_BlueForce::BlueForceGlobals();
+ _globals = new BlueForce::BlueForceGlobals();
}
_globals->gfxManager().setDefaults();