Christoph Oelckers
4acbfef1dc
- float version of face sprite collector.
2023-11-12 14:45:23 +01:00
Christoph Oelckers
9b8252e2da
- reimplemented the wall collision check for clipmove.
2023-11-12 14:45:22 +01:00
Christoph Oelckers
e7b67e2528
for line intersection, exclude the end point of the intersected line.
...
This is needed to make Build's utilities work as expected.
2023-10-23 16:14:43 +02:00
Christoph Oelckers
a3dbfab54b
- return some invalid but recognizable magic value when IntersectLines is being passed two collinear lines.
...
This actually should check if the two lines are identical but since this is rather expensive and rarely needed it's better handled by returning a distinct value the caller can handle if needed.
2022-10-30 16:51:37 +01:00
Christoph Oelckers
e3254a8546
- fixed an edge case in cansee where an actor placed directly on a two-sided wall would fail to register that wall's back sector.
2022-10-30 16:51:37 +01: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
2991bc752b
- split out the pure math stuff from gamefuncs.h into a utility header in 'common'.
...
Also did a bit of reshuffling on gamefuncs.h to group content better.
2022-10-22 20:41:26 +02:00