Monster Iestyn
166fafd717
Fixed div-by-zero crash relating to portals, drawsegs and midtextures
...
Had to remove Red's scale hack in order to do so, because it utterly fails when the drawseg doesn't actually belong to the portal in the first place.
2016-02-06 18:57:26 +00:00
Inuyasha
5320424269
Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2 into pub_next
2016-02-03 18:09:08 -08:00
Monster Iestyn
9e29b69a29
Remove unused "firstnewseg" variable
2016-01-31 16:49:04 +00:00
Monster Iestyn
1e131d2786
Partial undo of what I did last commit to make Inu happy again.
...
Note: polyobj_t's "translucency" is apparently a SIGNED integer, so in theory it's possible to get polyobj flats to use the "spanfunc = splatfunc" line using negative values. If this is not meant to happen, this should probably be fixed asap
Conflicts:
src/f_wipe.c
2016-01-14 16:40:55 +00:00
Monster Iestyn
734419d549
FF_TRANSSHIFT is meant for transmaps linked to states, not anything else!
...
I'm surprised how the source code flew in the face of this fact for so long and just used it everywhere, that's just silly.
Conflicts:
src/f_wipe.c
2016-01-14 16:39:31 +00:00
Monster Iestyn
8cad9a6dc8
We can compile the slopes code now, yay! My brain hurts.
...
Compiling errors fixed in this commit:
* Various cases of mixed declaration and statement code
* Implicit declaration of slope functions (read: you forgot to put "include "p_slopes.h" in MORE than a few places)
* an odd case of a bad fixed_t to float typecase, cause by using P_GetZAt directly inside FIXED_TO_FLOAT
* a few minor cases of bad unsigned-signed comparisons
* no prototypes for some of the new slope functions. For goodness sake Red, this is basic stuff!
2016-01-03 10:30:36 -06:00
RedEnchilada
fb9d07b8ba
Bugfixes to sloped FOF plane clipping
2015-05-21 22:13:51 -05:00
RedEnchilada
e7bc004bbf
Sloped lights n shit
2015-05-17 23:51:38 -05:00
RedEnchilada
8ba5b66853
Slight optimization (don't get seg ends for slopes if there are no slopes)
2015-05-16 23:55:49 -05:00
RedEnchilada
c08253d796
FOF sides now render slopified too!
2015-05-16 23:04:54 -05:00
RedEnchilada
4e11d6d615
Make FOF planes render slopedly if set
2015-05-16 22:32:12 -05:00
RedEnchilada
d81cecdac9
Minor cleanup so it stops bugging me
2015-05-16 19:59:52 -05:00
RedEnchilada
2187dac49b
Fix random texture triangles rendering on lines with slopes?????
2015-05-13 16:48:34 -05:00
RedEnchilada
2183912100
Change upper/lower textures to not skew by default, add new linedef flags on normal linedefs:
...
Effect 1: Restore skewing on upper/lower textures
Effect 2: Disable skewing on midtextures
Effect 3: Flips effect of Lower Unpegged for midtextures only
(Effect 3 w/o LU: midtexture sticks to bottom, bottom texture sticks to
upper edge. Effect 3 w/ LU: midtexture sticks to top, bottom texture
sticks to lower edge.)
2015-05-04 17:45:02 -05:00
RedEnchilada
7e13cb8b47
Fix various issues/crashes with texture alignments
2015-05-04 16:40:02 -05:00
RedEnchilada
1b9180111c
Pin midtextures based on slopes, including bending on wall crossing
2015-05-04 15:15:57 -05:00
RedEnchilada
c66bb1c330
Make textures skew according to slope (midtextures not fixed yet)
2015-05-03 15:47:40 -05:00
RedEnchilada
3644d4d883
Minor code cleanup around renderer gunk
...
(Who let that silhouette == 1/etc thing sit there all those years? :V)
2015-04-30 00:41:29 -05:00
RedEnchilada
234f734fe5
Fix sprite clipping and some blocking walls being rendered around slopes
2015-04-30 00:38:51 -05:00
RedEnchilada
f4ea285f02
Fix vertical linedefs on slopes rendering improperly
2015-04-20 12:31:30 -05:00
RedEnchilada
779faaa93f
SLOPES IN SOFTWARE MOD EHOLY SHIT
2015-04-20 02:10:14 -05:00
RedEnchilada
65719c5b99
Make wall renderer account for slopes properly (in most cases)
2015-04-19 22:20:54 -05:00
Alam Ed Arias
73b3287b19
SRB2 2.1.14 release
2015-01-01 14:50:31 -05:00
Alam Ed Arias
404b5f666c
SRB2 2.1.12 release
2014-11-11 19:55:07 -05:00
Alam Ed Arias
b93cb1b65a
SRB2 2.1 release
2014-03-15 13:11:35 -04:00