aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorjacopograndi <jak.sk8@hotmail.it>2021-09-05 22:36:13 +0200
committerjacopograndi <jak.sk8@hotmail.it>2021-09-05 22:36:13 +0200
commit728abda9dc6fc8e65c7c0e0240a2e7d61a43a583 (patch)
tree545187ed3d634792af1082ce021665d3ef4934fc /main.cpp
parentc298eb988874bc2cf3adb39c2532419ec76a24bc (diff)
tech tostring, all sprites, heal and convert
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp4
1 files changed, 3 insertions, 1 deletions
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 });