Skip to content

Commit

Permalink
WINTERMUTE: Change more int's to int32s.
Browse files Browse the repository at this point in the history
  • Loading branch information
somaen committed Apr 19, 2013
1 parent 9184bb5 commit c5bd3ec
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 24 deletions.
12 changes: 6 additions & 6 deletions engines/wintermute/ad/ad_scene.h
Expand Up @@ -98,14 +98,14 @@ class AdScene : public BaseObject {
void scrollTo(int offsetX, int offsetY);
virtual bool update() override;
bool _autoScroll;
int _targetOffsetTop;
int _targetOffsetLeft;
int32 _targetOffsetTop;
int32 _targetOffsetLeft;

int _scrollPixelsV;
int32 _scrollPixelsV;
uint32 _scrollTimeV;
uint32 _lastTimeV;

int _scrollPixelsH;
int32 _scrollPixelsH;
uint32 _scrollTimeH;
uint32 _lastTimeH;

Expand Down Expand Up @@ -171,8 +171,8 @@ class AdScene : public BaseObject {
BaseObject *_pfRequester;
BaseArray<AdPathPoint *> _pfPath;

int _offsetTop;
int _offsetLeft;
int32 _offsetTop;
int32 _offsetLeft;

};

Expand Down
2 changes: 1 addition & 1 deletion engines/wintermute/base/base_sprite.h
Expand Up @@ -56,7 +56,7 @@ class BaseSprite: public BaseScriptHolder {
bool loadFile(const Common::String &filename, int lifeTime = -1, TSpriteCacheType cacheType = CACHE_ALL);
bool draw(int x, int y, BaseObject *Register = nullptr, float zoomX = 100, float zoomY = 100, uint32 alpha = 0xFFFFFFFF);
bool _looping;
int _currentFrame;
int32 _currentFrame;
bool addFrame(const char *filename, uint32 delay = 0, int hotspotX = 0, int hotspotY = 0, Rect32 *rect = nullptr);
BaseSprite(BaseGame *inGame, BaseObject *owner = nullptr);
virtual ~BaseSprite();
Expand Down
4 changes: 2 additions & 2 deletions engines/wintermute/base/base_sub_frame.h
Expand Up @@ -56,8 +56,8 @@ class BaseSubFrame : public BaseScriptable {
bool getBoundingRect(Rect32 *rect, int x, int y, float scaleX = 100, float scaleY = 100);
const char* getSurfaceFilename();

int _hotspotX;
int _hotspotY;
int32 _hotspotX;
int32 _hotspotY;
uint32 _alpha;
// These two setters and getters are rather usefull, as they allow _rect to be lazily defined
// Thus we don't need to load the actual graphics before the rect is actually needed.
Expand Down
30 changes: 15 additions & 15 deletions engines/wintermute/base/particles/part_emitter.h
Expand Up @@ -94,31 +94,31 @@ class PartEmitter : public BaseObject {
float _scale2;
bool _scaleZBased;

int _maxParticles;
int32 _maxParticles;

int _lifeTime1;
int _lifeTime2;
int32 _lifeTime1;
int32 _lifeTime2;
bool _lifeTimeZBased;

int _genInterval;
int _genAmount;
int32 _genInterval;
int32 _genAmount;

bool _running;
int _overheadTime;
int32 _overheadTime;

int _maxBatches;
int _batchesGenerated;
int32 _maxBatches;
int32 _batchesGenerated;

Rect32 _border;
int _borderThicknessLeft;
int _borderThicknessRight;
int _borderThicknessTop;
int _borderThicknessBottom;
int32 _borderThicknessLeft;
int32 _borderThicknessRight;
int32 _borderThicknessTop;
int32 _borderThicknessBottom;

int _fadeInTime;
int32 _fadeInTime;

int _alpha1;
int _alpha2;
int32 _alpha1;
int32 _alpha2;
bool _alphaTimeBased;

bool _useRegion;
Expand Down

0 comments on commit c5bd3ec

Please sign in to comment.