57 lines
1.1 KiB
Plaintext
57 lines
1.1 KiB
Plaintext
Module
|
|
name: game
|
|
description: Create the game interface, where the ingame stuff starts
|
|
author: OTClient team
|
|
website: www.otclient.info
|
|
|
|
dependencies:
|
|
- client_extended
|
|
- game_tibiafiles
|
|
- client_background
|
|
|
|
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
|
|
- game_npctrade
|
|
- game_textbooks
|
|
- game_playertrade
|
|
- game_questlog
|
|
- game_ruleviolation
|
|
- game_bugreport
|
|
- game_shaders
|
|
|
|
@onLoad: |
|
|
importStyle 'styles/items.otui'
|
|
importStyle 'styles/creatures.otui'
|
|
importStyle 'styles/miniwindow.otui'
|
|
importStyle 'styles/countwindow.otui'
|
|
|
|
dofile 'const'
|
|
|
|
dofile 'protocollogin'
|
|
|
|
dofile 'widgets/uigamemap'
|
|
dofile 'widgets/uiitem'
|
|
dofile 'widgets/uiminiwindow'
|
|
dofile 'widgets/uiminiwindowcontainer'
|
|
|
|
dofile 'creature'
|
|
dofile 'player'
|
|
|
|
dofile 'gameinterface'
|
|
|
|
GameInterface.init()
|
|
|
|
@onUnload: |
|
|
GameInterface.terminate()
|