dxx-rebirth/d1x-rebirth/main/custom.h
Kp bb135e546e Set Descent 1 paged out bitmaps to nullptr
Descent 2 sets nullptr in the bitmap data field.  Do the same in Descent
1 for consistency.
2016-11-19 17:24:52 +00:00

30 lines
684 B
C

/*
* This file is part of the DXX-Rebirth project <http://www.dxx-rebirth.com/>.
* It is copyright by its individual contributors, as recorded in the
* project's Git history. See COPYING.txt at the top level for license
* terms and a link to the Git history.
*/
#ifndef _CUSTOM_H
#define _CUSTOM_H
#include "pstypes.h"
#include "piggy.h"
#ifdef __cplusplus
#include "dxxsconf.h"
#include "compiler-array.h"
/* from piggy.c */
#define DBM_FLAG_LARGE 128 // Flags added onto the flags struct in b
#define DBM_FLAG_ABM 64
extern array<int, MAX_BITMAP_FILES> GameBitmapOffset;
void load_custom_data(const d_fname &level_file);
void custom_close();
#endif
#endif