mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 12:09:15 +00:00
DREAMWEB: Untangle namespaces
This commit is contained in:
parent
f28c0480e1
commit
585bd7b0ef
@ -612,10 +612,10 @@ namespace %s {
|
||||
self.hd.write(
|
||||
"""\n#include "dreamweb/runtime.h"
|
||||
|
||||
namespace %s {
|
||||
|
||||
#include "structs.h"
|
||||
|
||||
namespace %s {
|
||||
|
||||
class %sContext : public Context {
|
||||
public:
|
||||
void __start();
|
||||
|
@ -27,10 +27,10 @@
|
||||
|
||||
#include "dreamweb/runtime.h"
|
||||
|
||||
namespace DreamGen {
|
||||
|
||||
#include "structs.h"
|
||||
|
||||
namespace DreamGen {
|
||||
|
||||
class DreamGenContext : public Context {
|
||||
public:
|
||||
void __start();
|
||||
@ -578,6 +578,7 @@ public:
|
||||
void introMonks1();
|
||||
void resetLocation();
|
||||
void introMonks2();
|
||||
void advisor();
|
||||
void additionalText();
|
||||
void useElevator5();
|
||||
void useElevator4();
|
||||
@ -659,7 +660,7 @@ public:
|
||||
void lockLightOff();
|
||||
void wearWatch();
|
||||
void runIntroSeq();
|
||||
void advisor();
|
||||
void nextColon();
|
||||
void attendant();
|
||||
void monks2text();
|
||||
void clearPalette();
|
||||
@ -668,7 +669,6 @@ public:
|
||||
void openHotelDoor();
|
||||
void blank();
|
||||
void drinker();
|
||||
void nextColon();
|
||||
void placeFreeObject();
|
||||
void allPalette();
|
||||
void adjustRight();
|
||||
|
@ -26,6 +26,8 @@
|
||||
#include "common/endian.h"
|
||||
#include "common/rect.h"
|
||||
|
||||
namespace DreamGen {
|
||||
|
||||
struct Sprite {
|
||||
uint16 _updateCallback;
|
||||
uint16 updateCallback() const { return READ_LE_UINT16(&_updateCallback); }
|
||||
@ -288,5 +290,7 @@ struct Atmosphere {
|
||||
uint8 _repeat;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -449,7 +449,7 @@
|
||||
void readKey();
|
||||
void hangOne(uint16 delay);
|
||||
void hangOne();
|
||||
void showPCX(const ::Common::String &name);
|
||||
void showPCX(const Common::String &name);
|
||||
void showPCX();
|
||||
void bibleQuote();
|
||||
void realCredits();
|
||||
|
@ -219,7 +219,7 @@ static Common::String getFilename(Context &context) {
|
||||
return name;
|
||||
}
|
||||
|
||||
void DreamGenContext::showPCX(const ::Common::String &name) {
|
||||
void DreamGenContext::showPCX(const Common::String &name) {
|
||||
Common::File pcxFile;
|
||||
|
||||
if (!pcxFile.open(name)) {
|
||||
|
Loading…
Reference in New Issue
Block a user