mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-30 14:14:43 +00:00
WINTERMUTE: Fix a few more int->int32's spotted by fuzzie.
This commit is contained in:
parent
839c16e848
commit
2625f3931a
@ -71,7 +71,7 @@ public:
|
||||
bool getViewportOffset(int *offsetX = nullptr, int *offsetY = nullptr);
|
||||
BaseViewport *_viewport;
|
||||
BaseFader *_fader;
|
||||
int _pfPointsNum;
|
||||
int32 _pfPointsNum;
|
||||
void pfPointsAdd(int x, int y, int distance);
|
||||
void pfPointsStart();
|
||||
bool _initialized;
|
||||
|
@ -602,7 +602,7 @@ int BaseGame::getSequence() {
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
void BaseGame::setOffset(int offsetX, int offsetY) {
|
||||
void BaseGame::setOffset(int32 offsetX, int32 offsetY) {
|
||||
_offsetX = offsetX;
|
||||
_offsetY = offsetY;
|
||||
}
|
||||
@ -2995,7 +2995,7 @@ bool BaseGame::showCursor() {
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool BaseGame::saveGame(int slot, const char *desc, bool quickSave) {
|
||||
bool BaseGame::saveGame(int32 slot, const char *desc, bool quickSave) {
|
||||
return SaveLoad::saveGame(slot, desc, quickSave, _gameRef);
|
||||
}
|
||||
|
||||
@ -3840,7 +3840,7 @@ bool BaseGame::isRightDoubleClick() {
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool BaseGame::isDoubleClick(int buttonIndex) {
|
||||
bool BaseGame::isDoubleClick(int32 buttonIndex) {
|
||||
uint32 maxDoubleCLickTime = 500;
|
||||
int maxMoveX = 4;
|
||||
int maxMoveY = 4;
|
||||
|
@ -358,7 +358,7 @@ bool UITiledImage::saveAsText(BaseDynamicBuffer *buffer, int indent) {
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
void UITiledImage::correctSize(int *width, int *height) {
|
||||
void UITiledImage::correctSize(int32 *width, int32 *height) {
|
||||
int tileWidth = _middleMiddle.right - _middleMiddle.left;
|
||||
int tileHeight = _middleMiddle.bottom - _middleMiddle.top;
|
||||
|
||||
|
@ -38,7 +38,7 @@ class BaseSubFrame;
|
||||
class UITiledImage : public BaseObject {
|
||||
public:
|
||||
DECLARE_PERSISTENT(UITiledImage, BaseObject)
|
||||
void correctSize(int *width, int *height);
|
||||
void correctSize(int32 *width, int32 *height);
|
||||
bool loadFile(const char *filename);
|
||||
bool loadBuffer(byte *buffer, bool complete = true);
|
||||
virtual bool saveAsText(BaseDynamicBuffer *buffer, int indent) override;
|
||||
|
Loading…
Reference in New Issue
Block a user