/***************************************************************************/ /* */ /* */ /* Raven 3D Engine */ /* Copyright (C) 1995 by Softdisk Publishing */ /* */ /* Original Design: */ /* John Carmack of id Software */ /* */ /* Enhancements by: */ /* Robert Morgan of Channel 7............................Main Engine Code */ /* Todd Lewis of Softdisk Publishing......Tools,Utilities,Special Effects */ /* John Bianca of Softdisk Publishing..............Low-level Optimization */ /* Carlos Hasan..........................................Music/Sound Code */ /* */ /* */ /***************************************************************************/ #ifndef R_PUBLIC_H #define R_PUBLIC_H #include "viewsize.h" /**** CONSTANTS ****/ typedef long fixed_t; #define WALL_CONTACT 1 #define DOOR_CONTACT 2 #define FRACBITS 16 #define FRACUNIT (1<>FRACBITS) #define MAXDOORS 32 #define MAXSPRITES 700 #define MAXELEVATORS 128 #define MAXSPAWNAREAS 96 #define ANIM_LOOP_MASK 1 #define ANIM_CG_MASK 30 #define ANIM_MG_MASK 480 #define ANIM_SELFDEST 32768 #define ANIM_DELAY_MASK 32256 #define MINDIST (FRACUNIT*12) #define PLAYERSIZE (16<