aboutsummaryrefslogtreecommitdiff
path: root/engines/made/screen.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2008-04-20 15:36:40 +0000
committerTorbjörn Andersson2008-04-20 15:36:40 +0000
commit7e07dd5ec720905e09c5aac37a80941c6053e132 (patch)
treec547330503a3d8de2b15c596a406fd11485fd0ae /engines/made/screen.h
parent84a7cd33876eabfcc1fedd0b126f77039647edaf (diff)
downloadscummvm-rg350-7e07dd5ec720905e09c5aac37a80941c6053e132.tar.gz
scummvm-rg350-7e07dd5ec720905e09c5aac37a80941c6053e132.tar.bz2
scummvm-rg350-7e07dd5ec720905e09c5aac37a80941c6053e132.zip
Changed spaces to tabs.
svn-id: r31610
Diffstat (limited to 'engines/made/screen.h')
-rw-r--r--engines/made/screen.h82
1 files changed, 41 insertions, 41 deletions
diff --git a/engines/made/screen.h b/engines/made/screen.h
index 9197663383..dfaa34d7c6 100644
--- a/engines/made/screen.h
+++ b/engines/made/screen.h
@@ -55,66 +55,66 @@ class MadeEngine;
class Screen {
public:
- Screen(MadeEngine *vm);
- ~Screen();
+ Screen(MadeEngine *vm);
+ ~Screen();
- void clearScreen();
-
- void drawSurface(Graphics::Surface *source, int x, int y);
- void setPalette(byte *palette, int start, int count);
+ void clearScreen();
+
+ void drawSurface(Graphics::Surface *source, int x, int y);
+ void setPalette(byte *palette, int start, int count);
- uint16 updateChannel(uint16 channelIndex);
- void deleteChannel(uint16 channelIndex);
- int16 getChannelType(uint16 channelIndex);
+ uint16 updateChannel(uint16 channelIndex);
+ void deleteChannel(uint16 channelIndex);
+ int16 getChannelType(uint16 channelIndex);
int16 getChannelState(uint16 channelIndex);
void setChannelState(uint16 channelIndex, int16 state);
- uint16 setChannelLocation(uint16 channelIndex, int16 x, int16 y);
- uint16 setChannelContent(uint16 channelIndex, uint16 index);
- void drawSpriteChannels(const ClipInfo &clipInfo, int16 includeStateMask, int16 excludeStateMask);
- void updateSprites();
+ uint16 setChannelLocation(uint16 channelIndex, int16 x, int16 y);
+ uint16 setChannelContent(uint16 channelIndex, uint16 index);
+ void drawSpriteChannels(const ClipInfo &clipInfo, int16 includeStateMask, int16 excludeStateMask);
+ void updateSprites();
void clearChannels();
- uint16 drawFlex(uint16 flexIndex, int16 x, int16 y, uint16 flag1, uint16 flag2, const ClipInfo &clipInfo);
+ uint16 drawFlex(uint16 flexIndex, int16 x, int16 y, uint16 flag1, uint16 flag2, const ClipInfo &clipInfo);
void drawAnimFrame(uint16 animIndex, int16 x, int16 y, int16 frameNum, uint16 flag1, uint16 flag2, const ClipInfo &clipInfo);
- uint16 drawPic(uint16 index, int16 x, int16 y, uint16 flag1, uint16 flag2);
+ uint16 drawPic(uint16 index, int16 x, int16 y, uint16 flag1, uint16 flag2);
uint16 drawAnimPic(uint16 animIndex, int16 x, int16 y, int16 frameNum, uint16 flag1, uint16 flag2);
uint16 addSprite(uint16 spriteIndex);
- uint16 drawSprite(uint16 flexIndex, int16 x, int16 y);
- uint16 placeSprite(uint16 channelIndex, uint16 flexIndex, int16 x, int16 y);
+ uint16 drawSprite(uint16 flexIndex, int16 x, int16 y);
+ uint16 placeSprite(uint16 channelIndex, uint16 flexIndex, int16 x, int16 y);
- uint16 placeAnim(uint16 channelIndex, uint16 animIndex, int16 x, int16 y, int16 frameNum);
+ uint16 placeAnim(uint16 channelIndex, uint16 animIndex, int16 x, int16 y, int16 frameNum);
int16 setAnimFrame(uint16 channelIndex, int16 frameNum);
- int16 getAnimFrame(uint16 channelIndex);
- // TODO: Move to script function
+ int16 getAnimFrame(uint16 channelIndex);
+ // TODO: Move to script function
int16 getAnimFrameCount(uint16 animIndex);
- uint16 placeText(uint16 channelIndex, uint16 textObjectIndex, int16 x, int16 y, uint16 fontNum, int16 textColor, int16 outlineColor);
-
- void show();
-
- void setClip(uint16 clip);
- void setExclude(uint16 exclude);
- void setGround(uint16 ground);
+ uint16 placeText(uint16 channelIndex, uint16 textObjectIndex, int16 x, int16 y, uint16 fontNum, int16 textColor, int16 outlineColor);
+
+ void show();
+
+ void setClip(uint16 clip);
+ void setExclude(uint16 exclude);
+ void setGround(uint16 ground);
- byte _palette[256 * 4];
+ byte _palette[256 * 4];
protected:
- MadeEngine *_vm;
-
- bool _screenLock;
-
- uint16 _clip, _exclude, _ground;
-
- Graphics::Surface *_screen1, *_screen2;
- ClipInfo _clipArea, _clipInfo1, _clipInfo2;
-
- ClipInfo _excludeClipArea[4];
- bool _excludeClipAreaEnabled[4];
-
- uint16 _channelsUsedCount;
+ MadeEngine *_vm;
+
+ bool _screenLock;
+
+ uint16 _clip, _exclude, _ground;
+
+ Graphics::Surface *_screen1, *_screen2;
+ ClipInfo _clipArea, _clipInfo1, _clipInfo2;
+
+ ClipInfo _excludeClipArea[4];
+ bool _excludeClipAreaEnabled[4];
+
+ uint16 _channelsUsedCount;
SpriteChannel _channels[100];
};