aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorjacopograndi <jak.sk8@hotmail.it>2021-09-02 10:13:25 +0200
committerjacopograndi <jak.sk8@hotmail.it>2021-09-02 10:13:57 +0200
commitc298eb988874bc2cf3adb39c2532419ec76a24bc (patch)
tree76e888a3f9c5c789cb0579e490901584c1357897 /main.cpp
parent8af1284654a4a5d454a559eca371bf0ac3c79786 (diff)
all imp sprites + train problems solved
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 658bcd4..5d0375c 100644
--- a/main.cpp
+++ b/main.cpp
@@ -62,6 +62,7 @@ int main () {
gst.players[0].res = std::vector<float> { 1500, 1500 };
gst.players.emplace_back(0, 0, 255, 1);
gst.players[1].res = std::vector<float> { 1500, 1500 };
+ gst.players[0].level = 2;
gst.ground.tiles[1] = 1;
gst.ground.tiles[8] = 1;
@@ -83,8 +84,10 @@ int main () {
gst.entities.emplace_back(5, 1, gst.get_info("Town Center"), 0);
gst.entities.emplace_back(6, 1, gst.get_info("Barracks"), 0);
gst.entities.emplace_back(5, 0, gst.get_info("Stable"), 0);
+ gst.entities.emplace_back(4, 1, gst.get_info("Market"), 0);
gst.entities.emplace_back(1, 1, gst.get_info("Villager"), 0);
gst.entities.emplace_back(2, 1, gst.get_info("Light Cavalry"), 0);
+ gst.entities.emplace_back(4, 2, gst.get_info("Light Cavalry"), 1);
gst.entities.emplace_back(10, 10, gst.get_info("Villager"), 1);
gst.entities.emplace_back(1, 5, gst.get_info("Villager"), 1);
gst.entities.emplace_back(2, 5, gst.get_info("Militia"), 1);