mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-01 14:21:41 +00:00
BURIED: Fix warnings
This commit is contained in:
parent
6e49bfd0ae
commit
077fe677a5
@ -53,7 +53,7 @@ private:
|
||||
Common::Rect _gallery;
|
||||
Common::Rect _quit;
|
||||
int _curButton;
|
||||
bool _buttonDrawnDown;
|
||||
//bool _buttonDrawnDown;
|
||||
Graphics::Surface *_background;
|
||||
};
|
||||
|
||||
|
@ -375,7 +375,7 @@ private:
|
||||
int _firstStingerFileID;
|
||||
int _lastStingerFileID;
|
||||
int _stingerDelay;
|
||||
int _timerFlagOffset;
|
||||
//int _timerFlagOffset;
|
||||
};
|
||||
|
||||
PlayArthurOffsetTimed::PlayArthurOffsetTimed(BuriedEngine *vm, Window *viewWindow, const LocationStaticData &sceneStaticData, const Location &priorLocation,
|
||||
@ -924,7 +924,7 @@ public:
|
||||
|
||||
private:
|
||||
Common::Rect _canister;
|
||||
};
|
||||
};
|
||||
|
||||
TakeWaterCanister::TakeWaterCanister(BuriedEngine *vm, Window *viewWindow, const LocationStaticData &sceneStaticData, const Location &priorLocation) :
|
||||
BaseOxygenTimer(vm, viewWindow, sceneStaticData, priorLocation) {
|
||||
@ -956,7 +956,7 @@ int TakeWaterCanister::mouseDown(Window *viewWindow, const Common::Point &pointL
|
||||
|
||||
return SC_FALSE;
|
||||
}
|
||||
|
||||
|
||||
int TakeWaterCanister::specifyCursor(Window *viewWindow, const Common::Point &pointLocation) {
|
||||
if (_canister.contains(pointLocation) && ((SceneViewWindow *)viewWindow)->getGlobalFlags().aiICTakenWaterCanister == 0)
|
||||
return kCursorOpenHand;
|
||||
@ -991,7 +991,7 @@ ScienceWingZoomIntoPanel::ScienceWingZoomIntoPanel(BuriedEngine *vm, Window *vie
|
||||
int ScienceWingZoomIntoPanel::mouseUp(Window *viewWindow, const Common::Point &pointLocation) {
|
||||
if (_clickRegion.contains(pointLocation))
|
||||
((SceneViewWindow *)viewWindow)->moveToDestination(_clickDestination);
|
||||
|
||||
|
||||
return SC_FALSE;
|
||||
}
|
||||
|
||||
@ -1239,7 +1239,7 @@ public:
|
||||
ScienceWingMachineRoomDoor(BuriedEngine *vm, Window *viewWindow, const LocationStaticData &sceneStaticData, const Location &priorLocation);
|
||||
int mouseUp(Window *viewWindow, const Common::Point &pointLocation);
|
||||
int specifyCursor(Window *viewWindow, const Common::Point &pointLocation);
|
||||
|
||||
|
||||
private:
|
||||
int _cursorID;
|
||||
Common::Rect _clickRegion;
|
||||
@ -1310,9 +1310,9 @@ public:
|
||||
int specifyCursor(Window *viewWindow, const Common::Point &pointLocation);
|
||||
|
||||
private:
|
||||
uint32 _entryStartTime;
|
||||
//uint32 _entryStartTime;
|
||||
Common::Rect _door;
|
||||
bool _jumped;
|
||||
//bool _jumped;
|
||||
};
|
||||
|
||||
NexusDoor::NexusDoor(BuriedEngine *vm, Window *viewWindow, const LocationStaticData &sceneStaticData, const Location &priorLocation) :
|
||||
@ -1448,7 +1448,7 @@ int NexusPuzzle::gdiPaint(Window *viewWindow) {
|
||||
|
||||
return SC_REPAINT;
|
||||
}
|
||||
|
||||
|
||||
int NexusPuzzle::mouseDown(Window *viewWindow, const Common::Point &pointLocation) {
|
||||
// Puzzle is only in adventure mode
|
||||
if (((SceneViewWindow *)viewWindow)->getGlobalFlags().generalWalkthroughMode == 1)
|
||||
|
@ -55,7 +55,7 @@ TopOfTowerGuardEncounter::TopOfTowerGuardEncounter(BuriedEngine *vm, Window *vie
|
||||
_showGuard = _staticData.location.timeZone != priorLocation.timeZone || _staticData.location.environment != priorLocation.environment;
|
||||
|
||||
if (((GameUIWindow *)viewWindow->getParent())->_inventoryWindow->isItemInInventory(kItemBloodyArrow))
|
||||
_staticData.destForward.destinationScene.depth = 1;
|
||||
_staticData.destForward.destinationScene.depth = 1;
|
||||
}
|
||||
|
||||
int TopOfTowerGuardEncounter::postEnterRoom(Window *viewWindow, const Location &priorLocation) {
|
||||
@ -138,7 +138,7 @@ int TowerStairsGuardEncounter::preExitRoom(Window *viewWindow, const Location &n
|
||||
class WallSlideDeath : public SceneBase {
|
||||
public:
|
||||
WallSlideDeath(BuriedEngine *vm, Window *viewWindow, const LocationStaticData &sceneStaticData, const Location &priorLocation);
|
||||
int postExitRoom(Window *viewWindow, const Location &newLocation);
|
||||
int postExitRoom(Window *viewWindow, const Location &newLocation);
|
||||
};
|
||||
|
||||
WallSlideDeath::WallSlideDeath(BuriedEngine *vm, Window *viewWindow, const LocationStaticData &sceneStaticData, const Location &priorLocation) :
|
||||
@ -171,7 +171,7 @@ public:
|
||||
|
||||
private:
|
||||
bool _timerStarted;
|
||||
uint32 _startTime;
|
||||
//uint32 _startTime;
|
||||
bool _walkthrough;
|
||||
};
|
||||
|
||||
@ -981,7 +981,7 @@ public:
|
||||
|
||||
private:
|
||||
uint32 _startingTime;
|
||||
bool _finished;
|
||||
//bool _finished;
|
||||
};
|
||||
|
||||
KingsChamberGuardEncounter::KingsChamberGuardEncounter(BuriedEngine *vm, Window *viewWindow, const LocationStaticData &sceneStaticData, const Location &priorLocation) :
|
||||
|
Loading…
x
Reference in New Issue
Block a user