Commit Graph

  • 9e8f5958c7 write conf scripts main Quinn 2025-12-15 18:52:47 +01:00
  • bc0743a72b add __assume__ macro definition in atrb.h Quinn 2025-12-15 12:32:34 +01:00
  • 81b21ff7ce move windowing code into io/win Quinn 2025-12-15 10:02:54 +01:00
  • 7df20e9aa1 remove mapcolour files, since we don't use them Quinn 2025-12-15 09:56:45 +01:00
  • 5cf0292ebe delete configuration logic Quinn 2025-12-15 09:54:57 +01:00
  • 64b06d88c8 fix: error headers were needlessly backing out of util/ Quinn 2025-12-15 09:54:17 +01:00
  • 8bb8671fb0 rephrase the header a little, to not be confusing when a file is copy-pasted. Quinn 2025-11-13 22:29:41 +01:00
  • 8d0e825157 rewrite copyright file header to provide more information about where the file is from. Quinn 2025-11-13 22:24:09 +01:00
  • 5f909d1d65 rework the flow of the Makefile. Quinn 2025-10-23 15:28:42 +02:00
  • 87541d5789 modify Makefile to be more in-line with the GNU standard. Quinn 2025-10-20 15:04:17 +02:00
  • 316726a610 tmp: revert enabling a column limit Quinn 2025-10-16 23:35:30 +02:00
  • 1aa34f7d3f enable a column limit. Quinn 2025-10-09 21:12:53 +02:00
  • 00719b1933 refactor code with new formatting rules Quinn 2025-10-09 18:43:09 +02:00
  • eb45650178 fix: use uintptr over usize in locations where applicable Quinn 2025-10-09 12:33:28 +02:00
  • 8ca49aa4fa fix: ssize got removed in rework of intdef.h/types.h. Quinn 2025-10-09 12:28:24 +02:00
  • d4fabf437c reformat the code by enabeling assignment- and declaration alignment. Quinn 2025-10-09 12:17:04 +02:00
  • cebe0df8a2 move /src/error.? to /src/util/error.? Quinn 2025-10-09 12:08:57 +02:00
  • aa58d931aa move /src/util/intdef.h to /src/util/types.h Quinn 2025-10-09 12:05:01 +02:00
  • 27c862c215 rework intdef.h to not rely upon standard library headers by using predefined macros. Quinn 2025-10-09 11:59:59 +02:00
  • 6eb7d126da create a custom definition for size_t and ssize_t, which is ssize and usize, for conveinience. Quinn 2025-09-18 10:39:57 +02:00
  • 1e24a4ee92 add a CI status badge to the README.md Quinn 2025-09-18 09:58:05 +02:00
  • 181fca6828 fix: windows test; USERPROFILE should also result in a roaming path. Quinn 2025-09-18 09:50:56 +02:00
  • f6e5712876 fix: testing warnings Quinn 2025-09-18 09:47:31 +02:00
  • 47d34b3f7d rewrite testing code to be a bit more durable and clean. Quinn 2025-09-17 16:52:18 +02:00
  • e623a352d2 fix: windows cache is not caching correctly. Quinn 2025-09-17 13:59:03 +02:00
  • 079361771f fix-test: windows compilation; append some extra libraries when compiling windows. Quinn 2025-09-17 13:44:34 +02:00
  • 66e3d0d06f revert previous, since the compilation has concluded Quinn 2025-09-17 12:55:33 +02:00
  • adfca88d3c push compilation of libraries on everything to get rid of turtle compilation speeds Quinn 2025-09-17 12:51:20 +02:00
  • e9c922d3cd revert forced usage of bash, instead opt for (more) explicit compiler selection. Quinn 2025-09-17 12:26:50 +02:00
  • d46f8c0900 always use bash as the shell. Quinn 2025-09-17 12:13:46 +02:00
  • 2261209d8d win: increase cores, to hopefully not spend 20min on compilation. Quinn 2025-09-17 12:13:34 +02:00
  • a16f454396 drop macosx support; the fix introduced a new bug Quinn 2025-09-17 11:32:36 +02:00
  • 945a82e5f6 test-fix: windows compilation Quinn 2025-09-17 11:24:53 +02:00
  • 88d39150dd test-fix: macosx compilation Quinn 2025-09-17 11:07:21 +02:00
  • 76c992efdc note about the memory leak I could not locate within my code. Quinn 2025-09-15 15:13:48 +02:00
  • 28b98705f5 refactor the lot a bit, for clairity. Quinn 2025-09-15 15:08:15 +02:00
  • 057b234251 fix: don't free window twice Quinn 2025-09-15 15:07:41 +02:00
  • dd2f4c403c add copyright information to error.c Quinn 2025-09-15 14:15:51 +02:00
  • dc3abf992b handle window exits more gracefully and appropriately. Quinn 2025-09-15 14:15:40 +02:00
  • 1e10fec9c6 rename input callback to something more appropriate. Quinn 2025-09-15 14:12:18 +02:00
  • 41d944ac21 remove old/stale code from main.c Quinn 2025-09-15 14:00:40 +02:00
  • faa93f4372 remove needless inline function from main.c Quinn 2025-09-15 13:57:43 +02:00
  • e3c0afbb2f fix: glfw error logging inconsistent with how the rest of our application logs errors. Quinn 2025-09-15 13:55:32 +02:00
  • 11c8748262 define GLFW_INCLUDE_NONE, so glfw knows we're using custom headers. Quinn 2025-09-15 13:51:31 +02:00
  • 25fa078c98 add a check for debug logging, to only log when the environment variable DEBUG is set to 1 Quinn 2025-09-15 13:36:42 +02:00
  • 023123e54f make debug loggers not be needlessly abbreviated. Quinn 2025-09-15 13:06:20 +02:00
  • b13739c782 do not bother with recompiling the libraries, if we got a cache hit. Quinn 2025-09-15 12:51:48 +02:00
  • 5db42a2b15 disable windows from the CI. Quinn 2025-09-15 12:42:59 +02:00
  • 2277b8ec77 use a more accurate hash for caching submodule objects. Quinn 2025-09-15 12:41:52 +02:00
  • fa26a3561d disable macosx for the time being, it is non-functional and I can't/won't test it anyway. Quinn 2025-09-15 12:34:30 +02:00
  • 15b5430611 Instead of using cmake, I *obviously* need to use cmake -G 'Unix Makefiles'. How silly of me. Quinn 2025-09-15 12:25:53 +02:00
  • 6c184a4d36 re-enable windows, and see what happens. Quinn 2025-09-15 12:17:37 +02:00
  • 82ebe1f4d1 fix: use CC instead of LD, and deprecate LD Quinn 2025-09-15 12:08:39 +02:00
  • 5f3bd40a47 potato time. Quinn 2025-09-15 12:01:54 +02:00
  • 158a7f8383 fix: don't use UNIX sh based ifs, instead opt for GNU Make. Quinn 2025-09-15 11:57:26 +02:00
  • c32d1551c8 fix: regular xxd does not have -n, thus using some argument manipulation magic Quinn 2025-09-15 11:44:32 +02:00
  • b04ce9998f fix: shader hex code is formatted incorrectly Quinn 2025-09-15 11:08:54 +02:00
  • 218b98e684 fix: colour coding on error messages is incorrect Quinn 2025-09-15 11:07:20 +02:00
  • f20171c0d7 fix: using the linker for generating a .o file is a feature for only GNU ld. Quinn 2025-09-15 11:04:04 +02:00
  • 3a7709c392 fix: use more accurate linker flags / calling. Quinn 2025-09-15 10:14:42 +02:00
  • ec36d8c475 add runner architecture to the action cache Quinn 2025-09-15 10:04:58 +02:00
  • a14ef55262 fix: testing compilation does not correctly filter out main.o Quinn 2025-09-15 09:56:08 +02:00
  • d340bbe40b fix: fminf and other <math.h> from libm not found. Quinn 2025-09-15 09:55:48 +02:00
  • 0f6a2579b9 forcibly recompile the libs, so if deps get updated, this will be carried through. Quinn 2025-09-15 09:40:31 +02:00
  • 1ac4592503 Aparrently, the act docker container does not have cmake installed. Quinn 2025-09-15 09:34:27 +02:00
  • 4da02373a5 disable fail fast, so feedback is provided for all matrix combinations Quinn 2025-09-15 09:25:05 +02:00
  • c724ff0449 remove explicit definition for repository, since it messes with act Quinn 2025-09-15 09:20:07 +02:00
  • 348c4e484c fix: clean-libs can fail when it shouldn't Quinn 2025-09-13 21:44:46 +02:00
  • 1140bd97bf fix: linking library glfw, whilst the library compilation produces libglfw3. Quinn 2025-09-13 21:32:33 +02:00
  • 997b15c640 fix: obj/res/ path did not create a directory, so likely failed to place anything there. Quinn 2025-09-13 21:17:07 +02:00
  • f481af7e78 fix: incorrect gl.c path Quinn 2025-09-13 21:16:33 +02:00
  • 1169ca98b1 use threaded makefile for more efficiency. Quinn 2025-09-13 21:11:58 +02:00
  • 75ebff9071 remove pointer arithmatic warnings, since they are just useful Quinn 2025-09-13 21:11:38 +02:00
  • 4f081e7f3e remove usage of mempcpy; this is apart of GNU C Quinn 2025-09-13 21:09:56 +02:00
  • 8a1ed6e3c4 attempt without including windows Quinn 2025-09-13 21:04:29 +02:00
  • a7678c874c write a CI workflow for multiple OSes, that compile and test the code using the makefile. Quinn 2025-09-13 20:04:38 +02:00
  • d9ddae770a fix: just use compiler builtins with endianess Quinn 2025-09-13 19:38:38 +02:00
  • c2e1b67b4c seperate out library compilation from general compilation Quinn 2025-09-12 17:42:46 +02:00
  • 8548c2d037 fix: log macros were using GNU extensions without them needing them. Quinn 2025-09-12 17:34:04 +02:00
  • 7ec6a3b91a fix: using __bswap_X functions over bswap_X macros, which we should be using. Quinn 2025-09-12 17:24:40 +02:00
  • 3f48a7abb2 add compile commands events to gitignore Quinn 2025-09-12 13:12:15 +02:00
  • 667814fb72 rework makefile to put extera emphasis on us no longer performing cross-platform compilation Quinn 2025-09-11 23:27:55 +02:00
  • 23fda298e6 fix: makefile had some duplicate configurations Quinn 2025-09-11 21:37:33 +02:00
  • 03c76b0be6 rename makefile to Makefile, to reflect how everyone seems to name their makefile. Quinn 2025-09-11 23:28:53 +02:00
  • f0d14e76b2 write decompression logic up to the point of hanelling the buffer. Quinn 2025-09-10 12:52:35 +02:00
  • 07f4ea34d2 macro flipped const char Quinn 2025-09-10 12:07:00 +02:00
  • 5de0c77992 start writing code for decompressing chunk data. Quinn 2025-09-05 21:24:21 +02:00
  • 2cfae0fce4 rework error.h, to decrease impact on binary size. Quinn 2025-09-05 15:17:53 +02:00
  • d933931829 fix: shouldn't multiply by CHUNKS, but by SECTOR Quinn 2025-09-04 13:28:13 +02:00
  • f020347f71 change mvchunks parameter order, to be a bit more clear and consistent with functions such as memmove Quinn 2025-09-04 13:04:26 +02:00
  • b13de01f24 fix: violating strict aliasing rules in most areas in the new code. Quinn 2025-09-04 11:13:07 +02:00
  • 3a0704710c add a flag when debugging to generate SIGFPE when signed integer overflow occurs. (this is UB) Quinn 2025-09-04 10:39:30 +02:00
  • b72b8eaee1 add comments to point at where strict aliasing rule violations occur in data scripts Quinn 2025-09-03 22:39:15 +02:00
  • 55635d44ae delete redundant COLOUR32 definitions Quinn 2025-09-01 16:26:38 +02:00
  • 4fa0b41e7a add quit in main.c to atexit, for added safety Quinn 2025-09-01 16:22:45 +02:00
  • 8a5afd6915 write a portable version of endian.h, to replace the system's endian.h. Quinn 2025-08-29 11:46:02 +02:00
  • 8b952fb86f edit makefile to remove redundant flags, and make clean task more conditional Quinn 2025-08-29 11:46:32 +02:00
  • 0baadfca75 update copyright information in all files Quinn 2025-08-29 09:35:44 +02:00
  • 9a45294e56 write some constants for mcx.c, so things are less error-prone. Quinn 2025-08-29 09:35:02 +02:00
  • 5b5f1f54af remove unneeded code Quinn 2025-08-28 16:46:27 +02:00