aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruruk2013-06-23 21:11:15 +0200
committeruruk2013-06-23 21:11:15 +0200
commit46849fcc42721129b4e23ab1c047c0515e44ec17 (patch)
tree73034321607dd90df8e0f410a3cd645a5c70ad49
parent57504102797b2c356a83a0b3d2af382e8c8eb58e (diff)
downloadscummvm-rg350-46849fcc42721129b4e23ab1c047c0515e44ec17.tar.gz
scummvm-rg350-46849fcc42721129b4e23ab1c047c0515e44ec17.tar.bz2
scummvm-rg350-46849fcc42721129b4e23ab1c047c0515e44ec17.zip
AVALANCHE: Start continuously adding parts to Avalot as I proceed with the conversion of the necessary Pascal units.
-rw-r--r--engines/avalanche/avalot.cpp14
-rw-r--r--engines/avalanche/avalot.h2
2 files changed, 15 insertions, 1 deletions
diff --git a/engines/avalanche/avalot.cpp b/engines/avalanche/avalot.cpp
index de218811c1..09c3ddbc95 100644
--- a/engines/avalanche/avalot.cpp
+++ b/engines/avalanche/avalot.cpp
@@ -29,10 +29,22 @@
#include "common/textconsole.h"
#include "avalanche/avalot.h"
+#include "avalanche/gyro2.h"
namespace Avalanche {
- Avalot::Avalot() {}
+ Avalot::Avalot() {
+ int16 gd, gm;
+
+ checkbreak = false;
+ Gyro::visible = Gyro::m_no;
+ Gyro::to_do = 0;
+ Gyro::lmo = false;
+ // resetscroll(); Needs scrolls "unit" to make it work.
+
+
+
+ }
void Avalot::run(Common::String arg) {
warning("STUB: Avalot::run(%s)", arg.c_str());
diff --git a/engines/avalanche/avalot.h b/engines/avalanche/avalot.h
index 596fc023bc..5f109339bd 100644
--- a/engines/avalanche/avalot.h
+++ b/engines/avalanche/avalot.h
@@ -32,6 +32,8 @@
namespace Avalanche {
+bool checkbreak; // Originally located in avalot9.map
+
class Avalot {
private: