diff options
author | Jonathan Gray | 2004-08-02 11:27:50 +0000 |
---|---|---|
committer | Jonathan Gray | 2004-08-02 11:27:50 +0000 |
commit | 7846a6ed610a59440337d2f2be33c34faf766e34 (patch) | |
tree | 5a823691187c39a1d54b0b21aa95b7f28b93a9ac /saga/gfx.h | |
parent | faaea905002c1c2ca4d243ae259b69de5a3ef4d9 (diff) | |
download | scummvm-rg350-7846a6ed610a59440337d2f2be33c34faf766e34.tar.gz scummvm-rg350-7846a6ed610a59440337d2f2be33c34faf766e34.tar.bz2 scummvm-rg350-7846a6ed610a59440337d2f2be33c34faf766e34.zip |
move static vars to private members
svn-id: r14434
Diffstat (limited to 'saga/gfx.h')
-rw-r--r-- | saga/gfx.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/saga/gfx.h b/saga/gfx.h index 489c9e92de..10330dbb09 100644 --- a/saga/gfx.h +++ b/saga/gfx.h @@ -81,15 +81,6 @@ struct R_SURFACE { #define R_GREEN_WEIGHT 0.587 #define R_BLUE_WEIGHT 0.114 -struct R_GFX_MODULE { - int init; - - R_SURFACE r_back_buf; - - int white_index; - int black_index; -}; - class Gfx { public: int simpleBlit(R_SURFACE *dst_s, R_SURFACE *src_s); @@ -115,6 +106,12 @@ public: int blackToPal(R_SURFACE *surface, PALENTRY *src_pal, double percent); private: void setCursor(int best_white); + int _init; + R_SURFACE _back_buf; + int _white_index; + int _black_index; + byte _cur_pal[R_PAL_ENTRIES * 4]; + OSystem *_system; }; } // End of namespace Saga |