Christoph Oelckers
|
6e03f87671
|
- floatified GetZRange
|
2022-10-25 07:07:06 +02:00 |
|
Mitchell Richters
|
bb6e12a2b1
|
- Eliminate remaining calls to TAngle<T>::fromBuildf() .
|
2022-10-25 07:07:03 +02:00 |
|
Christoph Oelckers
|
a4ec938526
|
- renamed HitScan to HitScan_ as a refactoring aid.
|
2022-10-25 07:06:56 +02:00 |
|
Mitchell Richters
|
8d3f3c6025
|
- Cut over to DAngle from fixedhoriz and remove the latter.
|
2022-10-25 07:06:55 +02:00 |
|
Mitchell Richters
|
92798b5a07
|
- Remove most buildhoriz() calls.
|
2022-10-25 07:06:55 +02:00 |
|
Mitchell Richters
|
ca8f8d6d36
|
- Remove all remaining q16horiz() calls, also correcting a long-standing Duke bug.
|
2022-10-25 07:06:54 +02:00 |
|
Mitchell Richters
|
22a9f89b64
|
- Remove all uses of fixedhoriz::asq16() .
|
2022-10-25 07:06:54 +02:00 |
|
Mitchell Richters
|
5851c0f2c6
|
- Clean up some q16horiz usage and how the view pitch is clamped.
|
2022-10-25 07:06:53 +02:00 |
|
Mitchell Richters
|
4ef9ec93ea
|
- Remove fixedhoriz::asbuildf() and associated buildf friend.
* The new friend `tanhoriz()` is just for the input code for now.
|
2022-10-25 07:06:53 +02:00 |
|
Christoph Oelckers
|
4500fe6325
|
- Blood: replaced all calls to randomAngle with RandomAngle
|
2022-10-23 18:47:17 +02:00 |
|
Christoph Oelckers
|
ac2a3c443f
|
- got rid of all deprecated updatesector variants.
This required a few changes in the map loader and render interface.
|
2022-10-22 12:17:02 +02:00 |
|
Mitchell Richters
|
b127c37939
|
- Blood: Floatify all the bobbing/swaying code.
|
2022-10-18 19:52:02 +02:00 |
|
Christoph Oelckers
|
72dc3d5da9
|
- use mapangle in more places, mainly constants and random values using special formula
|
2022-10-18 19:01:45 +02:00 |
|
Mitchell Richters
|
0019b5ee02
|
- Blood: Floatify PLAYER::zWeapon .
|
2022-10-18 18:30:38 +02:00 |
|
Mitchell Richters
|
f35fffdf3d
|
- Blood: Floatify PLAYER::zView .
|
2022-10-18 18:30:37 +02:00 |
|
Mitchell Richters
|
9eec69d810
|
- Blood: Floatify position drawing code and clean up now-unused wrappers.
* Still work to be done on bob/sway/zView variables.
|
2022-10-18 18:29:09 +02:00 |
|
Mitchell Richters
|
dd23b60810
|
- Blood: Clean up as much Q16.16 smoothratio usage as possible.
|
2022-10-18 18:29:09 +02:00 |
|
Christoph Oelckers
|
96a5954c80
|
- fixed: gView references gViewIndex, not myconnectindex.
|
2022-10-18 18:29:09 +02:00 |
|
Mitchell Richters
|
59bee2f9f6
|
- Blood: Eliminate gView extern'd pointer.
|
2022-10-18 18:29:09 +02:00 |
|
Mitchell Richters
|
6356aeafc2
|
- Blood: Eliminate gMe extern'd pointer.
|
2022-10-18 18:29:08 +02:00 |
|
Mitchell Richters
|
3c39174a22
|
- Blood: Eliminate VIEW structure entirely.
|
2022-10-18 18:29:08 +02:00 |
|
Mitchell Richters
|
b4af1a4600
|
- Blood: Eliminate VIEW::look_ang and VIEW::rotscrnang .
|
2022-10-18 18:29:08 +02:00 |
|
Mitchell Richters
|
d7b91df06e
|
- Blood: Eliminate VIEW bobbing/swaying members.
|
2022-10-18 18:29:08 +02:00 |
|
Mitchell Richters
|
9a41145a8a
|
- Blood: Eliminate VIEW::slope .
|
2022-10-18 18:29:08 +02:00 |
|
Mitchell Richters
|
326da6d495
|
- Blood: Eliminate VIEW::horiz and VIEW::horizoff .
|
2022-10-18 18:29:07 +02:00 |
|
Mitchell Richters
|
5b962e69ab
|
- Blood: Eliminate VIEW::weaponZ .
|
2022-10-18 18:29:07 +02:00 |
|
Mitchell Richters
|
fc71b39d22
|
- Blood: Eliminate VIEW::viewz .
|
2022-10-18 18:29:07 +02:00 |
|
Mitchell Richters
|
85412a39e6
|
- Blood: Eliminate VIEW::pos .
|
2022-10-18 18:29:07 +02:00 |
|
Mitchell Richters
|
80121f6021
|
- Blood: Eliminate VIEW::angle .
|
2022-10-18 18:29:07 +02:00 |
|
Mitchell Richters
|
06d0d9b5fd
|
- Blood: Floatify player inertia correction code.
|
2022-10-18 18:29:06 +02:00 |
|
Christoph Oelckers
|
3e36b5627b
|
- wrap clipdist << 2
|
2022-10-17 17:03:52 +02:00 |
|
Mitchell Richters
|
b13a9e69eb
|
- Blood: Floatify VIEW::pos and remove old union.
|
2022-10-16 10:59:05 +02:00 |
|
Mitchell Richters
|
5c23e29c15
|
- Blood: Rename all remaining disassembly names for VIEW struct.
|
2022-10-16 10:59:05 +02:00 |
|
Mitchell Richters
|
c7dab8a059
|
- Blood: Get rid of gInterpolate global, make it local to viewDrawScreen() .
|
2022-10-16 10:59:05 +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
|
01d185dc6b
|
- Floatify smoothratio for DrawOverheadMap() .
|
2022-10-15 13:32:03 +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
|
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 |
|
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
|
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 |
|
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
|
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
|
56b0661f81
|
- Blood: Floatify automap draw code.
|
2022-10-14 18:13:50 +02:00 |
|
Christoph Oelckers
|
b73314579a
|
- floatified Blood’s kViewEffectAtom
This also gets rid of the rather pointless rotation functions that were just added for this.
|
2022-10-13 20:58:11 +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 |
|