Commit Graph

145 Commits

Author SHA1 Message Date
72b32b1a26 Merge tilesets into one 2023-12-12 17:02:23 +01:00
11832ec1cc Basic wood chopping 2023-12-10 11:08:40 +01:00
b410867902 Add cursor support 2023-12-07 19:24:29 +01:00
f27718cdbf Fix bug in path following system 2023-12-07 18:45:31 +01:00
eac2d676d6 Remove formations for now 2023-12-07 18:32:49 +01:00
85511812b5 Refactor entity input system 2023-12-07 18:31:31 +01:00
56a73fe28c Improve input processing 2023-12-07 18:21:14 +01:00
8543cc7b43 Rework input 2023-12-07 14:19:10 +01:00
d3485303c9 Add exit game function 2023-12-07 11:46:53 +01:00
365fb41831 Remove rotation from steering behavior 2023-12-07 11:41:13 +01:00
e7e4d1e4ce Fix bug with follow path system 2023-12-07 11:35:35 +01:00
ddb562a62e Split follow path system with follow target position 2023-12-07 11:20:04 +01:00
7bada9f4e8 Add stackAllocReset method 2023-12-07 10:47:41 +01:00
9800b5576e Remove memory allocation in pathfinding 2023-12-07 10:42:53 +01:00
0d156f515e Add stack allocator 2023-12-07 10:31:12 +01:00
488dccfada Add entity rotation 2023-12-06 08:09:02 +01:00
ae1c21bdfc Rework input 2023-12-05 14:38:11 +01:00
8d01f328f9 Add texture flipping 2023-12-05 11:38:09 +01:00
17a5cee02c Add walking animation 2023-12-05 11:32:34 +01:00
0d137ffb25 Add idle animation 2023-12-05 11:25:56 +01:00
abc8cf2b48 Add ecs defer test 2023-12-03 08:29:00 +01:00
ce47bfb110 Defer component mutation 2023-12-02 14:31:52 +01:00
17bfe7f52d Use component for unit selection 2023-12-02 11:53:45 +01:00
6fe4449adf Cleanup smoothPath function 2023-11-25 11:30:28 +01:00
6240eeea1c Implement DDA raycasting, fix bug in path smoothing 2023-11-25 10:56:26 +01:00
2c3ee8afd6 Ensure pathfinding always finds the shortest path 2023-11-25 08:27:20 +01:00
b77e939c52 Overhaul pathfinding algorithm 2023-11-24 20:25:21 +01:00
6e977b7433 Fix memory leak when iterating path 2023-11-23 19:35:59 +01:00
a17450dd81 Fix path smoothing bug 2023-11-23 19:23:06 +01:00
3885e911a3 Add path smoothing 2023-11-23 19:01:28 +01:00
d62e08a6b8 Properly draw selected rings and target formation position 2023-11-23 15:39:05 +01:00
1dd764e28b Ensure each entity is iterated only once 2023-11-23 15:38:32 +01:00
5ff0fbb26f Add feedback UI for selecting and placing units 2023-11-23 12:21:25 +01:00
0dc8046d8f Rework pathfinding to use Vector2, form formations 2023-11-23 12:01:42 +01:00
513168825c Remove imgui demo window 2023-11-23 11:11:04 +01:00
26d980a7ad Add 80 test entities (workers) on map 2023-11-23 11:10:34 +01:00
19d84a5dbb Add basic input system 2023-11-23 11:07:46 +01:00
36690f8066 Fix invalid read in heap 2023-11-23 11:04:40 +01:00
8e37479980 Update CMakeLists.txt to reflect rename utils to util 2023-11-23 10:40:52 +01:00
ffb058b1e8 Add bzArrayFor helper macro 2023-11-23 10:34:29 +01:00
adaada9a22 Rename utils to util 2023-11-23 10:31:51 +01:00
783db8ba90 Add input logic for building 2023-11-22 09:56:20 +01:00
433b012715 Fix iteration 2023-11-22 08:47:29 +01:00
38544221af Add buffer for logger 2023-11-21 10:45:12 +01:00
384a5b51f6 Update entity assets 2023-11-21 06:10:12 +01:00
133a9740c8 Add web support 2023-11-21 06:09:37 +01:00
9fac356492 Add enum prefix and function name option 2023-11-20 07:57:57 +01:00
dc90286195 Remove heap tmp index (insert at back of heap instead) 2023-11-18 19:01:04 +01:00
2fc0d7196a Rename variables in pathfinding.c to be more clear 2023-11-18 18:07:22 +01:00
2d50a43a73 Change collisionMap to boolean value 2023-11-18 12:53:34 +01:00