27 lines
No EOL
522 B
C
27 lines
No EOL
522 B
C
#ifndef __RASTER_H__
|
|
#define __RASTER_H__
|
|
#ifndef USER_MODE
|
|
#define RASTERS_ACTIVATED
|
|
#endif
|
|
|
|
#ifdef RASTERS_ACTIVATED
|
|
|
|
typedef enum RASTER_ENUM
|
|
{
|
|
#define DEFINE_RASTER(a) RAS_##a,
|
|
#include "RastersDefines.h"
|
|
MAX_RASTER,
|
|
};
|
|
|
|
void StartRaster(RASTER_ENUM, char *newName = NULL);
|
|
void StopRaster(RASTER_ENUM);
|
|
void DrawRasters(MAP *Dest, bool draw);
|
|
|
|
#define START_RASTER(a) StartRaster(RAS_##a);
|
|
#define STOP_RASTER(a) StopRaster(RAS_##a);
|
|
#else
|
|
#define START_RASTER(a)
|
|
#define STOP_RASTER(a)
|
|
#endif
|
|
|
|
#endif //__RASTER_H__
|