Moved low-level keyboard and mouse handling to a new Input class, and

renamed the Display class Graphics for no better reason than me liking the
phrase "sound and graphics" better than "sound and display".

svn-id: r11258
This commit is contained in:
Torbjörn Andersson 2003-11-11 07:43:02 +00:00
parent 0bcc7ce80e
commit 446a01ba09
28 changed files with 442 additions and 436 deletions

View file

@ -525,7 +525,7 @@ void FontRenderer::printTextBlocs(void) {
spriteInfo.data = _blocList[j].text_mem->ad + sizeof(_frameHeader);
spriteInfo.colourTable = 0;
rv = g_display->drawSprite(&spriteInfo);
rv = g_graphics->drawSprite(&spriteInfo);
if (rv)
error("Driver Error %.8x in Print_text_blocs", rv);
}
@ -603,7 +603,7 @@ void Sword2Engine::initialiseFontResourceFlags(void) {
// GERMAN: "Baphomet's Fluch II"
// default: "Some game or other, part 86"
g_display->setWindowName((char *) textLine);
g_graphics->setWindowName((char *) textLine);
// now ok to close the text file
res_man->closeResource(TEXT_RES);