271d4e47d4
semantic fix: include headers directly
2025-04-16 14:17:53 +02:00
8bbcd29c56
add place sound effect
2025-03-25 12:02:02 +01: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
3b5b7bf15b
add game times
2025-02-11 11:45:19 +01:00
5db3519a87
add audio looping
2025-02-11 10:45:44 +01:00
9b98de0f89
increase memory safety of audio module & small optimisations
2025-02-10 17:21:29 +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
94ca7e3d08
rename Colour8 to colour8
2025-02-10 11:58:00 +01:00
94ff2d200a
add game music (very rudimentary and hacky)
2025-02-06 21:41:02 +01:00
319282b7c8
draw score text
2025-02-04 14:53:31 +01:00
be09d57a27
use "const" where able to + random readability changes
2025-02-04 12:17:42 +01:00
a9541812e0
reshape tetris window
2025-02-03 16:04:23 +01:00
c546f78c4c
use correct 8 bit colourspace instead of including alpha
2025-02-03 15:02:00 +01:00
df93300798
rework random shape selection
2025-02-03 14:05:53 +01:00
c21419480c
make playfield width 10 columns
2025-02-03 13:21:00 +01:00
bbd81b46c5
optimise row storage by just using one list
2025-02-01 01:10:30 +01:00
8d7434af28
fix: not able to place towards the far left
2025-01-29 17:46:10 +01:00
90031cf3da
set next block when placing a new block
2025-01-29 15:51:37 +01:00
2f21952562
pack more efficiently
2025-01-29 12:18:10 +01:00
d0ba27ee0f
optimize clearing lines by using pointers to define the row order
2025-01-29 11:56:07 +01:00
a2dd3914da
store selected shape id in game data
2025-01-28 16:29:48 +01:00
26770f38fe
change column size to 16 instead of 10
2025-01-27 00:16:50 +01:00
cc51611eb2
fix column size
2025-01-27 00:16:11 +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