Skip to content

WIP: Line trace function

Nami i requested to merge (removed):next into next

This is a port of ZDoom's P_LineTrace to SRB2. Additionally:

  • Start of PTR_SlideTraverse is split into new generic function P_CheckMoveBlocked, allows checking if a line is blocking a mobj from moving
  • P_LineTrace, P_RailThinker, P_CheckMoveBlocked exposed to lua

What's left?

  • Copyright info in p_trace.c/h is untouched right now, I'm not sure how to properly adapt it for use here
  • Testing the everloving hell out of this
  • Test exe: srb2win-trace.exe
Edited by Nami i

Merge request reports