Commit graph

481 commits

Author SHA1 Message Date
Latapostrophe
2350405ad3 Terminology changes 2019-04-23 23:49:46 +02:00
Latapostrophe
0f43546ada Add option to turn off the PLAY default md2 2019-04-22 11:29:44 +02:00
TehRealSalt
a187656a8f Fix up more stuff
Now in a mergable state
2019-04-18 12:20:13 -04:00
Jaime Passos
d1b1edcf39 More Softwarification 2019-04-14 19:08:59 -03:00
Jaime Passos
a8165a2ce9 fix skyboxes AGAIN 2019-04-13 18:47:09 -03:00
Jaime Passos
f5516a121c cleanup? 2019-04-12 16:35:28 -03:00
wolfy852
052104999f Generic model terminology 2019-04-12 00:35:35 -05:00
Jaime Passos
98f4e98b85 Remove dup_ variables 2019-04-07 14:27:52 -03:00
Jaime Passos
23a8fea598 fix fog 2019-04-07 01:25:55 -03:00
Jaime Passos
4ea1dd3525 The player should be able to toggle shaders 2019-04-07 00:09:53 -03:00
Jaime Passos
fa7f627c88 stuff 2019-04-06 23:33:34 -03:00
Jaime Passos
e1f1e63cc9 fix postprocessor 2019-03-21 18:33:03 -03:00
Jaime Passos
76967e46bb destroy hw_glide.h because no modern GPU supports such API 2019-03-21 18:23:40 -03:00
wolfy852
7911fa24d0 Fix Visual Studio compiling 2019-03-21 00:32:27 -05:00
wolfy852
6b743d383b 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
9451b10ac5 add SHADERS comment support 2019-03-19 18:52:41 -03:00
Jaime Passos
da001a5b54 PK3 support 2019-03-19 18:25:55 -03:00
Jaime Passos
f714cba310 Improve custom shader support 2019-03-19 17:37:04 -03:00
Jaime Passos
9ffb093f44 change (void*) to (char*) 2019-03-19 14:41:48 -03:00
Jaime Passos
ae3ad1ea56 wups 2019-03-19 13:32:44 -03:00
Jaime Passos
75919422c6 custom shader support 2019-03-18 23:03:29 -03:00
Jaime Passos
1de35b9076 fix buildbot 2019-03-18 20:04:28 -03:00
Jaime Passos
5c399b0944 add vertex shaders 2019-03-18 19:17:47 -03:00
Jaime Passos
f210053735 md3-vanilla 2019-03-18 18:34:20 -03:00
Jaime Passos
9879734d52 I don't care about DirectDraw
Neither SDL 1.2
2019-03-18 15:54:29 -03:00
Jaime Passos
1cfdd07ee0 gl4 2019-03-17 22:27:50 -03:00
Alam Arias
e2a5e8a18d Merge branch 'master' into next 2019-03-11 10:01:57 -04:00
Alam Arias
5ca69ce234 Fix compiling with VS 2019-03-11 09:58:37 -04:00
James R
62820bb4bf Merge remote-tracking branch 'origin/next' into longdouble 2019-03-04 18:51:11 -08:00
Alam Arias
56e8f09ae8 fixed compiling for MSVC 2017 2019-03-04 16:33:06 -05:00
James R
f0a0666223 Use long double suffix 2019-03-02 15:56:44 -08:00
fickleheart
1499a47541 Change OGL splitscreen hack to match software behavior 2019-02-24 12:26:46 -06:00
fickleheart
d6b9a75230 Move fov cvar out of OGL-specific code 2019-02-23 10:18:20 -06:00
Sryder
d959dd6934 Should hopefully fix the MD2 crash reported
I wasn't able to replicate it personally, but this should hopefully avoid it crashing where the RPT given pointed out.
2019-01-21 22:48:57 +00:00
fickleheart
c0c2ba4ca6 Fix clobbering error in MD2 texture code 2019-01-18 20:28:31 -06:00
Sal
5982e26bb5 Merge branch 'default-md2' into 'next'
Default model for players

See merge request KartKrew/Kart-Public!27
2019-01-15 03:42:19 -05:00
mazmazz
abf2da9e9b Merge remote-tracking branch 'mazmazz-kart-public-gl/md3-vanilla-kart' into md3-vanilla-kart 2019-01-10 22:15:05 -05:00
mazmazz
4d5f7e78cd Merge remote-tracking branch 'kart-public-gl/next' into md3-vanilla-kart 2019-01-10 22:08:37 -05:00
wolfy852
dbb7267f22 Missed a few spots 2019-01-09 15:53:59 -06:00
wolfy852
90148f79eb If kmd2.dat isn't found in srb2home, search the game's directory for it 2019-01-09 15:38:37 -06:00
Marco Z
7806c43ecf Kart Public Next merge 2019-01-08 18:43:49 -05:00
Latapostrophe
a4641e1010 use PLAY as default player MD2 if avaiable. 2019-01-08 18:57:10 +01:00
Digiku
3cd4b253b1 Update hw_md2.c -- Redundant AngleFixed operation when modifying anglef 2019-01-08 11:30:04 -05:00
Digiku
090ecdb6e5 Update hw_md2.c -- player->frameangle fix 2019-01-08 11:22:33 -05:00
mazmazz
05a1a7e24a Dummy out nextframe lerping (unused in Kart) 2019-01-07 04:38:17 -05:00
mazmazz
8504b000bb 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
cc3b57a96c Compile fix -- remove (void)alpha from DoScreenWipe 2019-01-07 04:34:17 -05:00
Arthur
531d42c1bd Eliminate some old GL functions so we don't slide back into bad habits! 2019-01-07 04:34:16 -05:00
Arthur
25ef570a81 Fix screen transitions 2019-01-07 04:33:28 -05:00
mazmazz
08579d9447 Buildbot fixes 2019-01-07 04:33:27 -05:00
mazmazz
62596bed38 Compile fixes -- specify GLubyte for pglColor4ubv 2019-01-07 04:33:25 -05:00
Arthur
9774ecbdfb 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
00792f8dab Removed unused PF_Md2 flag
More OpenGL performance increase by making assumptions about client state
2019-01-07 04:33:20 -05:00
Arthur
cf6af71d33 boolean fix for VS
add GL_NORMALIZE
2019-01-07 04:30:54 -05:00
mazmazz
72c2b28328 Ignored fread fix 2019-01-07 04:30:53 -05:00
mazmazz
d5a0b2df4d More mixed d&c fixes 2019-01-07 04:30:52 -05:00
mazmazz
78adb69481 byte -> char 2019-01-07 04:30:51 -05:00
mazmazz
c5c799006a Mixed D&C fixes 2019-01-07 04:30:49 -05:00
mazmazz
1654aa34c5 Fix floating point comparisons 2019-01-07 04:30:48 -05:00
Arthur
1249f37fc5 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
2f930f1262 Small Mixed D&C fix 2019-01-07 04:30:45 -05:00
AJ Freda
4806dadd88 Fixed a few unnoticable mistakes [vanilla] 2019-01-07 04:30:42 -05:00
mazmazz
09629f092f Ifdef nextFrame handling under USE_MODEL_NEXTFRAME 2019-01-07 04:30:40 -05:00
mazmazz
6ed896d462 Interpolation fix attempt?
* Fix pglNormal3bv pointer because typo
2019-01-07 04:30:39 -05:00
mazmazz
c13d3ff1dd Adapt re-enabled DrawMD2 code block for meshes 2019-01-07 04:30:37 -05:00
mazmazz
6653b9697f Hide/add Kart FTransform mirror and anglez behind ifdef 2019-01-07 04:30:36 -05:00
mazmazz
bbc3d27cee More hw_md2 merge errors; re-enable interpolation code block 2019-01-07 04:27:59 -05:00
mazmazz
039cf894f2 hw_md2 merge errors 2019-01-07 04:24:00 -05:00
mazmazz
34afceaa3b Ignore fread return value (buildbot error) 2019-01-07 04:23:19 -05:00
mazmazz
f0b20e302a Buildbot fixes (changed byte types to char; mixed d&c) 2019-01-07 04:23:17 -05:00
mazmazz
2e22b069f1 GCC compile fixes 2019-01-07 04:23:15 -05:00
Arthur
11be174603 Remove CONS_Printf message that isn't even doing what it says it is! 2019-01-07 04:21:45 -05:00
Arthur
9f0b121b15 Support for 'tinyframes', and lots more optimization 2019-01-07 04:21:44 -05:00
Arthur
295ca25171 Common model format, with MD2/MD3 loading 2019-01-07 04:21:43 -05:00
SeventhSentinel
49f2d65e95 Fix errors from merge 2019-01-06 01:00:30 -05:00
SeventhSentinel
73542c008c merge srb2 next 2019-01-05 15:59:23 -05:00
mazmazz
963819c81d Initialize skinnum for MD2 star colors (fix CLANG error) 2019-01-02 19:23:57 -05:00
Jimita the Cat
892e650712 dumb 2019-01-02 01:01:57 -03:00
Jimita the Cat
e765b9400c Add support for flashpals in screenshots 2019-01-02 00:41:52 -03:00
Digiku
80e30c6aaa Merge branch 'MSVC-ARM' into 'master'
ARM and ARM64 support with MSVC toolchain

See merge request STJr/SRB2!412
2018-12-28 01:05:40 -05:00
Latapostrophe
1b61e15b1b Merge branch 'master' into SRB2-CHAT 2018-12-23 10:26:08 +01:00
Alam Ed Arias
102fd11cb4 More work to cleanup the ARM builds 2018-12-22 19:50:32 -05:00
Alam Arias
b6a917cda1 Added ARM/ARM64 to whole vc10 sln
Added ARM/ARM64 to zlib, libpng
Added ARM/ARM64 to srb2dd/srb2sdl
2018-12-21 16:47:10 -05:00
mazmazz
06ff171e19 Adjust vid.width floating point comparson for CHAT 2018-12-21 11:37:22 -05:00
Digiku
58a2cec70f Merge branch 'float_equal' into 'master'
Clear Float equal warnings

See merge request STJr/SRB2!383
2018-12-20 16:58:37 -05:00
Digiku
7982b1695a Merge branch 'ogl-zfighting-fix' into 'master'
OpenGL z-fighting fix [by Azeonus]

Closes #43

See merge request STJr/SRB2!395
2018-12-19 13:05:04 -05:00
mazmazz
96cad09db6 Change 0.05 to 0.05f 2018-12-18 16:59:59 -05:00
Azeonus
67cd6dcdd2 dispoffset OGL fix [by Azeonus] 2018-12-18 16:50:03 -05:00
Jimita
1d40676f3a
Merge branch 'master' into automap_fix 2018-12-17 17:46:29 -02:00
Alam Ed Arias
11aef0b3f1 Merge branch 'master' into float_equal 2018-12-16 13:52:45 -05:00
Latapostrophe
25e6d5388c merge conflict 2018-12-16 16:48:15 +01:00
Alam Ed Arias
15d0673685 fix compiling for clang 2018-12-14 21:31:37 -05:00
Alam Ed Arias
78634679f1 fix compiling for MSVC 2018-12-14 20:42:37 -05:00
Alam Ed Arias
6fd66bdb49 Clear float equal warnings 2018-12-14 20:34:06 -05:00
Monster Iestyn
e0079ea1a2 remove NearVertice (which was unused anyway), clean up maz's changes 2018-12-14 23:28:07 +00:00
mazmazz
abae63a64b SameVertice floating point match; fixes 64-bit OGL holes 2018-12-14 16:47:24 -05:00
Monster Iestyn
c1e0041a0b copy doom legacy's replacement for the den == 0.0 calc in fracdivline 2018-12-14 21:22:13 +00:00
Monster Iestyn
623d1574ce minor cleanup 2018-12-14 21:00:53 +00:00
Monster Iestyn
b42c306ef3 remove code from SearchDivline that was disabled ...and doesn't seem to exist anymore anyway 2018-12-14 18:14:08 +00:00
Monster Iestyn
52fd3dcbed split loading status code into a separate function 2018-12-14 18:11:30 +00:00