Commit Graph

  • 333417dadd add funciton for data loading/processing Quinn 2025-07-23 16:37:10 +02:00
  • fd8db02e77 modify the array bytelength function to get the bytelength of a single tag. Quinn 2025-07-23 16:31:08 +02:00
  • 2daeb9823c add a function to get an NBT array bytelength Quinn 2025-07-23 14:37:23 +02:00
  • 4e1cd68c38 semantic fix, use explicit fallthrough Quinn 2025-07-23 14:06:45 +02:00
  • 501c623f01 rename nbt_prim_tagsize to nbt_primsize, for consistency. Quinn 2025-07-23 12:29:44 +02:00
  • 65ee7c5b55 add a function for checking whether a tag is primitive or not Quinn 2025-07-23 12:18:55 +02:00
  • 5d7c244c8f optimise switch of nbt_prim_tagsize Quinn 2025-07-23 12:14:03 +02:00
  • 9fd920908e move nbt_prim_tagsize to header, since it's a pretty useful funciton. Quinn 2025-07-23 12:12:36 +02:00
  • 8102dd6a71 fix: markdown footnote now uses correct format Quinn 2025-07-23 13:00:46 +02:00
  • ac3be7e8ab add link time optimalisation flag to makefile Quinn 2025-07-23 11:38:06 +02:00
  • 6c2f51929b write a function for skipping to the next NBT tag Quinn 2025-07-15 13:02:08 +02:00
  • ee1811a3a5 rewrite endian header to not interfere with the endian system header. Quinn 2025-07-15 23:40:43 +02:00
  • db76d6992b add function for comparing an NBT string with a C string Quinn 2025-07-15 13:01:34 +02:00
  • 8345ac1164 remove nbt_procdat struct Quinn 2025-07-15 12:59:30 +02:00
  • 13451da2e8 add basic function signature for processing the NBT data Quinn 2025-07-15 11:17:49 +02:00
  • 6aff9aa528 adapt data spec to use hexadecimal as well Quinn 2025-07-15 11:15:26 +02:00
  • be87ccbe22 explicitly set hexadecimal values in NBT tags Quinn 2025-07-15 10:37:10 +02:00
  • d1d5e14971 add a test which ensures that bit shift right is an arithmetic shift, not logical shift. Quinn 2025-07-13 12:21:37 +02:00
  • bcf7c9be60 improve coordinate conversion documentation, since our division was incorrect. Quinn 2025-07-13 12:05:27 +02:00
  • 8861e591f6 improve mc-data-spec docs code example slightly for cache predictability. Quinn 2025-07-07 15:03:34 +02:00
  • 2cb5d03211 write headers for data processing Quinn 2025-07-07 14:21:33 +02:00
  • 600fa0f25e add map colour definitions. Quinn 2025-07-07 14:19:55 +02:00
  • ceea087a88 remove colour32 typedef, and just use a 4D vector. Quinn 2025-07-07 11:49:39 +02:00
  • 9b9a20e226 we are using GNU extensions, using __builtin_bswap* is fine. Quinn 2025-07-07 11:47:13 +02:00
  • c56e2399e9 add struct for clairity Quinn 2025-07-07 11:18:59 +02:00
  • 66badc2dc6 add a definition to what BE means Quinn 2025-07-07 11:16:04 +02:00
  • 5e0db59198 fix: remove vector unit tests, since this code no longer exists. Quinn 2025-07-03 14:01:24 +02:00
  • 271773a28c replace vectors with SMID vectors. Quinn 2025-07-03 11:44:59 +02:00
  • 9de6e7f92e fix: window resize updates happen each update. Quinn 2025-07-03 11:52:25 +02:00
  • 2d059cf1db apply new formatting rules Quinn 2025-07-03 10:48:15 +02:00
  • da8e8c1450 update clang format to use better formatting rules Quinn 2025-07-03 10:41:50 +02:00
  • f4b1b46b49 strip end of line comments from clang-format file Quinn 2025-07-03 09:58:29 +02:00
  • 3e4d16a5be explicitly undefine NDEBUG in CFLAGS. Quinn 2025-06-23 13:19:06 +02:00
  • f78a5b6557 fix bug on windows tests failing; out was containing rubbish data Quinn 2025-06-20 20:58:31 +02:00
  • d56c69ec4c remove functions marked "inline" in conf.c Quinn 2025-06-20 20:13:36 +02:00
  • 80b8b65b73 define short-hand types for int32/uint32 et cetera Quinn 2025-06-20 19:54:34 +02:00
  • ad66d9465a remove unused header Quinn 2025-06-20 12:35:26 +02:00
  • cf1ed2a721 make colour definition more consise Quinn 2025-06-18 14:15:05 +02:00
  • 16e0c9a95e use vec2 to store window position Quinn 2025-06-18 13:28:03 +02:00
  • 9de057112b add integer vector types Quinn 2025-06-18 13:24:33 +02:00
  • e686baf5c1 clairify usage of long long with a comment Quinn 2025-06-18 13:24:23 +02:00
  • 6a10122858 define some more utility functionality Quinn 2025-06-18 13:24:04 +02:00
  • d28b0189c2 fix: integer types are truncated, rather than clamped. Prefer clamping so values behave as expected for the user. Quinn 2025-06-16 13:40:36 +02:00
  • 48f4b28f90 expand integer config tests Quinn 2025-06-16 12:30:05 +02:00
  • 38aa65942f cleanup shader code Quinn 2025-06-16 13:12:00 +02:00
  • 87af7f293f remove double include Quinn 2025-06-16 11:43:34 +02:00
  • 047b4155c3 make the three triangles of the screen Quinn 2025-06-15 16:08:00 +02:00
  • fe097f9d69 cleanup Quinn 2025-06-15 16:04:18 +02:00
  • f2c2eaf36d replace endianness tests with more robust and architecture-agnostic tests for swapping byte order Quinn 2025-06-15 15:55:15 +02:00
  • 1c8e3252e6 for byte swapping, now use a seperate header in which the compatibility code lives Quinn 2025-06-15 15:54:38 +02:00
  • 6997e08b05 add copyright information and code cleanup Quinn 2025-06-15 14:29:28 +02:00
  • efcc02248f fix: github actions having too much trouble executing wine Quinn 2025-06-15 14:12:49 +02:00
  • ca9413db67 add a recipe to print some session info when calling the makefile Quinn 2025-06-15 11:50:34 +02:00
  • 846cf467a3 utilise the quick compilation using default flags in the workflow Quinn 2025-06-15 11:22:21 +02:00
  • d4f2796859 add definitions to quickly compile using a some default parameters Quinn 2025-06-15 11:17:09 +02:00
  • 2b710a28bb fix: remove -DGLFW_DLL flag, since it has no reason to be there and is causing problems Quinn 2025-06-15 10:45:40 +02:00
  • c134963773 add windows testing Quinn 2025-06-15 00:32:41 +02:00
  • dc4dfe0cae add wine Quinn 2025-06-14 23:46:24 +02:00
  • b598db75c7 optimise dockerfile Quinn 2025-06-14 23:46:21 +02:00
  • bb1b36127e make compat/endian.h use different methods for swapping bytes depending on what is available Quinn 2025-06-14 22:31:52 +02:00
  • d277a1735b fix: long is 4 bytes on mingw systems Quinn 2025-06-14 21:43:33 +02:00
  • e833a13d29 fix: ulong not a type in mingw Quinn 2025-06-14 01:08:43 +02:00
  • 1679349098 allow the workflow to continue on some errors, since they're non-fatal Quinn 2025-06-13 02:08:34 +02:00
  • 1341708b6d add config file testing Quinn 2025-06-13 01:55:55 +02:00
  • bdeab76aac count total assertions, rather than tests given Quinn 2025-06-13 01:55:19 +02:00
  • a6ec8cf83d fix: windows compilation because it doesn't support sanitisers Quinn 2025-06-14 23:20:23 +02:00
  • f4a287857d tweak the testing flags a little, to catch errors a bit easier Quinn 2025-06-13 01:55:02 +02:00
  • 78f6d565fb fix: config getpat appender, using mempcpy and strpcpy instead, since it makes it less prone to errors Quinn 2025-06-13 01:54:43 +02:00
  • 9975aec7eb make error return 1 instead of aborting, as abort is rather cruel Quinn 2025-06-13 01:22:42 +02:00
  • c3bb0621c3 fix: wasn't handling floating-point numbers as output Quinn 2025-06-13 01:22:28 +02:00
  • 3a9fc7e0a4 update testing framework Quinn 2025-06-13 00:51:53 +02:00
  • 2489ecbb0b fix: no error return with procbuff. Quinn 2025-06-12 21:47:36 +02:00
  • e72de37642 add copyright info to the files that were missing it Quinn 2025-06-12 18:21:35 +02:00
  • 51be23d109 implement conf Quinn 2025-06-12 18:17:31 +02:00
  • 7dd464349f rework logging to be more optimised, and some minor improvements. Quinn 2025-06-12 18:09:23 +02:00
  • e6ffe785cd merge all seperate jobs into a single job, since this is more efficient. Quinn 2025-06-12 11:16:21 +02:00
  • 364bc9dacd fix: windows syntax errors / typos Quinn 2025-06-12 10:51:45 +02:00
  • 5e6d7d22e0 use my atrb header, since it's more platform-agnostic Quinn 2025-06-12 10:51:00 +02:00
  • cad49f2912 rework attribute definitions in atrb.h Quinn 2025-06-12 10:50:07 +02:00
  • 09ee136177 tmpfix: revert change for using APT instead of the docker container, as it doesn't work yet. Quinn 2025-06-11 17:59:08 +02:00
  • 261188e257 fix: no boolean incrementation Quinn 2025-06-11 17:57:07 +02:00
  • 0633de838c fix: attributes must be ahead of the function definition Quinn 2025-06-11 17:57:23 +02:00
  • be34e101fd remove loading file logic and instead focus on parsing the incomming text Quinn 2025-06-11 16:50:34 +02:00
  • ef0125e7b0 reorder functions to have config path generation be at the bottom Quinn 2025-06-11 16:43:11 +02:00
  • 0fe19b28fc add conf code start Quinn 2025-06-10 16:11:30 +02:00
  • 64f3ee457b set workflow vcpkg path to be within ${{github.workspace}} Quinn 2025-06-10 09:08:26 +02:00
  • 3d0b3a5e1e add log for debugging to makefile, where it logs the PKG_CONFIG_PATH value. Quinn 2025-06-09 18:04:31 +02:00
  • 4fc1717983 correct pkg-config command Quinn 2025-06-09 18:04:12 +02:00
  • 83f929911e reorder arguments in CI workflow Quinn 2025-06-09 18:03:23 +02:00
  • a7fb6136ea fix: renamed some symbols which were causing some compatibility problems Quinn 2025-06-08 00:59:42 +02:00
  • c77f711982 remove dependency on custom docker container, since it seems to be rather slow Quinn 2025-06-07 23:08:07 +02:00
  • 18bb82fa11 improve vcpkg generation / caching Quinn 2025-06-08 01:03:14 +02:00
  • 28a96a2cf6 compiling from scratch is faster than dealing with artifacts Quinn 2025-06-06 19:30:01 +02:00
  • de2e8a7ed8 store vcpkg in cache to reduce runtime performance hit Quinn 2025-06-06 19:22:08 +02:00
  • 89a82a6be2 use a geometry shader to render rectangles Quinn 2025-06-06 17:13:41 +02:00
  • ed7a157ee3 add shader compilation error logging Quinn 2025-06-06 12:49:35 +02:00
  • c5d3449abc rename shader files Quinn 2025-06-05 17:00:56 +02:00
  • a184cf93fc start working on a style reference sheet Quinn 2025-06-05 16:06:21 +02:00
  • 56749e2379 code semantic fixups Quinn 2025-06-05 16:05:37 +02:00
  • e57f499a32 add libmath to the linker Quinn 2025-06-05 00:14:53 +02:00