diff options
author | Max Horn | 2003-10-05 20:21:20 +0000 |
---|---|---|
committer | Max Horn | 2003-10-05 20:21:20 +0000 |
commit | bfce5e500aa09d36b974c29acf91780e0b26b459 (patch) | |
tree | 4d750dac946597e0291a306fe649aeb374f79185 /sky/compact.cpp | |
parent | 9f537f4b8cbb282af717a66d3912ad51602e174f (diff) | |
download | scummvm-rg350-bfce5e500aa09d36b974c29acf91780e0b26b459.tar.gz scummvm-rg350-bfce5e500aa09d36b974c29acf91780e0b26b459.tar.bz2 scummvm-rg350-bfce5e500aa09d36b974c29acf91780e0b26b459.zip |
renamed SkyState to SkyEngine; cleaned the #include dependency mess a bit (try to only #include files when you *have* to -> this reduces compilation time to a minimum when header file changes are made)
svn-id: r10622
Diffstat (limited to 'sky/compact.cpp')
-rw-r--r-- | sky/compact.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sky/compact.cpp b/sky/compact.cpp index f890f4ee19..0b377e7581 100644 --- a/sky/compact.cpp +++ b/sky/compact.cpp @@ -20,6 +20,7 @@ */ #include "stdafx.h" +#include "common/util.h" #include "sky/compact.h" #include "sky/compacts/0compact.h" #include "sky/compacts/1compact.h" @@ -65,7 +66,7 @@ uint16 *getGrafixPtr(Compact *cpt) { error("::getGrafixPtr: request for AR pointer, extCompact is NULL, though."); return (cpt->extCompact->animScratch + cpt->grafixProg.pos); case COMPACT: - buf = (uint16*)SkyState::fetchCompact(cpt->grafixProg.ptrTarget); + buf = (uint16*)SkyEngine::fetchCompact(cpt->grafixProg.ptrTarget); if (buf == NULL) error("::getGrafixPtr: request for cpt %d pointer. It's NULL.", cpt->grafixProg.ptrTarget); return (buf + cpt->grafixProg.pos); |