From 03965ba855c510eecb0dfd653aef0cc9b67541dc Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sun, 29 Sep 2013 00:45:43 +0100 Subject: SWORD25: Even more fixes for Amiga OS 4 compilation. --- engines/sword25/gfx/text.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sword25/gfx/text.h') diff --git a/engines/sword25/gfx/text.h b/engines/sword25/gfx/text.h index 94e7a30865..e82c24d93c 100644 --- a/engines/sword25/gfx/text.h +++ b/engines/sword25/gfx/text.h @@ -100,7 +100,7 @@ public: @brief Setzt die Farbe des Textes. @param Color eine 24-Bit RGB Farbe, die die Farbe des Textes festlegt. */ - void setColor(uint modulationColor); + void setColor(uint32 modulationColor); /** @brief Gibt den Alphawert des Textes zurück. @@ -142,7 +142,7 @@ private: Text(RenderObjectPtr parentPtr); Text(InputPersistenceBlock &reader, RenderObjectPtr parentPtr, uint handle); - uint _modulationColor; + uint32 _modulationColor; Common::String _font; Common::String _text; bool _autoWrap; -- cgit v1.2.3 From 7e62442376be966369008bfb8c4f1b66786177e7 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sun, 29 Sep 2013 02:33:02 +0100 Subject: SWORD25: And even more fixes for Amiga OS 4 compilation. --- engines/sword25/gfx/text.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/sword25/gfx/text.h') diff --git a/engines/sword25/gfx/text.h b/engines/sword25/gfx/text.h index e82c24d93c..873eb33380 100644 --- a/engines/sword25/gfx/text.h +++ b/engines/sword25/gfx/text.h @@ -80,7 +80,7 @@ public: @remark Dieses Attribut wird mit dem Wert 300 initialisiert. @remark Eine automatische Formatierung wird nur vorgenommen, wenn diese durch einen Aufruf von SetAutoWrap() aktiviert wurde. */ - void setAutoWrapThreshold(uint autoWrapThreshold); + void setAutoWrapThreshold(uint32 autoWrapThreshold); /** @brief Gibt den dargestellten Text zurück. @@ -128,7 +128,7 @@ public: /** @brief Gibt die Längengrenze des Textes in Pixeln zurück, ab der eine automatische Formatierung vorgenommen wird. */ - uint getAutoWrapThreshold() const { + uint32 getAutoWrapThreshold() const { return _autoWrapThreshold; } @@ -146,7 +146,7 @@ private: Common::String _font; Common::String _text; bool _autoWrap; - uint _autoWrapThreshold; + uint32 _autoWrapThreshold; struct Line { Common::Rect bbox; -- cgit v1.2.3