/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see 0) { // Show room exits const Maze709Room &room = _rooms[_mazeCurrentIndex]; debug(1, "Room %.2d, DIRS: %c %c %c %c", _mazeCurrentIndex, room._left ? 'L' : ' ', room._right ? 'R' : ' ', room._up ? 'U' : ' ', room._down ? 'D' : ' ' ); // Assert that room exits match up to the corresponding exits // in the destination room if (room._left) assert(_rooms[room._left]._right == _mazeCurrentIndex); if (room._right) assert(_rooms[room._right]._left == _mazeCurrentIndex); if (room._up) assert(_rooms[room._up]._down == _mazeCurrentIndex); if (room._down) assert(_rooms[room._down]._up == _mazeCurrentIndex); } } } // namespace Rooms } // namespace Riddle } // namespace M4