mirror of
https://github.com/edubart/otclient.git
synced 2025-05-06 04:29:20 +02:00

* i'm gradually restoring game functionality with the new modules design, though still a lot to do * you can reload all scripts and modules using Ctrl+R shortcut while playing (finally! this is the reason of all this rework) * a bunch of fixes, but new regression too :P * fix performance issue that could lead freezes in the client in older machines * completely new game module with new design * fix crashs in map render * remove uigame.cpp (now every game input is via lua) * enable DEBUG macro by default, with it you are able to view any possible lua leak while running
33 lines
669 B
Plaintext
33 lines
669 B
Plaintext
Module
|
|
name: game
|
|
description: Create the game interface, where the ingame stuff starts
|
|
author: OTClient team
|
|
website: https://github.com/edubart/otclient
|
|
reloadable: true
|
|
|
|
dependencies:
|
|
- game_tibiafiles
|
|
- client_background
|
|
//- game_shaders
|
|
|
|
load-later:
|
|
- game_textmessage
|
|
- game_console
|
|
|
|
@onLoad: |
|
|
importStyle 'styles/items.otui'
|
|
importStyle 'styles/creatures.otui'
|
|
importStyle 'styles/miniwindow.otui'
|
|
importStyle 'styles/countwindow.otui'
|
|
|
|
dofile 'const'
|
|
|
|
dofile 'widgets/uigamemap'
|
|
|
|
dofile 'gameinterface'
|
|
dofile 'creature'
|
|
GameInterface.init()
|
|
|
|
@onUnload: |
|
|
GameInterface.terminate()
|