[Scummvm-git-logs] scummvm master -> 3c8bcd0975c26321a0726f350bb7f2e3cb79014d

lephilousophe noreply at scummvm.org
Mon Jul 4 20:24:00 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
3c8bcd0975 WINTERMUTE: Fix other int vs int32 discrepancies


Commit: 3c8bcd0975c26321a0726f350bb7f2e3cb79014d
    https://github.com/scummvm/scummvm/commit/3c8bcd0975c26321a0726f350bb7f2e3cb79014d
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2022-07-04T22:23:39+02:00

Commit Message:
WINTERMUTE: Fix other int vs int32 discrepancies

Changed paths:
    engines/wintermute/ad/ad_scene.h
    engines/wintermute/base/base_game.h


diff --git a/engines/wintermute/ad/ad_scene.h b/engines/wintermute/ad/ad_scene.h
index 00ac465356e..a0e82ea7a3f 100644
--- a/engines/wintermute/ad/ad_scene.h
+++ b/engines/wintermute/ad/ad_scene.h
@@ -76,8 +76,8 @@ public:
 	float _nearPlane;
 	float _farPlane;
 	float _fov;
-	int _editorResolutionWidth;
-	int _editorResolutionHeight;
+	int32 _editorResolutionWidth;
+	int32 _editorResolutionHeight;
 #endif
 	bool getRegionsAt(int x, int y, AdRegion **regionList, int numRegions);
 	bool handleItemAssociations(const char *itemName, bool show);
diff --git a/engines/wintermute/base/base_game.h b/engines/wintermute/base/base_game.h
index 648b257ed66..3913c8f3736 100644
--- a/engines/wintermute/base/base_game.h
+++ b/engines/wintermute/base/base_game.h
@@ -133,8 +133,8 @@ public:
 	bool setMaxShadowType(TShadowType maxShadowType);
 	virtual TShadowType getMaxShadowType(BaseObject *object = nullptr);
 
-	int _editorResolutionWidth;
-	int _editorResolutionHeight;
+	int32 _editorResolutionWidth;
+	int32 _editorResolutionHeight;
 #endif
 
 	uint32 getSaveThumbWidth() const { return _thumbnailWidth; }




More information about the Scummvm-git-logs mailing list