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
18 // Fixed point arithemtics, implementation.
20 //-----------------------------------------------------------------------------
33 // Fixed point, 32bit as 16.16.
36 #define FRACUNIT (1<<FRACBITS)
37 #define FRACINV 1.525878906E-5
41 void SetFPMode (void);
43 fixed_t
FixedMul (fixed_t a
, fixed_t b
);
44 fixed_t
FixedDiv (fixed_t a
, fixed_t b
);
47 //-----------------------------------------------------------------------------
50 // Revision 1.1 2000/02/29 18:21:06 stegerg
51 // Doom port based on ADoomPPC. Read README.AROS!
54 //-----------------------------------------------------------------------------