From b6f42c532ec07be6052d32d2fd86b49c3ca7331b Mon Sep 17 00:00:00 2001 From: uruk Date: Wed, 17 Jul 2013 13:00:15 +0200 Subject: AVALANCHE: Partially implement Lucerna::points(). (No sounds.) --- engines/avalanche/lucerna2.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'engines/avalanche') diff --git a/engines/avalanche/lucerna2.cpp b/engines/avalanche/lucerna2.cpp index b4febf2617..25a571b589 100644 --- a/engines/avalanche/lucerna2.cpp +++ b/engines/avalanche/lucerna2.cpp @@ -889,7 +889,17 @@ void Lucerna::showscore() { } void Lucerna::points(byte num) { /* Add on no. of points */ + for (byte q = 1; q <= num; q ++) { + _vm->_gyro.dna.score++; + /*if (soundfx) + for (byte fv = 1; fv <= 97; fv ++) + sound(177 + dna.score * 3); + nosound;*/ + } warning("STUB: Lucerna::points()"); + + _vm->_logger.log_score(num, _vm->_gyro.dna.score); + showscore(); } void Lucerna::topcheck() { -- cgit v1.2.3