]> git.localhorst.tv Git - blank.git/blobdiff - src/app.cpp
get world seed from command line arguments
[blank.git] / src / app.cpp
index cfb16822897a01027da39d62c3624da6fe7fd52b..b7e71ec681387512db2dc897a4f6063bce6f0d9a 100644 (file)
@@ -6,7 +6,7 @@
 
 namespace blank {
 
-Application::Application()
+Application::Application(unsigned int seed)
 : init_sdl()
 , init_img()
 , init_gl()
@@ -15,7 +15,7 @@ Application::Application()
 , init_glew()
 , program()
 , cam()
-, world()
+, world(seed)
 , interface(world)
 , test_controller(MakeTestEntity(world))
 , running(false) {