2012-07-18 09:49:44 +02:00
|
|
|
TibiaFiles = {}
|
|
|
|
|
|
|
|
function TibiaFiles.init()
|
|
|
|
if not g_things.loadDat('/game_tibiafiles/Tibia.dat') then
|
|
|
|
fatal(tr("Unable to load dat file, please place a valid Tibia dat in modules/game_tibiafiles/Tibia.dat"))
|
|
|
|
end
|
|
|
|
if not g_sprites.loadSpr('/game_tibiafiles/Tibia.spr') then
|
|
|
|
fatal(tr("Unable to load spr file, please place a valid Tibia spr in modules/game_tibiafiles/Tibia.spr"))
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
function TibiaFiles.terminate()
|
2012-07-18 10:34:17 +02:00
|
|
|
end
|