AVALANCHE: Repair Enhanced and Gyro.

This commit is contained in:
uruk 2013-06-28 12:26:01 +02:00
parent c2d3c5fcf8
commit 8398250387
3 changed files with 14 additions and 2 deletions

View File

@ -31,6 +31,11 @@
namespace Avalanche {
void Enhanced::setParent(AvalancheEngine *vm) {
_vm = vm;
}
bool Enhanced::isenh() {
warning("STUB: Enhanced::isenh()");
return true;

View File

@ -35,13 +35,18 @@
#include "common/system.h"
namespace Avalanche {
class AvalancheEngine;
class Enhanced {
public:
AvalancheEngine *_vm;
byte shiftstate; /*ABSOLUTE $40:$17;*/
bool atbios; // BIOS type
char inchar, extd;
void setParent(AvalancheEngine *vm);
void readkeye();
bool keypressede();

View File

@ -33,11 +33,13 @@
#include "common/system.h"
#include "common/str.h"
#include "common/scummsys.h"
#include "avalanche/avalanche.h"
#include "avalanche/roomnums.h"
#include "avalanche/color.h"
namespace Avalanche {
class AvalancheEngine;
static const char numobjs = 18; /* always preface with a # */
static const int16 maxobjs = 12; /* carry limit */
@ -617,7 +619,7 @@ public:
Gyro();
void Gyro::setParent(AvalancheEngine *vm);
void setParent(AvalancheEngine *vm);
void newpointer(byte m);