Commit Graph

262 Commits

Author SHA1 Message Date
66badc2dc6 add a definition to what BE means 2025-07-07 14:27:28 +02:00
5e0db59198 fix: remove vector unit tests, since this code no longer exists. 2025-07-07 14:27:28 +02:00
271773a28c replace vectors with SMID vectors. 2025-07-07 14:27:28 +02:00
9de6e7f92e fix: window resize updates happen each update. 2025-07-03 11:52:27 +02:00
2d059cf1db apply new formatting rules 2025-07-03 10:55:33 +02:00
da8e8c1450 update clang format to use better formatting rules 2025-07-03 10:55:33 +02:00
f4b1b46b49 strip end of line comments from clang-format file 2025-07-03 09:58:42 +02:00
3e4d16a5be explicitly undefine NDEBUG in CFLAGS. 2025-06-23 13:19:06 +02:00
f78a5b6557 fix bug on windows tests failing; out was containing rubbish data 2025-06-20 20:58:31 +02:00
d56c69ec4c remove functions marked "inline" in conf.c 2025-06-20 20:39:59 +02:00
80b8b65b73 define short-hand types for int32/uint32 et cetera 2025-06-20 20:39:59 +02:00
ad66d9465a remove unused header 2025-06-20 12:35:26 +02:00
cf1ed2a721 make colour definition more consise 2025-06-18 14:17:31 +02:00
16e0c9a95e use vec2 to store window position 2025-06-18 13:28:03 +02:00
9de057112b add integer vector types 2025-06-18 13:24:33 +02:00
e686baf5c1 clairify usage of long long with a comment 2025-06-18 13:24:23 +02:00
6a10122858 define some more utility functionality 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. 2025-06-16 13:40:53 +02:00
48f4b28f90 expand integer config tests 2025-06-16 13:40:53 +02:00
38aa65942f cleanup shader code
added a cast to uintptr_t, since we're (pretty) certain that both array
pointers point to the same array.
Other than that, made the shader initialization code more consise
2025-06-16 13:40:53 +02:00
87af7f293f remove double include 2025-06-16 13:40:53 +02:00
047b4155c3 make the three triangles of the screen 2025-06-16 13:40:53 +02:00
fe097f9d69 cleanup 2025-06-16 13:40:53 +02:00
f2c2eaf36d replace endianness tests with more robust and architecture-agnostic tests for swapping byte order 2025-06-15 16:01:28 +02:00
1c8e3252e6 for byte swapping, now use a seperate header in which the compatibility code lives 2025-06-15 15:54:38 +02:00
6997e08b05 add copyright information and code cleanup 2025-06-15 14:29:28 +02:00
efcc02248f fix: github actions having too much trouble executing wine 2025-06-15 14:16:43 +02:00
ca9413db67 add a recipe to print some session info when calling the makefile 2025-06-15 13:57:52 +02:00
846cf467a3 utilise the quick compilation using default flags in the workflow 2025-06-15 13:57:52 +02:00
d4f2796859 add definitions to quickly compile using a some default parameters 2025-06-15 13:57:52 +02:00
2b710a28bb fix: remove -DGLFW_DLL flag, since it has no reason to be there and is causing problems 2025-06-15 13:57:52 +02:00
c134963773 add windows testing 2025-06-15 13:57:52 +02:00
dc4dfe0cae add wine 2025-06-15 13:57:52 +02:00
b598db75c7 optimise dockerfile
move everything to a single RUN to keep run-layering at a minimum.
furthermore, broke up some dependencies.
2025-06-15 13:57:52 +02:00
bb1b36127e make compat/endian.h use different methods for swapping bytes depending on what is available 2025-06-15 13:57:52 +02:00
d277a1735b fix: long is 4 bytes on mingw systems 2025-06-15 13:57:52 +02:00
e833a13d29 fix: ulong not a type in mingw 2025-06-15 13:57:52 +02:00
Quinn
1679349098 allow the workflow to continue on some errors, since they're non-fatal
Signed-off-by: Quinn <99677023+thepigeongenerator@users.noreply.github.com>
2025-06-15 13:57:52 +02:00
1341708b6d add config file testing 2025-06-15 13:57:52 +02:00
bdeab76aac count total assertions, rather than tests given 2025-06-15 13:57:52 +02:00
a6ec8cf83d fix: windows compilation because it doesn't support sanitisers 2025-06-15 13:57:52 +02:00
f4a287857d tweak the testing flags a little, to catch errors a bit easier 2025-06-13 01:55:44 +02:00
78f6d565fb fix: config getpat appender, using mempcpy and strpcpy instead, since it makes it less prone to errors 2025-06-13 01:55:44 +02:00
9975aec7eb make error return 1 instead of aborting, as abort is rather cruel 2025-06-13 01:55:44 +02:00
c3bb0621c3 fix: wasn't handling floating-point numbers as output 2025-06-13 01:55:44 +02:00
3a9fc7e0a4 update testing framework 2025-06-13 01:55:44 +02:00
2489ecbb0b fix: no error return with procbuff. 2025-06-12 21:47:36 +02:00
e72de37642 add copyright info to the files that were missing it 2025-06-12 18:21:35 +02:00
51be23d109 implement conf 2025-06-12 18:17:31 +02:00
7dd464349f rework logging to be more optimised, and some minor improvements.
removed function definitions and opted for using macros instead.
It now does not have a set limit when it comes to printing (at least,
it's the stdc's limit again). However, it is now no longer possible to
use a character pointer to print information to the screen.
2025-06-12 18:09:23 +02:00