2019-08-26 03:59:14 +00:00
|
|
|
|
|
|
|
#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);
|
2019-08-27 06:08:18 +00:00
|
|
|
void precache();
|
|
|
|
void resettiming();
|
|
|
|
void printext(long x, long y, const char* buffer, short tilenum, char invisiblecol);
|
2019-08-26 03:59:14 +00:00
|
|
|
|
|
|
|
#endif
|