dxx-rebirth/d1x-rebirth/main/custom.h

28 lines
479 B
C

#ifndef _CUSTOM_H
#define _CUSTOM_H
#include "pstypes.h"
#include "piggy.h"
#ifdef __cplusplus
extern "C" {
#endif
/* from piggy.c */
#define DBM_FLAG_LARGE 128 // Flags added onto the flags struct in b
#define DBM_FLAG_ABM 64
extern int GameBitmapOffset[MAX_BITMAP_FILES];
extern ubyte GameBitmapFlags[MAX_BITMAP_FILES];
extern ubyte * Piggy_bitmap_cache_data;
void load_custom_data(char *level_file);
void custom_close();
#ifdef __cplusplus
}
#endif
#endif