diff --git a/Aquaria/DSQ.cpp b/Aquaria/DSQ.cpp index 491e317..ae23154 100644 --- a/Aquaria/DSQ.cpp +++ b/Aquaria/DSQ.cpp @@ -770,26 +770,24 @@ static bool sdlVideoModeOK(int disp, const int w, const int h, const int bpp) void DSQ::init() { +#define PSIZEOF(x) { std::ostringstream os_; os_ << ("sizeof(" #x ") = ") << sizeof(x); debugLog(os_.str()); } + PSIZEOF(RenderObject); + PSIZEOF(Quad); + PSIZEOF(Element); + PSIZEOF(Shot); + PSIZEOF(Bone); + PSIZEOF(PauseQuad); + PSIZEOF(Entity); + PSIZEOF(CollideEntity); + PSIZEOF(ScriptedEntity); + PSIZEOF(Avatar); + PSIZEOF(ParticleEffect); + PSIZEOF(Emitter); + PSIZEOF(Particle); +#undef PSIZEOF + core->settings.runInBackground = true; -#ifdef BBGE_BUILD_WINDOWS - /* - const std::string welcomeMessage = \ -"Thank you for reviewing Aquaria!\n\ -This build is not yet final, and as such there are a couple things lacking. They include:\n\ - * documentation (not 100% complete)\n\ - * mod editing (some known issues)\n\ - * gamepad support/config (some known issues)\n\ -\nFor the best experience, we recommend playing using the mouse or mouse and keyboard.\n\ - Have fun!"; - - if (!welcomeMessage.empty()) - { - MessageBox(core->hWnd, welcomeMessage.c_str(), "Welcome to Aquaria", MB_OK); - } - */ -#endif - disableMiniMapOnNoInput = true; fpsText = 0; cmDebug = 0; diff --git a/Aquaria/ScriptInterface.cpp b/Aquaria/ScriptInterface.cpp index 4be6c54..6eedece 100644 --- a/Aquaria/ScriptInterface.cpp +++ b/Aquaria/ScriptInterface.cpp @@ -408,7 +408,6 @@ static void compile_time_assertions() compile_assert(oo(Path) == oo(Quad)); compile_assert(oo(Path) == oo(Avatar)); compile_assert(oo(Path) == oo(BaseText)); - compile_assert(oo(Path) == oo(PauseQuad)); compile_assert(oo(Path) == oo(ParticleEffect)); #undef oo }