Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
298 serge 1
// Emacs style mode select   -*- C++ -*-
2
//-----------------------------------------------------------------------------
3
//
4
// $Id:$
5
//
6
// Copyright (C) 1993-1996 by id Software, Inc.
7
//
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.
11
//
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
15
// for more details.
16
//
17
// DESCRIPTION:
18
//    Nil.
19
//
20
//-----------------------------------------------------------------------------
21
 
22
 
23
#ifndef __M_BBOX__
24
#define __M_BBOX__
25
 
26
#include "doomtype.h"
27
 
28
#include "m_fixed.h"
29
 
30
 
31
// Bounding box coordinate storage.
32
enum
33
{
34
    BOXTOP,
35
    BOXBOTTOM,
36
    BOXLEFT,
37
    BOXRIGHT
38
};	// bbox coordinates
39
 
40
// Bounding box functions.
41
void M_ClearBox (fixed_t*	box);
42
 
43
void
44
M_AddToBox
45
( fixed_t*	box,
46
  fixed_t	x,
47
  fixed_t	y );
48
 
49
 
50
#endif
51
//-----------------------------------------------------------------------------
52
//
53
// $Log:$
54
//
55
//-----------------------------------------------------------------------------