XenevaOS
Loading...
Searching...
No Matches
XenevaOS
Process
Doomgeneric
m_bbox.h
Go to the documentation of this file.
1
//
2
// Copyright(C) 1993-1996 Id Software, Inc.
3
// Copyright(C) 2005-2014 Simon Howard
4
//
5
// This program is free software; you can redistribute it and/or
6
// modify it under the terms of the GNU General Public License
7
// as published by the Free Software Foundation; either version 2
8
// of the License, or (at your option) any later version.
9
//
10
// This program is distributed in the hope that it will be useful,
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
// GNU General Public License for more details.
14
//
15
// DESCRIPTION:
16
// Nil.
17
//
18
19
20
#ifndef __M_BBOX__
21
#define __M_BBOX__
22
23
#include <limits.h>
24
25
#include "
m_fixed.h
"
26
27
28
// Bounding box coordinate storage.
29
enum
30
{
31
BOXTOP
,
32
BOXBOTTOM
,
33
BOXLEFT
,
34
BOXRIGHT
35
};
// bbox coordinates
36
37
// Bounding box functions.
38
void
M_ClearBox
(
fixed_t
* box);
39
40
void
41
M_AddToBox
42
(
fixed_t
* box,
43
fixed_t
x,
44
fixed_t
y );
45
46
47
#endif
M_AddToBox
void M_AddToBox(fixed_t *box, fixed_t x, fixed_t y)
Definition
m_bbox.c:37
M_ClearBox
void M_ClearBox(fixed_t *box)
Definition
m_bbox.c:29
BOXBOTTOM
@ BOXBOTTOM
Definition
m_bbox.h:32
BOXTOP
@ BOXTOP
Definition
m_bbox.h:31
BOXRIGHT
@ BOXRIGHT
Definition
m_bbox.h:34
BOXLEFT
@ BOXLEFT
Definition
m_bbox.h:33
m_fixed.h
fixed_t
int fixed_t
Definition
m_fixed.h:32
Generated by
1.9.8