FS2_Open
Open source remastering of the Freespace 2 engine
fix.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) Volition, Inc. 1999. All rights reserved.
3  *
4  * All source code herein is the property of Volition, Inc. You may not sell
5  * or otherwise commercially exploit the source or things you created based on the
6  * source.
7  *
8 */
9 
10 
11 
12 #ifndef _FIX_H
13 #define _FIX_H
14 
15 #define F1_0 65536
16 #define f1_0 65536
17 
18 fix fixmul(fix a, fix b);
19 fix fixdiv(fix a, fix b);
20 fix fixmuldiv(fix a, fix b, fix c);
21 
22 #define f2i(a) ((int)((a)>>16))
23 #define i2f(a) ((fix)((a)<<16))
24 
25 #endif
fix fixmuldiv(fix a, fix b, fix c)
Definition: fix.cpp:34
GLboolean GLboolean GLboolean GLboolean a
Definition: Glext.h:5781
long fix
Definition: pstypes.h:54
GLboolean GLboolean GLboolean b
Definition: Glext.h:5781
fix fixdiv(fix a, fix b)
Definition: fix.cpp:29
fix fixmul(fix a, fix b)
Definition: fix.cpp:22
const GLubyte * c
Definition: Glext.h:8376