19 Commits
Author SHA1 Message Date
Illusion 59f2a5934d finish refactor 2023-12-11 23:00:31 +02:00
Illusion 91fd72db36 game works as before without a few things 2023-12-11 23:00:31 +02:00
Illusion 77ec3991c7 restructure zephr 2023-12-11 23:00:31 +02:00
Illusion 609b571933 x11 window depthbits and render text immediately 2023-12-11 23:00:31 +02:00
Illusion 586d39e644 help overlay 2023-12-11 23:00:31 +02:00
Illusion 3d80415564 refactor: grid and timer using zephr 2023-12-11 23:00:31 +02:00
Illusion 567dc2838f abstract away the text instance dynamic array stuff and pass the correct shader when drawing quads/circles/triangles 2023-12-11 23:00:31 +02:00
Illusion b960cfd6f0 fix mem leaks and bad mem allocation 2023-12-11 23:00:31 +02:00
Illusion 04c039d64a non-resizable window and always floating window 2023-12-11 23:00:31 +02:00
Illusion ac2b73e35a delay text rendering until end of frame which renders ALL text in one draw call 2023-12-11 23:00:31 +02:00
Illusion f71a9d742c text instancing 2023-12-11 23:00:31 +02:00
Illusion 3f4f9c5103 implemented unicode support and generation of font atlas texture 2023-12-11 23:00:31 +02:00
Illusion 9ff6a1f9dc constraints for text. added rotation constraint and rotate around center of elements 2023-12-11 23:00:31 +02:00
Illusion e44f7fb078 better text positioning which fixes rotations and scaling 2023-12-11 23:00:31 +02:00
Illusion 212c7b9d5a circles, triangles and rotations for primitive shapes 2023-12-11 23:00:31 +02:00
Illusion a3fcd5b93f macro the font pixel size 2023-12-11 23:00:31 +02:00
Illusion 0de6955a9b border radius for quads 2023-12-11 23:00:31 +02:00
Illusion 307b44d7e4 replace font scale parameters with standardized font size 2023-12-11 23:00:31 +02:00
Illusion 3ab33f3f84 super basic UI constraint and alignment system with a super basic "game framework" 2023-12-11 23:00:31 +02:00