Commit graph

290 commits

Author SHA1 Message Date
Jaime Passos
0ff96207c7 More Softwarification 2019-04-14 19:08:59 -03:00
Jaime Passos
19dc9c103e fix fog 2019-04-07 01:25:55 -03:00
Jaime Passos
4548b4bb13 The player should be able to toggle shaders 2019-04-07 00:09:53 -03:00
Jaime Passos
fbc3e27592 stuff 2019-04-06 23:33:34 -03:00
wolfy852
9518939a9d Fix Visual Studio compiling 2019-03-21 00:32:27 -05:00
wolfy852
963cbf4671 Merge branch 'next' into md3-vanilla-kart
# Conflicts:
#	src/hardware/r_opengl/r_opengl.c
2019-03-20 19:50:20 -05:00
Jaime Passos
843498ef4a Improve custom shader support 2019-03-19 17:37:04 -03:00
Jaime Passos
d94a7142b1 change (void*) to (char*) 2019-03-19 14:41:48 -03:00
Jaime Passos
3c6dc984cc wups 2019-03-19 13:32:44 -03:00
Jaime Passos
cfc5bd4ac7 custom shader support 2019-03-18 23:03:29 -03:00
Jaime Passos
c028631cdf fix buildbot 2019-03-18 20:04:28 -03:00
Jaime Passos
6dd5037ef1 add vertex shaders 2019-03-18 19:17:47 -03:00
Jaime Passos
35459caea7 md3-vanilla 2019-03-18 18:34:20 -03:00
Jaime Passos
c8bec127ec I don't care about DirectDraw
Neither SDL 1.2
2019-03-18 15:54:29 -03:00
Jaime Passos
fd5fb73671 gl4 2019-03-17 22:27:50 -03:00
Alam Arias
06cd65cc72 Merge branch 'master' into next 2019-03-11 10:01:57 -04:00
Alam Arias
ed0df9966d Fix compiling with VS 2019-03-11 09:58:37 -04:00
James R
e55a778a81 Merge remote-tracking branch 'origin/next' into longdouble 2019-03-04 18:51:11 -08:00
Alam Arias
aaccb4edff fixed compiling for MSVC 2017 2019-03-04 16:33:06 -05:00
James R
ca861ba0c5 Use long double suffix 2019-03-02 15:56:44 -08:00
fickleheart
0d32f71d05 Change OGL splitscreen hack to match software behavior 2019-02-24 12:26:46 -06:00
mazmazz
aae6eb945d Merge remote-tracking branch 'kart-public-gl/next' into md3-vanilla-kart 2019-01-10 22:08:37 -05:00
mazmazz
157cbe4b23 Fix blinking MD2 models
MD2 models are forced to load float frames, so mesh->indices is never loaded, so glDrawElements can't be used. Use glDrawArrays instead.
2019-01-07 04:34:19 -05:00
mazmazz
7f88e13492 Compile fix -- remove (void)alpha from DoScreenWipe 2019-01-07 04:34:17 -05:00
Arthur
f41951bfb1 Eliminate some old GL functions so we don't slide back into bad habits! 2019-01-07 04:34:16 -05:00
Arthur
d1b448f8d1 Fix screen transitions 2019-01-07 04:33:28 -05:00
mazmazz
89cdc1cbc2 Buildbot fixes 2019-01-07 04:33:27 -05:00
mazmazz
766fb9d836 Compile fixes -- specify GLubyte for pglColor4ubv 2019-01-07 04:33:25 -05:00
Arthur
2b8f49fd5e Removed gr_voodoocompatibility as even low-power mobile devices do not have this limitation
No longer using byte2float in DrawPolygon -- use the surface color data directly
Vertex Buffer Objects for non-interpolated model frames
Removed some old unused paletted texture stuff
2019-01-07 04:33:22 -05:00
Arthur
f5562c47ec Removed unused PF_Md2 flag
More OpenGL performance increase by making assumptions about client state
2019-01-07 04:33:20 -05:00
Arthur
191f9454c3 boolean fix for VS
add GL_NORMALIZE
2019-01-07 04:30:54 -05:00
mazmazz
c0547d56aa More mixed d&c fixes 2019-01-07 04:30:52 -05:00
mazmazz
d60b77b062 Mixed D&C fixes 2019-01-07 04:30:49 -05:00
mazmazz
6f70a07cb6 Fix floating point comparisons 2019-01-07 04:30:48 -05:00
Arthur
9617e604bb Removed all glBegin/glEnd references
MD2/MD3 now works, with the exception of WAD textures for some odd reason
2019-01-07 04:30:47 -05:00
mazmazz
8a4066486e Small Mixed D&C fix 2019-01-07 04:30:45 -05:00
AJ Freda
0adf6fea19 Fixed a few unnoticable mistakes [vanilla] 2019-01-07 04:30:42 -05:00
mazmazz
cb1dba7798 Interpolation fix attempt?
* Fix pglNormal3bv pointer because typo
2019-01-07 04:30:39 -05:00
mazmazz
2685af7331 Hide/add Kart FTransform mirror and anglez behind ifdef 2019-01-07 04:30:36 -05:00
mazmazz
6b9ddf47fb Buildbot fixes (changed byte types to char; mixed d&c) 2019-01-07 04:23:17 -05:00
mazmazz
43089535d5 GCC compile fixes 2019-01-07 04:23:15 -05:00
Arthur
797023102b Support for 'tinyframes', and lots more optimization 2019-01-07 04:21:44 -05:00
Arthur
e67c1bee5d Common model format, with MD2/MD3 loading 2019-01-07 04:21:43 -05:00
mazmazz
70f2e9a7ab Merge remote-tracking branch 'public-gl/master' into md3-vanilla 2019-01-07 04:06:45 -05:00
SeventhSentinel
1d58c6b8c2 merge srb2 next 2019-01-05 15:59:23 -05:00
mazmazz
ccd742d92e Fix blinking MD2 models
MD2 models are forced to load float frames, so mesh->indices is never loaded, so glDrawElements can't be used. Use glDrawArrays instead.
2019-01-03 00:57:14 -05:00
mazmazz
81352aece1 WIP 20190101 merge
d_netcmd.c
filesrch.c
m_menu.c
p_setup.c
p_spec.c
r_data.c
r_main.c
r_things.c
w_wad.c
w_wad.h
2019-01-02 01:09:15 -05:00
mazmazz
1686448b2a Compile fix -- remove (void)alpha from DoScreenWipe 2018-12-27 22:29:12 -05:00
Arthur
60afa76c3a Eliminate some old GL functions so we don't slide back into bad habits! 2018-12-27 22:10:10 -05:00
Arthur
5f6108f278 Fix screen transitions 2018-12-27 22:09:00 -05:00