Move d1x-rebirth/main/custom.c -> d1x-rebirth/main/custom.cpp
This commit is contained in:
parent
e04dc4e29e
commit
ee0f60ddb7
|
@ -1100,7 +1100,7 @@ class D1XProgram(DXXProgram):
|
|||
'main/bm.c',
|
||||
'main/bmread.c',
|
||||
'main/collide.c',
|
||||
'main/custom.c',
|
||||
'main/custom.cpp',
|
||||
'main/fireball.c',
|
||||
'main/fuelcen.c',
|
||||
'main/gamemine.c',
|
||||
|
|
|
@ -4,6 +4,10 @@
|
|||
#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
|
||||
|
@ -16,4 +20,8 @@ void load_custom_data(char *level_file);
|
|||
|
||||
void custom_close();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue