JohnAFernandez
1ef528af5f
Merge pull request #5867 from MjnMixael/discord_option_category
...
Change the discord option category to "game"
2023-12-08 10:48:31 -05:00
EatThePath
e536413259
Deferred light mesh submission optimizations ( #5828 )
...
* Reorganized opengl deferred light mesh drawing to submit all data before,
beginning to submit draws, and also to reduce total bind calls needed.
* Leftover unused variable cleanup
* CI didn't like my loops, maybe it'll like these.
* unused variable cleanup.
2023-12-08 07:40:42 -05:00
mjn-mixael
8f7c6a0ed8
and force dropdown selector for display selection
2023-12-07 10:45:17 -06:00
Birk Magnussen
7867dc77bd
external Openxr vars on mac
2023-12-04 20:38:50 +01:00
Birk Magnussen
612bdcf4df
Do not link OpenXR on mac
2023-12-04 20:20:41 +01:00
BMagnu
c2ed03ca59
Merge branch 'master' into openxr
2023-12-02 11:42:55 +09:00
Mike Nelson
9b86d2f16d
Scpui language selector ( #5826 )
...
* SCPUI in-game language selector
* xstr support
* proper debug print format
* minor fixes
* Save the language as json data rather than an index into the languages array
* ext instead of id for clarity
* Do this more formally
* unused param
2023-11-26 11:52:15 -05:00
Goober5000
7b1b1113da
upgrade timestamps referenced in freespace.cpp
...
Convert additional timestamps to use the new timestamp system. This covers all timestamps referred to in freespace.cpp. For purposes of organization, the fade-in/fade-out timestamps have been moved to light.h|cpp and the training timestamps have been moved to missiontraining.h|cpp.
There are also several related code enhancements:
1. `FadeType` has been converted from `enum` to `enum class`
2. Initialization of the various training variables has been added to `training_mission_init` (previously they had never been reset between missions)
3. Validity checks have been added to the relevant locations for these timestamps
2023-11-12 15:22:30 -05:00
Birk Magnussen
ba3ac66958
X compile error 2
2023-11-09 23:43:09 +01:00
Birk Magnussen
274366c8ad
X compile error
2023-11-09 23:39:26 +01:00
Birk Magnussen
25a9f6abe2
Avoid OGL errors
2023-11-09 22:56:07 +01:00
Birk Magnussen
f0737f1b87
Tidyup, Linux init code is now tested
2023-11-09 22:56:07 +01:00
Birk Magnussen
dbefa6d333
Actually init GLX
2023-11-09 22:56:07 +01:00
Birk Magnussen
058cec3d2c
Make VR 2D-Screen Auto recenter
2023-11-09 22:56:06 +01:00
Birk Magnussen
a73cc9bfce
Add option for window-scaling
2023-11-09 22:55:27 +01:00
Birk Magnussen
245ac3f6b3
Safe type conversions
2023-11-09 22:53:59 +01:00
Birk Magnussen
ee6159c685
Fix incorrect print order
2023-11-09 22:53:59 +01:00
Birk Magnussen
68f9d90629
Proper swapchain AR detection
2023-11-09 22:53:59 +01:00
Birk Magnussen
2523218fdc
Fix interfacing with the very segfaulty oculus runtime
2023-11-09 22:53:59 +01:00
Birk Magnussen
5a93f78933
Mac Compile
2023-11-09 22:52:56 +01:00
Birk Magnussen
e99341d79f
Fix compile issues
2023-11-09 22:52:56 +01:00
Birk Magnussen
f686046a1d
Properly force VR AR
2023-11-09 22:52:51 +01:00
Birk Magnussen
61f8e0370b
Fix Warning again again
2023-11-09 22:52:19 +01:00
Birk Magnussen
397125fc6e
Fix Warning again
2023-11-09 22:52:19 +01:00
Birk Magnussen
6f458d5398
Fix Warning
2023-11-09 22:52:19 +01:00
Birk Magnussen
1223808a14
Need to output linear for OpenXR
2023-11-09 22:52:18 +01:00
Birk Magnussen
e7ded2b4cd
Integrate per-eye fov overrides
2023-11-09 22:49:44 +01:00
Birk Magnussen
b2d1da6701
Enable Asymmetric Projection FOV
2023-11-09 22:49:41 +01:00
Birk Magnussen
d0086c31b8
Fix asymmetric top-down fov and add logging
2023-11-09 22:48:55 +01:00
Birk Magnussen
d9786f8aae
Clang
2023-11-09 22:48:54 +01:00
Birk Magnussen
fe916eb7ce
Fix Warnings
2023-11-09 22:48:54 +01:00
Birk Magnussen
a476897963
Fix BUild Issues
2023-11-09 22:48:54 +01:00
Birk Magnussen
e404f32c7b
Add warning if extension is not present
2023-11-09 22:48:54 +01:00
Birk Magnussen
d1d64a0afb
Autoslew HUD
2023-11-09 22:43:51 +01:00
Birk Magnussen
94cd6cf8bb
Fix retail stars and screenshake
2023-11-09 22:43:51 +01:00
Birk Magnussen
474db9e184
Fix mouse cursor rendering
2023-11-09 22:43:50 +01:00
Birk Magnussen
36cb7a62d6
Fix OpenGL Errors
2023-11-09 22:43:50 +01:00
Birk Magnussen
cb1f1e9c0b
Build Warnings
2023-11-09 22:43:49 +01:00
Birk Magnussen
9dc291569f
Make OpenXR session creation build on llinux
2023-11-09 22:43:49 +01:00
Birk Magnussen
ad05ce147e
Tidy up code
2023-11-09 22:43:31 +01:00
Birk Magnussen
9a227de872
Add option to scale down HUD in OpenXR mode
2023-11-09 22:43:30 +01:00
Birk Magnussen
d4ca441449
Add graphics stubs
2023-11-09 22:43:30 +01:00
Birk Magnussen
4ea99eb461
Properly init HMD FoV
2023-11-09 22:43:27 +01:00
Birk Magnussen
e01dabeb59
Lock VR behind flag
2023-11-09 22:42:46 +01:00
Birk Magnussen
27e80a3fff
Fix VR coordinate transforms
2023-11-09 22:42:46 +01:00
Birk Magnussen
3ab8cb097c
2D flats as plane in space
2023-11-09 22:42:46 +01:00
Birk Magnussen
3721f8165d
Basic Stereoscopy
2023-11-09 22:42:43 +01:00
Birk Magnussen
f94119d722
Properly init OpenXR and just blit the backbuffer to both eyes for now
2023-11-09 22:40:19 +01:00
Birk Magnussen
5e78054a66
Properly init an OpenXR session, at least on Win32
2023-11-09 22:40:19 +01:00
Birk Magnussen
cfe64748a4
Add Graphics abstraction layer
2023-11-09 22:40:18 +01:00