Commit Graph

116 Commits

Author SHA1 Message Date
7ec5e2122e Use built-in qsort instead of flecs (better perf) 2023-12-29 10:02:13 +01:00
5aba8d18c6 Respect const qualifier 2023-12-29 09:43:46 +01:00
0d09ffd67d Adding UI node style updates coresponding flag 2023-12-28 09:46:21 +01:00
80fb29601f Remove debug render 2023-12-28 09:41:50 +01:00
3019e0ee3b Add sprite drawing for UI 2023-12-28 09:36:06 +01:00
b48372bfa5 Copy text strings into memory arena for UI 2023-12-22 16:46:20 +01:00
331f40f4cb Fix UI size calculation 2023-12-22 15:13:23 +01:00
935cfdbba3 Fix bug where text shadow style was not used 2023-12-22 12:46:58 +01:00
6d3e8674c1 Separate styles from UI nodes 2023-12-22 12:42:00 +01:00
a0291d0523 Add text shadow, fix font issues 2023-12-22 08:28:15 +01:00
c7ae1279e3 Add utility method for pushing divs 2023-12-21 19:05:39 +01:00
f395076c4e Clear links when making UI nodes 2023-12-21 18:55:33 +01:00
2e39fd2614 Add descriptor for creating node 2023-12-21 18:23:45 +01:00
e708d5e2cb Add method for getting unique key id 2023-12-21 18:02:14 +01:00
d34783e40b Ensure border thickness is taken into account when drawing 2023-12-21 18:00:51 +01:00
6b5be1d438 Fix issue with last ptr not being correctly set 2023-12-21 17:52:17 +01:00
05782559be Push layout to parent instead of creating new node 2023-12-21 17:48:06 +01:00
8cbab1bbb8 Add rest of justify flags to flex box 2023-12-21 17:29:16 +01:00
27257f55ca Add margin calculation in UI 2023-12-21 16:11:47 +01:00
886d6ba79b Add underscore prefix to globals in game.h 2023-12-21 16:02:40 +01:00
852a3f7b5a Add UI roudness 2023-12-21 15:59:30 +01:00
2c7b4c83c1 Remove widget prefix from flags 2023-12-21 15:38:49 +01:00
6bd640fc80 Simplify node creation 2023-12-21 15:37:20 +01:00
569294f292 Basic UI system 2023-12-21 15:27:49 +01:00
70cc2eae8c UI core boiler plate 2023-12-20 11:25:01 +01:00
5564df4768 Add collisions to tileset 2023-12-17 09:36:33 +01:00
8d106f23d6 Add bug todo 2023-12-16 16:40:47 +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
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
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
d3485303c9 Add exit game function 2023-12-07 11:46:53 +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
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
6240eeea1c Implement DDA raycasting, fix bug in path smoothing 2023-11-25 10:56:26 +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
1dd764e28b Ensure each entity is iterated only once 2023-11-23 15:38:32 +01:00
0dc8046d8f Rework pathfinding to use Vector2, form formations 2023-11-23 12:01:42 +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
433b012715 Fix iteration 2023-11-22 08:47:29 +01:00
38544221af Add buffer for logger 2023-11-21 10:45:12 +01:00