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 |
|
Christoph Oelckers
|
cbf929fc50
|
- floatified VectorMissileSeek
|
2022-10-14 18:18:58 +02:00 |
|
Christoph Oelckers
|
c2064fc5c0
|
- floatified ComboMissileSeek
|
2022-10-14 18:18:58 +02:00 |
|
Christoph Oelckers
|
75d2b4560d
|
- floatified MissileSeek.
|
2022-10-14 18:18:58 +02:00 |
|
Christoph Oelckers
|
02e411080c
|
- SW: floatified SpawnBlood
|
2022-10-14 18:18:28 +02:00 |
|
Christoph Oelckers
|
3ce9c15829
|
- floatified SpawnShrap
|
2022-10-14 18:13:50 +02:00 |
|
Christoph Oelckers
|
c9ab96f504
|
- floatified SpriteOverlapZ
|
2022-10-14 18:13:48 +02:00 |
|
Christoph Oelckers
|
a5d6cbaa57
|
- floatified SpriteOverlap and user.OverlayZ
|
2022-10-14 18:13:48 +02:00 |
|
Christoph Oelckers
|
6d91838ae5
|
- floatified SpawnActor call in DoSpawnTeleporterEffect
|
2022-10-14 18:13:48 +02:00 |
|
Christoph Oelckers
|
bb8c12efb4
|
- inlined GetSpriteSizeY in the only place where it was used.
|
2022-10-14 18:13:48 +02:00 |
|
Christoph Oelckers
|
9717082759
|
- int_change is gone
|
2022-10-14 18:13:48 +02:00 |
|
Christoph Oelckers
|
4b25400e40
|
- floatified SlopeBounce
|
2022-10-14 18:13:47 +02:00 |
|
Christoph Oelckers
|
d946e5de70
|
- floatified WallBounce
|
2022-10-14 18:13:47 +02:00 |
|
Christoph Oelckers
|
9aedc3fe9e
|
- more change wrappers removed
|
2022-10-14 18:13:47 +02:00 |
|
Christoph Oelckers
|
a5d6e1d406
|
- more int_change gone
|
2022-10-14 18:13:47 +02:00 |
|
Christoph Oelckers
|
a59f363224
|
- eliminated some int_change calls
|
2022-10-14 18:13:46 +02:00 |
|
Christoph Oelckers
|
620de9ebf7
|
- handle all remaining move_sprite calls.
int_ceiling_dist and int_floor_dist are gone
|
2022-10-14 18:13:46 +02:00 |
|
Christoph Oelckers
|
55eb824e7d
|
- migrated several move_sprite calls
|
2022-10-14 18:10:45 +02:00 |
|
Christoph Oelckers
|
2838fa3e72
|
- floatified sectortype::ang
|
2022-10-14 17:17:37 +02:00 |
|
Christoph Oelckers
|
ce7533c1c4
|
- floatified move_missile’s API
|
2022-10-14 17:17:37 +02:00 |
|
Christoph Oelckers
|
e7197e2d73
|
- migrate all remaining move_missile calls
|
2022-10-14 17:17:37 +02:00 |
|
Christoph Oelckers
|
f7d2ab20d8
|
- handle more move_missile calls
|
2022-10-14 17:17:36 +02:00 |
|
Christoph Oelckers
|
9803041dfb
|
- refactored move_missile calls
|
2022-10-14 17:17:36 +02:00 |
|
Christoph Oelckers
|
93ce8f77be
|
- got rid of temporary helper wrappers
|
2022-10-14 17:17:36 +02:00 |
|
Christoph Oelckers
|
3d336bb7e7
|
- floatified USER::change
|
2022-10-14 17:17:01 +02:00 |
|
Christoph Oelckers
|
153b5b84f3
|
- wrapped almost everything
|
2022-10-14 17:17:01 +02:00 |
|
Christoph Oelckers
|
8bb609fbb1
|
- set_int_change_z
|
2022-10-14 17:17:01 +02:00 |
|
Christoph Oelckers
|
8bb4bc55eb
|
- set_int_change_y
|
2022-10-14 17:17:01 +02:00 |
|
Christoph Oelckers
|
b6c0560430
|
- set_int_change_x
|
2022-10-14 17:17:01 +02:00 |
|
Christoph Oelckers
|
390dd4d9df
|
- wrapped a few more
|
2022-10-14 17:17:00 +02:00 |
|
Christoph Oelckers
|
fbfec1f037
|
- avoid using change.X as a marker value
|
2022-10-14 17:17:00 +02:00 |
|
Christoph Oelckers
|
6334b7d3b8
|
- wrapped half of the remaining access to user.change
Strictly search and replace.
|
2022-10-14 17:17:00 +02:00 |
|
Christoph Oelckers
|
420636f7ee
|
- a bit more lightening on change
|
2022-10-14 17:17:00 +02:00 |
|
Christoph Oelckers
|
10e08556c1
|
- put more access to user.change behind wrappers
|
2022-10-14 17:16:59 +02:00 |
|
Christoph Oelckers
|
f81aada041
|
- lightened the number of references to user.change by 1/3rd
The less, the better for refactoring
|
2022-10-14 17:16:31 +02:00 |
|
Christoph Oelckers
|
ab3e7df1b9
|
- use UpdateChangeXY in a few more places
|
2022-10-14 00:06:30 +02:00 |
|
Christoph Oelckers
|
61fc57131f
|
- eliminated a few calls to int_Actor* functions
|
2022-10-14 00:06:30 +02:00 |
|
Christoph Oelckers
|
b557e5b5db
|
- eliminated int_upos wrapper
|
2022-10-14 00:06:30 +02:00 |
|
Christoph Oelckers
|
3ac4e7ed2d
|
- eliminated player_int_ceiling_dist, player_int_floor_dist wrappers
|
2022-10-14 00:06:30 +02:00 |
|
Christoph Oelckers
|
8c5e52938d
|
- deleted int_loz/hiz wrappers
|
2022-10-14 00:06:30 +02:00 |
|
Christoph Oelckers
|
c59b052d19
|
- floatified PickJumpMaxSpeed
|
2022-10-14 00:06:29 +02:00 |
|
Christoph Oelckers
|
502994fb0a
|
- floatified SpawnExpZadjust’s interface
|
2022-10-14 00:06:29 +02:00 |
|
Christoph Oelckers
|
f656d8b1a3
|
- floatified SpawnExpZadjust
|
2022-10-14 00:06:29 +02:00 |
|
Christoph Oelckers
|
4a486f5a10
|
- deal with an extremely redundant code fragment
Consolidates almost 100 lines that still need work in a small subfunction. :)
|
2022-10-13 22:54:43 +02:00 |
|
Christoph Oelckers
|
28c8efd104
|
- eliminated set_int_ppos_Z
|
2022-10-13 22:54:43 +02:00 |
|
Christoph Oelckers
|
785575604b
|
- no need to use int_delta when all we want is the angle.
|
2022-10-13 22:54:43 +02:00 |
|
Christoph Oelckers
|
6ce01e24d2
|
- renamed walltype::delta and walltype::center
|
2022-10-13 22:54:42 +02:00 |
|
Christoph Oelckers
|
1d28ebec98
|
- eliminated add_int_z and add_int_y wrappers
|
2022-10-13 22:54:42 +02:00 |
|
Christoph Oelckers
|
ffba7996b3
|
- SW: floatified PLAYER::siang
|
2022-10-13 20:58:12 +02:00 |
|
Christoph Oelckers
|
634db656e7
|
- SW: floatified PLAYER::si
|
2022-10-13 20:58:12 +02:00 |
|
Christoph Oelckers
|
94e198f9a9
|
- SW: floatified DoPlayerTeleportToSprite
|
2022-10-13 20:58:12 +02:00 |
|
Christoph Oelckers
|
f4d8ccf7b9
|
- floatified WarpToCoords
|
2022-10-13 20:58:12 +02:00 |
|
Christoph Oelckers
|
cceecb4ab6
|
- use ToVector where appropriate
|
2022-10-13 20:41:54 +02:00 |
|
Christoph Oelckers
|
5bb9a16d34
|
- floatified TRACK_ACTOR_CLIMB_LADDER case in ActorTrackDecide
|
2022-10-13 20:23:34 +02:00 |
|
Christoph Oelckers
|
0fcbe57111
|
- pos in DoBloodWorm
|
2022-10-13 19:59:15 +02:00 |
|
Christoph Oelckers
|
06be4eeb91
|
- floatified most of SpriteWarpToUnderwater
|
2022-10-13 19:59:15 +02:00 |
|
Christoph Oelckers
|
db16eb9d19
|
- converted position in move_ground_missile
|
2022-10-13 19:59:15 +02:00 |
|
Christoph Oelckers
|
2044a7c562
|
- converted some simple assignments
|
2022-10-13 19:59:15 +02:00 |
|
Christoph Oelckers
|
07826c7791
|
- eliminated DCoreActor::copyXY
|
2022-10-13 00:59:05 +02:00 |
|
Mitchell Richters
|
4d04a4dd3a
|
- Floatified automap's gZoom .
* Also use the global directly in automap functions instead of passing it around as function variables.
|
2022-10-13 00:59:04 +02:00 |
|
Mitchell Richters
|
f5116dd787
|
- Pass a DAngle through to all the automap code.
|
2022-10-13 00:59:04 +02:00 |
|
Mitchell Richters
|
e970ed0f27
|
- Migrate spritetypebase::interpolatedvec3() to backend solution.
* Also eliminate unused `interpolatedvec2() method from class.
|
2022-10-13 00:59:03 +02:00 |
|