From 728abda9dc6fc8e65c7c0e0240a2e7d61a43a583 Mon Sep 17 00:00:00 2001 From: jacopograndi Date: Sun, 5 Sep 2021 22:36:13 +0200 Subject: tech tostring, all sprites, heal and convert --- main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 5d0375c..d56fd93 100644 --- a/main.cpp +++ b/main.cpp @@ -54,7 +54,8 @@ int main () { Player_control control; float ts = 16; - Gst gst (15,15); + Gst gst; + gst.inv.ground { 15,15 }; load_json(gst); @@ -95,6 +96,7 @@ int main () { gst.entities.emplace_back(1, 0, gst.get_info("Persian War Elephants"), 0); gst.entities.emplace_back(0, 1, gst.get_info("Scorpions"), 1); gst.entities.emplace_back(1, 2, gst.get_info("Archers"), 1); + gst.entities.emplace_back(4, 3, gst.get_info("Monks"), 0); View view (vec2 { (float)graphics.resx, (float)graphics.resy }); -- cgit v1.2.3-54-g00ecf