summary refs log tree commit diff stats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2021-02-12 00:33:19 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2021-02-12 00:33:19 -0500
commit5ecd0f428dd8292a17c5013c525a4f5d3967acb8 (patch)
tree0068b66a1183f822909f115a142fae3869a3b09f /src/main.cpp
parent19be2ac58b09c5240a32e6a4f41cd9f6cda03d07 (diff)
downloadtanetane-5ecd0f428dd8292a17c5013c525a4f5d3967acb8.tar.gz
tanetane-5ecd0f428dd8292a17c5013c525a4f5d3967acb8.tar.bz2
tanetane-5ecd0f428dd8292a17c5013c525a4f5d3967acb8.zip
Scripts are organised per-map now
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 387f7e3..c9bfaf1 100644 --- a/src/main.cpp +++ b/src/main.cpp
@@ -22,7 +22,7 @@ void loop(Renderer& renderer) {
22 game.emplaceSystem<CameraSystem>(); 22 game.emplaceSystem<CameraSystem>();
23 game.emplaceSystem<MessageSystem>(); 23 game.emplaceSystem<MessageSystem>();
24 24
25 game.loadMap("../res/maps/map1.tmx", "spawn", Direction::down); 25 game.loadMap("map1", "spawn", Direction::down);
26 game.getSprite(game.getSpriteByAlias("lucas")).controllable = true; 26 game.getSprite(game.getSpriteByAlias("lucas")).controllable = true;
27 27
28 renderer.render(game); 28 renderer.render(game);