aboutsummaryrefslogtreecommitdiff
path: root/sword2/sword2.h
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/sword2.h')
-rw-r--r--sword2/sword2.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/sword2/sword2.h b/sword2/sword2.h
index f3b45b24ee..2bf3c0476a 100644
--- a/sword2/sword2.h
+++ b/sword2/sword2.h
@@ -22,6 +22,13 @@
#include "driver/d_sound.h"
+enum BSGameId {
+ GID_SWORD2 = GID_SWORD2_FIRST,
+ GID_SWORD2_DEMO
+};
+
+namespace Sword2 {
+
// Bodge for PCF76 version so that their demo CD can be labelled "PCF76"
// rather than "RBSII1"
@@ -43,11 +50,6 @@ void UnpauseGame(void);
extern uint8 version_string[]; // for displaying from the console
extern uint8 unencoded_name[];
-enum BSGameId {
- GID_SWORD2 = GID_SWORD2_FIRST,
- GID_SWORD2_DEMO
-};
-
// TODO move stuff into class
class Sword2State : public Engine {
@@ -75,4 +77,6 @@ public:
extern Sword2State *g_sword2;
extern Sword2Sound *g_sound;
+} // End of namespace Sword2
+
#endif