Permalink
Browse files
ACCESS: Move variable from Room manager to local function
- Loading branch information
Showing
with
3 additions
and
4 deletions.
-
+3
−3
engines/access/room.cpp
-
+0
−1
engines/access/room.h
|
|
@@ -370,9 +370,9 @@ void Room::loadPlayField(int fileNum, int subfile) { |
|
|
screen.loadRawPalette(playData->_stream); |
|
|
|
|
|
// Copy off the tile data |
|
|
_tileSize = (int)header[2] << 8; |
|
|
_tile = new byte[_tileSize]; |
|
|
playData->_stream->read(_tile, _tileSize); |
|
|
int tileSize = (int)header[2] << 8; |
|
|
_tile = new byte[tileSize]; |
|
|
playData->_stream->read(_tile, tileSize); |
|
|
|
|
|
// Copy off the playfield data |
|
|
_matrixSize = header[0] * header[1]; |
|
|
|
|
|
@@ -124,7 +124,6 @@ class Room : public Manager { |
|
|
int _playFieldWidth; |
|
|
int _playFieldHeight; |
|
|
byte *_tile; |
|
|
int _tileSize; |
|
|
int _selectCommand; |
|
|
bool _conFlag; |
|
|
public: |
|
|
|