AVALANCHE: Repair compilation.

This commit is contained in:
uruk 2013-06-25 18:04:52 +02:00
parent c39434f37e
commit 7f1a322de4
4 changed files with 20 additions and 15 deletions

View File

@ -32,10 +32,9 @@
namespace Avalanche {
bool checkbreak; // Originally located in avalot9.map
class Avalot {
private:
bool checkbreak; // Originally located in avalot9.map
public:
Avalot();

View File

@ -35,6 +35,7 @@ namespace Avalanche {
bool isenh() {
warning("STUB: Enhanced::isenh()");
return true;
}
void readkeye() {
@ -52,6 +53,7 @@ namespace Avalanche {
*/
warning("STUB: Enhanced::keypressede()");
return true;
}
} // End of namespace Enhanced

View File

@ -39,7 +39,7 @@ namespace Avalanche {
namespace Enhanced {
byte shiftstate; /*ABSOLUTE $40:$17;*/
bool atbios;
bool atbios; // BIOS type
char inchar, extd;
void readkeye();

View File

@ -28,9 +28,10 @@
#include "avalanche/scrolls2.h"
#include "avalanche/gyro2.h"
#include "avalanche/logger2.h"
#include "avalanche/enhanced2.h"
//#include "lucerna.h"
//#include "trip5.h"
//#include "enhanced.h"
//#include "Acci.h"
//#include "basher.h"
//#include "visa.h"
@ -143,7 +144,7 @@ namespace Avalanche {
default: {
ox += 1;
for (yy = 1; yy <= 12; yy ++) itw[yy][ox] = ~ ch[cfont][z[xx]][yy + 1];
Logger::log_scrollchar(z[xx]);
Logger::log_scrollchar(Common::String(z[xx]));
}
}
}
@ -229,15 +230,19 @@ namespace Avalanche {
Gyro::on();
Gyro::newpointer(4);
//do {
// do {
// Gyro::check(); /* was "checkclick;" */
// if (keypressede()) break;
// } while (!(mpress > 0) || buttona1() || buttonb1());
//
// Needs Enhanced (conatins keypressede()) to proceed.
//do {
// Gyro::check(); /* was "checkclick;" */
// if (Enhanced::keypressede()) break;
//} while (!(Gyro::mpress > 0) || buttona1() || buttonb1());
//
// Needs joystick - not sure it will be implemented.
//if (Gyro::mpress == 0) {
// inkey(); Needs Lucerna to proceed.
//
//}
//}
}
@ -250,7 +255,6 @@ namespace Avalanche {
} // End of namespace Scrolls