mirror of
https://github.com/edubart/otclient.git
synced 2025-10-19 14:03:26 +02:00
BEAWARE all game functionality is disabled with this commit for a while
* 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...
This commit is contained in:
@@ -3,20 +3,15 @@ function print(...)
|
||||
for i,v in ipairs(arg) do
|
||||
msg = msg .. tostring(v) .. "\t"
|
||||
end
|
||||
Logger.log(LogInfo, msg)
|
||||
g_logger.log(LogInfo, msg)
|
||||
end
|
||||
|
||||
function fatal(msg)
|
||||
Logger.log(LogFatal, msg)
|
||||
g_logger.log(LogFatal, msg)
|
||||
end
|
||||
|
||||
function setonclose(func)
|
||||
g_app.onClose = func
|
||||
end
|
||||
|
||||
function exit()
|
||||
g_app.exit()
|
||||
end
|
||||
exit = g_app.exit
|
||||
quit = g_app.exit
|
||||
|
||||
function connect(object, signalsAndSlots, pushFront)
|
||||
for signal,slot in pairs(signalsAndSlots) do
|
||||
|
Reference in New Issue
Block a user