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

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

View file

@ -758,7 +758,7 @@ class DXXProgram(DXXCommon):
'main/console.cpp',
'main/controls.cpp',
'main/credits.cpp',
'main/digiobj.c',
'main/digiobj.cpp',
'main/effects.c',
'main/fvi.c',
'main/game.c',

View file

@ -23,6 +23,10 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
#include "object.h"
#ifdef __cplusplus
extern "C" {
#endif
#define ND_STATE_NORMAL 0
#define ND_STATE_RECORDING 1
#define ND_STATE_PLAYBACK 2
@ -135,4 +139,8 @@ void newdemo_record_guided_start();
int newdemo_count_demos();
void newdemo_strip_frames(char *, int);
#ifdef __cplusplus
}
#endif
#endif // _NEWDEMO_H

View file

@ -12,6 +12,7 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
*/
#include <algorithm>
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
@ -36,6 +37,8 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
#include "kconfig.h"
#include "config.h"
using std::max;
#define SOF_USED 1 // Set if this sample is used
#define SOF_PLAYING 2 // Set if this sample is playing on a channel
#define SOF_LINK_TO_OBJ 4 // Sound is linked to a moving object. If object dies, then finishes play and quits.