Christoph Oelckers
|
44f8cf8db6
|
- deleted build.h and clip.h, now that both are empty.
|
2023-11-12 14:45:24 +01:00 |
|
Christoph Oelckers
|
43f4962561
|
- got rid of the global compatibility modes and made 'precise' a parameter for clipmove.
This better reflects how this stuff gets used.
|
2023-11-12 14:45:24 +01:00 |
|
Christoph Oelckers
|
5bfe62d7b6
|
- move the clip object collection loop into its own function.
|
2023-11-12 14:45:24 +01:00 |
|
Christoph Oelckers
|
bac866e772
|
- use BFSSectorSearch to drive the clipmove collection loop.
This gets rid of another bunch of both code and data.
|
2023-11-12 14:45:23 +01:00 |
|
Christoph Oelckers
|
3da1966cc7
|
- moved the clip object storage into the clip object and floatified it.
|
2023-11-12 14:45:23 +01:00 |
|
Christoph Oelckers
|
ea530cbc49
|
- float version of clipmove's slope sprite collector.
This could be simplified quite a bit by leveraging the info returned by GetFlatSpritePosition.
|
2023-11-12 14:45:23 +01:00 |
|
Christoph Oelckers
|
ede7a7ac12
|
- float version of clipmove's floor sprite collector.
|
2023-11-12 14:45:23 +01:00 |
|
Christoph Oelckers
|
3ea993140b
|
- new floating point version of clipmove's wall sprite checker.
|
2023-11-12 14:45:23 +01:00 |
|
Christoph Oelckers
|
4acbfef1dc
|
- float version of face sprite collector.
|
2023-11-12 14:45:23 +01:00 |
|
Christoph Oelckers
|
3e3df527d2
|
- rewrote the remaining parts of clipmove's wall collector.
|
2023-11-12 14:45:22 +01:00 |
|
Christoph Oelckers
|
c2a2743872
|
- removed the old wall checker code and all dependencies.
|
2023-11-12 14:45:22 +01:00 |
|
Christoph Oelckers
|
9b8252e2da
|
- reimplemented the wall collision check for clipmove.
|
2023-11-12 14:45:22 +01:00 |
|
Christoph Oelckers
|
f92d20afc0
|
- fixed bad slope sprite offset in clipmove.
|
2023-01-21 13:39:16 +01:00 |
|
Christoph Oelckers
|
20edd800f9
|
- big texture system refactor.
Finally that quickly slapped together BuildTiles class is gone and replaced with something that better integrates with the underlying texture manager
|
2022-12-18 13:05:58 +01:00 |
|
Mitchell Richters
|
c3f276a08a
|
- Tidy up remaining Build angle constants in gamefuncs.h .
|
2022-12-11 19:46:27 +01:00 |
|
Christoph Oelckers
|
f479f995a1
|
- transitioned all tileLeftOffset and tileTopOffset calls to use the texture manager.
|
2022-12-11 19:44:01 +01:00 |
|
Christoph Oelckers
|
ec48b91730
|
- fixed the last remaining z/inttoworld mismatches.
The one in clipmove was critical, the other ones not so much.
|
2022-11-27 10:21:47 +01:00 |
|
Christoph Oelckers
|
7d9a4ea70d
|
- eliminated wallsofsector.
|
2022-11-15 15:24:17 +01:00 |
|
Christoph Oelckers
|
0b75f19da5
|
- use wallsofsector in clipmove.
|
2022-11-15 12:31:15 +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
|
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 |
|
Christoph Oelckers
|
a5afbce59d
|
- fixed fxSpawnActor calls
|
2022-10-25 07:07:13 +02:00 |
|