mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 03:24:55 +02:00
new scripting functionality
* dofiles functions to run all scripts inside a directory * new style option ! that evaluates its value from a lua code
This commit is contained in:
@@ -8,14 +8,8 @@ Module
|
||||
reloadable: false
|
||||
|
||||
@onLoad: |
|
||||
dofile 'ext/table'
|
||||
dofile 'ext/string'
|
||||
dofile 'ext/os'
|
||||
|
||||
dofile 'math/point'
|
||||
dofile 'math/size'
|
||||
dofile 'math/color'
|
||||
dofile 'math/rect'
|
||||
dofiles 'ext'
|
||||
dofiles 'math'
|
||||
|
||||
dofile 'const'
|
||||
dofile 'util'
|
||||
@@ -25,23 +19,6 @@ Module
|
||||
dofile 'mouse'
|
||||
dofile 'string'
|
||||
|
||||
dofile 'ui/effects'
|
||||
dofile 'ui/radiogroup'
|
||||
dofile 'ui/tooltip'
|
||||
|
||||
dofile 'widgets/uiwidget'
|
||||
dofile 'widgets/uibutton'
|
||||
dofile 'widgets/uilabel'
|
||||
dofile 'widgets/uicheckbox'
|
||||
dofile 'widgets/uicombobox'
|
||||
dofile 'widgets/uispinbox'
|
||||
dofile 'widgets/uiprogressbar'
|
||||
dofile 'widgets/uitabbar'
|
||||
dofile 'widgets/uipopupmenu'
|
||||
dofile 'widgets/uiwindow'
|
||||
dofile 'widgets/uimessagebox'
|
||||
dofile 'widgets/uisplitter'
|
||||
dofile 'widgets/uiscrollbar'
|
||||
dofile 'widgets/uiscrollarea'
|
||||
dofile 'widgets/uiresizeborder'
|
||||
dofiles 'ui'
|
||||
dofiles 'widgets'
|
||||
|
||||
|
@@ -1,3 +1,5 @@
|
||||
if not UIWindow then dofile 'uiwindow' end
|
||||
|
||||
UIMessageBox = extends(UIWindow)
|
||||
|
||||
MessageBoxOk = 1
|
||||
|
Reference in New Issue
Block a user