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
|
9e93b417b7
|
- Blood: Some missed MaxSmoothRatio changes.
|
2022-10-14 18:19:03 +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 |
|
Christoph Oelckers
|
463e1a8047
|
- account for stupid GCC limitation.
|
2022-10-14 18:19:03 +02:00 |
|
Mitchell Richters
|
04d20a52c3
|
- Duke: Set both orotscrnang and rotscrnang when being called from a script, since the former is an addition.
|
2022-10-14 18:19:03 +02:00 |
|
Mitchell Richters
|
681bd640ed
|
- Make drawlinergb() use twod->AddThickLine() for when am_linethickness is greater than 1, not 2.
|
2022-10-14 18:19:02 +02:00 |
|
Mitchell Richters
|
0baaad7c23
|
- Blood: Add seemingly forgotten call to MarkSectorSeen() .
* Automap wasn't updating upon movement into new sectors unless the automap was toggled on and off.
|
2022-10-14 18:19:02 +02:00 |
|
Mitchell Richters
|
d427fc3e02
|
- Duke: Slightly tidy up CSTAT_SPRITE_ALIGNMENT_FACING automap code.
|
2022-10-14 18:19:02 +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
|
5e2d3f5c46
|
- deleted unused variables from Duke's DrawAutomapPlayer
|
2022-10-14 18:13:51 +02:00 |
|
Christoph Oelckers
|
3ce9c15829
|
- floatified SpawnShrap
|
2022-10-14 18:13:50 +02:00 |
|
Mitchell Richters
|
79f4702d1e
|
- Exhumed: Floatify automap draw code.
|
2022-10-14 18:13:50 +02:00 |
|
Mitchell Richters
|
56b0661f81
|
- Blood: Floatify automap draw code.
|
2022-10-14 18:13:50 +02:00 |
|
Mitchell Richters
|
c2e9e06d2a
|
- Duke: Floatify last part of automap draw code.
|
2022-10-14 18:13:50 +02:00 |
|
Mitchell Richters
|
ccfaa76da4
|
- Duke: Floatify CSTAT_SPRITE_ALIGNMENT_FLOOR |CSTAT_SPRITE_ALIGNMENT_SLOPE automap draw code.
|
2022-10-14 18:13:50 +02:00 |
|
Mitchell Richters
|
6a4812ce48
|
- Duke: Floatify CSTAT_SPRITE_ALIGNMENT_WALL automap draw code.
|
2022-10-14 18:13:49 +02:00 |
|
Mitchell Richters
|
986466de67
|
- Commence updating gi->DrawAutomapPlayer() for floatification, beginning with Duke's CSTAT_SPRITE_ALIGNMENT_FACING code.
|
2022-10-14 18:13:49 +02:00 |
|
Mitchell Richters
|
d9f8ac4d2a
|
- Convert automap's follow_x /follow_y variables into a proper vector.
* Should have done this from the start, but anyhow...
|
2022-10-14 18:13:49 +02:00 |
|
Mitchell Richters
|
059f15c786
|
- Refactor floatified vector math to use inline wrapped around TVector2's Rotated() method.
* This will be used extensively in Duke and the other game as we finalise this conversion.
|
2022-10-14 18:13:49 +02:00 |
|
Mitchell Richters
|
e9d5cd2a3a
|
- Flatten automap's zoom values from Q20.10 to floating point.
|
2022-10-14 18:13:49 +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 |
|