mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-21 19:51:49 +00:00
Fix compiler warning.
svn-id: r48365
This commit is contained in:
parent
6545e728b6
commit
9f53578fd2
@ -205,7 +205,7 @@ AGOSEngine::AGOSEngine(OSystem *syst)
|
||||
_beardLoaded = 0;
|
||||
_litBoxFlag = 0;
|
||||
_mortalFlag = 0;
|
||||
_displayScreen = false;
|
||||
_displayFlag = 0;
|
||||
_syncFlag2 = 0;
|
||||
_inCallBack = 0;
|
||||
_cepeFlag = 0;
|
||||
|
@ -300,7 +300,7 @@ protected:
|
||||
bool _beardLoaded;
|
||||
bool _litBoxFlag;
|
||||
bool _mortalFlag;
|
||||
bool _displayScreen;
|
||||
uint16 _displayFlag;
|
||||
bool _syncFlag2;
|
||||
bool _inCallBack;
|
||||
bool _cepeFlag;
|
||||
|
@ -111,7 +111,7 @@ void AGOSEngine_Feeble::animateSpritesByY() {
|
||||
drawImage_init(vsp->image, vsp->palette, vsp->x, vsp->y, vsp->flags);
|
||||
}
|
||||
|
||||
_displayScreen = true;
|
||||
_displayFlag++;
|
||||
}
|
||||
|
||||
void AGOSEngine_Feeble::animateSprites() {
|
||||
@ -146,7 +146,7 @@ void AGOSEngine_Feeble::animateSprites() {
|
||||
vsp++;
|
||||
}
|
||||
|
||||
_displayScreen = true;
|
||||
_displayFlag++;
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -298,7 +298,7 @@ void AGOSEngine::animateSprites() {
|
||||
if (_window4Flag == 1)
|
||||
_window4Flag++;
|
||||
|
||||
_displayScreen = true;
|
||||
_displayFlag++;
|
||||
}
|
||||
|
||||
void AGOSEngine::dirtyClips() {
|
||||
|
@ -175,9 +175,9 @@ void AGOSEngine::haltAnimation() {
|
||||
|
||||
_videoLockOut |= 0x10;
|
||||
|
||||
if (_displayScreen) {
|
||||
if (_displayFlag) {
|
||||
displayScreen();
|
||||
_displayScreen = false;
|
||||
_displayFlag = 0;
|
||||
}
|
||||
}
|
||||
|
||||
@ -593,7 +593,7 @@ void AGOSEngine_Feeble::timerProc() {
|
||||
animateSprites();
|
||||
}
|
||||
|
||||
if (_displayScreen) {
|
||||
if (_displayFlag) {
|
||||
if (getGameType() == GType_FF && !(getFeatures() & GF_DEMO)) {
|
||||
if (!getBitFlag(78)) {
|
||||
oracleLogo();
|
||||
@ -604,7 +604,7 @@ void AGOSEngine_Feeble::timerProc() {
|
||||
}
|
||||
handleMouseMoved();
|
||||
displayScreen();
|
||||
_displayScreen = false;
|
||||
_displayFlag = 0;
|
||||
}
|
||||
|
||||
_videoLockOut &= ~2;
|
||||
@ -642,9 +642,9 @@ void AGOSEngine_PN::timerProc() {
|
||||
processVgaEvents();
|
||||
}
|
||||
|
||||
if (_displayScreen) {
|
||||
if (_displayFlag) {
|
||||
displayScreen();
|
||||
_displayScreen = false;
|
||||
_displayFlag = 0;
|
||||
}
|
||||
|
||||
_videoLockOut &= ~2;
|
||||
@ -668,9 +668,9 @@ void AGOSEngine::timerProc() {
|
||||
processVgaEvents();
|
||||
}
|
||||
|
||||
if (_displayScreen) {
|
||||
if (_displayFlag) {
|
||||
displayScreen();
|
||||
_displayScreen = false;
|
||||
_displayFlag = 0;
|
||||
}
|
||||
|
||||
_videoLockOut &= ~2;
|
||||
|
@ -1299,7 +1299,7 @@ void AGOSEngine::vc35_clearWindow() {
|
||||
}
|
||||
|
||||
void AGOSEngine::vc36_setWindowImage() {
|
||||
_displayScreen = false;
|
||||
_displayFlag = 0;
|
||||
uint16 vga_res = vcReadNextWord();
|
||||
uint16 windowNum = vcReadNextWord();
|
||||
setWindowImage(windowNum, vga_res);
|
||||
@ -1321,7 +1321,7 @@ void AGOSEngine::vc37_pokePalette() {
|
||||
|
||||
if (!(_videoLockOut & 0x20)) {
|
||||
_paletteFlag = 1;
|
||||
_displayScreen++;
|
||||
_displayFlag++;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -71,7 +71,7 @@ int AGOSEngine::getScale(int16 y, int16 x) {
|
||||
}
|
||||
|
||||
void AGOSEngine_Feeble::vc36_setWindowImage() {
|
||||
_displayScreen = false;
|
||||
_displayFlag = 0;
|
||||
vcReadNextWord();
|
||||
vcReadNextWord();
|
||||
fillBackGroundFromFront();
|
||||
|
Loading…
x
Reference in New Issue
Block a user