Commit Graph

137 Commits

Author SHA1 Message Date
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
e6ffe785cd merge all seperate jobs into a single job, since this is more efficient. 2025-06-12 11:16:21 +02:00
364bc9dacd fix: windows syntax errors / typos 2025-06-12 10:51:45 +02:00
5e6d7d22e0 use my atrb header, since it's more platform-agnostic 2025-06-12 10:51:00 +02:00
cad49f2912 rework attribute definitions in atrb.h 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.
I first need to figure out why vcpkg cannot find the GLFW package.
2025-06-11 17:59:08 +02:00
261188e257 fix: no boolean incrementation 2025-06-11 17:57:28 +02:00
0633de838c fix: attributes must be ahead of the function definition 2025-06-11 17:57:28 +02:00
be34e101fd remove loading file logic and instead focus on parsing the incomming text 2025-06-11 17:56:22 +02:00
ef0125e7b0 reorder functions to have config path generation be at the bottom 2025-06-11 17:56:22 +02:00
0fe19b28fc add conf code start
add the start for conf file loading
2025-06-11 17:56:22 +02:00
64f3ee457b set workflow vcpkg path to be within ${{github.workspace}} 2025-06-11 17:56:22 +02:00
3d0b3a5e1e add log for debugging to makefile, where it logs the PKG_CONFIG_PATH value. 2025-06-11 17:56:22 +02:00
4fc1717983 correct pkg-config command 2025-06-11 17:56:22 +02:00
83f929911e reorder arguments in CI workflow
it's more logical to have the DEBUG arument at the end, to be on-par
with `compile` job
2025-06-11 17:56:22 +02:00
a7fb6136ea fix: renamed some symbols which were causing some compatibility problems
__FILE_NAME__ and GLFW_CONTEXT_DEBUG were causing problems in the CI
pipeline, thus I deemed them unreliable.
__FILE_NAME__ is not __FILE__ which is more universally used across
compilers.
and GLFW_CONTEXT_DEBUG has been replaced with GLFW_OPENGL_DEBUG_CONTEXT,
which is a legacy definition, which plays nicer on older platforms.
(like ubuntu)
2025-06-11 17:56:22 +02:00
c77f711982 remove dependency on custom docker container, since it seems to be rather slow
I hope to speed things up by using the native ubuntu-latest, but it
might be just as slow, if not slower. In which case I'll likely switch
back.
If it is faster, the dockerfile will be deleted in a subsequent commit.
2025-06-11 17:56:22 +02:00
18bb82fa11 improve vcpkg generation / caching 2025-06-09 23:20:50 +02:00
28a96a2cf6 compiling from scratch is faster than dealing with artifacts 2025-06-06 19:30:46 +02:00
de2e8a7ed8 store vcpkg in cache to reduce runtime performance hit 2025-06-06 19:24:25 +02:00
89a82a6be2 use a geometry shader to render rectangles 2025-06-06 18:10:30 +02:00
ed7a157ee3 add shader compilation error logging 2025-06-06 18:09:49 +02:00
c5d3449abc rename shader files 2025-06-06 18:09:49 +02:00
a184cf93fc start working on a style reference sheet 2025-06-06 18:09:49 +02:00
56749e2379 code semantic fixups 2025-06-06 18:09:49 +02:00
e57f499a32 add libmath to the linker 2025-06-06 18:09:49 +02:00