diff options
author | uruk | 2013-07-17 13:00:15 +0200 |
---|---|---|
committer | uruk | 2013-07-17 13:00:15 +0200 |
commit | b6f42c532ec07be6052d32d2fd86b49c3ca7331b (patch) | |
tree | f3ac7cbbde4bbce3fe1861d838522a81010abf13 | |
parent | 90788cec113de7c9d26058cfa5e103c475105c21 (diff) | |
download | scummvm-rg350-b6f42c532ec07be6052d32d2fd86b49c3ca7331b.tar.gz scummvm-rg350-b6f42c532ec07be6052d32d2fd86b49c3ca7331b.tar.bz2 scummvm-rg350-b6f42c532ec07be6052d32d2fd86b49c3ca7331b.zip |
AVALANCHE: Partially implement Lucerna::points(). (No sounds.)
-rw-r--r-- | engines/avalanche/lucerna2.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
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() { |