Christoph Oelckers
|
8415079e32
|
- fixed compilation.
|
2022-11-07 12:19:54 +01:00 |
|
Christoph Oelckers
|
14cff92624
|
- floatified all clipmove input.
|
2022-11-07 12:19:53 +01:00 |
|
Christoph Oelckers
|
85182ae49a
|
- more tinkering
|
2022-11-07 12:19:53 +01:00 |
|
Christoph Oelckers
|
57579444d3
|
- everything is floatified.
Unfortunately this is not working right.
|
2022-11-07 12:19:53 +01:00 |
|
Christoph Oelckers
|
5f0bb55e06
|
- almost all is floats.
|
2022-11-07 12:19:53 +01:00 |
|
Christoph Oelckers
|
9a1a15a5e2
|
- floatified a bit more of clipmove.
Still not working right with the remaining conversions.
|
2022-11-07 12:19:52 +01:00 |
|
Christoph Oelckers
|
fe56d2345d
|
- always use the float version of keepaway
Does not work yet - movement is significantly different that the int version
|
2022-11-07 12:19:52 +01:00 |
|
Christoph Oelckers
|
66e6d166d6
|
- floatified part of clipmove that pushes the caller away from obstacles
|
2022-11-07 12:19:52 +01:00 |
|
Christoph Oelckers
|
b72283e9cb
|
- updatesector interface cleanup.
|
2022-11-07 12:19:31 +01:00 |
|
Christoph Oelckers
|
ef9efe30b6
|
- floatified the part of clipmove that is most prone to overflows.
Replaced with a NearestPointOnLine call
|
2022-11-07 12:19:31 +01:00 |
|
Christoph Oelckers
|
a80589fb43
|
- deleted build.h and clip.h, now that both are empty.
|
2022-11-07 12:19:30 +01:00 |
|
Christoph Oelckers
|
c6e6b7c59d
|
- got rid of the global compatibility modes and made 'precise' a parameter for clipmove.
This better reflects how this stuff gets used.
|
2022-11-07 12:19:30 +01:00 |
|
Christoph Oelckers
|
7ffa94d417
|
- move the clip object collection loop into its own function.
|
2022-11-07 12:19:29 +01:00 |
|
Christoph Oelckers
|
8baf4b539c
|
- use BFSSectorSearch to drive the clipmove collection loop.
This gets rid of another bunch of both code and data.
|
2022-11-07 12:19:29 +01:00 |
|
Christoph Oelckers
|
fcdafd8a83
|
- moved the clip object storage into the clip object and floatified it.
|
2022-11-07 12:19:29 +01:00 |
|
Christoph Oelckers
|
c24251431c
|
- float version of clipmove's slope sprite collector.
This could be simplified quite a bit by leveraging the info returned by GetFlatSpritePosition.
|
2022-11-07 12:19:18 +01:00 |
|
Christoph Oelckers
|
321eebc89d
|
- float version of clipmove's floor sprite collector.
|
2022-11-07 12:19:17 +01:00 |
|
Christoph Oelckers
|
035ffdb733
|
- new floating point version of clipmove's wall sprite checker.
|
2022-11-07 12:19:17 +01:00 |
|
Christoph Oelckers
|
f6ad998e6b
|
- float version of face sprite collector.
|
2022-11-07 12:19:17 +01:00 |
|
Christoph Oelckers
|
9d56bbdae9
|
- rewrote the remaining parts of clipmove's wall collector.
|
2022-11-07 12:19:08 +01:00 |
|
Christoph Oelckers
|
7a673c2801
|
- removed the old wall checker code and all dependencies.
Most importantly this eliminates all calls to deprecated utilities from clip.cpp and removes the actual functions from gamefuncs.h.
|
2022-11-07 12:19:08 +01:00 |
|
Christoph Oelckers
|
53a9dee485
|
- reimplemented the wall collision check for clipmove.
|
2022-11-07 12:18:00 +01:00 |
|
Christoph Oelckers
|
1cf954920c
|
- eliminated cliptestsector which was just a thin wrapper around CheckOpening.
|
2022-11-01 10:25:15 +01:00 |
|
Christoph Oelckers
|
93ca75e146
|
- got rid of the two intermediate functions between clipmove_tweak_pos and InterceptLineSegments.
|
2022-11-01 09:55:24 +01:00 |
|
Christoph Oelckers
|
01c114787c
|
- eliminated the deprecated integer wrapper for 'inside'.
|
2022-11-01 08:38:40 +01:00 |
|
Christoph Oelckers
|
0f57685f48
|
- updatesector interface cleanup.
|
2022-10-30 16:51:41 +01:00 |
|
Christoph Oelckers
|
ce4a6fc7e3
|
- split off one part of clipmove into a utility function.
|
2022-10-30 16:51:40 +01:00 |
|
Christoph Oelckers
|
a0f18c360a
|
- made some minor edits to clipmove to get rid of a few deprecated wrapper functions.
|
2022-10-30 16:51:37 +01:00 |
|
Christoph Oelckers
|
14769e9b79
|
- reroute cliptestsector to checkOpening.
This required adding one more check for the 'precise' mode.
|
2022-10-30 16:51:36 +01:00 |
|
Christoph Oelckers
|
2190499d63
|
- pushmove rewritten.
|
2022-10-30 16:51:36 +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
|
51768439a9
|
- started removing wrappers. ScaleX() and ScaleY() done.
No manual changes in here.
|
2022-10-30 16:51:31 +01:00 |
|
Christoph Oelckers
|
5700d25120
|
- minor cleanup on scaling code
|
2022-10-30 16:51:25 +01:00 |
|
Christoph Oelckers
|
9d8df61324
|
- got rid of the int version of GetOffsetAndHeight.
|
2022-10-30 16:51:21 +01:00 |
|
Christoph Oelckers
|
4af4983d3e
|
- floatified clipdist and replaced fClipdist wrapper.
This uses a new variable because a few things use clipdist as a flag byte
|
2022-10-30 16:51:14 +01:00 |
|
Christoph Oelckers
|
ce9bda47fe
|
- deleted unused getwalldist function.
|
2022-10-30 16:51:12 +01:00 |
|
Christoph Oelckers
|
4becce9bf4
|
- replaced the one use of uhypsq to delete the function.
|
2022-10-30 16:51:11 +01:00 |
|
Christoph Oelckers
|
a6b55dca74
|
- removed handling for Exhumed clipping mode.
All this does is disable slopes in a few places and use extremely less precise math. Nothing critical is guarded by it.
|
2022-10-30 16:51:10 +01:00 |
|
Christoph Oelckers
|
513fc478bf
|
- moved clipupdatesector to updatesector.h
|
2022-10-30 16:51:10 +01:00 |
|
Christoph Oelckers
|
479c732a72
|
- moved some more things out of build.h
|
2022-10-30 16:51:10 +01:00 |
|
Christoph Oelckers
|
0eea776065
|
- moved RS_ bits to gamehud.h because that's all that uses these flags.
|
2022-10-30 16:51:09 +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
|
4af1461ec3
|
- got rid of int_clipdist.
|
2022-10-30 16:51:09 +01:00 |
|
Christoph Oelckers
|
63c8960769
|
- deleted mdsprite.* files.
|
2022-10-27 16:55:54 +02:00 |
|
Christoph Oelckers
|
a4dd5bb4ce
|
- rewrote the model storage code.
Using proper C++ containers now.
|
2022-10-27 16:55:54 +02:00 |
|
Mitchell Richters
|
1e7cce28af
|
- VecToAngle() with delta() inside to .Angle() replacements.
|
2022-10-27 16:55:53 +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 |
|
Christoph Oelckers
|
22ccf33569
|
- floatified walldist parameter of getzrange
|
2022-10-25 07:07:14 +02:00 |
|
Christoph Oelckers
|
d11f6819db
|
- got rid of the getzrange wrapper.
|
2022-10-25 07:07:13 +02:00 |
|
Christoph Oelckers
|
55b055e654
|
- deleted the deprecated getzrange versions.
|
2022-10-25 07:07:13 +02:00 |
|