Build 4584
SVN-
demote wall check "corruptions" introduced in r4569 to level 2.
Mostra dettagli
The winding of a loop -- with clockdir() -- is determined by examining the two line segments spanned between the points following a leftmost point of the loop. If the loop contains a leftmost point that belongs to the "right" side (as can happen with sliding door constructions), there's a chance that an outer loop is misclassified.
-
Generale
Factor out [l]dist() implementations into static inline functions in common.h.
Mostra dettagli
And use these in jmact/mathutil.c's FindDistance2D()/FindDistance3D(). The main use is to allow passing dx/dy instead of sprite positions; the code that actually uses this is not committed.
-
introduce two signed integer types, use in engine.c and a-c.c.
Mostra dettagli
They classify former uses of int64_t into two classes: - coord_t: those that represent coordinates and need 64-bit precision for proper functioning with large values - inthi_t: those that were added for e.g. casts merely to prevent undefined behavior on overflow DONT_BUILD.
-
Generale
engine.c: prevent a 64-bit multiply in dosetaspect(). DONT_BUILD.