|
|
3daa7d417b
|
add freeing code to the different modules
|
2025-02-16 20:20:26 +01:00 |
|
|
|
ca47a517ae
|
fix: add freeing at the end of main, and don't call exit in update
|
2025-02-16 19:12:02 +01:00 |
|
|
|
a424346e78
|
add sanitizers to debug builds
|
2025-02-16 19:08:00 +01:00 |
|
|
|
4b3f7ef455
|
further fixes with dynarr
|
2025-02-15 15:01:05 +01:00 |
|
|
|
5a237ad200
|
implement audio module
|
2025-02-14 20:25:50 +01:00 |
|
|
|
9dfdd1818a
|
allow setting of game status & escape exits window
|
2025-02-14 19:27:30 +01:00 |
|
|
|
f8f6f654b6
|
remove float definition from dynarr so it's usable
|
2025-02-14 19:20:04 +01:00 |
|
|
|
2a68328f85
|
miscellaneous fixes to dynarr
|
2025-02-14 19:19:44 +01:00 |
|
|
|
286cc5464f
|
implement bulk addition / removal
|
2025-02-14 18:33:49 +01:00 |
|
|
|
2ae95f4fc0
|
add the capacity to set the new capacity to zero
|
2025-02-14 17:21:45 +01:00 |
|
|
|
445737594d
|
add dynarr bulk function definitions
|
2025-02-14 17:20:21 +01:00 |
|
|
|
a4e5b3f4db
|
add shrinking functionality and make shrinking respect scaling
|
2025-02-14 17:16:48 +01:00 |
|
|
|
c2e3e8d17d
|
apply some fixes to dynarr
|
2025-02-14 17:10:50 +01:00 |
|
|
|
49bc822597
|
add resizeing functions
|
2025-02-14 16:54:17 +01:00 |
|
|
|
3d36b26fd9
|
add floating-point vectors
|
2025-02-14 15:08:11 +01:00 |
|
|
|
12fc702f49
|
remove all vec2 code generation as it does more harm than good
|
2025-02-14 14:44:52 +01:00 |
|
|
|
4bd65a4c00
|
fix: still had an integer definition in vec2.h
|
2025-02-14 14:16:50 +01:00 |
|
|
|
1c2706306d
|
add vector header definitions
|
2025-02-14 14:14:12 +01:00 |
|
|
|
b17d2731f8
|
move code generation to gen subdirectory
|
2025-02-14 14:00:19 +01:00 |
|
|
|
307e6fefd8
|
added note to shrink todo
|
2025-02-14 01:41:30 +01:00 |
|
|
|
bf85033f5f
|
add some todos
|
2025-02-14 01:37:27 +01:00 |
|
|
|
3f258f319d
|
fix: if capacity of the dynarr is 0, the capacity is unable to grow
|
2025-02-14 01:31:22 +01:00 |
|
|
|
de7a497fd8
|
add a very basic vector2 implementation.
|
2025-02-14 01:26:20 +01:00 |
|
|
|
0618c4181c
|
did not undef all definitions, and small syntactical changes
|
2025-02-14 01:14:23 +01:00 |
|
|
|
82cb949219
|
added a dynamic array header file
|
2025-02-14 01:05:22 +01:00 |
|
|
|
aa2a2c0f71
|
some formatting fixes
|
2025-02-13 22:47:42 +01:00 |
|
|
|
d62213de38
|
- game_data -> gamedata
- `render_data` -> `renderdata`
|
2025-02-13 22:47:00 +01:00 |
|
|
|
b5c531532e
|
add gametime
|
2025-02-13 22:46:17 +01:00 |
|
|
|
ecdec2ab2a
|
implement rendering
|
2025-02-13 22:11:28 +01:00 |
|
|
|
40bf80d9ba
|
add colour headers back
|
2025-02-13 22:11:01 +01:00 |
|
|
|
197156067d
|
rename error_hangling to error. Also add the needed SDL code in main.c
|
2025-02-13 15:40:39 +01:00 |
|
|
|
8b5c4429c8
|
fix: error really should exit immediately when called
|
2025-02-13 15:33:23 +01:00 |
|
|
|
6f483cb0f5
|
make basic header files.
|
2025-02-13 15:31:10 +01:00 |
|
|
|
26deaa0e6c
|
create extra files
|
2025-02-13 14:53:29 +01:00 |
|
|
|
a91f26259e
|
implement / re-implement error-handling
|
2025-02-13 14:51:01 +01:00 |
|
|
|
70413c38c8
|
setup base project (removing everything)
|
2025-02-13 13:07:20 +01:00 |
|
|
|
14bedd9bcd
|
don't use a union for colour8 bitfield as it's unpredictable
|
2025-02-13 13:01:40 +01:00 |
|
|
|
75beda5b23
|
move the SDL renderer colour setters to the header files and fix some documentation
|
2025-02-12 18:59:58 +01:00 |
|
|
|
ef3aa869ec
|
add inline function definitions
|
2025-02-12 18:54:09 +01:00 |
|
|
|
0b8564bbaa
|
add more american macros
|
2025-02-12 17:58:01 +01:00 |
|
|
|
3687f0076a
|
add colour definitions
|
2025-02-12 17:56:28 +01:00 |
|
|
|
f4274807cf
|
change the void pointer out for a uint8_t in default game data
|
2025-02-12 17:45:20 +01:00 |
|
|
|
5acabfbb5e
|
preform audio rework to allow for dynamic audio allocation upon new audio being played and also include the amount of miliseconds that a given fragment occupies
|
2025-02-12 17:44:15 +01:00 |
|
|
|
78a231a4f2
|
rename most types to lowercase, shuffle things around about definition-wise and added more default definitions
|
2025-02-12 17:41:59 +01:00 |
|
|
|
7bbff87bfd
|
update makefile to include colour printing, correctly dispose of all files and use the basename for the project name
|
2025-02-12 17:18:16 +01:00 |
|
|
|
61abc20ed7
|
remove duplicate -Wall
|
2025-01-26 12:35:19 +01:00 |
|
|
|
9709861793
|
makefile can now also execute code
|
2025-01-26 12:30:02 +01:00 |
|
|
|
ce257729d5
|
project name variable fix
|
2025-01-26 11:57:28 +01:00 |
|
|
|
9f9e110dbd
|
allow to add debug parameter
|
2025-01-26 11:45:53 +01:00 |
|
|
|
5337252be3
|
update build system to provide more warnings
|
2025-01-26 11:38:33 +01:00 |
|