Commit graph

339 commits

Author SHA1 Message Date
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
e787680e8c
Create new Math utility class 2024-07-26 13:05:15 +02:00
e5f7b0e580
Migrate ShortcodeParserSkeleton to StringBuilder 2024-07-25 20:03:46 +02:00
b9d4196b8b
Add escape support to ShortcodeParserSkeleton 2024-07-25 20:00:32 +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
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
6c0244053b
Add *friendly* crash message for users and devs 2024-07-25 04:10:30 +02:00
ef40c04877
Customize thread creation 2024-07-25 04:10:15 +02:00
ee40ac5826
Add %stacktrace_all% crashhandler placeholder 2024-07-25 04:00:31 +02:00
b6a90eb795
Add update-deps task to docs/Makefile 2024-07-24 02:02:55 +02:00
2d8e896333
Fix (weird) wording 2024-07-23 20:43:08 +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
a07dc6db84
Add hideFullTypePath engine setting 2024-07-23 20:19:49 +02:00
062b68a93b
Update setting order 2024-07-23 19:51:00 +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
2899ba2e8a
Sort methods in GLFW and OpenGL window classes 2024-07-23 17:48:10 +02:00
ec3ecc0113
Combine Mouse and KeyInputEvent 2024-07-23 17:47:21 +02:00
7b70cf8511
Fix typo
dum
2024-07-23 17:46:30 +02:00
2f963e86ef
Add clone method to vector data types 2024-07-23 17:45:37 +02:00
805574f677
Oops forgot to update imports here as well 2024-07-22 15:22:48 +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
e695235277
Make OpenGL compatibility test window invisible 2024-07-22 13:40:21 +02:00
42d0feb574
Update Window classes 2024-07-22 13:40:03 +02:00
260464d727
Make Miscellaneous#invokeGarbageCollector jd more verbose 2024-07-22 13:39:17 +02:00
a0a89d2f3c
Add boolean and integer conversion methods
This commit also reorganizes the method order inside Miscellaneous.java
2024-07-22 13:35:14 +02:00
67909e9cc3
Add Tristate#toBoolean method 2024-07-22 13:34:29 +02:00
ce97838c12
Add GLFW subsystem to subsystem list in documentation 2024-07-21 23:20:20 +02:00
071534eb1c
Move common GLFW code to new 'glfw' subsystem 2024-07-21 23:19:02 +02:00
bca45488d1
Encapsulate Main#run logic in try-catch block 2024-07-21 23:18:13 +02:00
b277587ec8
Cut down on Vulkan and OpenGL subsystem deps 2024-07-21 23:16:55 +02:00
fa8086f198
Fix vv1-alpha2 in startup message 2024-07-21 23:16:00 +02:00
4dbbee4efa
Add isClosureRequested() method 2024-07-21 22:41:41 +02:00
f3acca7456
Move logCall() invocation outside of Runnable
This ensures debug log messages are kept in order
2024-07-21 21:22:53 +02:00
e8b9642177
Fix Graphics API shutdown logic 2024-07-21 21:19:27 +02:00
aaa81e2f87
Disallow logCall() invocation on LogEvent 2024-07-21 21:19:10 +02:00
9d3397888d
Add OpenGL Core Profile requirement 2024-07-21 21:17:24 +02:00