Commit graph

17395 commits

Author SHA1 Message Date
Christoph Oelckers
0672572e63 - renamed sectortype::floorz and ceilingz as preparation for floatification 2022-08-27 09:47:48 +02:00
Christoph Oelckers
02ae6476de - changed the pos vector of spritetype to floating point. 2022-08-27 09:26:13 +02:00
Christoph Oelckers
825d94f5a5 - SW: rewrote sound code to avoid using a position pointer- 2022-08-27 09:22:42 +02:00
Christoph Oelckers
9407fa549d - SW: made ANIM value type independent. 2022-08-27 08:49:38 +02:00
Christoph Oelckers
fa53fcd085 - undid the fix that allocated one byte too many for loading a complete file into an FString.
Without this padding byte the voxel loader does not work.
2022-08-27 00:02:57 +02:00
Christoph Oelckers
2e63453cd0 - added missing range check to secret hack for WT. 2022-08-26 21:46:16 +02:00
Christoph Oelckers
b1cbecf268 - Duke/RR: do not spawn sprites with invalid picnums.
RRRA E1L7 has a respawner that will spawn an invalid sprite crashing the game.
2022-08-26 20:05:28 +02:00
Christoph Oelckers
07656251d9 - fixes bad assignments in the property parser.
They were added to the wrong flag word.
2022-08-26 19:53:11 +02:00
Christoph Oelckers
c15aeec9f7 - late __int_pos additions 2022-08-26 19:53:11 +02:00
Christoph Oelckers
4c6976baca - looks I missed one last place... 2022-08-26 19:53:10 +02:00
Christoph Oelckers
1231f6025d - handle the last remaining uses of __int_pos that can be done with the function interface. 2022-08-26 19:53:10 +02:00
Christoph Oelckers
8ccaa0ab8c - more tsprite position stuff 2022-08-26 19:53:10 +02:00
Christoph Oelckers
810e722e5e - tspritetype::pos access wrappers, part 2. 2022-08-26 19:53:10 +02:00
Christoph Oelckers
170387ab26 - tspritetype::pos access wrappers, part 1. 2022-08-26 19:53:10 +02:00
Christoph Oelckers
dc94dedc6b - renaming spritetype::pos 2022-08-26 19:53:10 +02:00
Christoph Oelckers
ad9931081e -fix some bugs, handle occurences in recently changed code 2022-08-26 19:53:10 +02:00
Christoph Oelckers
99188b52e9 - eliminated sprite pointers in clip.cpp. 2022-08-26 19:53:10 +02:00
Christoph Oelckers
3420032f02 - replace most spr.pos in the global code. 2022-08-26 19:53:09 +02:00
Christoph Oelckers
e732e2f947 - SW: replaced spr.pos globally (except two functions)
# Conflicts:
#	source/games/sw/src/_polymost.cpp
2022-08-26 19:53:09 +02:00
Christoph Oelckers
d35b131dd5 - SW: handle pos in _PlaySound 2022-08-26 19:53:09 +02:00
Christoph Oelckers
b74355fcee - SW: almost the last wraps. 2022-08-26 19:53:09 +02:00
Christoph Oelckers
b49aed6620 - SW: more spr.pos write wraps. 2022-08-26 19:53:09 +02:00
Christoph Oelckers
6a5384f39e - SW: eighth batch of spr.pos wraps. 2022-08-26 19:53:09 +02:00
Christoph Oelckers
1101a8c9e8 - SW: seventh batch of spr.pos wraps. 2022-08-26 19:53:09 +02:00
Christoph Oelckers
9ace89ad53 - SW: sixth batch of spr.pos wraps. 2022-08-26 19:53:08 +02:00
Christoph Oelckers
2d91ea29ce - SW: fifth batch of spr.pos wraps. 2022-08-26 19:53:08 +02:00
Christoph Oelckers
212b9e8bab - SW: fourth batch of spr.pos wraps. 2022-08-26 19:53:08 +02:00
Christoph Oelckers
53ce186e7b - SW: third batch of spr.pos wraps. 2022-08-26 19:53:08 +02:00
Christoph Oelckers
8ca4d85069 - SW: second batch of spr.pos wraps. 2022-08-26 19:53:08 +02:00
Christoph Oelckers
871f0c4ec6 - SW: first batch of spr.pos wraps. 2022-08-26 19:53:08 +02:00
Christoph Oelckers
43bd8acb31 - Exhumed: renamed all spr.pos. 2022-08-26 19:53:08 +02:00
Christoph Oelckers
78720f93b2 - Exhumed: refactored all write accesses to spr.pos 2022-08-26 19:53:07 +02:00
Christoph Oelckers
2e0c62a2c7 - Exhumed: fourth batch of refactoring writes to spr.pos. 2022-08-26 19:53:07 +02:00
Christoph Oelckers
255e12872c - Exhumed: third batch of refactoring writes to spr.pos. 2022-08-26 19:53:07 +02:00
Christoph Oelckers
24101f8e92 - Exhumed: second batch of refactoring writes to spr.pos. 2022-08-26 19:53:07 +02:00
Christoph Oelckers
4131451a1a - Exhumed: first batch of refactoring writes to spr.pos. 2022-08-26 19:53:07 +02:00
Christoph Oelckers
75ab0cf018 - handle a few leftovers in Blood. 2022-08-26 19:53:07 +02:00
Christoph Oelckers
204d6018f4 - Duke: renamed all spr.pos
This was pure search&replace with no other code edits.
2022-08-26 19:53:07 +02:00
Christoph Oelckers
f629ec1916 - Duke: full pos assignments 2022-08-26 19:53:06 +02:00
Christoph Oelckers
b9568aa372 - missed this in Blood 2022-08-26 19:53:06 +02:00
Christoph Oelckers
0ad571b72d - Duke: wrapped remaining write access to spr.pos 2022-08-26 19:53:06 +02:00
Christoph Oelckers
f4ed59ccb7 - Duke: ninth batch. 2022-08-26 19:53:06 +02:00
Christoph Oelckers
9bf94cbc1c - Duke: eighth batch 2022-08-26 19:53:06 +02:00
Christoph Oelckers
f97bae8d23 - Duke: refactored sound API to receive its position by reference. 2022-08-26 19:53:06 +02:00
Christoph Oelckers
b4e18e8255 - Duke: seventh batch of refactoring writes to spr.pos. 2022-08-26 19:53:06 +02:00
Christoph Oelckers
99b9b01d6a - Duke: sixth batch of refactoring writes to spr.pos. 2022-08-26 19:53:05 +02:00
Christoph Oelckers
5c31568184 - Duke: fifth batch of refactoring writes to spr.pos. 2022-08-26 19:53:05 +02:00
Christoph Oelckers
82095b435f - Duke: fourth batch of refactoring writes to spr.pos. 2022-08-26 19:53:05 +02:00
Christoph Oelckers
236b1cf4e0 - Duke: third batch of refactoring writes to spr.pos. 2022-08-26 19:53:05 +02:00
Christoph Oelckers
6d21552d6c - Duke: second batch of refactoring writes to spr.pos. 2022-08-26 19:53:05 +02:00