Commit Graph

17 Commits

Author SHA1 Message Date
60ae11de10 synchronise with the template
- use the version of audio management which doesn't crash the
application if something goes wrong
- include colour32
- update error management to be more reflective of the one defined in
the template
- modify the renderer functions to be more reflective of the template
- modify the game functions to be more reflective of the template (& use
a more failproof method of initializing)
- add gametime
- remove set_gamestatus logic and just use a run boolean in gamedata
- remove emscripten preprocessors as those haven't really been used
2025-03-22 15:29:42 +01:00
f30b8182b1 optimise text drawing function by only creating a new texture when necessary 2025-02-16 23:44:27 +01:00
0596f8d5d5 fix: forgot to rename renderdata to a lowercase variant 2025-02-12 17:29:34 +01:00
3fd7806e5f code cleanup:
- rename typedefs to a lowercase variant
- change variable names to shorter variants
2025-02-10 12:28:05 +01:00
6b17086936 code cleanup + add font support 2025-02-04 13:54:28 +01:00
be09d57a27 use "const" where able to + random readability changes 2025-02-04 12:17:42 +01:00
c8d43d9564 tweak rendering 2025-02-04 10:38:25 +01:00
b3808a46a0 fix: next shape misaligned 2025-02-04 10:30:12 +01:00
a9541812e0 reshape tetris window 2025-02-03 16:04:23 +01:00
9d648a747d rework rendering slightly to include a border 2025-02-03 15:59:33 +01:00
4a2fb359fb fix renderering to correctly determine width and height dynamically 2025-02-03 14:12:19 +01:00
3190bb4732 fix pedantic warnings 2025-01-24 19:35:13 +01:00
23a27e3e10 convert colour to a 2 bit format 2025-01-24 16:29:22 +01:00
34fd24b01f implement setting coloured shapes 2025-01-20 00:27:01 +01:00
2933f5bdd8 add colour 2025-01-19 21:05:31 +01:00
c594c94428 make a start on the logic 2024-12-03 12:05:35 +01:00
Quinn
8bdf6bf2d2 Initial commit 2024-12-02 10:37:52 +01:00