diff options
author | Eugene Sandulenko | 2006-01-04 01:48:15 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2006-01-04 01:48:15 +0000 |
commit | fbad775cf0c148694efb37455a65e26787bdd812 (patch) | |
tree | 2f41c468cec221de2102ce9b194d72abaebd857f /gob/draw.h | |
parent | 71a386618ac9239a64381821824e1a2665fdda4b (diff) | |
download | scummvm-rg350-fbad775cf0c148694efb37455a65e26787bdd812.tar.gz scummvm-rg350-fbad775cf0c148694efb37455a65e26787bdd812.tar.bz2 scummvm-rg350-fbad775cf0c148694efb37455a65e26787bdd812.zip |
Last chunk of underscore maddness for today
svn-id: r19904
Diffstat (limited to 'gob/draw.h')
-rw-r--r-- | gob/draw.h | 164 |
1 files changed, 82 insertions, 82 deletions
diff --git a/gob/draw.h b/gob/draw.h index 2084aa1bf5..ac0c68542f 100644 --- a/gob/draw.h +++ b/gob/draw.h @@ -32,92 +32,92 @@ namespace Gob { #define RENDERFLAG_USEDELTAS 0x10 class Draw { - public: - typedef struct FontToSprite { - int8 sprite; - int8 base; - int8 width; - int8 height; - FontToSprite() : sprite(0), base(0), width(0), height() {} - } FontToSprite; - - int16 fontIndex; - int16 spriteLeft; - int16 spriteTop; - int16 spriteRight; - int16 spriteBottom; - int16 destSpriteX; - int16 destSpriteY; - int16 backColor; - int16 frontColor; - char letterToPrint; - FontToSprite fontToSprite[4]; - int16 destSurface; - int16 sourceSurface; - int16 renderFlags; - int16 backDeltaX; - int16 backDeltaY; - Video::FontDesc *fonts[4]; - char *textToPrint; - int16 transparency; - Video::SurfaceDesc *spritesArray[50]; - - int16 invalidatedCount; - int16 invalidatedTops[30]; - int16 invalidatedLefts[30]; - int16 invalidatedRights[30]; - int16 invalidatedBottoms[30]; - - int8 noInvalidated; -// int8 doFullFlip; // Never used?!? - int8 paletteCleared; - - int16 gcursorIndex; - int16 transparentCursor; - uint32 cursorTimeKey; - - Video::SurfaceDesc *backSurface; - Video::SurfaceDesc *frontSurface; - - int16 unusedPalette1[18]; - int16 unusedPalette2[16]; - Video::Color vgaPalette[256]; - Video::Color vgaSmallPalette[16]; - - int16 cursorX; - int16 cursorY; - int16 cursorWidth; - int16 cursorHeight; - - int16 cursorXDeltaVar; - int16 cursorYDeltaVar; - - Video::SurfaceDesc *cursorSprites; - Video::SurfaceDesc *cursorBack; - int16 cursorAnim; - int8 cursorAnimLow[40]; - int8 cursorAnimHigh[40]; - int8 cursorAnimDelays[40]; - int8 applyPal; - - int16 palLoadData1[4]; - int16 palLoadData2[4]; +public: + typedef struct FontToSprite { + int8 sprite; + int8 base; + int8 width; + int8 height; + FontToSprite() : sprite(0), base(0), width(0), height() {} + } FontToSprite; + + int16 fontIndex; + int16 spriteLeft; + int16 spriteTop; + int16 spriteRight; + int16 spriteBottom; + int16 destSpriteX; + int16 destSpriteY; + int16 backColor; + int16 frontColor; + char letterToPrint; + FontToSprite fontToSprite[4]; + int16 destSurface; + int16 sourceSurface; + int16 renderFlags; + int16 backDeltaX; + int16 backDeltaY; + Video::FontDesc *fonts[4]; + char *textToPrint; + int16 transparency; + Video::SurfaceDesc *spritesArray[50]; + + int16 invalidatedCount; + int16 invalidatedTops[30]; + int16 invalidatedLefts[30]; + int16 invalidatedRights[30]; + int16 invalidatedBottoms[30]; + + int8 noInvalidated; +// int8 doFullFlip; // Never used?!? + int8 paletteCleared; + + int16 gcursorIndex; + int16 transparentCursor; + uint32 cursorTimeKey; + + Video::SurfaceDesc *backSurface; + Video::SurfaceDesc *frontSurface; + + int16 unusedPalette1[18]; + int16 unusedPalette2[16]; + Video::Color vgaPalette[256]; + Video::Color vgaSmallPalette[16]; + + int16 cursorX; + int16 cursorY; + int16 cursorWidth; + int16 cursorHeight; + + int16 cursorXDeltaVar; + int16 cursorYDeltaVar; + + Video::SurfaceDesc *cursorSprites; + Video::SurfaceDesc *cursorBack; + int16 cursorAnim; + int8 cursorAnimLow[40]; + int8 cursorAnimHigh[40]; + int8 cursorAnimDelays[40]; + int8 applyPal; + + int16 palLoadData1[4]; + int16 palLoadData2[4]; - void invalidateRect(int16 left, int16 top, int16 right, int16 bottom); - void blitInvalidated(void); - void setPalette(void); - void clearPalette(void); - void blitCursor(void); + void invalidateRect(int16 left, int16 top, int16 right, int16 bottom); + void blitInvalidated(void); + void setPalette(void); + void clearPalette(void); + void blitCursor(void); - void spriteOperation(int16 operation); - void animateCursor(int16 cursor); - void interPalLoad(void); - void printText(void); + void spriteOperation(int16 operation); + void animateCursor(int16 cursor); + void interPalLoad(void); + void printText(void); - Draw(GobEngine *vm); + Draw(GobEngine *vm); - protected: - GobEngine *_vm; +protected: + GobEngine *_vm; }; // Draw operations |