45307ab842
Move a few exceptions from glfw to graphics subsystem
2024-07-26 13:42:00 +02:00
165e57083b
Move Api*Class to separate 'classes.api' package
2024-07-26 13:23:41 +02:00
9c48c3c756
Move continuous render loop to interface (now class)
2024-07-26 13:22:16 +02:00
7f324090c1
Add some 'final's
2024-07-26 13:20:56 +02:00
b529b7a7af
Make continuous render loop work (except V-Sync)
...
It works quite good now, but it is broken when V-Sync is turned on as it tries to render at the maximum FPS set and does not respect how fast the monitor renders. I first need to implement a monitor API for it to work.
2024-07-26 13:07:17 +02:00
4f9154f5fc
Make V-Sync global
2024-07-26 13:05:44 +02:00
bbde2e9d2d
Add render loop
2024-07-25 19:46:50 +02:00
0b4502c3ce
Add MouseButtonCallback
2024-07-25 12:19:46 +02:00
6dc0566fed
Add UNKNOWN_MOUSE, rename UNKNOWN -> UNKNOWN_KEY
2024-07-25 12:19:32 +02:00
be144fb71b
Add working key input recieving
2024-07-25 04:14:43 +02:00
eea7fce13c
Fix updateState, add terminate methods
2024-07-25 04:13:33 +02:00
d49d54df3a
Add support for some GLFW init hints
2024-07-23 20:35:24 +02:00
81535ad701
Remove deleted event
2024-07-23 20:35:05 +02:00
5909a948b5
Update init logic of base, graphics and glfw
2024-07-23 20:24:57 +02:00
86e85356ba
Optimize startup and fix shutdown logic
2024-07-23 19:32:37 +02:00
2899ba2e8a
Sort methods in GLFW and OpenGL window classes
2024-07-23 17:48:10 +02:00
805574f677
Oops forgot to update imports here as well
2024-07-22 15:22:48 +02:00
42d0feb574
Update Window classes
2024-07-22 13:40:03 +02:00
071534eb1c
Move common GLFW code to new 'glfw' subsystem
2024-07-21 23:19:02 +02:00