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

* Split game module into game and game_interface * Move core_lib to corelib * Move miniwindow to corelib * Introduce init.lua script for initializing the client, giving much more flexibility * OTClient is no longer Application derived and is much simpler
22 lines
488 B
Plaintext
22 lines
488 B
Plaintext
Module
|
|
name: game_interface
|
|
description: Create the game interface, where the ingame stuff starts
|
|
author: OTClient team
|
|
website: www.otclient.info
|
|
|
|
@onLoad: |
|
|
importStyle 'styles/items.otui'
|
|
importStyle 'styles/creatures.otui'
|
|
importStyle 'styles/miniwindow.otui'
|
|
importStyle 'styles/countwindow.otui'
|
|
|
|
dofile 'widgets/uigamemap'
|
|
dofile 'widgets/uiitem'
|
|
|
|
dofile 'gameinterface'
|
|
|
|
GameInterface.init()
|
|
|
|
@onUnload: |
|
|
GameInterface.terminate()
|