Commit graph

4524 commits

Author SHA1 Message Date
Christoph Oelckers
24b23d6919 - floatified PLAYER::ceiling_dist/floor_dist. 2022-10-09 22:30:51 +02:00
Christoph Oelckers
8aab82691b - renamed two PLAYER members for easier searching. 2022-10-09 22:30:51 +02:00
Christoph Oelckers
6497456471 - most of int_phiz,int_ploz 2022-10-09 22:29:54 +02:00
Christoph Oelckers
e1a26c157d - leftovers 2022-10-09 22:00:43 +02:00
Christoph Oelckers
13d9505662 - PLAYER::hiz,loz refactoring, part 1 2022-10-09 22:00:43 +02:00
Christoph Oelckers
30b620c700 - removed unused oz_speed member variable. 2022-10-09 22:00:43 +02:00
Christoph Oelckers
209867e036 - cleaned out some unnecessary inlines. 2022-10-09 22:00:43 +02:00
Christoph Oelckers
e1ceab240b - SW's quake stuff 2022-10-09 22:00:43 +02:00
Christoph Oelckers
31dfd1af7a - eliminated most int_upos calls. 2022-10-09 21:57:30 +02:00
Christoph Oelckers
df2f68efc1 - messy ladder stuff. 2022-10-09 14:53:11 +02:00
Christoph Oelckers
17d5242958 - got rid of int_z_tgt 2022-10-09 14:53:11 +02:00
Christoph Oelckers
d2818322b0 - 2x int_hiz 2022-10-09 14:53:11 +02:00
Christoph Oelckers
7e963cb7a3 - floatified DoHornetMatchPlayerZ 2022-10-09 14:53:11 +02:00
Christoph Oelckers
0d24aeb3f5 - handle all remaining trivial int_loz. 2022-10-09 14:53:11 +02:00
Christoph Oelckers
5e14361dd6 - another set of 2 Utilities prepared for floatification. 2022-10-09 14:53:11 +02:00
Christoph Oelckers
82968f876f - floatified most of DoEelMatchPlayerZ 2022-10-09 14:53:11 +02:00
Christoph Oelckers
9ed66acd44 - renamed 2 integer functions to add float variants 2022-10-09 14:53:10 +02:00
Christoph Oelckers
abf9d764c4 - fix some z scaling mishap (again...)
- shadow stuff
2022-10-09 14:53:10 +02:00
Christoph Oelckers
30e6db9e3b - floatified DoVatorMove and got rid of int_oz. 2022-10-09 14:53:10 +02:00
Christoph Oelckers
af7e63137f - got rid of most int_oz calls. 2022-10-09 14:53:10 +02:00
Christoph Oelckers
9433f2ada8 - floatified DoCoolgMatchPlayerZ. 2022-10-09 14:53:10 +02:00
Christoph Oelckers
f53a61693b - floatified user.pos.
Special care needed to be taken for two cases where it did not store a coordinate.
2022-10-09 08:21:56 +02:00
Christoph Oelckers
f43a8d4fce - user.pos wrapping. 2022-10-09 08:21:56 +02:00
Christoph Oelckers
bc853d3a00 - user.zclip floatified 2022-10-09 08:21:56 +02:00
Christoph Oelckers
a93349b445 - messy pointer use cleaned up. 2022-10-09 08:21:56 +02:00
Christoph Oelckers
a630f27a48 - wrapped user.zclip reads. 2022-10-09 08:21:56 +02:00
Christoph Oelckers
4021d13e8d - completed floatification of ceiling_dist and floor_dist. 2022-10-09 08:21:56 +02:00
Christoph Oelckers
5416100ba2 - trivial assignments
(does not compile, this commit is only supposed to reduce the noise on the next one.
2022-10-09 08:21:55 +02:00
Christoph Oelckers
5f12f0deaa - missed 3. 2022-10-09 08:21:55 +02:00
Christoph Oelckers
8672a9f051 - wrapped user.floor_dist reads. 2022-10-09 08:21:55 +02:00
Christoph Oelckers
4f073dec26 - wrapped user.ceiling_dist reads. 2022-10-09 08:21:55 +02:00
Christoph Oelckers
467ab9f7ee - int_hiz/int_loz replacements. 2022-10-09 08:21:55 +02:00
Christoph Oelckers
425f4055b4 - floatified user.z_tgt. 2022-10-09 08:21:55 +02:00
Christoph Oelckers
65d1e5cac9 - wrapped user.z_tgt reads. 2022-10-09 08:21:55 +02:00
Christoph Oelckers
620f7c5430 - floatified user.oz. 2022-10-09 08:21:54 +02:00
Christoph Oelckers
a7d62f944b - wrapped user.oz reads. 2022-10-09 08:21:54 +02:00
Christoph Oelckers
306e751a51 - floatified user.hiz and user.loz 2022-10-09 08:21:54 +02:00
Christoph Oelckers
d117544da8 - wrapped user.hiz reads. 2022-10-09 08:21:54 +02:00
Christoph Oelckers
ac3f6d73e3 - wrapped all reads to user.loz. 2022-10-09 08:21:54 +02:00
Christoph Oelckers
ade20cbfe2 - some angular stuff. 2022-10-09 08:21:54 +02:00
Christoph Oelckers
766ddeb445 - one more batch of trivial replacements 2022-10-09 08:21:53 +02:00
Christoph Oelckers
6111b11359 - trivial replacements in SW. 2022-10-09 08:21:53 +02:00
Christoph Oelckers
7152868077 - trivial replacements in Exhumed. 2022-10-09 08:21:53 +02:00
Christoph Oelckers
9314d4c774 - yet another batch of wrapper replacements 2022-10-09 08:21:53 +02:00
Christoph Oelckers
d9397b3b5d - another batch of wrapper replacements 2022-10-09 08:21:53 +02:00
Christoph Oelckers
f13d9892dc - trivial wrapper replacements in Duke 2022-10-09 08:21:53 +02:00
Christoph Oelckers
4db457f3b0 - stuff in animatesprite.cpp 2022-10-09 08:21:53 +02:00
Christoph Oelckers
91acf93c7d - SW: fixed viewpoint interpolation 2022-10-09 08:21:53 +02:00
Christoph Oelckers
e5e00c98e7 - a few set_int_z in Duke/actors.cpp 2022-10-09 08:21:52 +02:00
Christoph Oelckers
93150d9e27 - partial floatification of movetransports_d 2022-10-09 08:21:52 +02:00
Christoph Oelckers
b00c8dbaee - partial floatification of movetransports_r 2022-10-09 08:21:52 +02:00
Christoph Oelckers
a00969fbeb - partial floatification of furthestcanseepoint. 2022-10-09 08:21:52 +02:00
Christoph Oelckers
df9f444d88 - SW: fixed bad actor parameter in SpawnShell.
cherry pick on master
2022-10-09 08:18:38 +02:00
Christoph Oelckers
0e38d5e52b - SW: fixed sound owner issues with non-follow sounds.
These sounds were given the wrong type now.

cherry pick on master.
2022-10-08 19:28:57 +02:00
Christoph Oelckers
96e6424772 - floatified damage logic in aibeast.StompSeqCallback 2022-10-08 19:28:57 +02:00
Christoph Oelckers
aa0080039f - refactored coordinate display to have a single unified printing function.
The games will now only return the data, this has also been added for Exhumed.
Printing will now be in actual map units, not build's internal mixed format.
2022-10-08 19:28:57 +02:00
Christoph Oelckers
b32c4444c4 - replaced all add_int_z calls with constants. 2022-10-08 19:28:57 +02:00
Christoph Oelckers
4a6f9f316a - one assignment 2022-10-08 19:28:57 +02:00
Christoph Oelckers
c0c74fca84 - fishy grenade stuff 2022-10-08 19:28:56 +02:00
Christoph Oelckers
163146250d - Exhumed: clean up PlayFXAtXYZ interface and its global variable abuse 2022-10-08 19:28:43 +02:00
Christoph Oelckers
de18371e06 - handle lasthit in Exhumed 2022-10-08 16:11:24 +02:00
Christoph Oelckers
424a58f91b - Blood: sfxPlay3DSound 2022-10-08 16:11:23 +02:00
Christoph Oelckers
5df5520754 - one more 2022-10-08 16:11:23 +02:00
Christoph Oelckers
0ee39bfad9 - getangle cleanup 2022-10-08 16:11:23 +02:00
Christoph Oelckers
4403a6a411 - eliminated redundant and less precise GetMyAngle function
The engine's getangle function just works fine here.
2022-10-08 16:11:23 +02:00
Christoph Oelckers
c66c750547 - handle all constant add_int_z calls in Exhumed 2022-10-08 16:11:23 +02:00
Christoph Oelckers
3a77742b72 - handle most set_int_z calls in Exhumed 2022-10-08 16:11:23 +02:00
Christoph Oelckers
ae79f3e3c3 - half of GetActorHeight 2022-10-08 16:11:23 +02:00
Christoph Oelckers
f78ecd22a4 - Exhumed: eliminated several set_int_pos calls 2022-10-08 16:11:01 +02:00
Christoph Oelckers
7d9406bf01 - AngleDiff 2022-10-08 10:06:04 +02:00
Christoph Oelckers
9d5acf8350 - getangle calls 2022-10-08 10:06:04 +02:00
Christoph Oelckers
d5bcc64206 - Exhumed: AddFlash floatified 2022-10-08 10:06:04 +02:00
Christoph Oelckers
f6c7a1c41d - final BuildAnim calls
This was a bit more complex.
2022-10-08 10:06:04 +02:00
Christoph Oelckers
8ee10c5488 - Exhumed: use DVector3 in BuildAnim and some related code 2022-10-08 10:06:03 +02:00
Christoph Oelckers
4d02cdcce9 - use explicit types in hitscan calls 2022-10-06 20:50:47 +02:00
Christoph Oelckers
5455ce42c0 -got rid of some simple int_ppos wrappers. 2022-10-06 20:50:47 +02:00
Christoph Oelckers
76569ffd9f - fix constants 2022-10-06 20:50:47 +02:00
Christoph Oelckers
eedac509a2 - LadderPosition 2022-10-06 20:50:47 +02:00
Christoph Oelckers
c6af5ff9e1 - removed all quickly doable ppos wrapper calls. 2022-10-06 20:50:47 +02:00
Christoph Oelckers
280cd8970e - floatify all 3 player position variables. 2022-10-06 20:50:47 +02:00
Christoph Oelckers
c5414bd29c - map to final names. 2022-10-06 20:50:46 +02:00
Christoph Oelckers
6ced076812 - ladder stuff 2022-10-06 20:50:46 +02:00
Christoph Oelckers
72869304ea - add_int_ppos_XY 2022-10-06 20:50:46 +02:00
Christoph Oelckers
8ff62c5a07 - sone remaining int_ppos. 2022-10-06 20:50:46 +02:00
Christoph Oelckers
f125d615c8 -more ppos setters. 2022-10-06 20:50:46 +02:00
Christoph Oelckers
55aa981f89 - ppos.Z assignments 2022-10-06 20:50:46 +02:00
Christoph Oelckers
5db79fecd7 - more int_ppos 2022-10-06 20:50:45 +02:00
Christoph Oelckers
8e966fc575 - int_ppos replacements 2022-10-06 20:50:45 +02:00
Christoph Oelckers
da73d2bba4 - renamed player position variables. 2022-10-06 20:50:45 +02:00
Christoph Oelckers
22dae296c6 - SW: SectorExp floatified 2022-10-06 20:50:45 +02:00
Christoph Oelckers
ed6adc33c4 - floatified SO rotations. 2022-10-06 20:50:45 +02:00
Christoph Oelckers
e71254dfa6 - floatified some parts of the SO interface for consistent use of MAXSO. 2022-10-06 20:50:45 +02:00
Christoph Oelckers
b9dbcebe2e - floatified SECTOR_OBJECT::pmid 2022-10-06 20:50:44 +02:00
Christoph Oelckers
9393170408 - new utilities for SO floatification. 2022-10-06 20:50:44 +02:00
Christoph Oelckers
48cbdeb697 - replaced all possible __int_pmid with access functions. 2022-10-06 20:50:44 +02:00
Christoph Oelckers
819297a409 - SW: renamed SECTOR_OBJECT::pmid 2022-10-06 20:50:44 +02:00
Christoph Oelckers
eef7802111 - SW: floatify some set_int_pos calls 2022-10-06 20:50:44 +02:00
Christoph Oelckers
049c6f948d - deleted unused SpawnWallHole function. 2022-10-06 20:50:43 +02:00
Christoph Oelckers
e8d18e42d1 - SW: QueueHole 2022-10-06 20:50:43 +02:00
Christoph Oelckers
661655fb67 - SW: use a DVector3 in SpawnVis 2022-10-06 20:50:43 +02:00