Mitchell Richters
|
2e0b9490e1
|
- Change spritetypebase::angle to a DRotator named Angles .
* Major pre-requisite for the next steps I'm undertaking, let's get it into the branch now.
|
2022-12-11 18:41:52 +01:00 |
|
Christoph Oelckers
|
42e02d2956
|
- eliminated firstWall as well.
|
2022-11-15 15:44:33 +01:00 |
|
Christoph Oelckers
|
5798fa067f
|
- cleaned up all -> accesses through firstWall().
|
2022-11-15 15:33:35 +01:00 |
|
Christoph Oelckers
|
af60408e63
|
- sector wall access cleanup.
lastWall was only used twice and firstWall() + index can be done better now.
|
2022-11-15 15:31:52 +01:00 |
|
Christoph Oelckers
|
7d9a4ea70d
|
- eliminated wallsofsector.
|
2022-11-15 15:24:17 +01:00 |
|
Christoph Oelckers
|
84b17a8a53
|
- eliminate wall_count.
|
2022-11-15 14:59:28 +01:00 |
|
Christoph Oelckers
|
bfae5ce1bc
|
- use a TArrayView to store the wall references in a sector.
This is a lot more scripting friendly than hacking around the indices.
|
2022-11-15 14:53:39 +01:00 |
|
Christoph Oelckers
|
34333302f9
|
- wrapped all reading wallptr references.
|
2022-11-15 12:37:14 +01:00 |
|
Christoph Oelckers
|
c23db8ea35
|
- wrapped all reads of sectortype::wallnum and renamed all other wallnum variables.
|
2022-11-15 12:21:21 +01:00 |
|
Christoph Oelckers
|
b7a7584059
|
- renamed wallnum and sectnum functions.
These were creating a lot of search noise because local variables had the same name.
|
2022-11-15 12:03:44 +01:00 |
|
Christoph Oelckers
|
902f8c9706
|
- silenced lots of warnings for deliberate type conversions.
The ones in d_net.cpp are not in active code.
|
2022-10-30 16:51:35 +01:00 |
|
Christoph Oelckers
|
3c6b64d621
|
- renamed everything back
|
2022-10-30 16:51:33 +01:00 |
|
Christoph Oelckers
|
51768439a9
|
- started removing wrappers. ScaleX() and ScaleY() done.
No manual changes in here.
|
2022-10-30 16:51:31 +01:00 |
|
Christoph Oelckers
|
6a3a811a42
|
- repeats in the wall sprite renderer
|
2022-10-30 16:51:22 +01:00 |
|
Christoph Oelckers
|
a6fb831894
|
- scaling demessification in the voxel renderer
(needs thorough testing!!!)
|
2022-10-30 16:51:21 +01:00 |
|
Christoph Oelckers
|
91c318b708
|
- renamed most non-sprite xrepeat and yrepeat as refactpring aid.
These will be renamed back later but now they create too much search noise.
A few local variables have been permanently renamed to scale*.
|
2022-10-30 16:51:20 +01:00 |
|
Christoph Oelckers
|
c678298141
|
- wrap repeats in the renderer.
|
2022-10-30 16:51:20 +01:00 |
|
Mitchell Richters
|
0600bf5860
|
- Negate everything to do with PlayerHorizon::__horiz where appropriate, including some loose horizoff members.
|
2022-10-30 16:51:11 +01:00 |
|
Christoph Oelckers
|
94b91f6ec3
|
- build.h cleanup
* moved krand and krandf into the games/duke folder because no other game uses them
* moved CVARS to gamefuncs.h.
|
2022-10-30 16:51:09 +01:00 |
|
Christoph Oelckers
|
a4dd5bb4ce
|
- rewrote the model storage code.
Using proper C++ containers now.
|
2022-10-27 16:55:54 +02:00 |
|
Mitchell Richters
|
c00c8d196e
|
- Simple VecToAngle() > .Angle() replacements.
|
2022-10-27 16:55:52 +02:00 |
|
Christoph Oelckers
|
8e9ddf370c
|
- rewrote getzrange
Not using any old Build code anymore. Aside from the trivial stuff this uses code from Doom and SW instead.
|
2022-10-27 16:55:28 +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
|
5851c0f2c6
|
- Clean up some q16horiz usage and how the view pitch is clamped.
|
2022-10-25 07:06:53 +02:00 |
|
Mitchell Richters
|
e4ae726015
|
- Rename fixedhoriz::aspitch() to Degrees() to match DAngle objects.
|
2022-10-25 07:06:53 +02:00 |
|
Christoph Oelckers
|
38998f36b5
|
- minor int_* replacements in the backend.
|
2022-10-23 18:47:17 +02:00 |
|
Christoph Oelckers
|
e00eda6cb8
|
- Blood: floatified VectorScan.
The texture checks in here definitely need some more verification, though.
Doing a quick test looked ok, but I do not think this was enough.
|
2022-10-22 20:41:25 +02:00 |
|
Christoph Oelckers
|
243c071834
|
- got rid of bsinf and bcosf.
|
2022-10-22 12:17:04 +02:00 |
|
Christoph Oelckers
|
6dd7fac902
|
- eliminated the sine table and moved tilehasmodelorvoxel to a different file to delete engine.cpp.
|
2022-10-22 12:17:04 +02:00 |
|
Mitchell Richters
|
95cd74bdc0
|
- renamed slope functions so that the int versions get a special name.
|
2022-10-22 12:17:02 +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 |
|
Christoph Oelckers
|
b2d1988e50
|
- use engine utilities for the section builder’s inside check
|
2022-10-22 12:16:57 +02:00 |
|
Christoph Oelckers
|
f5e6503b26
|
- merge NearestPointLine into NearestPointOnWall
|
2022-10-22 12:16:57 +02:00 |
|
Christoph Oelckers
|
c44fd07f37
|
- floatified the portal displacement
|
2022-10-22 12:16:57 +02:00 |
|
Christoph Oelckers
|
c87b4a581b
|
- got rid of the WallStart/End macros
They never got much use and the places where they were used work just as well without them
|
2022-10-22 12:16:56 +02:00 |
|
Christoph Oelckers
|
cbfc9a8252
|
- added spriteGetZOfSlopeF for the backend
|
2022-10-22 12:16:56 +02:00 |
|
Christoph Oelckers
|
ab23f6b114
|
- floatify clipangle math in HWLineToLinePortal::Setup
|
2022-10-22 12:16:56 +02:00 |
|
Christoph Oelckers
|
375d346ae8
|
- pass a vector to the processSprites interface.
|
2022-10-22 12:16:56 +02:00 |
|
Christoph Oelckers
|
bbf77c908b
|
- pass a floating point view position to the bunch drawer
|
2022-10-22 12:16:56 +02:00 |
|
Christoph Oelckers
|
1111251887
|
type safe CVAR declaration.
|
2022-10-22 09:25:27 +02:00 |
|
Christoph Oelckers
|
5eb9af1e00
|
- Backend update from GZDoom
IQM model support and a few bugfixes.
|
2022-10-20 22:24:25 +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 |
|
Christoph Oelckers
|
5efc032a4c
|
- increase angular threshold for aligning wall sprites.
With full precision angles the old threshold is simply too low.
|
2022-10-16 10:59:04 +02:00 |
|
Christoph Oelckers
|
9d1edf9cc5
|
- clean up angle math in wall drawer.
|
2022-10-16 10:59:04 +02:00 |
|
Christoph Oelckers
|
b53e4b824e
|
- handle the portals in Duke and Blood.
|
2022-10-16 09:40:29 +02:00 |
|
Christoph Oelckers
|
0e628ed222
|
- floatified CollectPortals and its helpers
|
2022-10-16 09:40:28 +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
|
f72d42bb8e
|
- Uplift renderer entry point to DVector3 and provide wrappers for old setups.
|
2022-10-15 12:16:53 +02:00 |
|
Mitchell Richters
|
5407de6924
|
- Use MaxSmoothRatio everywhere so refactoring is easier later on.
|
2022-10-14 18:19:03 +02:00 |
|