moved declaration(s) of do_subtitle to comm.h
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@936 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -104,7 +104,6 @@ enum
|
||||
};
|
||||
static int subtitle_state = DONE_SUBTITLE;
|
||||
static Mutex subtitle_mutex;
|
||||
int do_subtitles (UNICODE *pStr);
|
||||
|
||||
static volatile UNICODE *last_subtitle;
|
||||
static TFB_Image *subtitle_cache;
|
||||
|
||||
@@ -19,5 +19,7 @@
|
||||
|
||||
void init_communication (void);
|
||||
void uninit_communication (void);
|
||||
int do_subtitles (UNICODE *pStr);
|
||||
|
||||
#endif /* _COMM_H */
|
||||
|
||||
|
||||
@@ -18,8 +18,7 @@
|
||||
#include <ctype.h>
|
||||
#include "sound.h"
|
||||
#include "libs/sound/trackplayer.h"
|
||||
|
||||
extern int do_subtitles (UNICODE *pStr);
|
||||
#include "comm.h"
|
||||
|
||||
static int tct; //total number of subtitle tracks
|
||||
static int tcur; //currently playing subtitle track
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
|
||||
#include "starcon.h"
|
||||
#include "commglue.h"
|
||||
#include "comm.h"
|
||||
#include "libs/sound/trackplayer.h"
|
||||
|
||||
void
|
||||
@@ -144,7 +145,6 @@ PauseGame (void)
|
||||
CONTEXT OldContext;
|
||||
FRAME F;
|
||||
HOT_SPOT OldHot;
|
||||
extern int do_subtitles (UNICODE *pStr);
|
||||
|
||||
if (ActivityFrame == 0
|
||||
|| (GLOBAL (CurrentActivity) & (CHECK_ABORT | CHECK_PAUSE))
|
||||
|
||||
Reference in New Issue
Block a user