aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/graphics.h
diff options
context:
space:
mode:
authorJohannes Schickel2010-01-25 01:39:44 +0000
committerJohannes Schickel2010-01-25 01:39:44 +0000
commitaed02365ec81e77b3c8aa4f4ecd9a9d3893326f2 (patch)
tree95f119e687a666f65aad5041910c43bdfd4f2929 /engines/mohawk/graphics.h
parentec14cd6e6add76ce4f719edd7ce508d67ebd9f14 (diff)
downloadscummvm-rg350-aed02365ec81e77b3c8aa4f4ecd9a9d3893326f2.tar.gz
scummvm-rg350-aed02365ec81e77b3c8aa4f4ecd9a9d3893326f2.tar.bz2
scummvm-rg350-aed02365ec81e77b3c8aa4f4ecd9a9d3893326f2.zip
Strip trailing spaces/tabs.
svn-id: r47541
Diffstat (limited to 'engines/mohawk/graphics.h')
-rw-r--r--engines/mohawk/graphics.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/engines/mohawk/graphics.h b/engines/mohawk/graphics.h
index be3a951148..16d515ac08 100644
--- a/engines/mohawk/graphics.h
+++ b/engines/mohawk/graphics.h
@@ -91,14 +91,14 @@ class MystGraphics {
public:
MystGraphics(MohawkEngine_Myst*);
~MystGraphics();
-
+
void loadExternalPictureFile(uint16 stack);
void copyImageSectionToScreen(uint16 image, Common::Rect src, Common::Rect dest);
void copyImageToScreen(uint16 image, Common::Rect dest);
void showCursor(void);
void hideCursor(void);
void changeCursor(uint16);
-
+
void drawRect(Common::Rect rect, bool active);
private:
MohawkEngine_Myst *_vm;
@@ -106,7 +106,7 @@ private:
MystPICT *_pictDecoder;
MystJPEG *_jpegDecoder;
Graphics::PixelFormat _pixelFormat;
-
+
struct PictureFile {
uint32 pictureCount;
struct PictureEntry {
@@ -128,7 +128,7 @@ struct SFXERecord {
Common::Rect rect;
uint16 speed;
Common::Array<Common::SeekableReadStream*> frameScripts;
-
+
// Cur frame
uint16 curFrame;
uint32 lastFrameTime;
@@ -138,7 +138,7 @@ class RivenGraphics {
public:
RivenGraphics(MohawkEngine_Riven *vm);
~RivenGraphics();
-
+
void copyImageToScreen(uint16, uint32, uint32, uint32, uint32);
void updateScreen();
bool _updatesEnabled;
@@ -151,11 +151,11 @@ public:
void scheduleWaterEffect(uint16);
void clearWaterEffects();
bool runScheduledWaterEffects();
-
+
// Transitions
void scheduleTransition(uint16 id, Common::Rect rect = Common::Rect(0, 0, 608, 392));
void runScheduledTransition();
-
+
// Inventory
void showInventory();
void hideInventory();
@@ -166,16 +166,16 @@ private:
// Water Effects
Common::Array<SFXERecord> _waterEffects;
-
+
// Transitions
int16 _scheduledTransition;
Common::Rect _transitionRect;
-
+
// Inventory
void clearInventoryArea();
void drawInventoryImage(uint16 id, Common::Rect rect);
bool _inventoryDrawn;
-
+
// Screen Related
Graphics::Surface *_mainScreen;
bool _dirtyScreen;