mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-01 15:09:47 +00:00
WINTERMUTE: Bring consts inside namespace in transform_struct.h
This commit is contained in:
parent
d83e4e1268
commit
56aa1297d1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user