- did some refactoring on FPathTraverse to allow inheriting from that class with different collection functions.

This will be needed to implement an efficient portal checker that doesn't run through the entire blockmap to find the portals.
This commit is contained in:
Christoph Oelckers 2016-02-25 09:54:09 +01:00
commit a9db998700
2 changed files with 11 additions and 5 deletions

View file

@ -1398,7 +1398,7 @@ intercept_t *FPathTraverse::Next()
//
//===========================================================================
FPathTraverse::FPathTraverse (fixed_t x1, fixed_t y1, fixed_t x2, fixed_t y2, int flags)
void FPathTraverse::init (fixed_t x1, fixed_t y1, fixed_t x2, fixed_t y2, int flags)
{
fixed_t xt1, xt2;
fixed_t yt1, yt2;