예제 #1
0
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
예제 #2
0
 def get_abspath(self, filename, cdpath=None):
     return daggerfall.get_abspath(filename, cdpath)
예제 #3
0
 def get_abspath(self, filename, cdpath=None):
     return daggerfall.get_abspath(filename, cdpath)