AVALANCHE: Enhanced: Replace namespace with class.

This commit is contained in:
uruk 2013-06-28 12:12:27 +02:00
parent a9cc1f78b4
commit c2d3c5fcf8
2 changed files with 24 additions and 26 deletions

View File

@ -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

View File

@ -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