Commit graph

19 commits

Author SHA1 Message Date
Sryder
5cccff08aa Basic merge some of the easier HW files.
hw_main and hw_md2 still need merge.
hw_cache needs evaluating for encore mode.
2020-05-29 20:43:34 +01:00
Sally Coolatta
63917ffccc The start of the scary 2.2 merge
All conflicts are left in-tact. We should be collaborating on solving these files one at a time.
2020-05-29 13:43:38 -04:00
toaster
a23e1946c4 Do a bunch of stuff to the MD2/3 sprite2 support to get it back to feature parity with before, without going back to being hacky as fuck.
* Store the number of frames per sprite2 run in the spr2frames struct.
* Reintroduce P_GetModelSprite2, to allow for the sprite2 defaulting system to be used to full advantage even in GL.
* Instead of splitting the SUPER and normal SPR2 stuff within the same cell of the struct, have them exist in different cells just like in the "normal" sprite2 structs.
* Allow for just providing spr2 frames in order without specifying which "normal" sprite2 frame it's supposed to replace.

Also:
* Fix FF_VERTICALFLIP-ignoring regression.
* Fix whitespace adjustment in win_dll.c
* Remove bracket in P_GetSkinSprite2 because I realised it was extraneous while making sure P_GetModelSprite2 worked with it.
2019-11-02 17:52:54 +00:00
Jaime Passos
134be8dbb8 Interpolation flag support 2019-09-03 22:57:54 -03:00
Jaime Passos
337b1e2b33 Crash prevention 2019-09-03 21:31:32 -03:00
Jaime Passos
6491116eb5 3 digits frame number 2019-09-03 18:31:59 -03:00
Jaime Passos
0d4225d60e Sprite2 support but I'm not a dumbass 2019-09-03 18:27:22 -03: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
mazmazz
6f70a07cb6 Fix floating point comparisons 2019-01-07 04:30:48 -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
ee2d105308 Remove CONS_Printf message that isn't even doing what it says it is! 2019-01-07 04:21:45 -05:00
Arthur
e67c1bee5d Common model format, with MD2/MD3 loading 2019-01-07 04:21:43 -05:00
Arthur
c0fbd2f841 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
2018-12-27 00:35:29 -05:00
mazmazz
afe299559e Fix floating point comparisons 2018-12-26 23:15:28 -05:00
mazmazz
35b18c6086 Buildbot fixes (changed byte types to char; mixed d&c) 2018-12-18 20:23:08 -05:00
mazmazz
0fdf9dd11c GCC compile fixes 2018-12-18 19:17:33 -05:00
Arthur
44aef0bcda Remove CONS_Printf message that isn't even doing what it says it is! 2018-12-18 17:52:53 -05:00
Arthur
b762dc7bca Common model format, with MD2/MD3 loading 2018-12-18 17:52:45 -05:00