Christoph Oelckers
|
fe14b5378b
|
- floatified DoActorPickClosePlayer
|
2022-10-15 17:16:56 +02:00 |
|
Christoph Oelckers
|
b18bbf248d
|
- function separators
|
2022-10-15 17:16:56 +02:00 |
|
Christoph Oelckers
|
f9fb48b930
|
- handle DoActorSetSpeed
|
2022-10-15 17:16:56 +02:00 |
|
Christoph Oelckers
|
b202cf7a12
|
- added option to show the level stats on the automap.
|
2022-10-15 17:14:34 +02:00 |
|
Christoph Oelckers
|
0f5d66a4a7
|
- one last change plus formatting of actor.cpp
|
2022-10-15 17:11:33 +02:00 |
|
Christoph Oelckers
|
7ba56bc6cc
|
- floatified USER slide variables.
|
2022-10-15 13:32:06 +02:00 |
|
Christoph Oelckers
|
2ab87ad18c
|
- renamed variables for refactoring.
|
2022-10-15 13:32:06 +02:00 |
|
Christoph Oelckers
|
44e4367ee7
|
- function separators in the first half of actor.cpp
|
2022-10-15 13:32:06 +02:00 |
|
Christoph Oelckers
|
84eace7680
|
- handle all remaining wrappers in the first half of sw/actor.cpp
|
2022-10-15 13:32:05 +02:00 |
|
Christoph Oelckers
|
32289a51e9
|
- floatified DoPickTarget
|
2022-10-15 13:32:05 +02:00 |
|
Christoph Oelckers
|
11ff044d87
|
- floatified DoFlagRangeTest
|
2022-10-15 13:32:05 +02:00 |
|
Christoph Oelckers
|
e8e69abdf7
|
- floatified JS_DrawCameras
|
2022-10-15 13:32:05 +02:00 |
|
Christoph Oelckers
|
fe8a059726
|
- floatified JS_ProcessEchoSpot
|
2022-10-15 13:32:05 +02:00 |
|
Christoph Oelckers
|
1501558139
|
- floatified USER::Dist
|
2022-10-15 13:32:05 +02:00 |
|
Christoph Oelckers
|
872833d6be
|
- floatified USER::targetDist and distCheck.
|
2022-10-15 13:32:05 +02:00 |
|
Mitchell Richters
|
7c7eb038d8
|
- SW: Remove unused bool DrawScreen from draw screen code.
|
2022-10-15 13:32:04 +02:00 |
|
Mitchell Richters
|
c9e33b92cc
|
- Ensure all games consistently scale out for chase cam mode.
|
2022-10-15 13:32:04 +02:00 |
|
Mitchell Richters
|
f776489f06
|
- SW: Flatten smoothratio back to float and rename to interpfrac .
|
2022-10-15 13:32:04 +02:00 |
|
Mitchell Richters
|
1f7362c158
|
- SW: Delete all camera code guarded by CameraTestMode , which is never set true anywhere.
* At least I wasted my time floatifying it... 😏
|
2022-10-15 13:32:04 +02:00 |
|
Mitchell Richters
|
7a98e3e45b
|
- SW: Tidy up drawscreen() and floatify it. This includes the quake code as well.
|
2022-10-15 13:32:04 +02:00 |
|
Mitchell Richters
|
53b32ea161
|
- Leverage walltype 's delta() method in chase cam code.
|
2022-10-15 13:32:04 +02:00 |
|
Mitchell Richters
|
7f1fb3c024
|
- SW: Floatify CameraView() .
|
2022-10-15 13:32:04 +02:00 |
|
Mitchell Richters
|
427d4c1c1a
|
- SW: Floatify CircleCamera() .
|
2022-10-15 13:32:04 +02:00 |
|
Mitchell Richters
|
61ec3490e8
|
- SW: Remove extern'd smoothratio variable.
|
2022-10-15 13:32:03 +02:00 |
|
Mitchell Richters
|
3019f9effc
|
- Floatify smoothratio for GameInterface::processSprites() .
* Exhumed is now completely free of any Q16.16 interpolation scaling.
|
2022-10-15 13:32:03 +02:00 |
|
Mitchell Richters
|
8f2d6f0779
|
- Floatify smoothratio for render_drawrooms() and `render_camtex().
|
2022-10-15 13:32:03 +02:00 |
|
Mitchell Richters
|
01d185dc6b
|
- Floatify smoothratio for DrawOverheadMap() .
|
2022-10-15 13:32:03 +02:00 |
|
Mitchell Richters
|
5e410ff738
|
- Eliminate most uses of DAngle::Buildfang() .
|
2022-10-15 13:32:03 +02:00 |
|
Mitchell Richters
|
b05b98826b
|
- Rename some smoothratio variables to indicate that they've been processed.
|
2022-10-15 13:32:03 +02:00 |
|
Mitchell Richters
|
acee39ad68
|
- Restore a dedicated interpolatedvalue() overload just for angles, which need special treatment.
|
2022-10-15 13:32:03 +02:00 |
|
Mitchell Richters
|
fc47cec222
|
- Exhumed: Change inita into a DAngle.
|
2022-10-15 13:32:03 +02:00 |
|
Mitchell Richters
|
0625d4b65f
|
- Exhumed: Floatify smoothratio for analyzesprites() .
|
2022-10-15 13:32:02 +02:00 |
|
Mitchell Richters
|
6716d0f2e9
|
- Floatify smoothratio for calcChaseCamPos() .
|
2022-10-15 13:32:02 +02:00 |
|
Mitchell Richters
|
e84a0f3245
|
- Exhumed: Floatify nQuake[] array.
|
2022-10-15 13:32:02 +02:00 |
|
Mitchell Richters
|
953364b96b
|
- Rename a smoothratio variable to interpfrac to show that it's not Q16.16.
|
2022-10-15 13:32:02 +02:00 |
|
Mitchell Richters
|
a71d0779e5
|
- SW: Add helper comment to some yet to be refactored code.
|
2022-10-15 13:32:02 +02:00 |
|
Mitchell Richters
|
ee30e770f7
|
- Exhumed: Floatify eyelevel .
|
2022-10-15 13:32:02 +02:00 |
|
Mitchell Richters
|
45d4d3e41a
|
- Eliminate __interpvalue() and clean up Q16.16 smoothratio values where it made sense to do so.
* Also eliminates a now empty header.
|
2022-10-15 13:32:02 +02:00 |
|
Mitchell Richters
|
f02035b15a
|
- Eliminate __interpvaluef() and clean up Q16.16 smoothratio values where it made sense to do so.
|
2022-10-15 13:32:01 +02:00 |
|
Mitchell Richters
|
2c8cb8f052
|
- Rename DCoreActor method interpolatedvec3() to interpolatedpos() .
|
2022-10-15 13:32:01 +02:00 |
|
Mitchell Richters
|
f5dda2909a
|
- Remove now-unused interpolation methods from DCoreActor class.
|
2022-10-15 13:32:01 +02:00 |
|
Mitchell Richters
|
39ac3b44b0
|
- Add scaler operators to fixedhorizon class and eliminate class-specific interpolatedhorizon() inlines.
|
2022-10-15 13:32:01 +02:00 |
|
Mitchell Richters
|
74167e1a7c
|
- Remove interpolators for TVector and TAngle objects, replacing with single generic version.
|
2022-10-15 13:32:01 +02:00 |
|
Mitchell Richters
|
06e772b44b
|
- Rename interpolatedvalue() in preparation for replacement.
|
2022-10-15 13:32:01 +02:00 |
|
Mitchell Richters
|
8fd6452baf
|
- Rename interpolatedvaluef() in preparation for replacement.
|
2022-10-15 13:32:01 +02:00 |
|
Christoph Oelckers
|
f0fe6463a4
|
- fixed duplicate savegame key.
|
2022-10-15 13:32:01 +02:00 |
|
Mitchell Richters
|
dea34609cd
|
- Exhumed: nCamera -> nCamerapos .
|
2022-10-15 13:32:00 +02:00 |
|
Mitchell Richters
|
48c2b5d89a
|
- Exhumed: nCameraa -> nCameraang .
|
2022-10-15 13:32:00 +02:00 |
|
Christoph Oelckers
|
312bc369ef
|
- floatified move_scan's return position
|
2022-10-15 13:32:00 +02:00 |
|
Christoph Oelckers
|
1a9e255265
|
- the angle in aiChooseDirection must be precisely what it was in Build.
60° may only be 1/3 Build angle unit off, but it is already too much.
|
2022-10-15 13:32:00 +02:00 |
|
Mitchell Richters
|
a739928d29
|
- Blood: Fix lost accounting of target sprite angle in actCheckFlares() .
|
2022-10-15 13:32:00 +02:00 |
|
Mitchell Richters
|
a8f7b3f6fe
|
- Blood: Fix bad angle direction in aiChooseDirection() .
|
2022-10-15 13:32:00 +02:00 |
|
Christoph Oelckers
|
2b5422cc53
|
- floatified USER::goalAng
|
2022-10-15 13:32:00 +02:00 |
|
Christoph Oelckers
|
9df7c55040
|
- rename USER::goalAng
|
2022-10-15 13:32:00 +02:00 |
|
Christoph Oelckers
|
057d2a565a
|
- floatified Blood's velFloor and velCeil
|
2022-10-15 13:31:59 +02:00 |
|
Christoph Oelckers
|
38bb103cdd
|
- renamed velFloor and velCeil.
|
2022-10-15 13:31:59 +02:00 |
|
Christoph Oelckers
|
1833e7de7e
|
- math cleanup of the rest of track.cpp.
|
2022-10-15 13:31:59 +02:00 |
|
Christoph Oelckers
|
ac998da374
|
- floatified SO bobbing
|
2022-10-15 13:31:59 +02:00 |
|
Christoph Oelckers
|
92379863f1
|
- don't use DAngle for calculating bobbing amplitudes.
It makes more sense here to have a dedicated function since this is not really angular math.
|
2022-10-15 13:31:59 +02:00 |
|
Christoph Oelckers
|
86c557653b
|
- some renamings of bob_amt to isolate the one in SECTOR_OBJECT
|
2022-10-15 13:31:59 +02:00 |
|
Christoph Oelckers
|
973c9b89a9
|
- floatified sop->z_tgt
|
2022-10-15 13:31:59 +02:00 |
|
Christoph Oelckers
|
5d551fcda9
|
- floatified sop->zorig_floor
|
2022-10-15 13:31:58 +02:00 |
|
Christoph Oelckers
|
0794663601
|
- math cleanup of the first third of track.cpp
|
2022-10-15 13:31:58 +02:00 |
|
Christoph Oelckers
|
3bb0ee69a1
|
- initialize SOP angles to 0.
The memset to -1 turns them into NANs.
|
2022-10-15 13:31:58 +02:00 |
|
Christoph Oelckers
|
176afdc00a
|
- seventh batch of migrations in track.cpp
|
2022-10-15 13:31:58 +02:00 |
|
Christoph Oelckers
|
4341578267
|
- sixth batch of migrations in track.cpp
|
2022-10-15 13:31:58 +02:00 |
|
Christoph Oelckers
|
a37fb3aded
|
- fifth batch of migrations in track.cpp
|
2022-10-15 13:31:58 +02:00 |
|
Christoph Oelckers
|
7920e0e629
|
- fourth batch of migrations in track.cpp
|
2022-10-15 13:31:58 +02:00 |
|
Christoph Oelckers
|
ddb6ec68a1
|
- third batch of migrations in track.cpp
|
2022-10-15 13:31:58 +02:00 |
|
Christoph Oelckers
|
6c82f9be22
|
- second batch of migrations in track.cpp
|
2022-10-15 13:31:57 +02:00 |
|
Christoph Oelckers
|
398e66f359
|
- migrated all uses outside of track.cpp.
|
2022-10-15 13:31:57 +02:00 |
|
Christoph Oelckers
|
2148dba3a6
|
- floatified the angle variables.
|
2022-10-15 13:31:57 +02:00 |
|
Christoph Oelckers
|
d35785f1ee
|
- added wrappers, part 7 and final
|
2022-10-15 13:31:57 +02:00 |
|
Christoph Oelckers
|
329a912041
|
- added wrappers, part 6
|
2022-10-15 13:31:57 +02:00 |
|
Christoph Oelckers
|
76b733b80d
|
- added wrappers, part 5
|
2022-10-15 13:31:57 +02:00 |
|
Christoph Oelckers
|
8d3f95f101
|
- added wrappers, part 4
|
2022-10-15 13:31:57 +02:00 |
|
Christoph Oelckers
|
45bf11a341
|
- added wrappers, part 3
|
2022-10-15 13:31:57 +02:00 |
|
Christoph Oelckers
|
a3521c0b7e
|
- added wrappers, part 2
|
2022-10-15 13:31:56 +02:00 |
|
Christoph Oelckers
|
d4a0972733
|
- added wrappers, part 1
|
2022-10-15 13:31:56 +02:00 |
|
Christoph Oelckers
|
d2253a3aec
|
- renamed angle stuff.
|
2022-10-15 13:31:56 +02:00 |
|
Christoph Oelckers
|
8a320f6fa7
|
- OperateSectorObject
|
2022-10-15 13:31:56 +02:00 |
|
Christoph Oelckers
|
9df83edd10
|
- DoPlayerTurnVehicle
|
2022-10-15 13:31:56 +02:00 |
|
Christoph Oelckers
|
079fbd340f
|
- floatified sop->floor_loz and floor_hiz
|
2022-10-15 13:31:56 +02:00 |
|
Christoph Oelckers
|
9aaae82de0
|
- variable renaming again
|
2022-10-15 13:31:56 +02:00 |
|
Christoph Oelckers
|
3a861e168c
|
- floatified more movement code.
|
2022-10-15 13:31:55 +02:00 |
|
Christoph Oelckers
|
d0422ae1b5
|
- floatified scale_point stuff.
|
2022-10-15 13:31:55 +02:00 |
|
Christoph Oelckers
|
aa88eb49e0
|
- renamed another set of variables
|
2022-10-15 13:31:55 +02:00 |
|
Christoph Oelckers
|
85be297a2d
|
- part of RefreshPoints
|
2022-10-15 13:31:55 +02:00 |
|
Christoph Oelckers
|
09104ba6fe
|
- floatified ScaleRandomPoint
|
2022-10-15 13:31:55 +02:00 |
|
Christoph Oelckers
|
caa41e312d
|
- floating point MultiClip API.
|
2022-10-15 13:31:55 +02:00 |
|
Christoph Oelckers
|
d80b39d184
|
- floatified clipbox/MultiClip of SW
|
2022-10-15 13:31:55 +02:00 |
|
Christoph Oelckers
|
17b117e86b
|
- renamed another set of variables.
|
2022-10-15 13:31:55 +02:00 |
|
Christoph Oelckers
|
95477aaefb
|
- add_int_ppos_Z is gone now.
|
2022-10-15 13:31:55 +02:00 |
|
Christoph Oelckers
|
0b642dc631
|
- floatified large parts of SO movement code.
|
2022-10-15 13:30:09 +02:00 |
|
Christoph Oelckers
|
212be963d9
|
- floatified SO scale_dist et.al.
|
2022-10-15 12:42:31 +02:00 |
|
Christoph Oelckers
|
189f791bc4
|
- renamed more fields.
|
2022-10-15 12:42:31 +02:00 |
|
Christoph Oelckers
|
42246f9a9d
|
- floatified SW's sector object morph code.
|
2022-10-15 12:42:31 +02:00 |
|
Christoph Oelckers
|
30104fca50
|
- renamed some variables
|
2022-10-15 12:42:31 +02:00 |
|
Christoph Oelckers
|
e5b2a0f0a6
|
- simple angle stuff.
|
2022-10-15 12:42:31 +02:00 |
|
Christoph Oelckers
|
7dab26f04d
|
- handle several movesprite_ex calls.
|
2022-10-15 12:42:30 +02:00 |
|
Christoph Oelckers
|
4f9ffc9437
|
- mainly handling angle literals.
|
2022-10-15 12:42:30 +02:00 |
|
Christoph Oelckers
|
a85bcebd09
|
- floatified Blood's asound.cpp
|
2022-10-15 12:42:30 +02:00 |
|
Mitchell Richters
|
f69e977411
|
- Blood: Fix velocity issues in MoveThing() , such as explosive bundles not sliding along the ground.
* Merge with or above `- parts of Blood's MoveThing`.
|
2022-10-15 12:42:30 +02:00 |
|
Christoph Oelckers
|
a6eec404db
|
- parts of Blood's MoveThing
|
2022-10-15 12:42:30 +02:00 |
|
Christoph Oelckers
|
e5219382f2
|
- added some Sector Effector symbolic names.
|
2022-10-15 12:42:30 +02:00 |
|
Christoph Oelckers
|
4df1578064
|
- a few random wrapper removals in Duke
|
2022-10-15 12:42:30 +02:00 |
|
Christoph Oelckers
|
6b0b8f944c
|
- floatified the height parameter of nextsectorneighborptr
|
2022-10-15 12:42:30 +02:00 |
|
Mitchell Richters
|
f378c481b3
|
- Exhumed: Flatten smoothratio back to float and rename to interpfrac .
|
2022-10-15 12:41:12 +02:00 |
|
Mitchell Richters
|
8a4601ef8d
|
- Exhumed: Tidy up nCameraa .
|
2022-10-15 12:41:12 +02:00 |
|
Mitchell Richters
|
91c0ff814f
|
- Exhumed: Tidy up nCamerapan .
|
2022-10-15 12:41:12 +02:00 |
|
Mitchell Richters
|
7cbe3564ce
|
- Exhumed: Repair what looked like a bug with camera Z clamping.
* Looked wrong, compared to GDX and confirmed.
|
2022-10-15 12:40:36 +02:00 |
|
Mitchell Richters
|
36ed1ac1de
|
- Exhumed: Convert draw code to floating point.
|
2022-10-15 12:16:53 +02:00 |
|
Mitchell Richters
|
7d5040f560
|
- Fix all calls to interpolatedangle() that didn't revert smoothratio back to a float.
|
2022-10-15 12:16:53 +02:00 |
|
Mitchell Richters
|
f72d42bb8e
|
- Uplift renderer entry point to DVector3 and provide wrappers for old setups.
|
2022-10-15 12:16:53 +02:00 |
|
Mitchell Richters
|
056bb9b0cd
|
- Floatify chase cam code, providing an inline interface for legacy setup.
|
2022-10-15 12:16:53 +02:00 |
|
Mitchell Richters
|
977d8f8109
|
- Convert gi->chaseCamPos() to return a floating point DVector3 object.
|
2022-10-15 12:16:53 +02:00 |
|
Mitchell Richters
|
5685af33d8
|
- Exhumed: Remove zbob from draw code, it's not used at all.
|
2022-10-15 12:16:53 +02:00 |
|
Mitchell Richters
|
e3bbb60de4
|
- SW: Test adding Duke's DrawAutomapAlignmentFacing() code into SW for consistency between the ports.
|
2022-10-15 12:16:53 +02:00 |
|
Mitchell Richters
|
ab77d77a53
|
- Optimise automap sector loops in Duke/SW automap code.
|
2022-10-15 12:16:53 +02:00 |
|
Mitchell Richters
|
db5db7d9b3
|
- Turn DVector2 rotatepoint() into an inline using the vector's methods.
|
2022-10-15 12:16:53 +02:00 |
|
Mitchell Richters
|
18f97c3d7e
|
- SW: Move player sprite loop out of sector loop, and eliminate goto crap.
|
2022-10-15 12:16:52 +02:00 |
|
Mitchell Richters
|
f236cc8728
|
- Consolidate some duplicated automap code between Duke and SW.
|
2022-10-15 12:16:52 +02:00 |
|
Mitchell Richters
|
ef56d00d78
|
- Pass automap angle vector as an actual vector.
* Also reconfigure setup so that angle requires zero pre-processing or setup in the automap code, have it all handled in `OutAutomapVector()`.
|
2022-10-15 12:16:52 +02:00 |
|
Christoph Oelckers
|
48c36bd4a2
|
- SW ladder climbing
|
2022-10-15 12:16:52 +02:00 |
|
Christoph Oelckers
|
45690a0e23
|
- cleanup of the DrawLine interface,
|
2022-10-15 12:10:46 +02:00 |
|
Christoph Oelckers
|
1dcb03e530
|
- got rid of set_int_bvel
|
2022-10-15 11:35:38 +02:00 |
|
Christoph Oelckers
|
712d28ff40
|
- clean out some stuff
|
2022-10-15 11:35:38 +02:00 |
|
Christoph Oelckers
|
b84158ecec
|
- Exhumed snake stuff
|
2022-10-15 11:35:38 +02:00 |
|
Christoph Oelckers
|
486ef8bfc5
|
- floatify VelFromAngle
|
2022-10-15 11:35:38 +02:00 |
|
Christoph Oelckers
|
b462c3d998
|
- consolidated Exhumed’s velocity setters
|
2022-10-15 11:35:37 +02:00 |
|
Christoph Oelckers
|
6eb18eb3f6
|
- floatified all move_actor calls in SW
|
2022-10-15 11:35:37 +02:00 |
|
Christoph Oelckers
|
96297c95aa
|
vel assignment with fixed point constants
|
2022-10-15 11:35:37 +02:00 |
|
Christoph Oelckers
|
010fedd049
|
- 10 more AdjustVelocity calls.
|
2022-10-15 11:35:37 +02:00 |
|
Christoph Oelckers
|
39109de22f
|
- consolidation of Blood rotation code.
24x the same pattern merged into a subfunction.
|
2022-10-15 11:35:37 +02:00 |
|
Christoph Oelckers
|
b5c679f228
|
- got a few more
|
2022-10-15 11:35:37 +02:00 |
|
Christoph Oelckers
|
4af3f6e731
|
- comparison with zero replacements
|
2022-10-15 11:35:37 +02:00 |
|
Christoph Oelckers
|
ac84e3f045
|
- some simple replacements
|
2022-10-15 11:35:37 +02:00 |
|
Christoph Oelckers
|
18cc450889
|
- more easy to replace vel assignments
|
2022-10-15 11:35:36 +02:00 |
|
Christoph Oelckers
|
5cde04fee7
|
- cleaned up assignments of random values to vel
|
2022-10-15 10:33:03 +02:00 |
|
Christoph Oelckers
|
eed7f0806c
|
- more quick replacements
|
2022-10-15 10:15:21 +02:00 |
|
Christoph Oelckers
|
3e76d49b6e
|
- removed the mul vel wrappers
|
2022-10-15 10:15:21 +02:00 |
|
Christoph Oelckers
|
6fd8dae380
|
- removed the non-Blood float_* access wrappers
|
2022-10-15 10:15:21 +02:00 |
|
Christoph Oelckers
|
62ba753585
|
- remove vel clear wrappers
|
2022-10-15 10:15:21 +02:00 |
|
Christoph Oelckers
|
b924569755
|
- started removing trivial vel wrappers
|
2022-10-15 10:15:20 +02:00 |
|
Christoph Oelckers
|
64e8a369ec
|
- floatified velocity storage
|
2022-10-15 10:15:20 +02:00 |
|
Christoph Oelckers
|
f2d89b7609
|
- refactored actWallBounceVector as well
This completes the abstraction of velocity in Blood.
|
2022-10-15 10:15:20 +02:00 |
|
Christoph Oelckers
|
92532bb007
|
- eliminated actFloorBounceVector wrapper
|
2022-10-15 10:14:54 +02:00 |
|
Christoph Oelckers
|
9f235b56f3
|
- rewrote actFloorBounceVector to avoid reference parameters
|
2022-10-14 23:55:32 +02:00 |
|
Christoph Oelckers
|
e361abb96d
|
- added some utilities
|
2022-10-14 23:55:32 +02:00 |
|
Christoph Oelckers
|
fca2f8c683
|
- replace all ‚labs‘ with ‚abs‘
|
2022-10-14 23:55:31 +02:00 |
|