Commit graph

11185 commits

Author SHA1 Message Date
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
Christoph Oelckers
7eb2dede6a - FAFcansee refactoring, part 2. 2022-10-10 17:31:29 +02:00
Christoph Oelckers
5b7b8233e7 - FAFcansee refactoring, part 1. 2022-10-10 17:31:28 +02:00
Christoph Oelckers
6ee24a2213 - let ANIM work on the native floating point data. 2022-10-10 17:31:28 +02:00
Christoph Oelckers
80e10d89f4 - added alignceilslope and alignflorslope variants receiving a position vector. 2022-10-10 17:31:28 +02:00
Christoph Oelckers
98b06697f7 - pass position pointers to DISTANCE. 2022-10-10 17:31:28 +02:00
Christoph Oelckers
bd497a7e68 - floatified remote.pos. 2022-10-09 23:59:01 +02:00
Christoph Oelckers
837b31c672 - got rid of int_ploz and int_phiz. 2022-10-09 23:59:01 +02:00
Christoph Oelckers
7475a6cfb7 - renamed variable back. 2022-10-09 23:57:17 +02:00
Christoph Oelckers
e089100ab1 - floatified PLAYER::bob_amt 2022-10-09 23:56:15 +02:00
Christoph Oelckers
4dc2fc9151 - floatified 3 function interfaces. 2022-10-09 22:30:51 +02:00
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
b2d0d7f9e5 - normalize the timer with the app start, not the epoch.
This ensures smaller values and less wraparounds with integer values in scripts.
2022-10-09 14:50:45 +02:00
Christoph Oelckers
00b812a5ff - un-deprecated the integer MSTime variant.
Due to undefined downconversion rules from double to int, there is no way to safely downcast the return from MSTimef, meaning the function is completely useless for retrieving integral time stamps.
The old version is essential for these cases and must be kept around.
2022-10-09 13:47:55 +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