diff options
Diffstat (limited to 'src/heretic/m_misc.c')
-rw-r--r-- | src/heretic/m_misc.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/heretic/m_misc.c b/src/heretic/m_misc.c index 26794e9d..465d0fe1 100644 --- a/src/heretic/m_misc.c +++ b/src/heretic/m_misc.c @@ -86,24 +86,6 @@ boolean M_ValidEpisodeMap(int episode, int map) return true; } -void M_ClearBox(fixed_t * box) -{ - box[BOXTOP] = box[BOXRIGHT] = INT_MIN; - box[BOXBOTTOM] = box[BOXLEFT] = INT_MAX; -} - -void M_AddToBox(fixed_t * box, fixed_t x, fixed_t y) -{ - if (x < box[BOXLEFT]) - box[BOXLEFT] = x; - else if (x > box[BOXRIGHT]) - box[BOXRIGHT] = x; - if (y < box[BOXBOTTOM]) - box[BOXBOTTOM] = y; - else if (y > box[BOXTOP]) - box[BOXTOP] = y; -} - //--------------------------------------------------------------------------- // // PROC M_ForceUppercase |