Commit graph

11222 commits

Author SHA1 Message Date
Christoph Oelckers
3a0eec76ad - some getangle and SpawnActor calls 2022-10-12 22:10:34 +02:00
Christoph Oelckers
a0c0894e41 - aiSetTarget calls 2022-10-12 22:10:34 +02:00
Christoph Oelckers
97223af592 - silenced a few conversion truncation warnings. 2022-10-12 15:49:07 +02:00
Christoph Oelckers
f35c610328 - the remaining cansee calls 2022-10-11 18:09:48 +02:00
Christoph Oelckers
db0ce36143 - use engine's updatesector in Blood instead of the limited homegrown FindSector variant. 2022-10-11 18:09:48 +02:00
Christoph Oelckers
72187a7f3b - mummy’s cansee and FindPlayer 2022-10-11 18:09:05 +02:00
Mitchell Richters
b804d7fe15 - Duke: Fix bad setups when calling cansee(). Fixes issues with pigcop on kerb in E2L1. 2022-10-11 18:07:40 +02:00
Christoph Oelckers
113980ca8e - cansee in Duke 2022-10-11 18:05:15 +02:00
Christoph Oelckers
085839af32 - CheckPickUp floatification 2022-10-10 17:37:20 +02:00
Christoph Oelckers
a808f04415 - cansee refactoring part 4 2022-10-10 17:37:20 +02:00
Christoph Oelckers
3da68ab038 - cansee refactoring, part 3 2022-10-10 17:37:20 +02:00
Christoph Oelckers
80412bdc51 - cansee refactoring, part 2 2022-10-10 17:37:20 +02:00
Christoph Oelckers
781ffc9a43 - cansee refactoring, part 1. 2022-10-10 17:37:20 +02:00
Christoph Oelckers
d8f379c8fa - SetActorZ vectors 2022-10-10 17:37:20 +02:00
Christoph Oelckers
e76dfa5d3c - GetActor pos replacement 2022-10-10 17:37:19 +02:00
Christoph Oelckers
1c154a984d - floatified XSPRITE::TargetPos 2022-10-10 17:37:19 +02:00
Christoph Oelckers
d26a4e70c3 - wrapped XSPRITE::TargetPos 2022-10-10 17:37:19 +02:00
Christoph Oelckers
4888b363e8 - added vector variant of gFX.fxSpawnActor 2022-10-10 17:37:19 +02:00
Christoph Oelckers
e20b2ab872 - don't use labs. 2022-10-10 17:37:19 +02:00
Christoph Oelckers
139969d017 - FindSector variants with vectors 2022-10-10 17:37:19 +02:00
Christoph Oelckers
f41c78d622 - actDropObject 2022-10-10 17:37:19 +02:00
Christoph Oelckers
e7ec2c072a - floatified Blood’s startpos 2022-10-10 17:37:19 +02:00
Christoph Oelckers
35693ec399 - deleted unused radarang table 2022-10-10 17:37:18 +02:00
Christoph Oelckers
cb39a07580 - position in actSpawnSprite 2022-10-10 17:37:18 +02:00
Christoph Oelckers
08c19cd2a4 - floatified CheckProximity position parameter 2022-10-10 17:37:18 +02:00
Christoph Oelckers
12d54a8b5c - use vector math for distances in actRadiusDamage 2022-10-10 17:37:18 +02:00
Christoph Oelckers
9460239417 - pass a vector to GetClosestSpriteSectors 2022-10-10 17:37:18 +02:00
Christoph Oelckers
64cf9a4ec6 - pass vector position to actRadiusDamage 2022-10-10 17:37:18 +02:00
Christoph Oelckers
645c606e39 - floatified ConcussSprite 2022-10-10 17:37:18 +02:00
Christoph Oelckers
7a45738d7e - avoid integer math for wall sprites. 2022-10-10 17:37:18 +02:00
Christoph Oelckers
c59e4f8a10 - floatified sprext.position_offset 2022-10-10 17:37:17 +02:00
Christoph Oelckers
2954603573 - got rid of integer vector math in hw_bunchdrawer.cpp 2022-10-10 17:37:17 +02:00
Christoph Oelckers
0767ffe41b - eliminated the last wrapper call for track points 2022-10-10 17:37:17 +02:00
Christoph Oelckers
23a0433b95 - the remaining track point stuff. 2022-10-10 17:37:17 +02:00
Christoph Oelckers
aa584c51ac - trackpoint wrapper cleanup 2022-10-10 17:37:17 +02:00
Christoph Oelckers
90cbb1be13 - more track stuff 2022-10-10 17:37:17 +02:00
Christoph Oelckers
767933dff9 - track stuff in ai.cpp 2022-10-10 17:37:17 +02:00
Christoph Oelckers
27152ae189 - floatified track point storage. 2022-10-10 17:37:17 +02:00
Christoph Oelckers
3ac4b6300f - code cleanup to eliminate wrappers. 2022-10-10 17:36:41 +02:00
Christoph Oelckers
45f37525e0 - minor angle stuff in Blood 2022-10-10 17:31:30 +02:00
Christoph Oelckers
ed12e333e3 - RANDOM_ANGLE + move_debris 2022-10-10 17:31:30 +02:00
Christoph Oelckers
834f833298 - 2 getangle calls refactored 2022-10-10 17:31:30 +02:00
Christoph Oelckers
ef1e77514d - floatified DoActorOperate 2022-10-10 17:31:30 +02:00
Christoph Oelckers
072cb5ccdf - floatified CanHitPlayer and sanitized its overcomplicated and broken math. 2022-10-10 17:31:29 +02:00
Christoph Oelckers
bc5a92bcc9 - distance stuff in sound code. 2022-10-10 17:31:29 +02:00
Christoph Oelckers
9444bd4370 - last FAFcansee bunch 2022-10-10 17:31:29 +02:00
Christoph Oelckers
7aca321fab - FAFcansee refactoring, part 5. 2022-10-10 17:31:29 +02:00
Christoph Oelckers
9f9a315ce2 - FAFcansee refactoring, part 4. 2022-10-10 17:31:29 +02:00
Christoph Oelckers
4aa5de689c - renamed old FAFcansee function for easier searching. 2022-10-10 17:31:29 +02:00
Christoph Oelckers
ff6d1fd284 - FAFcansee refactoring, part 3. 2022-10-10 17:31:29 +02:00