Commit graph

4710 commits

Author SHA1 Message Date
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
391d001929 Un-dummy md5 checks 2019-01-07 04:34:18 -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
ab99f19dd1 Add model sources to sdl1.2 VC project 2019-01-07 04:23:20 -05:00
mazmazz
34afceaa3b Ignore fread return value (buildbot error) 2019-01-07 04:23:19 -05:00
mazmazz
2a24854903 Add new model files to CMake 2019-01-07 04:23:18 -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
mazmazz
30c7ad3928 Add MD2/MD3 files to makefile 2019-01-07 04:21:46 -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
Arthur
9d5622c0bc New fixed math functions - ClosestPointOnVector, and Strength.
Normal also returns length now, since it is free.
2019-01-07 04:19:24 -05:00
Sal
7176490d5e Merge branch 'kill-facefreed' into 'next'
Remove facefreed/iconfreed

See merge request KartKrew/Kart-Public!15
2019-01-06 02:02:54 -05:00
Sal
50a6df7563 Merge branch 'load-order-adjustment' into 'next'
Load sounds.kart after patch.kart

See merge request KartKrew/Kart-Public!13
2019-01-06 01:51:41 -05:00
wolfy852
aa3c058321 Remove facefreed/iconfreed
Caused an issue where having more than 16 characters loaded would crash the game when compiled with MSVC.
2019-01-05 20:40:47 -06:00
SeventhSentinel
4de91cfea5 Load sounds.kart after patch.kart 2019-01-05 00:33:24 -05:00
Sal
9e09d8cb8c Merge branch 'mainwads-fix' into 'next'
Don't increment mainwads for sounds or music.kart

See merge request KartKrew/Kart-Public!12
2019-01-04 20:01:57 -05:00
Steel Titanium
888b5056d7 Clean up the comments a bit 2019-01-04 19:55:05 -05:00
Steel Titanium
a69239bfa8 Don't increment mainwads for sounds or music.kart 2019-01-04 00:32:01 -05:00
Sal
e52d5fd2fd Merge branch 'bump-fixes' into 'next'
Push bouncing players backwards if they get stuck in a wall

See merge request KartKrew/Kart-Public!3
2019-01-03 12:27:14 -05:00
Sal
0b0cbcabb7 Merge branch 'map-palette-titlefix' into 'next'
Fix per-map palette not being reset properly when it should.

See merge request KartKrew/Kart-Public!9
2019-01-03 01:08:42 -05:00
Sal
220ef1a490 Merge branch 'waypoint-lap-option' into 'next'
Add waypoint lap field via Parameter field

See merge request KartKrew/Kart-Public!4
2019-01-03 00:58:09 -05:00
Steel Titanium
3273924743 Remove double brackets 2019-01-02 13:04:56 -05:00
Steel Titanium
d6178a3a40 Comment this out again.
How did this even get reverted...
2018-12-31 18:34:04 -05:00
Steel Titanium
6ad2c145d7 Better attempt at fixing this 2018-12-31 18:19:18 -05:00
SeventhSentinel
5b4faa4ddb Merge remote-tracking branch 'kartinternal/master' into next 2018-12-31 15:16:39 -05:00
Steel Titanium
749bc65caa Attempt 1 to properly fix 2018-12-31 14:18:00 -05:00
Steel Titanium
18fea4f3b1 Revert "Fix per-map palette not being reset properly on title"
This reverts commit 1bb6ff27c8.
2018-12-31 13:35:38 -05:00