aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2016-01-31 14:14:33 +0100
committerMartin Kiewitz2016-01-31 14:14:33 +0100
commit121415ef1f391dea223370226e8ee8abd9c5329f (patch)
treebc2aa7fe81a8a5a68aee651de95ceaf92f063e41 /engines
parent143fb9458f0b810f6209ab4b45ddf172fc98f8a2 (diff)
downloadscummvm-rg350-121415ef1f391dea223370226e8ee8abd9c5329f.tar.gz
scummvm-rg350-121415ef1f391dea223370226e8ee8abd9c5329f.tar.bz2
scummvm-rg350-121415ef1f391dea223370226e8ee8abd9c5329f.zip
AGI: rename VGA font to PC BIOS font
probably more accurate
Diffstat (limited to 'engines')
-rw-r--r--engines/agi/font.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/agi/font.cpp b/engines/agi/font.cpp
index 6624be8cc8..2ee3e64b9b 100644
--- a/engines/agi/font.cpp
+++ b/engines/agi/font.cpp
@@ -214,8 +214,8 @@ static const uint8 fontData_AmigaPseudoTopaz[2600] = {
// 8x8 font patterns
-// this is basically the PC VGA font, taken from Dos-Box, with a few modifications
-static const uint8 fontData_VGA[] = {
+// this is basically the standard PC BIOS font, taken from Dos-Box, with a few modifications
+static const uint8 fontData_PCBIOS[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x7E, 0x81, 0xA5, 0x81, 0xBD, 0x99, 0x81, 0x7E,
0x7E, 0xFF, 0xDB, 0xFF, 0xC3, 0xE7, 0xFF, 0x7E,
@@ -662,8 +662,8 @@ void GfxFont::init() {
if (!_fontData) {
// no font assigned?
- // use regular VGA font (taken from Dos-Box with a few modifications)
- _fontData = fontData_VGA;
+ // use regular PC-BIOS font (taken from Dos-Box with a few modifications)
+ _fontData = fontData_PCBIOS;
debug("AGI: Using VGA font");
}
@@ -813,8 +813,8 @@ void GfxFont::loadFontAmigaPseudoTopaz() {
assert(topazLowChar == ' ');
assert(topazHighChar == 0xFF);
- // copy first 32 VGA characters over
- memcpy(fontData, fontData_VGA, FONT_DISPLAY_WIDTH * 32);
+ // copy first 32 PC-BIOS characters over
+ memcpy(fontData, fontData_PCBIOS, FONT_DISPLAY_WIDTH * 32);
fontData += FONT_DISPLAY_WIDTH * 32;
// now actually convert from topaz data