diff options
author | Einar Johan Trøan Sømåen | 2013-04-20 18:11:47 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-04-20 18:11:47 +0200 |
commit | 51e17d9f86d9063dd98924046c78ad23946b4ae9 (patch) | |
tree | eadc51a3321f5ec7d1421201d12066691d647edb /engines/wintermute/ad/ad_scene.h | |
parent | 2625f3931a946180de617fa0e04b8b4d3f30cb2d (diff) | |
download | scummvm-rg350-51e17d9f86d9063dd98924046c78ad23946b4ae9.tar.gz scummvm-rg350-51e17d9f86d9063dd98924046c78ad23946b4ae9.tar.bz2 scummvm-rg350-51e17d9f86d9063dd98924046c78ad23946b4ae9.zip |
WINTERMUTE: Further reduce the amount of int->int32-confusion.
Diffstat (limited to 'engines/wintermute/ad/ad_scene.h')
-rw-r--r-- | engines/wintermute/ad/ad_scene.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/wintermute/ad/ad_scene.h b/engines/wintermute/ad/ad_scene.h index d418f4e58f..cd144b77ef 100644 --- a/engines/wintermute/ad/ad_scene.h +++ b/engines/wintermute/ad/ad_scene.h @@ -67,16 +67,16 @@ public: bool pointInViewport(int x, int y); int getOffsetTop(); int getOffsetLeft(); - bool getViewportSize(int *width = nullptr, int *height = nullptr); - bool getViewportOffset(int *offsetX = nullptr, int *offsetY = nullptr); + bool getViewportSize(int32 *width = nullptr, int32 *height = nullptr); + bool getViewportOffset(int32 *offsetX = nullptr, int32 *offsetY = nullptr); BaseViewport *_viewport; BaseFader *_fader; int32 _pfPointsNum; void pfPointsAdd(int x, int y, int distance); void pfPointsStart(); bool _initialized; - bool correctTargetPoint(int startX, int startY, int *x, int *y, bool checkFreeObjects = false, BaseObject *requester = nullptr); - bool correctTargetPoint2(int startX, int startY, int *targetX, int *targetY, bool checkFreeObjects, BaseObject *requester); + bool correctTargetPoint(int32 startX, int32 startY, int32 *x, int32 *y, bool checkFreeObjects = false, BaseObject *requester = nullptr); + bool correctTargetPoint2(int32 startX, int32 startY, int32 *targetX, int32 *targetY, bool checkFreeObjects, BaseObject *requester); DECLARE_PERSISTENT(AdScene, BaseObject) bool displayRegionContent(AdRegion *region = nullptr, bool display3DOnly = false); bool displayRegionContentOld(AdRegion *region = nullptr); |