summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-11-07 13:50:52 +0100
committerPaweł Redman <pawel.redman@gmail.com>2017-11-07 13:52:04 +0100
commitd0be87d32929c42502fb842aa2b0ab0233313b93 (patch)
treec88b88f63d08cbeaec100eff876676f60ddf78ba /src/main.cpp
parente28a62894f368cccc64932fe83c91f32d7cb7288 (diff)
Refactoring, introduce text.cpp, closer to an actual game.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 01c1df4..8b3eef7 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -23,6 +23,7 @@ int main()
window.setVerticalSyncEnabled(true);
+ text::load_strings("en");
assets::load();
game.start();
@@ -38,7 +39,7 @@ int main()
window.clear();
render.begin_frame(now);
render.render(&game);
- interface.render();
+ interface.render_to(&render);
render.end_frame();
}