mirror of
https://github.com/libretro/scummvm.git
synced 2025-05-13 09:36:21 +00:00
AVALANCHE: Repair Enhanced and Gyro.
This commit is contained in:
parent
c2d3c5fcf8
commit
8398250387
@ -31,6 +31,11 @@
|
|||||||
|
|
||||||
namespace Avalanche {
|
namespace Avalanche {
|
||||||
|
|
||||||
|
void Enhanced::setParent(AvalancheEngine *vm) {
|
||||||
|
_vm = vm;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Enhanced::isenh() {
|
bool Enhanced::isenh() {
|
||||||
warning("STUB: Enhanced::isenh()");
|
warning("STUB: Enhanced::isenh()");
|
||||||
return true;
|
return true;
|
||||||
|
@ -35,13 +35,18 @@
|
|||||||
#include "common/system.h"
|
#include "common/system.h"
|
||||||
|
|
||||||
namespace Avalanche {
|
namespace Avalanche {
|
||||||
|
class AvalancheEngine;
|
||||||
|
|
||||||
class Enhanced {
|
class Enhanced {
|
||||||
public:
|
public:
|
||||||
|
AvalancheEngine *_vm;
|
||||||
|
|
||||||
byte shiftstate; /*ABSOLUTE $40:$17;*/
|
byte shiftstate; /*ABSOLUTE $40:$17;*/
|
||||||
bool atbios; // BIOS type
|
bool atbios; // BIOS type
|
||||||
char inchar, extd;
|
char inchar, extd;
|
||||||
|
|
||||||
|
void setParent(AvalancheEngine *vm);
|
||||||
|
|
||||||
void readkeye();
|
void readkeye();
|
||||||
|
|
||||||
bool keypressede();
|
bool keypressede();
|
||||||
|
@ -33,11 +33,13 @@
|
|||||||
#include "common/system.h"
|
#include "common/system.h"
|
||||||
#include "common/str.h"
|
#include "common/str.h"
|
||||||
#include "common/scummsys.h"
|
#include "common/scummsys.h"
|
||||||
#include "avalanche/avalanche.h"
|
|
||||||
#include "avalanche/roomnums.h"
|
#include "avalanche/roomnums.h"
|
||||||
#include "avalanche/color.h"
|
#include "avalanche/color.h"
|
||||||
|
|
||||||
namespace Avalanche {
|
namespace Avalanche {
|
||||||
|
class AvalancheEngine;
|
||||||
|
|
||||||
|
|
||||||
static const char numobjs = 18; /* always preface with a # */
|
static const char numobjs = 18; /* always preface with a # */
|
||||||
static const int16 maxobjs = 12; /* carry limit */
|
static const int16 maxobjs = 12; /* carry limit */
|
||||||
@ -617,7 +619,7 @@ public:
|
|||||||
|
|
||||||
Gyro();
|
Gyro();
|
||||||
|
|
||||||
void Gyro::setParent(AvalancheEngine *vm);
|
void setParent(AvalancheEngine *vm);
|
||||||
|
|
||||||
void newpointer(byte m);
|
void newpointer(byte m);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user