1 // Emacs style mode select -*- C++ -*-
2 //-----------------------------------------------------------------------------
6 // Copyright (C) 1993-1996 by id Software, Inc.
8 // This source is available for distribution and/or modification
9 // only under the terms of the DOOM Source Code License as
10 // published by id Software. All rights reserved.
12 // The source is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
20 // Main loop menu stuff.
22 // Default Config File.
25 //-----------------------------------------------------------------------------
28 rcsid[] = "$Id: m_bbox.c,v 1.1 1997/02/03 22:45:10 b1 Exp $";
35 void M_ClearBox (fixed_t *box)
37 box[BOXTOP] = box[BOXRIGHT] = MININT;
38 box[BOXBOTTOM] = box[BOXLEFT] = MAXINT;
49 else if (x>box[BOXRIGHT])
53 else if (y>box[BOXTOP])