aboutsummaryrefslogtreecommitdiff
path: root/sword2/driver/d_draw.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-12-28 15:08:12 +0000
committerTorbjörn Andersson2003-12-28 15:08:12 +0000
commit6ae8218d537a2b627a0abad597d5084c796d1de8 (patch)
tree13941f5a83d4594739f665b364cb4d05154be6fc /sword2/driver/d_draw.h
parent302c9f72fcf76cde76a3ee467b0fe5771a5faa3f (diff)
downloadscummvm-rg350-6ae8218d537a2b627a0abad597d5084c796d1de8.tar.gz
scummvm-rg350-6ae8218d537a2b627a0abad597d5084c796d1de8.tar.bz2
scummvm-rg350-6ae8218d537a2b627a0abad597d5084c796d1de8.zip
Hopefully the last big renaming. Now the datatypes have names like
"StandardHeader" instead of "_standardHeader". svn-id: r11997
Diffstat (limited to 'sword2/driver/d_draw.h')
-rw-r--r--sword2/driver/d_draw.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/sword2/driver/d_draw.h b/sword2/driver/d_draw.h
index 387ffdb355..edcd220ac8 100644
--- a/sword2/driver/d_draw.h
+++ b/sword2/driver/d_draw.h
@@ -45,7 +45,7 @@ namespace Sword2 {
#pragma START_PACK_STRUCTS
#endif
-struct _mouseAnim {
+struct MouseAnim {
uint8 runTimeComp; // type of runtime compression used for the
// frame data
uint8 noAnimFrames; // number of frames in the anim
@@ -64,19 +64,19 @@ private:
Sword2Engine *_vm;
uint8 *_textSurface;
- void openTextObject(_movieTextObject *obj);
- void closeTextObject(_movieTextObject *obj);
- void drawTextObject(_movieTextObject *obj);
+ void openTextObject(MovieTextObject *obj);
+ void closeTextObject(MovieTextObject *obj);
+ void drawTextObject(MovieTextObject *obj);
public:
MoviePlayer(Sword2Engine *vm) : _vm(vm), _textSurface(NULL) {}
- int32 play(char *filename, _movieTextObject *text[], uint8 *musicOut);
+ int32 play(char *filename, MovieTextObject *text[], uint8 *musicOut);
};
-typedef struct {
+struct BlockSurface {
byte data[BLOCKWIDTH * BLOCKHEIGHT];
bool transparent;
-} BlockSurface;
+};
class Graphics {
friend class MoviePlayer;
@@ -109,8 +109,8 @@ private:
uint8 _mouseFrame;
uint8 *_mouseSprite;
- struct _mouseAnim *_mouseAnim;
- struct _mouseAnim *_luggageAnim;
+ struct MouseAnim *_mouseAnim;
+ struct MouseAnim *_luggageAnim;
int32 *_mouseOffsets;
int32 *_luggageOffset;
@@ -222,19 +222,19 @@ public:
void initialiseRenderCycle(void);
void startRenderCycle(void);
bool endRenderCycle(void);
- void renderParallax(_parallax *p, int16 layer);
+ void renderParallax(Parallax *p, int16 layer);
void setLocationMetrics(uint16 w, uint16 h);
- int32 initialiseBackgroundLayer(_parallax *p);
+ int32 initialiseBackgroundLayer(Parallax *p);
void closeBackgroundLayer(void);
void plotPoint(uint16 x, uint16 y, uint8 colour);
void drawLine(int16 x1, int16 y1, int16 x2, int16 y2, uint8 colour);
- int32 createSurface(_spriteInfo *s, uint8 **surface);
- void drawSurface(_spriteInfo *s, uint8 *surface, Common::Rect *clipRect = NULL);
+ int32 createSurface(SpriteInfo *s, uint8 **surface);
+ void drawSurface(SpriteInfo *s, uint8 *surface, Common::Rect *clipRect = NULL);
void deleteSurface(uint8 *surface);
- int32 drawSprite(_spriteInfo *s);
- int32 openLightMask(_spriteInfo *s);
+ int32 drawSprite(SpriteInfo *s);
+ int32 openLightMask(SpriteInfo *s);
int32 closeLightMask(void);
};