|
|
595336ad0c
|
touchups on the new error files
|
2025-03-22 12:08:47 +01:00 |
|
|
|
1abf9297ec
|
add new error files
add the error files from sdl_template.
they are called 'error' instead of 'errors'.
'error' shall replace 'errors' in a following commit
|
2025-03-22 12:08:47 +01:00 |
|
|
|
d44e99ade5
|
sync config files with template
|
2025-03-22 11:15:53 +01:00 |
|
|
|
bd904b5e32
|
some formatting fixes
|
2025-03-22 11:09:00 +01:00 |
|
|
|
a446368e56
|
add documentation files
|
2025-03-22 11:06:56 +01:00 |
|
|
|
25954afeea
|
fix: not updating text entirely
|
2025-02-17 00:41:59 +01:00 |
|
|
|
f30b8182b1
|
optimise text drawing function by only creating a new texture when necessary
|
2025-02-16 23:44:27 +01:00 |
|
|
|
2c5be9685c
|
fix: remove bitfield from union
|
2025-02-12 19:24:21 +01:00 |
|
|
|
0596f8d5d5
|
fix: forgot to rename renderdata to a lowercase variant
|
2025-02-12 17:29:34 +01:00 |
|
|
|
be3c796ec1
|
fix: lldb unable to connect to the program
|
2025-02-12 17:10:18 +01:00 |
|
|
|
f755f76636
|
make makefile output more readable and fix issues regarding debugging
|
2025-02-12 13:12:09 +01:00 |
|
|
|
5ad9be7bcc
|
fix: macros didn't have new struct name
|
2025-02-11 21:55:20 +01:00 |
|
|
|
e95e201116
|
fix: shape_ prefix to is_set
|
2025-02-11 21:54:23 +01:00 |
|
|
|
663e28f085
|
rename more typedefs to lowercase
|
2025-02-11 21:53:17 +01:00 |
|
|
|
8105d35272
|
add losing when the next shape overlaps the current one (just a basic quit)
|
2025-02-11 11:51:24 +01:00 |
|
|
|
4ed4e9522f
|
fix: not using renderer and timer directly
|
2025-02-11 11:45:58 +01:00 |
|
|
|
ecfe6b1452
|
add hardware acceleration
|
2025-02-11 11:45:28 +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 |
|
|
|
95daac90dd
|
update audio player to use a linked list instead of an array.
|
2025-02-11 10:45:18 +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 |
|
|
|
67e34a0cb0
|
add font
|
2025-02-06 14:33:54 +01:00 |
|
|
|
65bc44ef12
|
add score increasement
|
2025-02-04 15:20:20 +01:00 |
|
|
|
319282b7c8
|
draw score text
|
2025-02-04 14:53:31 +01:00 |
|
|
|
9dad1a2db4
|
got text working
|
2025-02-04 14:11:40 +01:00 |
|
|
|
628f69330e
|
fix: rect pointers are not created from a newly initialized rect
|
2025-02-04 13:58:11 +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 |
|
|
|
9cd45c2f20
|
fix: next shape is still shuffled
|
2025-02-04 10:34:39 +01:00 |
|
|
|
b3808a46a0
|
fix: next shape misaligned
|
2025-02-04 10:30:12 +01:00 |
|
|
|
bb8d9b47a2
|
fix: next shape is shuffled when shuffle is triggered
|
2025-02-04 10:15:55 +01:00 |
|
|
|
be800d2612
|
next block rendering
|
2025-02-03 16:24: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 |
|
|
|
150e811bdd
|
remove background
|
2025-02-03 15:32:08 +01:00 |
|
|
|
c546f78c4c
|
use correct 8 bit colourspace instead of including alpha
|
2025-02-03 15:02:00 +01:00 |
|
|
|
49b3add8c5
|
add background colour
|
2025-02-03 14:23:49 +01:00 |
|
|
|
4a2fb359fb
|
fix renderering to correctly determine width and height dynamically
|
2025-02-03 14:12:19 +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 |
|
|
|
56d957cbb2
|
fix; swapped S and Z
|
2025-02-01 23:41:24 +01:00 |
|
|
|
0432e847ac
|
rotation fixes and tweaks
|
2025-02-01 23:29:37 +01:00 |
|
|
|
8209aa1855
|
fix: rows are now being cleared properly and should no longer have any problems.
|
2025-02-01 03:14:44 +01:00 |
|
|
|
bbd81b46c5
|
optimise row storage by just using one list
|
2025-02-01 01:10:30 +01:00 |
|
|
|
2d6649e700
|
fix: bottom row not being cleared in double row
|
2025-01-29 18:03:15 +01:00 |
|
|
|
8d7434af28
|
fix: not able to place towards the far left
|
2025-01-29 17:46:10 +01:00 |
|