- Fonts are now preloaded at start.
- Replaced font string names with enums. - Some slight simplification to Disk. svn-id: r26518
This commit is contained in:
parent
2c9116de3b
commit
c43960b958
10 changed files with 41 additions and 24 deletions
|
@ -920,10 +920,7 @@ Cnv* AmigaDisk::loadFont(const char* name) {
|
|||
debugC(1, kDebugDisk, "AmigaDisk::loadFont '%s'", name);
|
||||
|
||||
char path[PATH_LEN];
|
||||
if (scumm_stricmp(name, "topaz"))
|
||||
sprintf(path, "%sfont", name);
|
||||
else
|
||||
strcpy(path, "introfont");
|
||||
sprintf(path, "%sfont", name);
|
||||
|
||||
if (!_resArchive.openArchivedFile(path))
|
||||
errorFileNotFound(path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue