diff options
author | jacopograndi <jak.sk8@hotmail.it> | 2021-09-05 22:36:13 +0200 |
---|---|---|
committer | jacopograndi <jak.sk8@hotmail.it> | 2021-09-05 22:36:13 +0200 |
commit | 728abda9dc6fc8e65c7c0e0240a2e7d61a43a583 (patch) | |
tree | 545187ed3d634792af1082ce021665d3ef4934fc /main.cpp | |
parent | c298eb988874bc2cf3adb39c2532419ec76a24bc (diff) |
tech tostring, all sprites, heal and convert
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 }); |