Commit Graph

  • 6f1d39253c add more attributes main Quinn 2025-04-09 21:03:14 +02:00
  • fadd7f4232 add assertions for sanity checks in some locations Quinn 2025-04-09 20:59:10 +02:00
  • 72cc00bf67 semantic fix Quinn 2025-04-09 20:29:27 +02:00
  • dcb2085175 use NDEBUG rather than DEBUG preprocessor definition, to be compatible with stdc Quinn 2025-04-09 20:26:18 +02:00
  • 9e16484a22 fix: remove root=true so some settings are able to be overridden by users (tab width) Quinn 2025-04-09 20:24:49 +02:00
  • 7188b8f75b fix: remove unused cli arg warning and place -std and -x flags correctly Quinn 2025-03-25 15:07:35 +01:00
  • 2be3132cec semantic fixes for not including headers directly Quinn 2025-03-25 15:07:06 +01:00
  • 10fcb8a09a fix: use dev's channels for the time computation, rather than the local channel count Quinn 2025-03-25 11:55:56 +01:00
  • 0f839d0803 fix: small audio fragments evaluate to 0, multiply by zero earlier in the process Quinn 2025-03-25 11:55:04 +01:00
  • df65ea5df4 fix: did not update the conversion length to the correct new length Quinn 2025-03-25 11:18:10 +01:00
  • c729ae3a6b improve comments Quinn 2025-03-25 11:17:39 +01:00
  • 6cfd553f33 fix: don't multiply the buffer length, as it's already the length of the audio buffer in bytes Quinn 2025-03-25 11:10:36 +01:00
  • 52fefcef2b better logging / documentation Quinn 2025-03-25 11:02:57 +01:00
  • 701c2bbaa7 fix: not checking success for SDL_BuildAudioCVT Quinn 2025-03-25 11:00:36 +01:00
  • ae80f6ea4c fix: typo Quinn 2025-03-25 10:06:36 +01:00
  • 2dd6344e87 modify indent_size so users can customise it Quinn 2025-03-24 10:42:22 +01:00
  • eea5e6d6cb update gametime to be less heavy and more flexible Quinn 2025-03-22 23:13:19 +01:00
  • 158686d2af add const where applicable Quinn 2025-03-22 17:33:19 +01:00
  • bcbf62b1a7 fix: not calculating the correct amount of seconds Quinn 2025-03-22 17:32:55 +01:00
  • e35588d9ea include file + line number with the log Quinn 2025-03-22 15:34:32 +01:00
  • 5f776c4081 fix: inverted boolean check for converting audio Quinn 2025-03-22 15:33:53 +01:00
  • af2983b941 fix: don't free the same memory twice Quinn 2025-03-22 15:33:24 +01:00
  • f4681cfc60 fix: don't free gametime, it is stack-allocated Quinn 2025-03-22 14:52:13 +01:00
  • 337745b76f rm gametime update from game_update, as it's already being updated in main Quinn 2025-03-22 14:49:33 +01:00
  • 94cf8cbfaf modify attributes header to include individual checks as well Quinn 2025-03-22 13:55:40 +01:00
  • c87c76ceab apply relevant attributes to relevant funcitons Quinn 2025-03-22 13:44:25 +01:00
  • eb8a16beda add attributes header Quinn 2025-03-22 13:44:14 +01:00
  • 68c61a04be fix: two gametimes were present Quinn 2025-03-22 12:57:12 +01:00
  • 7e5236db7c get rid of set_gamestatus as it's usecase is no longer relevant Quinn 2025-03-22 12:21:34 +01:00
  • aeaba3262f fix: errors aren't printed correctly, fatals are also not visually distinct Quinn 2025-03-22 12:15:53 +01:00
  • e3e095d3b1 fix: clean also requires ARCH Quinn 2025-03-22 12:14:19 +01:00
  • ad7db5c665 some visual fixes Quinn 2025-03-21 17:36:17 +01:00
  • afdc7de496 replace spaces with tabs Quinn 2025-03-21 17:35:54 +01:00
  • 19a223dd29 set to use tabs in configuration files Quinn 2025-03-21 17:35:41 +01:00
  • 4d31834178 apply new formatting rules to project Quinn 2025-03-21 16:46:03 +01:00
  • 42855bbf72 remove unneeded settings / simplify include sorting Quinn 2025-03-21 16:43:22 +01:00
  • ed8f781db4 modify project clang-format to the correct project formatting options Quinn 2025-03-21 16:40:11 +01:00
  • 1a47281ac9 add clang-format (p1) Quinn 2025-03-21 02:40:37 +01:00
  • dc027b0e51 unignore some of the files that I want to include Quinn 2025-03-18 16:25:32 +01:00
  • 4a60540b4c remove .vscode directory Quinn 2025-03-18 16:13:34 +01:00
  • 85fd7aef72 don't exit upon audio errors, log instead Quinn 2025-03-18 16:11:53 +01:00
  • 6e6e05c48c rename 'error' to 'fatal', add 'error' which just logs Quinn 2025-03-18 14:50:31 +01:00
  • 972aeb61e7 fix: quat_from_euler cosf32/sinf32 changed to cosf/sinf Quinn 2025-03-14 13:20:58 +01:00
  • 51a67bee8f implement quaternion functions Quinn 2025-03-14 13:13:47 +01:00
  • 07ca986809 finish comments for the PI/TAU constans Quinn 2025-03-14 12:07:40 +01:00
  • 82c5dbc502 renamed quaternion prefix to quat_ Quinn 2025-03-14 10:38:42 +01:00
  • c6c6b8aade add negate function to vector definitions Quinn 2025-03-14 10:35:08 +01:00
  • e13dea813f add dependency comment at the top of the makefile Quinn 2025-03-13 18:45:01 +01:00
  • 068a89f3cf update gitignore to be more broad Quinn 2025-03-13 15:31:04 +01:00
  • d2fb059af6 add indent_style to another property Quinn 2025-03-13 15:24:19 +01:00
  • 11eba2386c add editorconfig file Quinn 2025-03-13 15:13:39 +01:00
  • a0939b02b4 change optimizer from -O3 to -O2, as we do not need such an agressive optimiser Quinn 2025-03-13 14:30:24 +01:00
  • 56ea63cdff remove emscripten compilation, as it's largely unused Quinn 2025-03-13 14:29:48 +01:00
  • 7fef5742cf allow makefile to execute the program, changed arguments to be environment variable based Quinn 2025-03-13 14:27:11 +01:00
  • 9d1c63d635 create quaternion header Quinn 2025-03-11 17:54:52 +01:00
  • 925bca5eda gename to , to , to and added a function called for vector-on-vector division Quinn 2025-03-10 13:19:38 +01:00
  • 223790941c small optimisation to normalisation function Quinn 2025-03-10 13:01:38 +01:00
  • 4d30ca3233 rename 'len'/'len2' functions with 'mag' and 'mag2' Quinn 2025-03-10 01:09:07 +01:00
  • 0afcc195a2 disable validate Quinn 2025-03-04 15:06:21 +01:00
  • 090ad29706 add github workflow Quinn 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 Quinn 2025-03-04 14:57:39 +01:00
  • 1d8a227180 fix: forgot to rename implementation back to Quinn 2025-03-04 14:41:34 +01:00
  • 3af8cb9435 fix: the system was entirely unusable, just make the user input the constants themselves Quinn 2025-03-04 14:39:54 +01:00
  • c0bdc6ca17 add better error handling to include line and file in error messages Quinn 2025-03-04 14:29:58 +01:00
  • 3164fe1661 fix: float4 did not have the functions named float4 + renamve to and create function Quinn 2025-03-04 13:27:46 +01:00
  • 3da3e2897f add noreturn keyword to error function Quinn 2025-03-04 13:26:29 +01:00
  • 9d50e7a584 add noreturn to functions which call 'exit' Quinn 2025-03-04 11:55:42 +01:00
  • f7cfeb3ad5 move includes to more logical positions Quinn 2025-02-27 23:56:25 +01:00
  • 07dd15224c add seconds to gametime so those may also be used Quinn 2025-02-18 20:24:30 +01:00
  • c0f1678142 start using gametime Quinn 2025-02-18 20:03:13 +01:00
  • 14af4d7e80 fix: compilation by removing directories from the steps Quinn 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 Quinn 2025-02-18 19:43:04 +01:00
  • e504f00f83 add more logs Quinn 2025-02-18 17:33:24 +01:00
  • 6229a3bfd3 exclude integer sanitiser when debugging as it'll do more harm than good Quinn 2025-02-17 19:00:54 +01:00
  • 0e3c14664f add profile seperation Quinn 2025-02-17 18:52:49 +01:00
  • 0bfe244a2d try to fix sanitisers Quinn 2025-02-17 18:31:08 +01:00
  • 3daa7d417b add freeing code to the different modules Quinn 2025-02-16 20:20:26 +01:00
  • ca47a517ae fix: add freeing at the end of main, and don't call exit in update Quinn 2025-02-16 19:12:02 +01:00
  • a424346e78 add sanitizers to debug builds Quinn 2025-02-16 19:08:00 +01:00
  • 4b3f7ef455 further fixes with dynarr Quinn 2025-02-15 15:01:05 +01:00
  • 5a237ad200 implement audio module Quinn 2025-02-14 20:25:50 +01:00
  • 178552c5c5 allow setting of game status & escape exits window dev/redesign unset 2025-02-14 19:27:30 +01:00
  • 9dfdd1818a allow setting of game status & escape exits window Quinn 2025-02-14 19:27:30 +01:00
  • 080de3b529 remove float definition from dynarr so it's usable unset 2025-02-14 19:20:04 +01:00
  • f8f6f654b6 remove float definition from dynarr so it's usable Quinn 2025-02-14 19:20:04 +01:00
  • 84fe85817f miscellaneous fixes to dynarr unset 2025-02-14 19:19:44 +01:00
  • 2a68328f85 miscellaneous fixes to dynarr Quinn 2025-02-14 19:19:44 +01:00
  • df926a85a5 implement bulk addition / removal unset 2025-02-14 18:33:49 +01:00
  • 286cc5464f implement bulk addition / removal Quinn 2025-02-14 18:33:49 +01:00
  • fa4ab261e9 add the capacity to set the new capacity to zero unset 2025-02-14 17:21:45 +01:00
  • 2ae95f4fc0 add the capacity to set the new capacity to zero Quinn 2025-02-14 17:21:45 +01:00
  • ce71ae357f add dynarr bulk function definitions unset 2025-02-14 17:20:21 +01:00
  • 445737594d add dynarr bulk function definitions Quinn 2025-02-14 17:20:21 +01:00
  • 840d0cf638 add shrinking functionality and make shrinking respect scaling unset 2025-02-14 17:16:48 +01:00
  • a4e5b3f4db add shrinking functionality and make shrinking respect scaling Quinn 2025-02-14 17:16:48 +01:00
  • a2311238f4 apply some fixes to dynarr unset 2025-02-14 17:10:50 +01:00
  • c2e3e8d17d apply some fixes to dynarr Quinn 2025-02-14 17:10:50 +01:00
  • de60204d51 add resizeing functions unset 2025-02-14 16:54:17 +01:00
  • 49bc822597 add resizeing functions Quinn 2025-02-14 16:54:17 +01:00
  • 81935dea34 add floating-point vectors unset 2025-02-14 15:08:11 +01:00