diff options
Diffstat (limited to 'engines/lab/tilepuzzle.cpp')
-rw-r--r-- | engines/lab/tilepuzzle.cpp | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/engines/lab/tilepuzzle.cpp b/engines/lab/tilepuzzle.cpp index 4d95d4c4b5..c6997c5ed2 100644 --- a/engines/lab/tilepuzzle.cpp +++ b/engines/lab/tilepuzzle.cpp @@ -62,9 +62,9 @@ void LabEngine::initTilePuzzle() { _combination[i] = 0; } -/*****************************************************************************/ -/* Processes mouse clicks and changes the combination. */ -/*****************************************************************************/ +/** + * Processes mouse clicks and changes the combination. + */ void LabEngine::mouseTile(Common::Point pos) { Common::Point realPos = _utils->vgaUnscale(pos); @@ -78,9 +78,9 @@ void LabEngine::mouseTile(Common::Point pos) { changeTile(tileX, tileY); } -/*****************************************************************************/ -/* Changes the combination number of one of the slots */ -/*****************************************************************************/ +/** + * Changes the combination number of one of the slots + */ void LabEngine::changeTile(uint16 col, uint16 row) { int16 scrolltype = -1; @@ -147,9 +147,9 @@ void LabEngine::changeTile(uint16 col, uint16 row) { } } -/*****************************************************************************/ -/* Processes mouse clicks and changes the combination. */ -/*****************************************************************************/ +/** + * Processes mouse clicks and changes the combination. + */ void LabEngine::mouseCombination(Common::Point pos) { Common::Point realPos = _utils->vgaUnscale(pos); @@ -173,9 +173,9 @@ void LabEngine::mouseCombination(Common::Point pos) { changeCombination(number); } -/*****************************************************************************/ -/* Draws the images of the combination lock to the display bitmap. */ -/*****************************************************************************/ +/** + * Draws the images of the combination lock to the display bitmap. + */ void LabEngine::doTile(bool showsolution) { uint16 row = 0, col = 0, rowm, colm, num; int16 rows, cols; @@ -215,9 +215,9 @@ void LabEngine::doTile(bool showsolution) { } } -/*****************************************************************************/ -/* Reads in a backdrop picture. */ -/*****************************************************************************/ +/** + * Reads in a backdrop picture. + */ void LabEngine::showTile(const char *filename, bool showsolution) { uint16 start = showsolution ? 0 : 1; @@ -238,9 +238,9 @@ void LabEngine::showTile(const char *filename, bool showsolution) { _graphics->setPalette(_anim->_diffPalette, 256); } -/*****************************************************************************/ -/* Does the scrolling for the tiles on the tile puzzle. */ -/*****************************************************************************/ +/** + * Does the scrolling for the tiles on the tile puzzle. + */ void LabEngine::doTileScroll(uint16 col, uint16 row, uint16 scrolltype) { int16 dX = 0, dY = 0, dx = 0, dy = 0, sx = 0, sy = 0; uint16 last = 0; @@ -278,9 +278,9 @@ void LabEngine::doTileScroll(uint16 col, uint16 row, uint16 scrolltype) { } } -/*****************************************************************************/ -/* Changes the combination number of one of the slots */ -/*****************************************************************************/ +/** + * Changes the combination number of one of the slots + */ void LabEngine::changeCombination(uint16 number) { static const int solution[6] = { 0, 4, 0, 8, 7, 2 }; @@ -328,17 +328,17 @@ void LabEngine::scrollRaster(int16 dx, int16 dy, uint16 x1, uint16 y1, uint16 x2 _graphics->scrollDisplayY(dy, x1, y1, x2, y2); } -/*****************************************************************************/ -/* Draws the images of the combination lock to the display bitmap. */ -/*****************************************************************************/ +/** + * Draws the images of the combination lock to the display bitmap. + */ void LabEngine::doCombination() { for (uint16 i = 0; i <= 5; i++) _numberImages[_combination[i]]->drawImage(_utils->vgaScaleX(COMBINATION_X[i]), _utils->vgaScaleY(65)); } -/*****************************************************************************/ -/* Reads in a backdrop picture. */ -/*****************************************************************************/ +/** + * Reads in a backdrop picture. + */ void LabEngine::showCombination(const char *filename) { _anim->_doBlack = true; _anim->_noPalChange = true; |