2011-08-29 05:04:23 +02:00
|
|
|
Module
|
|
|
|
name: game
|
|
|
|
description: Create the game interface, where the ingame stuff starts
|
|
|
|
author: OTClient team
|
|
|
|
website: https://github.com/edubart/otclient
|
2011-12-05 19:27:07 +01:00
|
|
|
|
|
|
|
dependencies:
|
2012-02-20 03:27:08 +01:00
|
|
|
- game_tibiafiles
|
2012-03-18 14:34:39 +01:00
|
|
|
- client_background
|
2012-02-20 03:27:08 +01:00
|
|
|
//- game_shaders
|
2011-12-05 19:27:07 +01:00
|
|
|
|
2012-03-18 14:34:39 +01:00
|
|
|
load-later:
|
|
|
|
- game_textmessage
|
|
|
|
- game_console
|
2012-03-22 22:47:52 +01:00
|
|
|
- game_outfit
|
2012-03-23 14:48:05 +01:00
|
|
|
- game_healthbar
|
|
|
|
- game_inventory
|
2012-03-22 22:47:52 +01:00
|
|
|
//- game_combatcontrols
|
|
|
|
//- game_skills
|
|
|
|
//- game_viplist
|
|
|
|
//- game_hotkeys
|
2012-03-18 14:34:39 +01:00
|
|
|
|
|
|
|
@onLoad: |
|
|
|
|
importStyle 'styles/items.otui'
|
|
|
|
importStyle 'styles/creatures.otui'
|
|
|
|
importStyle 'styles/miniwindow.otui'
|
|
|
|
importStyle 'styles/countwindow.otui'
|
|
|
|
|
|
|
|
dofile 'const'
|
|
|
|
|
|
|
|
dofile 'widgets/uigamemap'
|
2012-03-23 14:48:05 +01:00
|
|
|
dofile 'widgets/uiitem'
|
2012-03-18 14:34:39 +01:00
|
|
|
|
2012-02-06 05:39:52 +01:00
|
|
|
dofile 'creature'
|
2012-03-23 14:48:05 +01:00
|
|
|
dofile 'player'
|
|
|
|
|
|
|
|
dofile 'gameinterface'
|
|
|
|
|
2012-03-18 14:34:39 +01:00
|
|
|
GameInterface.init()
|
|
|
|
|
|
|
|
@onUnload: |
|
|
|
|
GameInterface.terminate()
|