WINTERMUTE: Bring consts inside namespace in transform_struct.h

This commit is contained in:
Tobia Tesan 2013-07-18 16:05:23 +02:00
parent d83e4e1268
commit 56aa1297d1

View File

@ -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);