Commit Graph

51 Commits

Author SHA1 Message Date
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
796044a75a add cwd to launch arguments 2025-01-25 16:04:56 +01:00
705d9df144 don't use ?= 2025-01-25 16:00:09 +01:00
7b001c64c7 update docmentation 2025-01-25 15:55:16 +01:00
595c76a3e6 update makefile to add asset copying 2025-01-25 15:47:25 +01:00
15d314127b allow for disabling creation of compile_commands.json 2025-01-24 20:03:46 +01:00
e69bd03dbf make some commands not log to the console 2025-01-24 19:51:35 +01:00
85f3a73409 fix: pedantic warnings 2025-01-24 19:50:31 +01:00
591d09b610 add C versionioning to makefile 2025-01-24 19:41:32 +01:00
6f780e66c1 add header tracking + automatic generation of compile_commands.json 2025-01-20 21:56:10 +01:00
a8efd5875d use pkgconfig instead of sdlconfig 2025-01-13 00:21:41 +01:00
bc92e462ee reorder makefile 2025-01-13 00:20:43 +01:00
e165ac57a2 add cache directory to gitignore 2025-01-13 00:17:22 +01:00
33fef67e3b reset main function to include parameters 2025-01-13 00:17:10 +01:00
dde1be55d3 SDL2/SDL.h -> SDL.h 2025-01-13 00:15:12 +01:00
676f27c094 make compile_commands.json when opening directory 2025-01-13 00:14:52 +01:00
d3585ada15 rm problem matchers 2025-01-13 00:12:17 +01:00
da0a63aa50 split cflags and libs 2025-01-12 22:51:40 +01:00
4005e367e3 make some makefile changes, to make things more consise 2025-01-12 21:58:21 +01:00
c53ff4692e switch to clang compiler 2025-01-12 20:33:57 +01:00
264648601a re-comment the audio data loading, as it causes issues 2025-01-12 20:28:00 +01:00
d04c1e879c make various changes regarding code safety and stylistic choices 2025-01-12 20:12:43 +01:00
d915f0ede2 fix: makefile formatting problem with win 2025-01-12 19:03:00 +01:00
5d845cbecc update vscode tasks 2025-01-12 19:02:18 +01:00
f44c6f6914 switch to a makefile build system 2025-01-12 15:11:05 +01:00
9c5857e931 update template 2024-12-02 10:37:46 +01:00
Quinn
f1740e7e72 add comment ._. 2024-09-12 00:41:42 +02:00
Quinn
cccc2a61bb add executable check in build 2024-09-12 00:41:09 +02:00