48 lines
978 B
Plaintext
48 lines
978 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_skills
|
|
- game_inventory
|
|
- game_combatcontrols
|
|
- game_containers
|
|
- game_viplist
|
|
- game_battle
|
|
- game_minimap
|
|
- 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()
|