Move d1x-rebirth/main/custom.c -> d1x-rebirth/main/custom.cpp

This commit is contained in:
Kp 2012-11-11 22:12:51 +00:00
parent e04dc4e29e
commit ee0f60ddb7
3 changed files with 9 additions and 1 deletions

View file

@ -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',

View file

@ -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