Commit Graph

107 Commits

Author SHA1 Message Date
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
9c745d2857 Partial entity inspector 2024-01-07 13:49:13 +01:00
07e03702ad Add tree test map, fix easing system 2024-01-07 09:32:36 +01:00
adf8545b6e Add wood punch sound 2024-01-06 20:22:33 +01:00
f667614cfe Add weapons 2024-01-06 19:54:22 +01:00
dbc0ce5981 Basic property editor 2024-01-05 08:36:05 +01:00
852dc43556 Set texture wrap to clamp 2024-01-05 07:29:29 +01:00
2e2628bd8f Fix texture bleeding 2024-01-04 22:16:29 +01:00
a1a67cfa3d Polish camera movement 2024-01-04 19:21:13 +01:00
c83f0fb666 Center game window 2024-01-02 19:21:45 +01:00
ef274d93fd Proper screen switching 2024-01-02 12:28:09 +01:00
cc66f15131 Move system initialization in systems.c, properly delete all entities when unloading map 2023-12-29 17:18:06 +01:00
31a9289770 Move systems into subdirectory, add tree shake animation 2023-12-29 14:46:11 +01:00
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
6e2c68cb70 Add destructor for SpatialGridID and Path, remove unused Animation code 2023-12-29 09:06:53 +01:00
0c9fae7781 Add walk animation 2023-12-29 08:02:19 +01:00
b667f18b8e Fix deinitialization 2023-12-29 07:46:05 +01:00
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