aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche
diff options
context:
space:
mode:
authorurukgit2013-11-22 18:39:51 +0100
committerurukgit2013-11-22 18:39:51 +0100
commitbe41405969c6aa6a7472562eafda0092b9b97e52 (patch)
tree0d045636549e1d898160133f04db0eefb609ee28 /engines/avalanche
parent66109101f8c57a927c3ec9a2b8982a0f5309e25d (diff)
downloadscummvm-rg350-be41405969c6aa6a7472562eafda0092b9b97e52.tar.gz
scummvm-rg350-be41405969c6aa6a7472562eafda0092b9b97e52.tar.bz2
scummvm-rg350-be41405969c6aa6a7472562eafda0092b9b97e52.zip
AVALANCHE: Fix Nim.
Diffstat (limited to 'engines/avalanche')
-rw-r--r--engines/avalanche/nim.cpp130
-rw-r--r--engines/avalanche/nim.h2
2 files changed, 67 insertions, 65 deletions
diff --git a/engines/avalanche/nim.cpp b/engines/avalanche/nim.cpp
index e7a73b5a62..cc4681bf3b 100644
--- a/engines/avalanche/nim.cpp
+++ b/engines/avalanche/nim.cpp
@@ -30,69 +30,71 @@
namespace Avalanche {
- Nim::Nim(AvalancheEngine *vm) {
- _vm = vm;
- }
-
- void Nim::playNim() {
- warning("STUB: Nim::playNim()");
- }
-
- void Nim::chalk(int x,int y, Common::String z) {
- warning("STUB: Nim::chalk()");
- }
-
- void Nim::setup() {
- warning("STUB: Nim::setup()");
- }
-
- void Nim::plotStone(byte x,byte y) {
- warning("STUB: Nim::plotStone()");
- }
-
- void Nim::board() {
- warning("STUB: Nim::board()");
- }
-
- void Nim::startMove() {
- warning("STUB: Nim::startMove()");
- }
-
- void Nim::showChanges() {
- warning("STUB: Nim::showChanges()");
- }
-
- void Nim::blip() {
- warning("STUB: Nim::blip()");
- }
-
- void Nim::checkMouse() {
- warning("STUB: Nim::checkMouse()");
- }
-
- void Nim::less() {
- warning("STUB: Nim::less()");
- }
-
- void Nim::takeSome() {
- warning("STUB: Nim::takeSome()");
- }
-
- void Nim::endOfGame() {
- warning("STUB: Nim::endOfGame()");
- }
-
- void Nim::dogFood() {
- warning("STUB: Nim::dogFood()");
- }
-
- bool Nim::find(byte x) {
- warning("STUB: Nim::find()");
- return true;
- }
-
- void Nim::findAp(byte start,byte stepsize) {
- warning("STUB: Nim::findAp()");
- }
+const char * const Nim::names[2] = {"Avalot", "Dogfood"};
+
+Nim::Nim(AvalancheEngine *vm) {
+ _vm = vm;
+}
+
+void Nim::playNim() {
+ warning("STUB: Nim::playNim()");
+}
+
+void Nim::chalk(int x,int y, Common::String z) {
+ warning("STUB: Nim::chalk()");
+}
+
+void Nim::setup() {
+ warning("STUB: Nim::setup()");
+}
+
+void Nim::plotStone(byte x,byte y) {
+ warning("STUB: Nim::plotStone()");
+}
+
+void Nim::board() {
+ warning("STUB: Nim::board()");
+}
+
+void Nim::startMove() {
+ warning("STUB: Nim::startMove()");
+}
+
+void Nim::showChanges() {
+ warning("STUB: Nim::showChanges()");
+}
+
+void Nim::blip() {
+ warning("STUB: Nim::blip()");
+}
+
+void Nim::checkMouse() {
+ warning("STUB: Nim::checkMouse()");
+}
+
+void Nim::less() {
+ warning("STUB: Nim::less()");
+}
+
+void Nim::takeSome() {
+ warning("STUB: Nim::takeSome()");
+}
+
+void Nim::endOfGame() {
+ warning("STUB: Nim::endOfGame()");
+}
+
+void Nim::dogFood() {
+ warning("STUB: Nim::dogFood()");
+}
+
+bool Nim::find(byte x) {
+ warning("STUB: Nim::find()");
+ return true;
+}
+
+void Nim::findAp(byte start,byte stepsize) {
+ warning("STUB: Nim::findAp()");
+}
} // End of namespace Avalanche
diff --git a/engines/avalanche/nim.h b/engines/avalanche/nim.h
index 9d421c401c..087f1e830b 100644
--- a/engines/avalanche/nim.h
+++ b/engines/avalanche/nim.h
@@ -38,7 +38,7 @@ public:
private:
AvalancheEngine *_vm;
- const Common::String names[2] = {"Avalot", "Dogfood"};
+ static const char * const names[2];
byte old[3];
byte stones[3];
byte stonePic[4][23][7]; // Picture of Nimstone.