diff options
author | jacopograndi <jak.sk8@hotmail.it> | 2021-08-30 14:48:06 +0200 |
---|---|---|
committer | jacopograndi <jak.sk8@hotmail.it> | 2021-08-30 14:48:06 +0200 |
commit | fb5a98b72ab79949d1da7f75a3d6150c2906ef40 (patch) | |
tree | 9097b4e1f31e530874df9ab85be03f763fc4ef1b /main.cpp | |
parent | ace5c3f3093c50ff7fa6f8b281a377e3788abbd5 (diff) |
gui: tech representation, menu, tile & unit info, attack info
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -59,9 +59,9 @@ int main () { load_json(gst); gst.players.emplace_back(255, 0, 0); - gst.players[0].res = std::vector<int> { 1000, 1000 }; + gst.players[0].res = std::vector<int> { 1500, 1500 }; gst.players.emplace_back(0, 0, 255); - gst.players[1].res = std::vector<int> { 1000, 1000 }; + gst.players[1].res = std::vector<int> { 1500, 1500 }; gst.ground.tiles[1] = 1; gst.ground.tiles[8] = 1; @@ -87,6 +87,9 @@ int main () { gst.entities.emplace_back(1, 5, gst.get_info("Villager"), 1); gst.entities.emplace_back(2, 5, gst.get_info("Militia"), 1); gst.entities.emplace_back(0, 0, gst.get_info("Scout Cavalry"), 0); + 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); View view (vec2 { (float)graphics.resx, (float)graphics.resy }); |