aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche
diff options
context:
space:
mode:
authoruruk2013-06-20 10:58:39 +0200
committeruruk2013-06-20 10:58:39 +0200
commita33797b2728bed7a381bbecc55dd2f45710ea36d (patch)
treea4cb1c8df17de337c78c9f2038b84e06ad4670af /engines/avalanche
parent1453413d24c344a6c55a5d5d324e200ccb68b6d2 (diff)
downloadscummvm-rg350-a33797b2728bed7a381bbecc55dd2f45710ea36d.tar.gz
scummvm-rg350-a33797b2728bed7a381bbecc55dd2f45710ea36d.tar.bz2
scummvm-rg350-a33797b2728bed7a381bbecc55dd2f45710ea36d.zip
AVALANCHE: Partially implement run_avalot().
Diffstat (limited to 'engines/avalanche')
-rw-r--r--engines/avalanche/avalanche.cpp21
1 files changed, 18 insertions, 3 deletions
diff --git a/engines/avalanche/avalanche.cpp b/engines/avalanche/avalanche.cpp
index f66e293aed..80c2ffc838 100644
--- a/engines/avalanche/avalanche.cpp
+++ b/engines/avalanche/avalanche.cpp
@@ -39,6 +39,13 @@
namespace Avalanche {
+ void avalot(bool firstTime, Common::String arguments) {
+ warning("STUB: avalot()"); // That will be a class made from avalot9.cpp !!! - or something like that
+ }
+
+
+
+
AvalancheEngine *AvalancheEngine::s_Engine = 0;
AvalancheEngine::AvalancheEngine(OSystem *syst, const AvalancheGameDescription *gd) : Engine(syst), _gameDescription(gd) {
@@ -115,21 +122,25 @@ namespace Avalanche {
warning("STUB: explain()");
}
+
+
+ //TODO: Remove these (b_flight) functions later ( https://github.com/tthurman/avalot/wiki/B-Flight )
+
void AvalancheEngine::b_flight() { /*interrupt;*/
_storage.skellern++;
}
void AvalancheEngine::bflight_on() {
_storage.skellern = _reset_;
- warning("STUB: bflight_on()");
// setintvec(0x1c, &b_flight);
}
void AvalancheEngine::bflight_off() {
- warning("STUB: bflight_off()");
// setintvec(0x1c, old_1c);
}
+
+
Common::String AvalancheEngine::elm2str(elm how) {
Common::String elm2str_result;
switch (how) {
@@ -153,7 +164,11 @@ namespace Avalanche {
}
void AvalancheEngine::run_avalot() {
- warning("STUB: run_avalot()");
+ bflight_on();
+
+ avalot(first_time, arguments); // TODO: Check if parameteres are ever use and eventually remove them
+ // If there's an error initalizing avalot, i'll handle it in there, not here
+ first_time = false;
}
void AvalancheEngine::run_the_demo() {