restore some game functionallity

* 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
This commit is contained in:
Eduardo Bart
2012-03-18 10:34:39 -03:00
parent 26629cf77c
commit c0611bfe2a
99 changed files with 938 additions and 388 deletions

View File

@@ -1,14 +1,14 @@
GameSidePanel < UIMiniWindowContainer
image-source: /core_styles/styles/images/sidepanel.png
image-source: images/sidepanel.png
image-border: 4
GameBottomPanel < Panel
image-source: /core_styles/styles/images/bottompanel.png
image-source: images/bottompanel.png
image-border: 4
GameMapPanel < UIMap
padding: 4
image-source: /core_styles/styles/images/mappanel.png
image-source: images/mappanel.png
image-border: 4
UIGame
@@ -16,7 +16,7 @@ UIGame
anchors.fill: parent
anchors.top: topMenu.bottom
InterfacePanel
GameSidePanel
id: gameRightPanel
width: 190
layout: verticalBox