aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/backdrop.h
diff options
context:
space:
mode:
authoryinsimei2017-07-10 21:44:14 +0200
committerEugene Sandulenko2017-07-13 18:27:45 +0200
commitf8e1fe006433124f7cd82691d37011127297ec42 (patch)
tree851e6982a5bd16c2b78c5d881a56bfb0ccc17b6d /engines/sludge/backdrop.h
parentcc727710b45a2d3d3c51139b76976c352d9e8449 (diff)
downloadscummvm-rg350-f8e1fe006433124f7cd82691d37011127297ec42.tar.gz
scummvm-rg350-f8e1fe006433124f7cd82691d37011127297ec42.tar.bz2
scummvm-rg350-f8e1fe006433124f7cd82691d37011127297ec42.zip
SLUDGE: replace int types to scummvm defined ones
Diffstat (limited to 'engines/sludge/backdrop.h')
-rw-r--r--engines/sludge/backdrop.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/sludge/backdrop.h b/engines/sludge/backdrop.h
index 216b656678..dbab0dfa8d 100644
--- a/engines/sludge/backdrop.h
+++ b/engines/sludge/backdrop.h
@@ -35,14 +35,14 @@ enum {
LIGHTMAPMODE_NUM
};
-extern unsigned int winWidth, winHeight, sceneWidth, sceneHeight;
+extern uint winWidth, winHeight, sceneWidth, sceneHeight;
extern int lightMapMode;
struct parallaxLayer {
Graphics::Surface surface;
int speedX, speedY;
bool wrapS, wrapT;
- unsigned short fileNum, fractionX, fractionY;
+ uint16 fileNum, fractionX, fractionY;
int cameraX, cameraY;
parallaxLayer *next;
parallaxLayer *prev;
@@ -63,10 +63,10 @@ void saveCoreHSI(Common::WriteStream *stream, GLuint texture, int w, int h);
#endif
bool loadHSI(Common::SeekableReadStream *stream, int, int, bool);
bool mixHSI(Common::SeekableReadStream *stream, int x = 0, int y = 0);
-void drawHorizontalLine(unsigned int, unsigned int, unsigned int);
-void drawVerticalLine(unsigned int, unsigned int, unsigned int);
+void drawHorizontalLine(uint, uint, uint);
+void drawVerticalLine(uint, uint, uint);
void hardScroll(int distance);
-bool getRGBIntoStack(unsigned int x, unsigned int y, stackHandler *sH);
+bool getRGBIntoStack(uint x, uint y, stackHandler *sH);
// Also the light map stuff
@@ -78,7 +78,7 @@ extern Graphics::Surface lightMap;
// And background parallax scrolling
void killParallax();
-bool loadParallax(unsigned short v, unsigned short fracX, unsigned short fracY);
+bool loadParallax(uint16 v, uint16 fracX, uint16 fracY);
void saveParallaxRecursive(parallaxLayer *me, Common::WriteStream *fp);
void reloadParallaxTextures();