Commit graph

4214 commits

Author SHA1 Message Date
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
Christoph Oelckers
378d126114 - Duke: first batch of refactoring writes to spr.pos. 2022-08-26 19:53:05 +02:00
Christoph Oelckers
58f573e578 - Blood: replaced the remaining spr.pos with int_pos() in nnexts 2022-08-26 19:53:05 +02:00
Christoph Oelckers
0c0a33da8e - Blood: replaced the remaining spr.pos with int_pos() 2022-08-26 19:53:05 +02:00
Christoph Oelckers
f291a943a4 - Blood: replaced the remaining spr.pos with int_pos() 2022-08-26 19:53:04 +02:00
Christoph Oelckers
0f8bf5f743 - Blood: replaced the remaining spr.pos with int_pos() 2022-08-26 19:53:04 +02:00
Christoph Oelckers
5296051fef - Blood: replaced the remaining spr.pos with int_pos() 2022-08-26 19:53:04 +02:00
Christoph Oelckers
6fe27b4fe5 - Blood: replaced the remaining spr.pos with int_pos() 2022-08-26 19:53:04 +02:00
Christoph Oelckers
4a3e9f6df1 - Blood: replaced the remaining spr.pos with int_pos() 2022-08-26 19:53:04 +02:00
Christoph Oelckers
458fc219ed - Blood: replaced the remaining spr.pos with int_pos() 2022-08-26 19:53:04 +02:00
Christoph Oelckers
2642018bac - Blood: replaced the remaining spr.pos with int_pos() 2022-08-26 19:53:04 +02:00
Christoph Oelckers
702a73ff6c - Blood: handled the remaining write accesses to 'pos' 2022-08-26 19:53:03 +02:00
Christoph Oelckers
04c9422db8 - Blood: don't pass an actor's position directly to ClipMove 2022-08-26 19:53:03 +02:00
Christoph Oelckers
4f391e46ce - added GetSoundPos variant taking a reference instead of pointer. 2022-08-26 19:53:03 +02:00
Christoph Oelckers
efc832ca5c - Blood: wrapped most write accesses to spr.pos 2022-08-26 19:53:03 +02:00
Christoph Oelckers
32dd061ab1 - Blood: wrapped write accesses to spr.pos in nnexts.cpp 2022-08-26 19:53:03 +02:00
Christoph Oelckers
70d5ba6abe - Blood: first part of wrapping spr.pos write access. 2022-08-26 19:53:03 +02:00
Christoph Oelckers
ca1171187f - hack to fix bad door definition in RR E2L7. 2022-08-25 21:45:03 +02:00
Christoph Oelckers
b196e67f40 ported SHA-1: 82e3f6af9367200853fe2af1b9665dd0c53b4f05 from NBlood
* - Change gBusyCount limit to a higher value since xsector limit raised.

gModernMap:
- The return of the event causer (kChannelEventCauser, TXID 50).
- Fix flags for kModernPropertiesChanger type.
- Add new modern type kModernVelocityChanger.
- New features for kMarkerWarpDest type.
- New features for kModernSectorFXChanger type.
- Fix sector condition 58.
- Fix sprite hitscan conditions (35 - 38).
- Add new command (kCmdEventKillFull).
- Misc changes.

# Conflicts:
#	source/games/blood/src/actor.cpp
#	source/games/blood/src/nnexts.cpp
2022-08-17 20:45:51 +02:00
Christoph Oelckers
0139ac5e4a ported NBlood commit e3d7ab8b919c230b2b4a825137d607b03b363796
- (gModernMap) Add a way to move sprites that are close to outside walls of sector
- (gModernMap) Add loadsave construct
- (gModernMap) Fix movement direction for reverse moving sprites in TranslateSector
2022-08-17 20:45:43 +02:00
Christoph Oelckers
97b7f4b46a - Exhumed: exported a handful of missed messages to the string table 2022-08-17 20:39:00 +02:00
Christoph Oelckers
4aee3bef47 - Exhumed: fixed coordinate bug with queen
# Conflicts:
#	source/games/exhumed/src/queen.cpp
2022-08-17 20:38:55 +02:00
Christoph Oelckers
9c107049fd Revert "- blood: fix velCeil calculation"
This reverts commit d85a8b6507.

This broke player view height on elevators.
2022-08-17 20:19:58 +02:00
Christoph Oelckers
4d423004e9 - unlimited the displayable sprites.
Now with Polymost gone this can finally be done properly.
2022-08-07 10:25:15 +02:00
Christoph Oelckers
738c133d05 - animation precaching cleanup.
No need to handle animations on the,game side. markTileForPrecache already handles this - now also for oscillating animations.
2022-08-05 23:48:43 +02:00
Christoph Oelckers
4f2170655c - animateoffs cleanup and consolidation
This was rewritten based on specs alone - it still doesn’t look that different due to its simplicity.
2022-08-05 23:32:16 +02:00
Christoph Oelckers
83c0ad55f2 - rewrote nextsectorneighborzptr with a better parameter interface 2022-08-05 18:43:48 +02:00
Christoph Oelckers
ec66f39535 - replaced a few naked chars with better types. 2022-08-05 17:04:46 +02:00
Christoph Oelckers
c2fc7577db - cleanup of 3D viewport code.
Removes all the hackery that Polymost needed and now uses a sane struct to store the info.
2022-08-05 17:04:45 +02:00
Christoph Oelckers
c5ec2af020 - Exhumed: fix position init in BuildfRat
This is only the cheat case, which is why this wasn’t detected earlier.
2022-08-05 09:41:25 +02:00
Christoph Oelckers
8d423fdc6f - toned down the fov change a bit.
With real projection math it was a bit extreme.
2022-08-03 19:59:46 +02:00
Christoph Oelckers
e6ca0f4817 - made fov change for RRRA's drug mode work. 2022-08-03 19:41:30 +02:00