Renamed ScummEngine::res to _res and allocate the ResourceManager on the heap (i.e. _res is a pointer now)

svn-id: r23922
This commit is contained in:
Max Horn 2006-09-17 20:36:48 +00:00
parent 8c0b0c0120
commit 51017cf1b2
33 changed files with 303 additions and 303 deletions

View file

@ -1039,7 +1039,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 = res.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)