2014-06-01 17:55:23 +00:00
|
|
|
/*
|
|
|
|
* 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.
|
|
|
|
*/
|
2006-03-20 16:43:15 +00:00
|
|
|
#ifndef _CUSTOM_H
|
|
|
|
#define _CUSTOM_H
|
|
|
|
|
2013-10-26 03:40:50 +00:00
|
|
|
#include "pstypes.h"
|
|
|
|
#include "piggy.h"
|
|
|
|
|
2012-11-11 22:12:51 +00:00
|
|
|
#ifdef __cplusplus
|
2015-04-02 02:36:52 +00:00
|
|
|
#include "dxxsconf.h"
|
|
|
|
#include "compiler-array.h"
|
2012-11-11 22:12:51 +00:00
|
|
|
|
2006-03-20 16:43:15 +00:00
|
|
|
/* from piggy.c */
|
|
|
|
#define DBM_FLAG_LARGE 128 // Flags added onto the flags struct in b
|
|
|
|
#define DBM_FLAG_ABM 64
|
|
|
|
|
2015-04-02 02:36:52 +00:00
|
|
|
extern array<int, MAX_BITMAP_FILES> GameBitmapOffset;
|
2006-03-20 16:43:15 +00:00
|
|
|
extern ubyte * Piggy_bitmap_cache_data;
|
|
|
|
|
2014-07-23 02:27:22 +00:00
|
|
|
void load_custom_data(const d_fname &level_file);
|
2006-03-20 16:43:15 +00:00
|
|
|
|
|
|
|
void custom_close();
|
|
|
|
|
2012-11-11 22:12:51 +00:00
|
|
|
#endif
|
|
|
|
|
2006-03-20 16:43:15 +00:00
|
|
|
#endif
|