diff options
author | Tobia Tesan | 2013-07-18 16:05:23 +0200 |
---|---|---|
committer | Tobia Tesan | 2013-08-01 02:17:29 +0200 |
commit | 56aa1297d13304666aa91cc57a5da88f3aa20b5f (patch) | |
tree | 1512b8520175d30365c42093ce7eec3affa013dc | |
parent | d83e4e1268e7422abd6f00463065f6e12fea15f7 (diff) | |
download | scummvm-rg350-56aa1297d13304666aa91cc57a5da88f3aa20b5f.tar.gz scummvm-rg350-56aa1297d13304666aa91cc57a5da88f3aa20b5f.tar.bz2 scummvm-rg350-56aa1297d13304666aa91cc57a5da88f3aa20b5f.zip |
WINTERMUTE: Bring consts inside namespace in transform_struct.h
-rw-r--r-- | engines/wintermute/graphics/transform_struct.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/engines/wintermute/graphics/transform_struct.h b/engines/wintermute/graphics/transform_struct.h index 0ca7e9167d..acde410e89 100644 --- a/engines/wintermute/graphics/transform_struct.h +++ b/engines/wintermute/graphics/transform_struct.h @@ -26,6 +26,13 @@ #include "engines/wintermute/math/rect32.h" #include "engines/wintermute/dctypes.h" +namespace Wintermute { +/** + * Contains all the required information that define a transform. + * Same source sprite + same TransformStruct = Same resulting sprite. + * Has a number of overloaded constructors to accomodate various argument lists. + */ + const uint32 kDefaultZoomX = 100; const uint32 kDefaultZoomY = 100; const uint32 kDefaultRgbaMod = 0xFFFFFFFF; @@ -35,12 +42,6 @@ const int32 kDefaultOffsetX = 0; const int32 kDefaultOffsetY = 0; const int32 kDefaultAngle = 0; -namespace Wintermute { -/** - * Contains all the required information that define a transform. - * Same source sprite + same TransformStruct = Same resulting sprite. - * Has a number of overloaded constructors to accomodate various argument lists. - */ struct TransformStruct { private: void init(Point32 zoom, uint32 angle, Point32 hotspot, bool alphaDisable, TSpriteBlendMode blendMode, uint32 alpha, bool mirrorX, bool mirrorY, Point32 offset); |