raze-gles/source/exhumed/src/engine.h

37 lines
713 B
C
Raw Normal View History

#ifndef __engine_h__
#define __engine_h__
#include "compat.h"
#include "build.h"
#include "pragmas.h"
#include "typedefs.h"
#define kMaxTiles 6144
#define kMaxSprites 4096
#define kMaxSectors 1024
#define kMaxWalls 8192
#define kMaxTiles 6144
#define kMaxVoxels 4096
enum
{
kStatIgnited = 404
};
#define kMaxSpritesOnscreen 1024
#define kMaxPalookups 256
#define kMaxStatus 1024
#define MAXPSKYTILES 256
inline long Sin(int angle)
{
return sintable[angle & 0x7FF];
}
int movesprite(short spritenum, long dx, long dy, long dz, long ceildist, long flordist, unsigned long clipmask);
void overwritesprite(long thex, long they, short tilenum, signed char shade, char stat, char dapalnum);
#endif