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 int subtitle_state = DONE_SUBTITLE;
|
||||||
static Mutex subtitle_mutex;
|
static Mutex subtitle_mutex;
|
||||||
int do_subtitles (UNICODE *pStr);
|
|
||||||
|
|
||||||
static volatile UNICODE *last_subtitle;
|
static volatile UNICODE *last_subtitle;
|
||||||
static TFB_Image *subtitle_cache;
|
static TFB_Image *subtitle_cache;
|
||||||
|
|||||||
@@ -19,5 +19,7 @@
|
|||||||
|
|
||||||
void init_communication (void);
|
void init_communication (void);
|
||||||
void uninit_communication (void);
|
void uninit_communication (void);
|
||||||
|
int do_subtitles (UNICODE *pStr);
|
||||||
|
|
||||||
#endif /* _COMM_H */
|
#endif /* _COMM_H */
|
||||||
|
|
||||||
|
|||||||
@@ -18,8 +18,7 @@
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include "sound.h"
|
#include "sound.h"
|
||||||
#include "libs/sound/trackplayer.h"
|
#include "libs/sound/trackplayer.h"
|
||||||
|
#include "comm.h"
|
||||||
extern int do_subtitles (UNICODE *pStr);
|
|
||||||
|
|
||||||
static int tct; //total number of subtitle tracks
|
static int tct; //total number of subtitle tracks
|
||||||
static int tcur; //currently playing subtitle track
|
static int tcur; //currently playing subtitle track
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
#include "starcon.h"
|
#include "starcon.h"
|
||||||
#include "commglue.h"
|
#include "commglue.h"
|
||||||
|
#include "comm.h"
|
||||||
#include "libs/sound/trackplayer.h"
|
#include "libs/sound/trackplayer.h"
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -144,7 +145,6 @@ PauseGame (void)
|
|||||||
CONTEXT OldContext;
|
CONTEXT OldContext;
|
||||||
FRAME F;
|
FRAME F;
|
||||||
HOT_SPOT OldHot;
|
HOT_SPOT OldHot;
|
||||||
extern int do_subtitles (UNICODE *pStr);
|
|
||||||
|
|
||||||
if (ActivityFrame == 0
|
if (ActivityFrame == 0
|
||||||
|| (GLOBAL (CurrentActivity) & (CHECK_ABORT | CHECK_PAUSE))
|
|| (GLOBAL (CurrentActivity) & (CHECK_ABORT | CHECK_PAUSE))
|
||||||
|
|||||||
Reference in New Issue
Block a user