mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 09:39:21 +02:00

* rework client modules * hide main window when loading * remake top menu functions * rework modules autoload * improve path resolving for otml and lua * move core_widgets to core_lib * fix tooltip issues * split some styles * add bit32 lua library * fix assert issues * fix compilation on linux 32 systems * rework gcc compile options * renable and fix some warnings * remove unused constants * speedup sprite cache * move UIGame to lua (not funcional yet) * fix a lot of issues in x11 window * fix crash handler * add some warnings do uiwidget and much more...
12 lines
444 B
Plaintext
12 lines
444 B
Plaintext
Module
|
|
name: game_tibiafiles
|
|
description: Contains tibia spr and dat
|
|
|
|
@onLoad: |
|
|
if not g_thingsType.load('/game_tibiafiles/Tibia.dat') then
|
|
fatal("Unable to load dat file, please place a valid Tibia dat in modules/game_tibiafiles/Tibia.dat")
|
|
end
|
|
if not g_sprites.load('/game_tibiafiles/Tibia.spr') then
|
|
fatal("Unable to load spr file, please place a valid Tibia spr in modules/game_tibiafiles/Tibia.spr")
|
|
end
|