Move similar/main/cntrlcen.c -> similar/main/cntrlcen.cpp

This commit is contained in:
Kp 2012-11-11 22:12:51 +00:00
parent 584fc93f34
commit 64350f83b8
5 changed files with 25 additions and 1 deletions

View file

@ -753,7 +753,7 @@ class DXXProgram(DXXCommon):
'arch/sdl/timer.cpp',
'main/aipath.cpp',
'main/automap.cpp',
'main/cntrlcen.c',
'main/cntrlcen.cpp',
'main/config.c',
'main/console.c',
'main/controls.c',

View file

@ -25,6 +25,10 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
#include "wall.h"
#include "switch.h"
#ifdef __cplusplus
extern "C" {
#endif
#define CONTROLCEN_WEAPON_NUM 6
#define MAX_CONTROLCEN_LINKS 10
@ -129,4 +133,8 @@ extern void control_center_triggers_read_n_swap(control_center_triggers *cct, in
extern int control_center_triggers_write(control_center_triggers *cct, PHYSFS_file *fp);
#ifdef __cplusplus
}
#endif
#endif /* _CNTRLCEN_H */

View file

@ -25,6 +25,10 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
#include "mission.h"
#include "object.h"
#ifdef __cplusplus
extern "C" {
#endif
#define SUPER_MISSILE 0
#define SUPER_SEEKER 1
#define SUPER_SMARTBOMB 2
@ -120,4 +124,8 @@ void EnterSecretLevel(void);
void copy_defaults_to_robot(struct object *objp);
void init_player_stats_new_ship(ubyte pnum);
#ifdef __cplusplus
}
#endif
#endif /* _GAMESEQ_H */

View file

@ -20,6 +20,10 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
#ifndef _LASER_H
#define _LASER_H
#ifdef __cplusplus
extern "C" {
#endif
enum weapon_type_t
{
#if defined(DXX_BUILD_DESCENT_II)
@ -196,4 +200,8 @@ static inline int is_proximity_bomb_or_smart_mine_or_placed_mine(enum weapon_typ
return id == PROXIMITY_ID;
}
#ifdef __cplusplus
}
#endif
#endif /* _LASER_H */