Commit graph

1460 commits

Author SHA1 Message Date
Christoph Oelckers
231107921e - handle a few more operators 2022-10-14 20:31:56 +02:00
Christoph Oelckers
8bfedc327f - add_int_zvel 2022-10-14 20:31:56 +02:00
Christoph Oelckers
6ddfd8e97a - set_int_zvel 2022-10-14 20:31:55 +02:00
Christoph Oelckers
81fc066a5e - use zvel's alias inittype where it's not being used for velocity. 2022-10-14 20:31:55 +02:00
Christoph Oelckers
70d0d0622b - wrapped 0 assignments to zvel 2022-10-14 20:31:55 +02:00
Christoph Oelckers
a9d96864d3 - more zvel wrapping 2022-10-14 20:31:55 +02:00
Christoph Oelckers
3f7b423a4a - zvel wrapping, part 1. 2022-10-14 20:31:55 +02:00
Christoph Oelckers
f78cfb590d - minor cleanup 2022-10-14 20:31:54 +02:00
Christoph Oelckers
5d9a1d5ad5 - Facing 2022-10-14 20:31:54 +02:00
Christoph Oelckers
651bf324e3 - int_Actor* cleanup. 2022-10-14 20:31:54 +02:00
Christoph Oelckers
35d74c7f9f - some MOVExy replacements. 2022-10-14 20:31:54 +02:00
Christoph Oelckers
05ad1e38e9 - renamed PLAYER::bob_amt and minor cleanup. 2022-10-14 20:31:54 +02:00
Christoph Oelckers
b9906ad5ce - grate stuff 2022-10-14 20:31:54 +02:00
Christoph Oelckers
574a24aded - some simple stuff 2022-10-14 20:31:54 +02:00
Christoph Oelckers
c7c9ab52ce - the last remaining set_int_z calls in SW. 2022-10-14 20:31:53 +02:00
Christoph Oelckers
6b06d37d14 - the last uses of the int_Actor functions. 2022-10-14 20:31:53 +02:00
Christoph Oelckers
562ac2461d - InitSkelSpell 2022-10-14 20:31:53 +02:00
Christoph Oelckers
d815d0dfeb - two more functions 2022-10-14 20:31:53 +02:00
Christoph Oelckers
6a9972938e - position in InitZillaRail 2022-10-14 20:31:53 +02:00
Christoph Oelckers
bd54c4e8e2 - floatified WeaponHitscanShootFeet 2022-10-14 20:31:53 +02:00
Christoph Oelckers
12d182db6d - floatify InitEnemyUzi. 2022-10-14 20:31:52 +02:00
Christoph Oelckers
91a89cd0f5 - more SetZVelFromTarget. 2022-10-14 20:31:52 +02:00
Christoph Oelckers
c6d69da727 - serpent stuff 2022-10-14 20:31:52 +02:00
Christoph Oelckers
453c45e0dc - floatified InitVulcanBoulder 2022-10-14 20:31:52 +02:00
Christoph Oelckers
43a108bfb6 - consolidated and floatified 4 occurences of the same formula. 2022-10-14 20:31:52 +02:00
Mitchell Richters
d63fb33dd0 - Pass DVector2 objects directly through to F2DDrawer::AddLine() and F2DDrawer::AddThickLine().
* Since all the external code calling through to these methods are built on vectors, makes sense to pass them around by reference.
2022-10-14 18:19:04 +02:00
Mitchell Richters
e57ef59900 - Minor consistency fix with Duke and SW's automap code. 2022-10-14 18:19:03 +02:00
Mitchell Richters
5407de6924 - Use MaxSmoothRatio everywhere so refactoring is easier later on. 2022-10-14 18:19:03 +02:00
Mitchell Richters
7d85acac13 - Clean up remaining automap interfaces to finish the floatification.
* Even though we pre-calculate the sine/cosine needed in `DrawOverheadMap()`, Duke and SW require the full angle for their more mature automaps.
2022-10-14 18:19:02 +02:00
Mitchell Richters
a4ac9afa2f - SW: Floatify automap draw code (same math as Duke's, fortunately). 2022-10-14 18:19:02 +02:00
Christoph Oelckers
ca27a2e47f - floatified SpawnGrenadeExp 2022-10-14 18:19:02 +02:00
Christoph Oelckers
02ad203a79 - floatified SpawnCoolieExp 2022-10-14 18:19:01 +02:00
Christoph Oelckers
9d35e3efd4 - fix compiler warning 2022-10-14 18:19:01 +02:00
Christoph Oelckers
99b8457eb4 - FindDistance in DoExpDamageTest 2022-10-14 18:19:01 +02:00
Christoph Oelckers
e2fdb5fc02 - vneartag in ActorTrackDecide 2022-10-14 18:19:01 +02:00
Christoph Oelckers
91355e4b04 - floatified ActorDrop 2022-10-14 18:19:01 +02:00
Christoph Oelckers
cef65c4ba4 - very simple replacements 2022-10-14 18:19:01 +02:00
Christoph Oelckers
9a2929a9c6 - floatified BuildNearTagList calls 2022-10-14 18:19:00 +02:00
Christoph Oelckers
958ec46cbb - floatified InitRipper2Hang 2022-10-14 18:19:00 +02:00
Christoph Oelckers
984dfb9889 - floatified InitRipperHang 2022-10-14 18:19:00 +02:00
Christoph Oelckers
975e08666c - floatified 2 updatesectorz calls. 2022-10-14 18:19:00 +02:00
Christoph Oelckers
138e200510 - floatified UpdatePlayerUnderSprite 2022-10-14 18:19:00 +02:00
Christoph Oelckers
19f5eac518 - SpawnActor in SpawnShell 2022-10-14 18:19:00 +02:00
Christoph Oelckers
dd171cd158 - floatified GetRepeatFromHeight's input. 2022-10-14 18:18:59 +02:00
Christoph Oelckers
49b9863e42 - handle parts of CameraView 2022-10-14 18:18:59 +02:00
Christoph Oelckers
c6bb8cea89 - some simple replacements. 2022-10-14 18:18:59 +02:00
Christoph Oelckers
933e5eb35a - floatified WeaponAutoAimZVel 2022-10-14 18:18:59 +02:00
Christoph Oelckers
1bf6170fc1 - two one-liners 2022-10-14 18:18:59 +02:00
Christoph Oelckers
8a23a5d16b - floatified VectorWormSeek 2022-10-14 18:18:58 +02:00
Christoph Oelckers
07f2039095 - floatified most of WeaponAutoAim 2022-10-14 18:18:58 +02:00