Commit Graph

13 Commits

Author SHA1 Message Date
Quinn
8c78ffdca5 implement input and rework window implementation
moved the window variable as a constant in the window module, and
implement more of GLFW logic, including some basic input handling.
2025-06-02 12:41:00 +02:00
Quinn
9ade61e006 add GLFW error callback 2025-06-02 12:41:00 +02:00
Quinn
7c4ba05eee clean up error header to not use modifiers on each implementation
implementaitons do not need modifiers if the definition already has
these.
Also move the comments to be above the implementations, rather than
behind the definitions.
2025-06-02 12:41:00 +02:00
Quinn
76e3547313 rename window/render* to io/window*
this makes more sense, as we'll add more source files in this category
2025-06-02 12:41:00 +02:00
Quinn
cf1759a5c3 License under MIT
added the MIT licence and provided the relevant information in the
different source files.
2025-06-02 12:41:00 +02:00
Quinn
ef0063d9aa implement some basic rendering boilerplate 2025-05-01 16:48:48 +02:00
Quinn
9e0708b49f don't make the functions extern anymore, as we're no longer doing ffi. 2025-05-01 16:48:46 +02:00
Quinn
401854002f remove rust/cargo from compilation
it has become clear that incorperating rust in this project was a
mistake, since I don't understand it well enough for it to be useful,
and at this rate it'd be faster to use GLFW in C than in rust.
2025-05-01 16:48:45 +02:00
Quinn
87117931f7 create rust implementation 2025-05-01 16:48:44 +02:00
Quinn
1a3f555fca write error header file
write a header for logging and abrubtly exiting the code.
2025-05-01 16:48:44 +02:00
Quinn
40720a53c8 write attributes in a header for ease of use
this handles different compilers automatically and just provides a
common method of using the attributes. Plus, it's less characters!
2025-05-01 16:48:43 +02:00
Quinn
35f38f8980 fix: get rid of linter warning 2025-05-01 16:48:36 +02:00
Quinn
7a64aefcac setup project files
Added (most) of the project files to the working tree.
Some work still needs to be done to make the rust/C communication better
before we can fully move on to starting to write the actual applicaiton.
2025-05-01 16:48:18 +02:00