summaryrefslogtreecommitdiff
path: root/src/game/world/world.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/world/world.cpp')
-rw-r--r--src/game/world/world.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/game/world/world.cpp b/src/game/world/world.cpp
new file mode 100644
index 0000000..337b496
--- /dev/null
+++ b/src/game/world/world.cpp
@@ -0,0 +1,14 @@
+#include "world.h"
+#include "../objlist.h"
+
+WORLD* world_create( WORLD_MAP* map ) {
+ WORLD* w = obj_add<WORLD>( "root" );
+ w->map = map;
+
+ return w;
+}
+
+STAT world_populate_entities( WORLD *world ) {
+
+ return STAT_OK;
+}