Commit graph

14 commits

Author SHA1 Message Date
Clownacy
87e8a75df4 Rename GLFW3.h/SDL2.h 2020-04-04 19:18:46 +01:00
Clownacy
e00ad1cd78 Shuffle code 2020-04-04 19:04:56 +01:00
Clownacy
d957c40649 Fix bug 2020-04-04 19:04:20 +01:00
Clownacy
659f89ea85 Cleanup and proper deinitialisation 2020-04-04 19:03:19 +01:00
Clownacy
e874b75357 Comment GLFW3 code, restore some vanilla behaviour 2020-04-04 18:55:44 +01:00
Clownacy
0cf1a781b7 Add hotplugging support to the GLFW3 backend
The GLFW windowing backend supports window-resizing, so I don't think
it's wrong to add enhancements to the backend code. It's not like the
SDL2 backend emulates DirectDraw's unstable framerate or anything.
2020-04-04 18:38:56 +01:00
Clownacy
b72b631e95 Simplify GLFW code 2020-04-04 17:47:45 +01:00
Clownacy
39ddfd9791 Abstract-away keyboard input
Now, instead of keyboard input being completely-handled in the
backend, it's merely abstracted, while still otherwise being handled
in the game itself. This will be useful for the enhanced branch's
key-rebinding menu.
2020-04-04 17:42:56 +01:00
Clownacy
cb869a4fd1 Support GLFW <3.3
Travis's Ubuntu Bionic uses 3.2, causing it to fail.
2020-04-03 18:13:44 +01:00
Clownacy
e15091b207 More fixes 2020-04-03 18:01:01 +01:00
Clownacy
3c691732a6 Update glad #include paths 2020-04-03 17:09:14 +01:00
Clownacy
dac8f704cd Cleanup and debug prints 2020-04-03 17:02:02 +01:00
Clownacy
5bb839136b Added controller support to GLFW3 backend 2020-04-03 16:53:58 +01:00
Clownacy
40464a9fc0 Move-around Backend files
Hoping to introduce some degree of grouping
2020-04-03 14:42:11 +01:00