45 lines
927 B
Plaintext
45 lines
927 B
Plaintext
Module
|
|
name: game
|
|
description: Create the game interface, where the ingame stuff starts
|
|
author: OTClient team
|
|
website: https://github.com/edubart/otclient
|
|
|
|
dependencies:
|
|
- game_tibiafiles
|
|
- client_background
|
|
//- game_shaders
|
|
|
|
load-later:
|
|
- game_textmessage
|
|
- game_console
|
|
- game_outfit
|
|
- game_healthbar
|
|
- game_inventory
|
|
//- game_combatcontrols
|
|
//- game_skills
|
|
//- game_viplist
|
|
//- game_hotkeys
|
|
|
|
@onLoad: |
|
|
importStyle 'styles/items.otui'
|
|
importStyle 'styles/creatures.otui'
|
|
importStyle 'styles/miniwindow.otui'
|
|
importStyle 'styles/countwindow.otui'
|
|
|
|
dofile 'const'
|
|
|
|
dofile 'widgets/uigamemap'
|
|
dofile 'widgets/uiitem'
|
|
dofile 'widgets/uiminiwindow'
|
|
dofile 'widgets/uiminiwindowcontainer'
|
|
|
|
dofile 'creature'
|
|
dofile 'player'
|
|
|
|
dofile 'gameinterface'
|
|
|
|
GameInterface.init()
|
|
|
|
@onUnload: |
|
|
GameInterface.terminate()
|