Moved createResource, resourceStats, expireResources to ResourceManager
svn-id: r17420
This commit is contained in:
parent
26e0ec1d24
commit
3d5b5f2ad8
17 changed files with 81 additions and 81 deletions
|
@ -1000,7 +1000,7 @@ void ScummEngine::createBoxMatrix() {
|
|||
// the boxes 7,8,9,10,11 the shortest way is to go via box 15.
|
||||
// See also getPathToDestBox.
|
||||
|
||||
byte *matrixStart = createResource(rtMatrix, 1, BOX_MATRIX_SIZE);
|
||||
byte *matrixStart = res.createResource(rtMatrix, 1, BOX_MATRIX_SIZE);
|
||||
const byte *matrixEnd = matrixStart + BOX_MATRIX_SIZE;
|
||||
|
||||
#define addToMatrix(b) do { *matrixStart++ = (b); assert(matrixStart < matrixEnd); } while (0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue