mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
SAGA2: Fix MSVC compilation
This commit is contained in:
parent
07153ec2cb
commit
c14b9f9389
@ -49,6 +49,7 @@
|
||||
#include "saga2/transit.h"
|
||||
#include "saga2/contain.h"
|
||||
#include "saga2/tile.h"
|
||||
#include "saga2/tilemode.h"
|
||||
|
||||
void drawMainDisplay(void);
|
||||
|
||||
@ -3817,9 +3818,6 @@ int16 scriptTransportCenterBand(int16 *args) {
|
||||
// void "c" lockUI( int locked )
|
||||
|
||||
int16 scriptLockUI(int16 *args) {
|
||||
extern void LockUI(bool state);
|
||||
extern void noStickyMap(void);
|
||||
|
||||
MONOLOG(lockUI);
|
||||
|
||||
noStickyMap();
|
||||
|
@ -37,6 +37,7 @@
|
||||
#include "saga2/annoy.h"
|
||||
#include "saga2/savefile.h"
|
||||
#include "saga2/cmisc.h"
|
||||
#include "saga2/tilemode.h"
|
||||
|
||||
namespace Saga2 {
|
||||
|
||||
@ -1096,8 +1097,6 @@ Speech *SpeechTaskList::newTask(ObjectID id, uint16 flags) {
|
||||
|
||||
void SpeechTaskList::SetLock(int newState) {
|
||||
if (newState && lockFlag == false) {
|
||||
extern void noStickyMap(void);
|
||||
|
||||
noStickyMap();
|
||||
LockUI(true);
|
||||
lockFlag = true;
|
||||
|
@ -60,6 +60,8 @@ inline void cleanupTileModeState(void) { /* do nothing */ }
|
||||
void TileModeSetup(void); // alloc tile resources
|
||||
void TileModeCleanup(void); // free tile resources
|
||||
|
||||
void noStickyMap(void);
|
||||
|
||||
} // end of namespace Saga2
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user