2011-08-29 05:04:23 +02:00
|
|
|
Module
|
|
|
|
name: game
|
|
|
|
description: Create the game interface, where the ingame stuff starts
|
|
|
|
author: OTClient team
|
2012-05-01 15:06:38 +02:00
|
|
|
website: www.otclient.info
|
2011-12-05 19:27:07 +01:00
|
|
|
|
|
|
|
dependencies:
|
2012-05-16 22:09:37 +02:00
|
|
|
- client_extended
|
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
|
2012-03-28 16:10:21 +02:00
|
|
|
- game_skills
|
2012-03-23 14:48:05 +01:00
|
|
|
- game_inventory
|
2012-03-28 16:10:21 +02:00
|
|
|
- game_combatcontrols
|
2012-04-03 01:09:47 +02:00
|
|
|
- game_containers
|
2012-03-28 16:10:21 +02:00
|
|
|
- game_viplist
|
2012-04-03 01:09:47 +02:00
|
|
|
- game_battle
|
2012-04-07 01:12:46 +02:00
|
|
|
- game_minimap
|
2012-03-29 01:19:28 +02:00
|
|
|
- game_hotkeys
|
2012-04-08 22:13:33 +02:00
|
|
|
- game_npctrade
|
2012-05-01 02:20:27 +02:00
|
|
|
- game_textbooks
|
|
|
|
- game_playertrade
|
|
|
|
- game_questlog
|
2012-05-01 08:49:48 +02:00
|
|
|
- game_ruleviolation
|
2012-05-01 15:06:38 +02:00
|
|
|
- game_bugreport
|
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'
|
|
|
|
|
2012-06-05 23:27:37 +02:00
|
|
|
dofile 'protocollogin'
|
|
|
|
|
2012-03-18 14:34:39 +01:00
|
|
|
dofile 'widgets/uigamemap'
|
2012-03-23 14:48:05 +01:00
|
|
|
dofile 'widgets/uiitem'
|
2012-03-27 00:24:01 +02:00
|
|
|
dofile 'widgets/uiminiwindow'
|
|
|
|
dofile 'widgets/uiminiwindowcontainer'
|
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()
|