summaryrefslogtreecommitdiff
path: root/application/main.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-04-17 12:26:22 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-04-17 12:26:22 +0100
commitf898bdeae6a9f8d6525f73c51996062f8c5e8f57 (patch)
tree07db9eeda9dba7574b1271b3e2ec5990911ee360 /application/main.cpp
parentCreate a large test forest (diff)
downloadilt-f898bdeae6a9f8d6525f73c51996062f8c5e8f57.tar.bz2
ilt-f898bdeae6a9f8d6525f73c51996062f8c5e8f57.tar.xz
ilt-f898bdeae6a9f8d6525f73c51996062f8c5e8f57.zip
Assets moved to global game state
Diffstat (limited to 'application/main.cpp')
-rw-r--r--application/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/main.cpp b/application/main.cpp
index a0b2dfd..9feb80b 100644
--- a/application/main.cpp
+++ b/application/main.cpp
@@ -44,9 +44,9 @@ public:
windows.create<GameMainWindow>(DISPLAY_WIDTH, DISPLAY_HEIGHT);
world.create<Terrain>(geoData);
+ assets = AssetFactory::loadAll("res");
{
- const auto assets = AssetFactory::loadAll("res");
auto rl = world.create<RailLinks>();
const glm::vec3 j {-1120, -1100, 3}, k {-1100, -1000, 15}, l {-1000, -800, 20}, m {-900, -600, 30},
n {-600, -500, 32}, o {-500, -800, 30}, p {-600, -900, 25}, q {-1025, -1175, 10},