Commit Graph

26 Commits

Author SHA1 Message Date
7ec5e2122e Use built-in qsort instead of flecs (better perf) 2023-12-29 10:02:13 +01:00
e7a0f91c36 Add draw sorting based on Y position 2023-12-29 09:42:15 +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
4f2ac9a0eb Add actions 2023-12-17 09:06:14 +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
56a73fe28c Improve input processing 2023-12-07 18:21:14 +01:00
8543cc7b43 Rework input 2023-12-07 14:19:10 +01:00
9800b5576e Remove memory allocation in pathfinding 2023-12-07 10:42:53 +01:00
17bfe7f52d Use component for unit selection 2023-12-02 11:53:45 +01:00
5ff0fbb26f Add feedback UI for selecting and placing units 2023-11-23 12:21:25 +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
4d9851f433 Option to enable/disable debug drawing 2023-11-18 11:19:54 +01:00
5cbb7b6c94 Move flecs out of engine, reorganize systems 2023-11-17 20:29:51 +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
af99504370 Allocate path with object pool for pathfinding 2023-11-16 07:23:56 +01:00
4c37622240 Add entity map 2023-11-15 18:32:43 +01:00
d37936ce7f Add Game as singleton 2023-11-15 08:18:56 +01:00
274612b035 Add path debug drawing, resources fields 2023-11-14 16:21:14 +01:00
8825b9e01f Path following 2023-11-14 12:01:28 +01:00
bf543330e5 Add basic movement 2023-11-12 19:04:25 +01:00
8edb7b7ea9 Restructure/refactor of main.c 2023-11-12 16:14:30 +01:00