Commit Graph

29 Commits

Author SHA1 Message Date
2be3132cec semantic fixes for not including headers directly 2025-03-25 15:07:06 +01:00
eea5e6d6cb update gametime to be less heavy and more flexible 2025-03-22 23:13:19 +01:00
158686d2af add const where applicable 2025-03-22 17:33:19 +01:00
bcbf62b1a7 fix: not calculating the correct amount of seconds 2025-03-22 17:32:55 +01:00
f4681cfc60 fix: don't free gametime, it is stack-allocated 2025-03-22 14:52:13 +01:00
337745b76f rm gametime update from game_update, as it's already being updated in main 2025-03-22 14:49:33 +01:00
c87c76ceab apply relevant attributes to relevant funcitons 2025-03-22 13:44:25 +01:00
68c61a04be fix: two gametimes were present 2025-03-22 12:57:12 +01:00
7e5236db7c get rid of set_gamestatus as it's usecase is no longer relevant 2025-03-22 12:21:34 +01:00
afdc7de496 replace spaces with tabs 2025-03-21 17:35:54 +01:00
07ca986809 finish comments for the PI/TAU constans 2025-03-14 12:07:40 +01:00
f7cfeb3ad5 move includes to more logical positions 2025-02-27 23:56:25 +01:00
07dd15224c add seconds to gametime so those may also be used 2025-02-18 20:24:30 +01:00
c0f1678142 start using gametime 2025-02-18 20:03:13 +01:00
3daa7d417b add freeing code to the different modules 2025-02-16 20:20:26 +01:00
9dfdd1818a allow setting of game status & escape exits window 2025-02-14 19:27:30 +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
197156067d rename error_hangling to error. Also add the needed SDL code in main.c 2025-02-13 15:40:39 +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
70413c38c8 setup base project (removing everything) 2025-02-13 13:07:20 +01:00
f4274807cf change the void pointer out for a uint8_t in default game data 2025-02-12 17:45:20 +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
85f3a73409 fix: pedantic warnings 2025-01-24 19:50:31 +01:00
dde1be55d3 SDL2/SDL.h -> SDL.h 2025-01-13 00:15:12 +01:00
Quinn
659df362a4 added some files 2024-09-12 00:20:27 +02:00