diff options
author | Simon Howard | 2008-09-17 20:07:18 +0000 |
---|---|---|
committer | Simon Howard | 2008-09-17 20:07:18 +0000 |
commit | 90056c594d74eb1b938e34d02833435bd23e0bf7 (patch) | |
tree | 8d8b0ebee70c0ee650ca2751984139ede61c2c0a /src/heretic/d_main.c | |
parent | 967d3910e3957417630085237a95cdac546b1bd4 (diff) | |
download | chocolate-doom-90056c594d74eb1b938e34d02833435bd23e0bf7.tar.gz chocolate-doom-90056c594d74eb1b938e34d02833435bd23e0bf7.tar.bz2 chocolate-doom-90056c594d74eb1b938e34d02833435bd23e0bf7.zip |
Remove heretic definitions for fixed math arithmetic and endianness
conversion macros; use the ones from the common code.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1242
Diffstat (limited to 'src/heretic/d_main.c')
-rw-r--r-- | src/heretic/d_main.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/heretic/d_main.c b/src/heretic/d_main.c index e274044c..bc1b0899 100644 --- a/src/heretic/d_main.c +++ b/src/heretic/d_main.c @@ -66,21 +66,6 @@ void D_AdvanceDemo(void); void F_Drawer(void); boolean F_Responder(event_t * ev); -//--------------------------------------------------------------------------- -// -// FUNC FixedDiv -// -//--------------------------------------------------------------------------- - -fixed_t FixedDiv(fixed_t a, fixed_t b) -{ - if ((abs(a) >> 14) >= abs(b)) - { - return ((a ^ b) < 0 ? INT_MIN : INT_MAX); - } - return (FixedDiv2(a, b)); -} - /* =============================================================================== |