Commit graph

17129 commits

Author SHA1 Message Date
Christoph Oelckers
a12093af04 - use full precision math for rotating sectors in Blood. 2022-02-15 22:18:24 +01:00
Christoph Oelckers
a781517780 - renamed PlanesAtPointf to PlanesAtPoint
The old PlanesAtPoint is not needed anymore.
2022-02-15 22:18:24 +01:00
Christoph Oelckers
08500ca757 - eliminated coordinate factors from UV generator. 2022-02-15 22:18:24 +01:00
Christoph Oelckers
bd95da423a - use PlanesAtPointf in most places where PlanesAtPoint was used. 2022-02-15 22:18:24 +01:00
Christoph Oelckers
02d508baef - renamed floatified wall coordinate to 'pos'. 2022-02-15 22:18:24 +01:00
Christoph Oelckers
7d461fa768 - PlanesAtPointf 2022-02-15 22:18:24 +01:00
Christoph Oelckers
cd55658786 - use floats for vertices. 2022-02-15 22:18:23 +01:00
Christoph Oelckers
cf17cffb26 - missed one place where wall coordinates are set from map loading. 2022-02-15 22:18:23 +01:00
Christoph Oelckers
59e834fdad - Duke: changed animation storage to be independent of the animated values' types. 2022-02-15 22:18:23 +01:00
Christoph Oelckers
a9cf6feb60 - SW: changed sector object interpolation to be independent of the interpolated values' types. 2022-02-15 22:18:23 +01:00
Christoph Oelckers
bc0e8b4a8d - use a method for setting wall coordinates when loading a map. 2022-02-15 22:18:23 +01:00
Christoph Oelckers
f44736a5b6 -use an access function for reading wall positions so that we have a non-modifiable value wherever this is possible. 2022-02-15 22:18:23 +01:00
Christoph Oelckers
89ef81da55 - renamed walltype::pos as preparation for refactoring.
no functional changes here
2022-02-15 22:18:22 +01:00
carnivoroussociety
1d8a11601d Fix ceiling panning angle 2022-02-15 16:02:00 +01:00
Rachael Alexanderson
0d54237eec - pull cvar uniform fixes from gzdoom 2022-02-09 07:26:59 -05:00
Rachael Alexanderson
c2b35fee41 - allow floats for uniform cvar defaults 2022-02-06 10:32:55 -05:00
Rachael Alexanderson
9fc6d40dcf - fix compile on clang - it's a whack-a-mole, we'll get em eventually 2022-02-01 12:49:58 -05:00
Rachael Alexanderson
b7cb878ad8 - fix compiling on Linux/et-al 2022-02-01 12:36:26 -05:00
Rachael Alexanderson
942acc04c1 - pull fix from GZDoom - handle situations where the uniform cvar may already exist 2022-02-01 11:45:29 -05:00
Rachael Alexanderson
cc57914bbf - fully implement uniform cvars 2022-02-01 11:03:39 -05:00
Christoph Oelckers
dab1f7fcec - handle walls where a sloped floor intersects with the visible part. 2022-01-30 08:54:11 +01:00
Christoph Oelckers
11b21cce2c - handle wall sprites on orthogonal walls better.
This covers the case that a wall sprite may overlap two walls with a slight deviation in their position - always pick the closest one.
2022-01-30 08:28:52 +01:00
Christoph Oelckers
ce325e6453 - disabled assert in FAFhitscan.
There's maps out there which trigger this - so it should better be silenced, despite being a mapping error.
2022-01-30 08:13:35 +01:00
Christoph Oelckers
12b25df582 - Exhumed: handle unterminated strings in LoadSound without reading beyond their end. 2022-01-29 13:29:59 +01:00
Christoph Oelckers
f98765ce95 - fixed handling of badly placed sprites in map validation code. 2022-01-29 12:33:11 +01:00
Christoph Oelckers
ca9936a601 - Exhumed: fix issues with uninitialized buffer data in seq_ReadSequence. 2022-01-29 12:25:48 +01:00
Christoph Oelckers
b82198b351 - Blood: fixed bad alignment flags for HUD flames. 2022-01-29 11:38:24 +01:00
Christoph Oelckers
a015958f66 - Duke: had to give the trip bomb yet another flag.
Unlike every other actor this has scripted animation logic attached that is not supposed to be used. Weird.
2022-01-29 10:45:36 +01:00
Christoph Oelckers
686a648aa1 - fixed inverted logic when checking for dragged sectors. 2022-01-29 09:59:29 +01:00
Christoph Oelckers
8487d693f5 - flags for the bolts. 2022-01-27 01:05:12 +01:00
Christoph Oelckers
82898e42a6 - fix the camera.
- camera flag added
2022-01-27 01:05:12 +01:00
Christoph Oelckers
8e89bc29e4 - new explosion flags 2022-01-27 01:05:12 +01:00
Christoph Oelckers
fba8f54bb3 - two more flags to get sprite indices out of movecrack.
# Conflicts:
#	source/games/duke/src/constants.h
2022-01-27 00:48:39 +01:00
Christoph Oelckers
d3f2d50088 - added NOFLOORPAL flag to remove some special cases from animatesprites.
# Conflicts:
#	source/games/duke/src/constants.h
2022-01-27 00:48:00 +01:00
Christoph Oelckers
c0a40cb7d7 - renamed RR's TRIPBOMBSPRITE to POWDERKEG 2022-01-27 00:46:46 +01:00
Christoph Oelckers
3d0c794224 - two more flags for LASERLINE. 2022-01-27 00:46:24 +01:00
Christoph Oelckers
a776e5c56e - turned the exclude lists for initspriteforspawn into a flag. 2022-01-27 00:45:55 +01:00
Christoph Oelckers
e4cfc374be - another trip bomb flag. 2022-01-27 00:42:57 +01:00
Christoph Oelckers
0574da7cd4 - SE24 cleanup using flags.
The whole setup is actually very simple, once all the mess got removed from the code.
2022-01-27 00:42:49 +01:00
Christoph Oelckers
eae5ca93d0 - cleanup - flag name and removal of unused code. 2022-01-27 00:42:40 +01:00
Christoph Oelckers
2468debe34 - added a new flag for non-teleporting items. 2022-01-27 00:42:16 +01:00
Christoph Oelckers
fc94fb9651 - replaced checktimetosleep with a flag. 2022-01-27 00:42:07 +01:00
Christoph Oelckers
72510a47fa - replaced one more actor list check in hitradius with a flag. 2022-01-27 00:41:57 +01:00
Christoph Oelckers
125c3e8004 - flammable flags. 2022-01-27 00:41:33 +01:00
Christoph Oelckers
913b0622b8 - use symbolic constants 2022-01-27 00:35:45 +01:00
Christoph Oelckers
58b718d2a2 - turn all special actor type checks in moveflammable into flags.
Also wrap all flag checks in actorflag function
2022-01-27 00:34:21 +01:00
Christoph Oelckers
cbd8de36a9 - added spawn number parser to .DEF.
This is for mapping actor classes to whatever the games use to decide what kind of actor a sprite is.
2022-01-26 23:53:05 +01:00
Christoph Oelckers
d9fee902de - setSpritesetImage export added. 2022-01-26 23:35:53 +01:00
Christoph Oelckers
ef22a78618 - moved all VM exports to their own file. 2022-01-26 23:35:46 +01:00
Christoph Oelckers
6ff8e89739 - add statnums and virtual base methods to DukeActor. 2022-01-26 00:37:11 +01:00