Commit graph

181 commits

Author SHA1 Message Date
Simon
2b2748b9f9 Merge branch 'master' into multiview 2022-03-30 19:17:00 +01:00
Simon
a750c2e540
Merge pull request #40 from lvonasek/hotfix_performance_restored
Restore mediump float precision and fast-math C flag
2022-03-30 18:53:59 +01:00
Petr Bartos
4a5cdc47f6 Fix setting of HUD on initial startup, add HUD toggle to team arena 2022-03-30 18:29:39 +02:00
Lubos
25154e5b9f Restore mediump float precision and fast-math C flag 2022-03-30 18:27:12 +02:00
Simon
aeb45adcd8 Small changes following the merge from master
- and also removed a couple of bits of my hacking
2022-03-29 23:23:33 +01:00
Simon
3f5226aa85 Merge branch 'master' into multiview 2022-03-29 23:05:01 +01:00
Simon
bcf9287a85 Updated ready for v28 build 2022-03-29 22:54:14 +01:00
Simon
00379ad62d
Merge branch 'master' into feature/menu-update 2022-03-29 22:48:30 +01:00
Simon
271ce70f86
Merge pull request #36 from petr666/feature/menu-cursor
Fix team arena cursor; prevent crashes caused by invalid pointer when switching to TA and back
2022-03-29 22:43:08 +01:00
Simon
7b4ac44cdc
Merge pull request #35 from lvonasek/feature_opengl_tweaks
Geometry detail improved
2022-03-29 22:42:50 +01:00
Simon
e8da743153 Orthographic projection now working
the main fix is in tr_glsl.c, the other changes are peripheral and probably contribute nothing
2022-03-29 22:41:36 +01:00
Petr Bartos
4b0bfe599d Fix default value of gore level; Add proper gore settings to team arena 2022-03-29 23:26:46 +02:00
Petr Bartos
24ce45a3c5 Add support for setting control schema in team arena 2022-03-29 22:46:31 +02:00
Petr Bartos
90fa0bcf42 Remove graphic presets from menu 2022-03-29 21:52:14 +02:00
Simon
e1a16cbeb2 Correct pointer offset 2022-03-29 19:53:00 +01:00
Petr Bartos
1e7279b899 Ensure high geometry details sets proper lodbias; Unify geometry detail setting between team arena and vanilla 2022-03-29 19:22:02 +02:00
Petr Bartos
8ab1439347 Add shadow detail setting 2022-03-29 18:33:10 +02:00
Petr Bartos
c10f4b03fb Merge branch 'feature/player-menu-update' into feature/menu-update 2022-03-29 17:47:02 +02:00
Lubos
0441ba1ab0 Do not crash on undefined LOD 2022-03-29 12:58:09 +02:00
Simon
12987c20b9 Few small changes
might add slight perf improvements as there was some buffer swap stuff not needed
2022-03-28 23:16:19 +01:00
Simon
e06ba21101 World entities now drawing in the right places
..next up is the 2D stuff
2022-03-28 19:30:55 +01:00
Simon
e2a5472667 Small progress
world is now rendering correctly, but..
- All items in world are rendering in the wrong place
- no 2D still
2022-03-27 23:19:16 +01:00
Simon
71708ee91e Restored missing matrix 2022-03-27 18:08:51 +01:00
Simon
6506c96194 Still ongoing (with little improvement) 2022-03-27 17:46:42 +01:00
Simon
170f32709b Now rendering!
2D stuff doesn't draw, and 3D is all wonky, but this is progress!
2022-03-26 23:31:03 +00:00
Simon
d6ade0215f Ensure multiview is only applied to vertex shaders 2022-03-26 19:02:03 +00:00
Simon
eec5efe237 Make main a C file in prep for the next step 2022-03-26 12:11:55 +00:00
Simon
b2fece761e Make context create correctly 2022-03-25 19:34:44 +00:00
Simon
e1a04d2200 Not working yet 2022-03-25 00:05:11 +00:00
Petr Bartos
364c4d66fe Add note about editing player name; add body scale to team arena menus 2022-03-24 22:13:59 +01:00
Simon
0c52a61cf6 Revert "Speedup VBO"
This reverts commit 22890e13a6.
2022-03-24 18:51:43 +00:00
Petr Bartos
95951c27f9 Fix team arena cursor; prevent crashes caused by invalid pointer when switching to TA and back 2022-03-24 17:59:42 +01:00
Lubos
0a22991ff3 Modify the low geometry detail settings 2022-03-24 16:39:26 +01:00
Lubos
ad5ea81eeb Replace LOD computation to better fit VR needs 2022-03-24 16:39:03 +01:00
Lubos
55c4be043d Redundant SDL call removed 2022-03-24 16:12:20 +01:00
Simon
56d1334007 Ensure menu cursor is correctly aligned
store the yaw at which the menu is invoked to calculate correct X
slightly increased the cursor movement scale as it was a little too much wrist turning required to reach outer edges of screen
2022-03-23 20:48:01 +00:00
Simon
14cf79c585
Merge pull request #33 from petr666/feature/menu-cursor
Use absolute position for menu cursor (no need to "calibrate" pointer any more)
2022-03-23 20:34:28 +00:00
Simon
550c25bf71
Merge pull request #34 from lvonasek/feature_opengl_speedup
Opengl speedup
2022-03-23 20:21:49 +00:00
Simon
d9791d0ef1
Merge pull request #32 from lvonasek/feature_pause_flow
Game pause flow improvements
2022-03-23 20:21:36 +00:00
Petr Bartos
7100dd66aa Switch active controller in menu by pressing trigger on inactive one 2022-03-23 21:07:34 +01:00
Petr Bartos
95e55b5ba9 Remove moving of cursor with thumbstick (not working with absolute cursor position) 2022-03-23 20:06:17 +01:00
Petr Bartos
5e9a38307b Make cursor little bit less sensitive 2022-03-23 18:33:39 +01:00
Petr Bartos
36222228bb Allow to draw cursor outside visible area to avoid weird jumping around edges when pointing outside 2022-03-23 18:02:23 +01:00
Lubos
22890e13a6 Speedup VBO 2022-03-23 11:53:24 +01:00
Lubos
c0089a54f2 Disable OpenGL debug messages 2022-03-23 11:52:45 +01:00
Petr Bartos
0e99425a79 Use absolute position for menu cursor (no need to "calibrate" pointer any more) 2022-03-22 22:19:38 +01:00
Lubos
7c13dc8c34 Disable opening console (didn't work so well in multiplayer)) 2022-03-22 21:49:57 +01:00
Lubos
56e1e5d247 Game pausing using Oculus button improved 2022-03-22 17:48:16 +01:00
Lubos
822e3515dc Make GL debug messages easier to unterstand 2022-03-22 17:46:48 +01:00
Lubos
3581ca75b1 Workaround to make in menu player model rendering working 2022-03-22 17:44:32 +01:00