282 Commits

Author SHA1 Message Date
6ee46da8ab Add cursors 2024-01-28 15:58:20 +01:00
d0ad91d5b2 Only allow for workers to harvest 2024-01-28 14:26:39 +01:00
5d96a02284 Fix hitboxes for entities 2024-01-28 14:09:27 +01:00
a61768e912 Add hitboxes 2024-01-28 11:00:32 +01:00
0a4c1fd154 Only render objects on screen 2024-01-23 23:09:08 +01:00
0423a962df Consume pop capacity + evade AI boiler plate 2024-01-23 21:43:58 +01:00
07d1852fb9 Add soldiers 2024-01-23 20:31:23 +01:00
777ebeadc4 Depositing resources increases player resources 2024-01-23 19:53:25 +01:00
3511b260cc Add units UI 2024-01-23 19:46:12 +01:00
efd241d950 Add gold mining 2024-01-23 18:55:56 +01:00
d2ea703ea9 Add rocks 2024-01-23 18:45:12 +01:00
2d11bb4675 Properly set building owner + apply building pop capacity 2024-01-23 18:39:53 +01:00
547a1ca583 Add gold ore, fix bug with collision layer 2024-01-23 17:24:43 +01:00
b6e54a7fcb Proper build UI 2024-01-23 16:54:39 +01:00
f3acb1a0a3 Add get item handle point 2024-01-23 16:41:24 +01:00
811f22f7bc Fix typo soldier typo 2024-01-23 16:25:35 +01:00
c9a2bd2672 Add rest of assets, add blue player 2024-01-23 11:26:23 +01:00
ac7525c42a Add transperency when units are behind 2024-01-15 13:16:24 +01:00
0f33ed9fc0 Remove texture from DrawData 2024-01-15 12:51:19 +01:00
0023b23242 Right click resets input state when placing building 2024-01-15 12:45:11 +01:00
95e95e6893 Fix UI handling 2024-01-15 12:41:56 +01:00
6acbe63276 Fix Mill asset 2024-01-15 11:51:18 +01:00
b2bf934c14 Improve UI scaling 2024-01-15 11:48:24 +01:00
f7b235abe5 Add assertion check for number of draws 2024-01-15 11:37:21 +01:00
5e6a9b628c Use stack alloc for sorting draw data 2024-01-15 11:34:49 +01:00
e2684fc496 Move UI code into s_ui 2024-01-15 11:28:17 +01:00
dda24cd530 Add build menu 2024-01-15 11:18:39 +01:00
087b8f22a7 Add buildings 2024-01-15 10:12:40 +01:00
8692d89479 Add 8 layers to collisions 2024-01-13 08:09:34 +01:00
25a3229bb2 Polish up behaviour tree, add docs 2024-01-11 09:33:51 +01:00
36d8bac7c4 Simlify and improve BT visualization 2024-01-11 08:34:53 +01:00
2f2974fb77 Refactor behaviour_tree (more consistent naming), fix BT visualization 2024-01-11 07:35:58 +01:00
e82fde83c9 Fix screen switching 2024-01-10 21:37:11 +01:00
b09f1d4ca9 Fix screen switching 2024-01-10 19:43:57 +01:00
692f5744ad Add options 2024-01-10 19:38:56 +01:00
214cf19a52 Fix tileset river collisions, add pathing test map 2024-01-10 17:10:00 +01:00
52cccf4665 Inspection for Animation component 2024-01-10 16:59:17 +01:00
d730d7554b Fix selected entity outline rendering 2024-01-10 16:19:37 +01:00
3ba5c8932b Fix and integrate BT 2024-01-10 14:42:21 +01:00
a9d20cb7f9 Fix and integrate BT 2024-01-10 14:42:11 +01:00
5486c3189f Fix bounds for inserting into spatial grid 2024-01-08 16:41:54 +01:00
88cbfe4a37 Properly handle map collisions when placing/destroying buildings 2024-01-08 15:27:58 +01:00
c08fca9670 Buildings as entities instead of map layer 2024-01-08 14:41:26 +01:00
03dc3774e7 Rework input system 2024-01-07 15:20:39 +01:00
5f4bb3316c Add capture IO flags to UI, for better input handling 2024-01-07 14:18:53 +01:00
b8b36d9cb7 Improve drag input detection 2024-01-07 14:00:32 +01:00
9c745d2857 Partial entity inspector 2024-01-07 13:49:13 +01:00
e4111d2014 Add arms destructor (cleans up attached components 2024-01-07 09:36:35 +01:00
07e03702ad Add tree test map, fix easing system 2024-01-07 09:32:36 +01:00
6884619f05 Animate arm movement when moving 2024-01-07 09:01:33 +01:00