From d0be87d32929c42502fb842aa2b0ab0233313b93 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Tue, 7 Nov 2017 13:50:52 +0100 Subject: Refactoring, introduce text.cpp, closer to an actual game. --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main.cpp') 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(); } -- cgit