summary refs log tree commit diff stats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2021-02-03 21:29:52 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2021-02-03 21:29:52 -0500
commit138e0a8f83e82c6109bfc387ac7417d4f41711b4 (patch)
treeaf4fe2d5453d5d2090f8106a433d507bd0e75a81 /src/main.cpp
parentdab96b810691c26e29fef92d88c828a311be3e9d (diff)
downloadtanetane-138e0a8f83e82c6109bfc387ac7417d4f41711b4.tar.gz
tanetane-138e0a8f83e82c6109bfc387ac7417d4f41711b4.tar.bz2
tanetane-138e0a8f83e82c6109bfc387ac7417d4f41711b4.zip
Added cutscene bars (and resized game)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index e5a96e4..6674c0c 100644 --- a/src/main.cpp +++ b/src/main.cpp
@@ -10,6 +10,7 @@
10#include "animation_system.h" 10#include "animation_system.h"
11#include "character_system.h" 11#include "character_system.h"
12#include "input_system.h" 12#include "input_system.h"
13#include "message_system.h"
13 14
14void loop(Renderer& renderer) { 15void loop(Renderer& renderer) {
15 Game game; 16 Game game;
@@ -18,6 +19,7 @@ void loop(Renderer& renderer) {
18 game.emplaceSystem<CharacterSystem>(); 19 game.emplaceSystem<CharacterSystem>();
19 game.emplaceSystem<AnimationSystem>(); 20 game.emplaceSystem<AnimationSystem>();
20 game.emplaceSystem<CameraSystem>(); 21 game.emplaceSystem<CameraSystem>();
22 game.emplaceSystem<MessageSystem>();
21 23
22 auto map = std::make_unique<Map>("../res/map1.tmx", renderer); 24 auto map = std::make_unique<Map>("../res/map1.tmx", renderer);
23 game.setMap(std::move(map)); 25 game.setMap(std::move(map));