def get_font(typeid): global fonts if typeid in fonts: return fonts[typeid] if typeid is 0: typeid = 4 filename = daggerfall.get_abspath("FONT%04d.FNT" % (typeid - 1)) font = Font(filename) fonts[typeid] = font return font
def get_abspath(self, filename, cdpath=None): return daggerfall.get_abspath(filename, cdpath)