Commit graph

57 commits

Author SHA1 Message Date
d4c5b982df
Fix V-Sync rendering
Turns out I did not need the monitor API for that. Just reading glfwSwapInterval's documentation did the job and fixing my existing code did the job.
2024-07-27 02:28:00 +02:00
935bbaf7ce
Add monitor API and add UUIDs 2024-07-27 02:25:10 +02:00
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
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
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
24e26e6a82
Move graphics initialization code around in method 2024-07-25 04:14:17 +02:00
f5af9b34a0
Add UNKNOWN and SPACE key 2024-07-25 04:13:44 +02:00
eea7fce13c
Fix updateState, add terminate methods 2024-07-25 04:13:33 +02:00
2d8e896333
Fix (weird) wording 2024-07-23 20:43:08 +02:00
5909a948b5
Update init logic of base, graphics and glfw 2024-07-23 20:24:57 +02:00
ae201f8729
Fix no window size limits not working at all 2024-07-23 19:33:01 +02:00
86e85356ba
Optimize startup and fix shutdown logic 2024-07-23 19:32:37 +02:00
ec3ecc0113
Combine Mouse and KeyInputEvent 2024-07-23 17:47:21 +02:00
e754c2c248
Add input event and type classes 2024-07-22 15:22:34 +02:00
48f910e78f
Forgot to update imports 2024-07-22 15:20:45 +02:00
e7e1abc510
Move Window-related classes into separate package 2024-07-22 15:20:26 +02:00
90b6dbcd31
Shrink down getSetting() size in configurations 2024-07-22 15:18:35 +02:00
42d0feb574
Update Window classes 2024-07-22 13:40:03 +02:00
bca45488d1
Encapsulate Main#run logic in try-catch block 2024-07-21 23:18:13 +02:00
4dbbee4efa
Add isClosureRequested() method 2024-07-21 22:41:41 +02:00
e8b9642177
Fix Graphics API shutdown logic 2024-07-21 21:19:27 +02:00
80478e6a69
Improve Graphics API initialization 2024-07-21 21:12:59 +02:00
2469e124bd
Improve event system and reflection 2024-07-21 21:10:49 +02:00
705f8a0623
Enclose window title in parenthesis 2024-07-21 17:37:17 +02:00
b1a56ea6a4
Update Window class heavily 2024-07-21 16:45:46 +02:00
051f3eaacc
Add ApiInternalClass and OpenGL equivalent 2024-07-21 16:45:28 +02:00
311de39899
Remove createWindow and add mustRunOnMainThread 2024-07-21 16:44:18 +02:00
56743e9bf0
Add HIDDEN window mode 2024-07-21 16:43:13 +02:00
de0d5cb8a8
Add @since tag to VsyncMode javadoc 2024-07-21 16:43:07 +02:00
a3849f1813
Add package information 2024-07-21 16:42:40 +02:00
4d2a78af2b
Update GraphicsSubsystemConfiguration javadoc 2024-07-16 14:52:43 +02:00
bffe68c015
Add SubsystemMainClass#getName() & init time stat 2024-07-16 14:50:39 +02:00
e65c3e2662
Prefix all @since values with 'v' 2024-07-12 02:30:20 +02:00
2b83a1885e
Graphics API init will now catch exceptions 2024-07-11 16:16:30 +02:00
7c553c24f0
Move data types and classes around 2024-07-11 14:38:00 +02:00
4d462d65f4
Mark getDependencyVector with @NotNull 2024-07-08 14:26:07 +02:00
3f7edd0968
Add more Immutable* types 2024-07-08 13:46:30 +02:00
1e5f48f413
Add module-info.java for all subsystems 2024-07-08 11:32:27 +02:00
fd6c8851ad
Update package structure 2024-07-08 11:32:08 +02:00
ecf0f94784
Fix & complete automatic subsystem initialization 2024-07-07 12:55:56 +02:00
8ee805b2db
Update and extend JavaDoc for almost all classes 2024-07-07 12:52:36 +02:00
aa5b196fb3
Add annotation and new method for subsystems 2024-06-29 22:17:17 +02:00
51f0405895
Update Window interface 2024-06-28 18:06:04 +02:00
919edd3375
Rename Miscellaneous#getMapValue -> getMapValues 2024-06-27 21:14:49 +02:00
cc3cd52d22
Move interfaces, enums & classes around again 2024-06-27 20:08:34 +02:00