mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 04:53:27 +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:
20
modules/old/game_interface/gameinterface.otmod
Normal file
20
modules/old/game_interface/gameinterface.otmod
Normal file
@@ -0,0 +1,20 @@
|
||||
Module
|
||||
name: game_interface
|
||||
description: |
|
||||
Create the game main interface (map and bottom/left/right panels),
|
||||
any game module must use it to add ingame interfaces
|
||||
|
||||
author: OTClient team
|
||||
website: https://github.com/edubart/otclient
|
||||
|
||||
onLoad: |
|
||||
dofile 'uiminiwindow'
|
||||
dofile 'uiminiwindowcontainer'
|
||||
dofile 'uiitem'
|
||||
dofile 'uimap'
|
||||
dofile 'gameinterface'
|
||||
|
||||
GameInterface.init()
|
||||
|
||||
onUnload: |
|
||||
GameInterface.terminate()
|
Reference in New Issue
Block a user