Implemented clearScreen() for preagi games
svn-id: r28837
This commit is contained in:
parent
2dd4f61b5e
commit
314d7c1736
3 changed files with 13 additions and 5 deletions
|
@ -42,6 +42,11 @@
|
|||
|
||||
namespace Agi {
|
||||
|
||||
// Screen functions
|
||||
void PreAgiEngine::clearScreen(int attr) {
|
||||
_gfx->clearScreen((attr & 0xF0) / 0x10);
|
||||
}
|
||||
|
||||
// String functions
|
||||
|
||||
void PreAgiEngine::drawStr(int row, int col, int attr, const char *buffer) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue