Commit Graph

87 Commits

Author SHA1 Message Date
5bcab7a23c Add apple icon 2023-12-29 07:27:52 +01:00
118f7f9d93 Add top bar game UI 2023-12-28 09:47:55 +01:00
cef1a45847 Add settings menu 2023-12-28 08:32:09 +01:00
da1eeefe70 Update widgets to new UI 2023-12-22 12:50:27 +01:00
ea93a7aa33 Add Main menu screen 2023-12-22 08:38:56 +01:00
dbb5ac5382 Add game scenario to Main menu background 2023-12-22 08:07:22 +01:00
1b801caa82 Add main menu 2023-12-21 19:06:02 +01:00
33b28b620d Implement harvest worker AI 2023-12-17 14:20:13 +01:00
4f2ac9a0eb Add actions 2023-12-17 09:06:14 +01:00
4047843b55 Add animations back 2023-12-16 17:52:56 +01:00
3cfdce9d96 Add BzTileID which refers to the tileset 2023-12-13 16:31:28 +01:00
582074256c Add animations to terrain layer 2023-12-13 16:23:38 +01:00
ce519fe409 Update to use game_tileset.h 2023-12-13 15:37:41 +01:00
a2c19cf65d Add page support to object pool 2023-12-13 09:31:08 +01:00
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
eac2d676d6 Remove formations for now 2023-12-07 18:32:49 +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
488dccfada Add entity rotation 2023-12-06 08:09:02 +01:00
ae1c21bdfc Rework input 2023-12-05 14:38:11 +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
17bfe7f52d Use component for unit selection 2023-12-02 11:53:45 +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
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
19d84a5dbb Add basic input system 2023-11-23 11:07:46 +01:00
783db8ba90 Add input logic for building 2023-11-22 09:56:20 +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
4d9851f433 Option to enable/disable debug drawing 2023-11-18 11:19:54 +01:00
03b5959eae Kinematic movement + path following 2023-11-18 08:12:58 +01:00
5cbb7b6c94 Move flecs out of engine, reorganize systems 2023-11-17 20:29:51 +01:00
2167d10501 Tweak spatial grid size, add colliders rendering 2023-11-17 19:39:49 +01:00
16d98a4691 Add trees as entities 2023-11-17 16:32:41 +01:00
021df6d77a Remove multiple colliders, add spatial index component 2023-11-17 15:13:30 +01:00
3ec6e9ad47 Remove entity map in favor of spatial grid 2023-11-16 16:31:19 +01:00
6974a80611 Add building preview 2023-11-16 09:40:41 +01:00
c232fc9afd Fix bug where allocated paths were never returned 2023-11-16 09:00:27 +01:00
af99504370 Allocate path with object pool for pathfinding 2023-11-16 07:23:56 +01:00