Commit Graph

101 Commits

Author SHA1 Message Date
7fef5742cf allow makefile to execute the program, changed arguments to be environment variable based 2025-03-13 14:27:11 +01:00
9d1c63d635 create quaternion header 2025-03-11 17:54:52 +01:00
925bca5eda gename to , to , to and added a function called for vector-on-vector division 2025-03-10 13:19:38 +01:00
223790941c small optimisation to normalisation function 2025-03-10 13:01:38 +01:00
4d30ca3233 rename 'len'/'len2' functions with 'mag' and 'mag2' 2025-03-10 01:11:37 +01:00
Quinn
0afcc195a2 disable validate 2025-03-04 15:06:21 +01:00
Quinn
090ad29706 add github workflow 2025-03-04 15:04:20 +01:00
a651eab53f fix: debug logs were not appearing + added some useful debug logs + included exit code in error message 2025-03-04 14:57:39 +01:00
1d8a227180 fix: forgot to rename implementation back to 2025-03-04 14:41:34 +01:00
3af8cb9435 fix: the system was entirely unusable, just make the user input the constants themselves 2025-03-04 14:39:54 +01:00
c0bdc6ca17 add better error handling to include line and file in error messages 2025-03-04 14:29:58 +01:00
3164fe1661 fix: float4 did not have the functions named float4 + renamve to and create function 2025-03-04 13:27:46 +01:00
3da3e2897f add noreturn keyword to error function 2025-03-04 13:26:29 +01:00
9d50e7a584 add noreturn to functions which call 'exit' 2025-03-04 11:55:42 +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
14af4d7e80 fix: compilation by removing directories from the steps 2025-02-18 19:50:25 +01:00
27b7478972 include architecture in compilation, and remove unneeded recursion from compile_commands
also move profile log to build step
2025-02-18 19:43:04 +01:00
e504f00f83 add more logs 2025-02-18 17:33:24 +01:00
6229a3bfd3 exclude integer sanitiser when debugging as it'll do more harm than good 2025-02-17 19:00:54 +01:00
0e3c14664f add profile seperation 2025-02-17 18:52:49 +01:00
0bfe244a2d try to fix sanitisers 2025-02-17 18:31:08 +01:00
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