Moving some scene files around
This commit is contained in:
@ -5,11 +5,19 @@
|
||||
|
||||
#include "DawnHostTux32.hpp"
|
||||
|
||||
#if DAWN_DEBUG_BUILD
|
||||
uint64_t dawnAllocatedItemCount;
|
||||
#endif
|
||||
|
||||
using namespace Dawn;
|
||||
|
||||
int32_t main(int32_t argc, char **args) {
|
||||
int32_t result;
|
||||
|
||||
#if DAWN_DEBUG_BUILD
|
||||
dawnAllocatedItemCount = 0;
|
||||
#endif
|
||||
|
||||
// Create the host
|
||||
auto host = new DawnHost();
|
||||
auto game = new DawnGame(host);
|
||||
@ -40,6 +48,10 @@ int32_t main(int32_t argc, char **args) {
|
||||
delete game;
|
||||
delete host;
|
||||
|
||||
#if DAWN_DEBUG_BUILD
|
||||
assertTrue(dawnAllocatedItemCount == 0);
|
||||
#endif
|
||||
|
||||
// Success
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user