Kart-Public/src/hardware
Monster Iestyn 6a0329857d Merge branch 'polyobject-seg-render-fix' into 'master'
Polyobject seg render fix

This fixes both Software and OpenGL renderers so that polyobject segs aren't drawn if the game is drawing the actual subsectors they're from (outside the main level, where the polyobject walls were pre-spawn). They should only appear as part of the polyobject itself in-level.

This means a few glitches with polyobjects are probably fixed: for instance in Software mode, polyobject walls sometimes appear through level boundaries (and make everything above/below vanish, turning into HOM or skybox), if the BSP rendering code happens to find one of the subsectors said segs came from outside the level. I don't think anything similar happens in OpenGL, though I'm sure some unwanted typecasting is happening as a result of attempting to draw the segs. (And it fixes a crash in 2.2 anyway.)

See merge request !195
2017-06-22 17:29:01 -04:00
..
r_minigl SRB2 2.1 release 2014-03-15 13:11:35 -04:00
r_opengl OpenGL: check for 1.3+ or 2.0+, not just 1.3/2.X to 4.X 2017-05-29 23:04:03 -04:00
s_ds3d change SDL into HAVE_SDL 2014-07-25 19:10:24 -04:00
s_fmod change SDL into HAVE_SDL 2014-07-25 19:10:24 -04:00
s_openal MSVC: fixed up MSVC project 2016-05-21 23:53:04 -04:00
hw3dsdrv.h change SDL into HAVE_SDL 2014-07-25 19:10:24 -04:00
hw3sound.c *_Random is now *_RandomByte. 2016-03-29 16:27:55 -07:00
hw3sound.h SRB2 2.1 release 2014-03-15 13:11:35 -04:00
hw_bsp.c SRB2 2.1 release 2014-03-15 13:11:35 -04:00
hw_cache.c Fix hardware / r_opengl warnings. 2014-11-02 01:31:38 -04:00
hw_data.h change SDL into HAVE_SDL 2014-07-25 19:10:24 -04:00
hw_defs.h OpenGL Screen Flip 2014-04-07 17:08:04 +01:00
hw_dll.h added printf checks to hardware's I_Error 2016-06-12 16:08:48 -04:00
hw_draw.c Remove pdupx/y and just use sdupx/y for everything, thanks Inuyasha 2016-11-16 12:10:56 +00:00
hw_drv.h Virtual resolutions in OpenGL 2014-11-13 18:06:38 -06:00
hw_glide.h SRB2 2.1 release 2014-03-15 13:11:35 -04:00
hw_glob.h Well, we don't need "experimental" slopes anymore either 2016-03-09 01:09:21 -08:00
hw_light.c *_Random is now *_RandomByte. 2016-03-29 16:27:55 -07:00
hw_light.h SRB2 2.1 release 2014-03-15 13:11:35 -04:00
hw_main.c Do not draw segs that belong to polyobjects, if you're drawing subsectors adjacent to them 2017-06-03 17:47:46 +01:00
hw_main.h Disable the corona-related consvars unless ALAM_LIGHTING macro is enabled 2016-04-21 18:50:30 +01:00
hw_md2.c Correcting slight mistake I made 2016-11-06 17:50:04 +00:00
hw_md2.h Attempt loading of an MD2 only once; if we failed then don't bother again 2016-11-03 21:06:23 +00:00
hw_trick.c Redwall sky gone 2014-03-24 17:29:14 +00:00
hws_data.h SRB2 2.1 release 2014-03-15 13:11:35 -04:00