diff options
author | Travis Howell | 2009-07-06 06:21:59 +0000 |
---|---|---|
committer | Travis Howell | 2009-07-06 06:21:59 +0000 |
commit | dc0f6dce7698ce383ad7ca82f8ae1dcba984a044 (patch) | |
tree | 91bd92cb5835a456efa42361d5b9fd5a8bf619db /engines/agos/agos.h | |
parent | 08df8dc2721808c7019f49d9051e2eebfe8dad9c (diff) | |
download | scummvm-rg350-dc0f6dce7698ce383ad7ca82f8ae1dcba984a044.tar.gz scummvm-rg350-dc0f6dce7698ce383ad7ca82f8ae1dcba984a044.tar.bz2 scummvm-rg350-dc0f6dce7698ce383ad7ca82f8ae1dcba984a044.zip |
Use graphics surfaces for screen buffers, and always use correct pitch when writing to the frameBuffer.
svn-id: r42163
Diffstat (limited to 'engines/agos/agos.h')
-rw-r--r-- | engines/agos/agos.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/engines/agos/agos.h b/engines/agos/agos.h index f6a85d498d..093f7bb039 100644 --- a/engines/agos/agos.h +++ b/engines/agos/agos.h @@ -276,8 +276,6 @@ protected: Subroutine *_subroutineList; - uint16 _dxSurfacePitch; - uint8 _recursionDepth; uint32 _lastVgaTick; @@ -527,8 +525,6 @@ protected: uint8 _window3Flag; uint8 _window4Flag; uint8 _window6Flag; - byte *_window4BackScn; - byte *_window6BackScn; uint16 _moveXMin, _moveYMin; uint16 _moveXMax, _moveYMax; @@ -566,9 +562,11 @@ protected: byte _saveLoadType, _saveLoadSlot; char _saveLoadName[108]; - byte *_backGroundBuf; - byte *_backBuf; - byte *_scaleBuf; + Graphics::Surface *_backGroundBuf; + Graphics::Surface *_backBuf; + Graphics::Surface *_scaleBuf; + Graphics::Surface *_window4BackScn; + Graphics::Surface *_window6BackScn; Common::RandomSource _rnd; |