mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-08 20:07:11 +00:00
XEEN: Create a WorldOfXeen sub-namespace
This commit is contained in:
parent
5bcb60995b
commit
edaf645ae0
@ -116,7 +116,7 @@ bool XeenMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGame
|
||||
case Xeen::GType_Clouds:
|
||||
case Xeen::GType_DarkSide:
|
||||
case Xeen::GType_WorldOfXeen:
|
||||
*engine = new Xeen::WorldOfXeenEngine(syst, gd);
|
||||
*engine = new Xeen::WorldOfXeen::WorldOfXeenEngine(syst, gd);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include "xeen/sound.h"
|
||||
|
||||
namespace Xeen {
|
||||
namespace WorldOfXeen {
|
||||
|
||||
bool CloudsCutscenes::showCloudsTitle() {
|
||||
EventsManager &events = *_vm->_events;
|
||||
@ -466,4 +467,5 @@ const uint CloudsCutscenes::_INTRO_FRAMES_WAIT[8][32] = {
|
||||
}
|
||||
};
|
||||
|
||||
} // End of namespace WorldOfXeen
|
||||
} // End of namespace Xeen
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include "xeen/xeen.h"
|
||||
|
||||
namespace Xeen {
|
||||
namespace WorldOfXeen {
|
||||
|
||||
class CloudsCutscenes : public Cutscenes {
|
||||
private:
|
||||
@ -52,6 +53,8 @@ public:
|
||||
*/
|
||||
bool showCloudsEnding();
|
||||
};
|
||||
|
||||
} // End of namespace WorldOfXeen
|
||||
} // End of namespace Xeen
|
||||
|
||||
#endif /* XEEN_WORLDOFXEEN_CLOUDS_CUTSCENES_H */
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include "xeen/xeen.h"
|
||||
|
||||
namespace Xeen {
|
||||
namespace WorldOfXeen {
|
||||
|
||||
static const int CUTSCENES_XLIST[32] = {
|
||||
146, 145, 143, 141, 141, 141, 141, 141, 141, 141, 141, 142, 143, 144, 145, 146,
|
||||
@ -1227,4 +1228,5 @@ void DarkSideCutscenes::showPharaohEndText(const char *msg1, const char *msg2, c
|
||||
}
|
||||
}
|
||||
|
||||
} // End of namespace WorldOfXeen
|
||||
} // End of namespace Xeen
|
||||
|
@ -29,6 +29,8 @@ namespace Xeen {
|
||||
|
||||
class XeenEngine;
|
||||
|
||||
namespace WorldOfXeen {
|
||||
|
||||
class DarkSideCutscenes : public Cutscenes {
|
||||
protected:
|
||||
/**
|
||||
@ -59,6 +61,7 @@ public:
|
||||
void showDarkSideScore();
|
||||
};
|
||||
|
||||
} // End of namespace WorldOfXeen
|
||||
} // End of namespace Xeen
|
||||
|
||||
#endif /* XEEN_WORLDOFXEEN_DARKSIDE_CUTSCENES_H */
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include "xeen/sound.h"
|
||||
|
||||
namespace Xeen {
|
||||
namespace WorldOfXeen {
|
||||
|
||||
WorldOfXeenEngine::WorldOfXeenEngine(OSystem *syst, const XeenGameDescription *gameDesc)
|
||||
: XeenEngine(syst, gameDesc), CloudsCutscenes(this),
|
||||
@ -48,4 +49,5 @@ void WorldOfXeenEngine::showIntro() {
|
||||
*/
|
||||
}
|
||||
|
||||
} // End of namespace WorldOfXeen
|
||||
} // End of namespace Xeen
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include "xeen/worldofxeen/darkside_cutscenes.h"
|
||||
|
||||
namespace Xeen {
|
||||
namespace WorldOfXeen {
|
||||
|
||||
/**
|
||||
* Implements a descendant of the base Xeen engine to handle
|
||||
@ -45,6 +46,7 @@ public:
|
||||
virtual ~WorldOfXeenEngine() {}
|
||||
};
|
||||
|
||||
} // End of namespace WorldOfXeen
|
||||
} // End of namespace Xeen
|
||||
|
||||
#endif /* XEEN_WORLDOFXEEN_WORLDOFXEEN_H */
|
||||
|
Loading…
x
Reference in New Issue
Block a user