937ecedfe3
implement new code, and remove deprecated old code. Overal optimisation.
...
this code is currently broken, but this'll be fixed in a subsequent
commit
2025-06-25 16:58:58 +02:00
b446a43738
use tabs over spaces
2025-06-25 15:40:52 +02:00
3b306288e9
rename "renderer" to "render"
2025-06-25 15:40:52 +02:00
7c20704990
rename window io
2025-06-25 15:39:23 +02:00
18243a23eb
clean up code
2025-06-18 15:43:38 +02:00
0fd2a88e0f
add path initialization to main
2025-04-23 16:45:59 +02:00
1ee8c69d1b
don't use exact integer types where it's not necessary
2025-04-17 09:45:27 +02:00
f72949dc38
use new time system rather than the badly written old one
2025-03-22 23:51:51 +01:00
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
7fb624311f
use new error files
2025-03-22 12:08:47 +01:00
0596f8d5d5
fix: forgot to rename renderdata to a lowercase variant
2025-02-12 17:29:34 +01:00
4ed4e9522f
fix: not using renderer and timer directly
2025-02-11 11:45:58 +01:00
3b5b7bf15b
add game times
2025-02-11 11:45:19 +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
94ff2d200a
add game music (very rudimentary and hacky)
2025-02-06 21:41:02 +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
bbd81b46c5
optimise row storage by just using one list
2025-02-01 01:10:30 +01:00
9b3d745274
add delay to make debugging easier
2025-01-29 15:55:25 +01:00
d0ba27ee0f
optimize clearing lines by using pointers to define the row order
2025-01-29 11:56:07 +01:00
b698a0e3d1
add some temporary code for setting a random tetromino
2025-01-27 15:32:05 +01:00
3190bb4732
fix pedantic warnings
2025-01-24 19:35:13 +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