diff options
author | Gregory Montoir | 2007-05-19 21:12:10 +0000 |
---|---|---|
committer | Gregory Montoir | 2007-05-19 21:12:10 +0000 |
commit | 3afd0d95576b2578b6d56fcc62c283a0c1261035 (patch) | |
tree | 0699f047e8c914de790b521c169d9d8106b4458a /engines/cine/gfx.h | |
parent | 6e76e46e0ee46b8d7817bcc39b7217a4f36f565d (diff) | |
download | scummvm-rg350-3afd0d95576b2578b6d56fcc62c283a0c1261035.tar.gz scummvm-rg350-3afd0d95576b2578b6d56fcc62c283a0c1261035.tar.bz2 scummvm-rg350-3afd0d95576b2578b6d56fcc62c283a0c1261035.zip |
removed 4 unused offscreen buffers ; also changed several 64k buffers to be dynamically allocated.
svn-id: r26879
Diffstat (limited to 'engines/cine/gfx.h')
-rw-r--r-- | engines/cine/gfx.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/engines/cine/gfx.h b/engines/cine/gfx.h index 30841b6cb1..d46a033363 100644 --- a/engines/cine/gfx.h +++ b/engines/cine/gfx.h @@ -29,15 +29,13 @@ namespace Cine { void gfxDrawSprite(byte *src4, uint16 sw, uint16 sh, byte *dst4, int16 sx, int16 sy); -extern byte *page0; -extern byte *page0c; -extern byte *page1; -extern byte *page2; -extern byte *page3; +extern byte *page1Raw; +extern byte *page2Raw; +extern byte *page3Raw; extern uint16 c_palette[256]; -void init_video(); +void gfxInit(); void setMouseCursor(int cursor); void convertGfx(byte *source, byte *dest, const uint16 width, const uint16 height); void convertGfx2(byte *source, byte *dest, const uint16 width, const uint16 height); @@ -59,10 +57,6 @@ void gfxResetPage(byte *pagePtr); int16 gfxGetBit(int16 x, int16 y, byte *ptr, int16 width); -extern byte page1Raw[320 * 200]; -extern byte page2Raw[320 * 200]; -extern byte page3Raw[320 * 200]; - void gfxResetRawPage(byte *pageRaw); void gfxConvertSpriteToRaw(byte *dest, byte *source, uint16 width, uint16 height); void gfxCopyRawPage(byte *source, byte * dest); |