Exposes P_PathTraverse
to Lua, allowing modders to search objects and linedefs touching a line within specified coordinates. Also exposes PT_ADDLINES
, PT_ADDTHINGS
, and PT_EARLYOUT
to pass in as flags for P_PathTraverse
.
This MR also fixes some blockmap bugs:
mobj_t
and checks for it, instead of just checking for tmthing
.partial
(now partialx
and partialy
), xstep
, ystep
, xintercept
, and yintercept
.Example Lua: P_PathTraverseTesting.lua
Special thanks to the following users for helping me out with this MR:
p-path-traverse-lua-exposure
branch, which Golden worked on)