summary refs log tree commit diff stats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2021-02-04 20:45:18 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2021-02-04 20:45:18 -0500
commit871943d6a90bdb92b3cc495d4d927199611f8c6b (patch)
tree9be125438747f7370cfa56e3f3e42f8c68982852 /src/main.cpp
parent138e0a8f83e82c6109bfc387ac7417d4f41711b4 (diff)
downloadtanetane-871943d6a90bdb92b3cc495d4d927199611f8c6b.tar.gz
tanetane-871943d6a90bdb92b3cc495d4d927199611f8c6b.tar.bz2
tanetane-871943d6a90bdb92b3cc495d4d927199611f8c6b.zip
Added text boxes
Text now reveals itself and scrolls! Yay! It even plays speaker beeps.

TODO: the arror indicating an A press is needed. Bullets on lines that need bullets. The header that says who the speaker is, if relevant.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 6674c0c..935fc78 100644 --- a/src/main.cpp +++ b/src/main.cpp
@@ -4,7 +4,6 @@
4#include "game.h" 4#include "game.h"
5#include "timer.h" 5#include "timer.h"
6#include "map.h" 6#include "map.h"
7#include "mixer.h"
8#include "transform_system.h" 7#include "transform_system.h"
9#include "camera_system.h" 8#include "camera_system.h"
10#include "animation_system.h" 9#include "animation_system.h"
@@ -13,7 +12,7 @@
13#include "message_system.h" 12#include "message_system.h"
14 13
15void loop(Renderer& renderer) { 14void loop(Renderer& renderer) {
16 Game game; 15 Game game(renderer);
17 game.emplaceSystem<TransformSystem>(); 16 game.emplaceSystem<TransformSystem>();
18 game.emplaceSystem<InputSystem>(); 17 game.emplaceSystem<InputSystem>();
19 game.emplaceSystem<CharacterSystem>(); 18 game.emplaceSystem<CharacterSystem>();