mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-29 16:31:43 +00:00
- inside, haskey and removed unused processmove functions.
This commit is contained in:
parent
3970c9a757
commit
baf36a321b
8 changed files with 25 additions and 52 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue