mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-17 15:33:23 +00:00
AVALANCHE: Enhanced: Replace namespace with class.
This commit is contained in:
parent
a9cc1f78b4
commit
c2d3c5fcf8
@ -31,31 +31,27 @@
|
||||
|
||||
namespace Avalanche {
|
||||
|
||||
namespace Enhanced {
|
||||
bool Enhanced::isenh() {
|
||||
warning("STUB: Enhanced::isenh()");
|
||||
return true;
|
||||
}
|
||||
|
||||
bool isenh() {
|
||||
warning("STUB: Enhanced::isenh()");
|
||||
return true;
|
||||
}
|
||||
void Enhanced::readkeye() {
|
||||
warning("STUB: Enhanced::readkeye()");
|
||||
}
|
||||
|
||||
void readkeye() {
|
||||
warning("STUB: Enhanced::readkeye()");
|
||||
}
|
||||
|
||||
bool keypressede() {
|
||||
/*
|
||||
function fancystuff:boolean;
|
||||
inline( $B4/ $11/ { MOV AH,11 }
|
||||
$CD/ $16/ { INT 16 }
|
||||
$B8/ $00/ $00/ { MOV AX, 0000 }
|
||||
$74/ $01/ { JZ 0112 (or wherever- the next byte after $40, anyway) }
|
||||
$40); { INC AX }
|
||||
*/
|
||||
bool Enhanced::keypressede() {
|
||||
/*
|
||||
function fancystuff:boolean;
|
||||
inline( $B4/ $11/ { MOV AH,11 }
|
||||
$CD/ $16/ { INT 16 }
|
||||
$B8/ $00/ $00/ { MOV AX, 0000 }
|
||||
$74/ $01/ { JZ 0112 (or wherever- the next byte after $40, anyway) }
|
||||
$40); { INC AX }
|
||||
*/
|
||||
|
||||
warning("STUB: Enhanced::keypressede()");
|
||||
return true;
|
||||
}
|
||||
|
||||
} // End of namespace Enhanced
|
||||
warning("STUB: Enhanced::keypressede()");
|
||||
return true;
|
||||
}
|
||||
|
||||
} // End of namespace Avalanche
|
||||
|
@ -36,8 +36,8 @@
|
||||
|
||||
namespace Avalanche {
|
||||
|
||||
namespace Enhanced {
|
||||
|
||||
class Enhanced {
|
||||
public:
|
||||
byte shiftstate; /*ABSOLUTE $40:$17;*/
|
||||
bool atbios; // BIOS type
|
||||
char inchar, extd;
|
||||
@ -45,8 +45,10 @@ namespace Avalanche {
|
||||
void readkeye();
|
||||
|
||||
bool keypressede();
|
||||
private:
|
||||
bool isenh();
|
||||
|
||||
} // End of namespace Enhanced
|
||||
};
|
||||
|
||||
} // End of namespace Avalanche
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user