aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/graphics.h
diff options
context:
space:
mode:
authorStrangerke2013-01-20 11:28:39 +0100
committerStrangerke2013-01-20 11:28:39 +0100
commit3878138d8f290fc42fa45b80f9a9b03e824d7584 (patch)
treef14de513b2ae81ab6d6139b695945cfb9451182a /engines/hopkins/graphics.h
parent17d57a367edc70f2cc2a48efa308179bbdd12ce1 (diff)
downloadscummvm-rg350-3878138d8f290fc42fa45b80f9a9b03e824d7584.tar.gz
scummvm-rg350-3878138d8f290fc42fa45b80f9a9b03e824d7584.tar.bz2
scummvm-rg350-3878138d8f290fc42fa45b80f9a9b03e824d7584.zip
HOPKINS: Some renaming in GraphicsManager and HopkinsEngine
Diffstat (limited to 'engines/hopkins/graphics.h')
-rw-r--r--engines/hopkins/graphics.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/engines/hopkins/graphics.h b/engines/hopkins/graphics.h
index 264a3fad80..2c601492e5 100644
--- a/engines/hopkins/graphics.h
+++ b/engines/hopkins/graphics.h
@@ -54,9 +54,9 @@ private:
void loadScreen(const Common::String &file);
public:
int _lockCounter;
- bool SDL_MODEYES;
- int XSCREEN;
- int YSCREEN;
+ bool _initGraphicsFl;
+ int _screenWidth;
+ int _screenHeight;
int WinScan;
byte SD_PIXELS[PALETTE_SIZE * 2];
byte *PAL_PIXELS;
@@ -81,15 +81,14 @@ public:
bool _skipVideoLockFl;
int _scrollStatus;
Common::Rect dstrect[50];
- int min_x, min_y;
- int max_x, max_y;
- int clip_x, clip_y;
+ int _minX, _minY;
+ int _maxX, _maxY;
+ int _posXClipped, _posYClipped;
int clip_x1, clip_y1;
- bool clip_flag;
+ bool _clipFl;
int Red_x, Red_y;
int Red;
int _width;
- int Compteur_y;
int spec_largeur;
bool _noFadingFl;
public:
@@ -107,8 +106,8 @@ public:
void scrollScreen(int amount);
void Trans_bloc(byte *destP, const byte *srcP, int count, int minThreshold, int maxThreshold);
void Trans_bloc2(byte *surface, byte *col, int size);
- void A_PCX640_480(byte *surface, const Common::String &file, byte *palette, bool typeFlag);
- void A_PCX320(byte *surface, const Common::String &file, byte *palette);
+ void loadPCX640(byte *surface, const Common::String &file, byte *palette, bool typeFlag);
+ void loadPCX320(byte *surface, const Common::String &file, byte *palette);
void clearPalette();
void SCANLINE(int pitch);
void m_scroll16(const byte *surface, int xs, int ys, int width, int height, int destX, int destY);