Home
last modified time | relevance | path

Searched refs:_mapHeight (Results 1 – 23 of 23) sorted by relevance

/dports/games/scummvm/scummvm-2.5.1/engines/gob/
H A Dmap.cpp36 _mapHeight = -1; in Map()
77 for (int i = 0; i < _mapHeight; i++) in ~Map()
94 return _mapHeight; in getMapHeight()
121 if ((x < 0) || (y < 0) || (x >= _mapWidth) || (y >= _mapHeight)) in getPass()
133 if ((x < 0) || (y < 0) || (x >= _mapWidth) || (y >= _mapHeight)) in setPass()
152 y = CLIP<int>(y, 0, _mapHeight - 1); in getItem()
161 y = CLIP<int>(y, 0, _mapHeight - 1); in setItem()
178 if ((x1 < 0) || (x1 > _mapWidth) || (y1 < 0) || (y1 > _mapHeight)) in getDirection()
353 (_wayPoints[i].y < 0) || (_wayPoints[i].y >= _mapHeight)) in findNearestWayPoint()
H A Dmap_v2.cpp63 for (int i = 0; i < _mapWidth * _mapHeight; i++) in loadMapObjects()
67 for (int i = 0; i < _mapWidth * _mapHeight; i++) in loadMapObjects()
71 for (int i = 0; i < _mapWidth * _mapHeight; i++) in loadMapObjects()
85 _mapHeight = READ_VARO_UINT8(var + 3); in loadMapObjects()
133 _mapHeight = _screenHeight / _tilesHeight; in loadMapObjects()
136 mapData.skip(_mapWidth * _mapHeight); in loadMapObjects()
H A Dmap_v1.cpp46 _mapHeight = 28; in init()
48 _passMap = new int8[_mapHeight * _mapWidth]; in init()
49 memset(_passMap, 0, _mapHeight * _mapWidth * sizeof(int8)); in init()
51 _itemsMap = new int16*[_mapHeight]; in init()
52 for (int i = 0; i < _mapHeight; i++) { in init()
88 mapData.read(_passMap, _mapHeight * _mapWidth); in loadMapObjects()
90 for (int y = 0; y < _mapHeight; y++) in loadMapObjects()
H A Dmap.h135 int16 _mapHeight; variable
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/gob/
H A Dmap.cpp36 _mapHeight = -1; in Map()
77 for (int i = 0; i < _mapHeight; i++) in ~Map()
94 return _mapHeight; in getMapHeight()
121 if ((x < 0) || (y < 0) || (x >= _mapWidth) || (y >= _mapHeight)) in getPass()
133 if ((x < 0) || (y < 0) || (x >= _mapWidth) || (y >= _mapHeight)) in setPass()
152 y = CLIP<int>(y, 0, _mapHeight - 1); in getItem()
161 y = CLIP<int>(y, 0, _mapHeight - 1); in setItem()
178 if ((x1 < 0) || (x1 > _mapWidth) || (y1 < 0) || (y1 > _mapHeight)) in getDirection()
353 (_wayPoints[i].y < 0) || (_wayPoints[i].y >= _mapHeight)) in findNearestWayPoint()
H A Dmap_v2.cpp63 for (int i = 0; i < _mapWidth * _mapHeight; i++) in loadMapObjects()
67 for (int i = 0; i < _mapWidth * _mapHeight; i++) in loadMapObjects()
71 for (int i = 0; i < _mapWidth * _mapHeight; i++) in loadMapObjects()
85 _mapHeight = READ_VARO_UINT8(var + 3); in loadMapObjects()
133 _mapHeight = _screenHeight / _tilesHeight; in loadMapObjects()
136 mapData.skip(_mapWidth * _mapHeight); in loadMapObjects()
H A Dmap_v1.cpp46 _mapHeight = 28; in init()
48 _passMap = new int8[_mapHeight * _mapWidth]; in init()
49 memset(_passMap, 0, _mapHeight * _mapWidth * sizeof(int8)); in init()
51 _itemsMap = new int16*[_mapHeight]; in init()
52 for (int i = 0; i < _mapHeight; i++) { in init()
88 mapData.read(_passMap, _mapHeight * _mapWidth); in loadMapObjects()
90 for (int y = 0; y < _mapHeight; y++) in loadMapObjects()
H A Dmap.h135 int16 _mapHeight; variable
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/draci/
H A Dwalking.h38 _mapWidth(0), _mapHeight(0), _byteWidth(0), _data(NULL) { } in WalkingMap()
59 int _mapWidth, _mapHeight; variable
H A Dwalking.cpp41 _mapHeight = mapReader.readUint16LE(); in load()
64 for (int j = 0; j < _mapHeight; ++j) { in newOverlayFromMap()
171 int8 *cameFrom = new int8[_mapWidth * _mapHeight]; in findShortestPath()
176 memset(cameFrom, -1, _mapWidth * _mapHeight); // -1 = not found yet in findShortestPath()
196 if (x < 0 || x >= _mapWidth || y < 0 || y >= _mapHeight) { in findShortestPath()
/dports/games/scummvm/scummvm-2.5.1/engines/draci/
H A Dwalking.h38 _mapWidth(0), _mapHeight(0), _byteWidth(0), _data(NULL) { } in WalkingMap()
59 int _mapWidth, _mapHeight; variable
H A Dwalking.cpp41 _mapHeight = mapReader.readUint16LE(); in load()
64 for (int j = 0; j < _mapHeight; ++j) { in newOverlayFromMap()
171 int8 *cameFrom = new int8[_mapWidth * _mapHeight]; in findShortestPath()
176 memset(cameFrom, -1, _mapWidth * _mapHeight); // -1 = not found yet in findShortestPath()
196 if (x < 0 || x >= _mapWidth || y < 0 || y >= _mapHeight) { in findShortestPath()
/dports/games/scummvm/scummvm-2.5.1/engines/illusions/resources/
H A Dbackgroundresource.h79 int16 _mapWidth, _mapHeight; variable
101 int16 _mapWidth, _mapHeight; variable
H A Dbackgroundresource.cpp84 _mapHeight = READ_LE_UINT16(_map + 2); in load()
88 _width, _height, mapOffs, valuesOffs, _mapWidth, _mapHeight); in load()
129 _mapHeight = READ_LE_UINT16(_map + 2); in load()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/illusions/resources/
H A Dbackgroundresource.h79 int16 _mapWidth, _mapHeight; variable
101 int16 _mapWidth, _mapHeight; variable
H A Dbackgroundresource.cpp84 _mapHeight = READ_LE_UINT16(_map + 2); in load()
88 _width, _height, mapOffs, valuesOffs, _mapWidth, _mapHeight); in load()
129 _mapHeight = READ_LE_UINT16(_map + 2); in load()
/dports/games/scummvm/scummvm-2.5.1/engines/dragons/
H A Dbackground.h147 int16 _mapWidth, _mapHeight; variable
H A Dbackground.cpp38 _mapHeight = tileMap.h; in load()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/tsage/ringworld2/
H A Dringworld2_scenes2.h710 int _mapWidth, _mapHeight;
H A Dringworld2_scenes2.cpp4723 _mapWidth = _mapHeight = 0; in Map()
4735 _mapHeight = READ_LE_UINT16(data + 2); in load()
4755 if (yBottom > _mapHeight) { in setPosition()
4756 p.y = _mapHeight - _bounds.height(); in setPosition()
4776 int yHalfCount = _mapHeight / 100; in redraw()
/dports/games/scummvm/scummvm-2.5.1/engines/tsage/ringworld2/
H A Dringworld2_scenes2.h710 int _mapWidth, _mapHeight;
H A Dringworld2_scenes2.cpp4723 _mapWidth = _mapHeight = 0; in Map()
4735 _mapHeight = READ_LE_UINT16(data + 2); in load()
4755 if (yBottom > _mapHeight) { in setPosition()
4756 p.y = _mapHeight - _bounds.height(); in setPosition()
4776 int yHalfCount = _mapHeight / 100; in redraw()
/dports/games/warzone2100/warzone2100/src/
H A Ddisplay3d.cpp3485 static int calculateCameraHeight(int _mapHeight) in calculateCameraHeight() argument
3487 …return static_cast<int>(std::ceil(static_cast<float>(_mapHeight) / static_cast<float>(HEIGHT_TRACK… in calculateCameraHeight()