- inside, haskey and removed unused processmove functions.

This commit is contained in:
Christoph Oelckers 2021-11-18 19:57:14 +01:00
parent 3970c9a757
commit baf36a321b
8 changed files with 25 additions and 52 deletions

View file

@ -296,3 +296,17 @@ inline double SquareDistToWall(double px, double py, const walltype* wal)
return SquareDist(px, py, lx1 + t * (lx2 - lx1), ly1 + t * (ly2 - ly1));
}
inline int inside(int x, int y, sectortype* sect)
{
return inside(x, y, sectnum(sect));
}
inline void dragpoint(walltype* pointhighlight, int32_t dax, int32_t day)
{
dragpoint(wallnum(pointhighlight), dax, day);
}
inline int findwallbetweensectors(sectortype* sect1, sectortype* sect2)
{
return findwallbetweensectors(sectnum(sect1), sectnum(sect2));
}