Add live_textures_reload command

This commit is contained in:
Eduardo Bart
2013-03-01 05:46:55 -03:00
parent e85afd4b63
commit 8314b84f69
15 changed files with 93 additions and 31 deletions

View File

@@ -11,7 +11,7 @@ function setMusic(filename)
end
function reloadScripts()
g_textures.clearTexturesCache()
g_textures.clearCache()
g_modules.reloadModules()
local script = '/' .. g_app.getCompactName() .. 'rc'

View File

@@ -15,6 +15,10 @@ function show_map()
modules.game_interface.getMapPanel():show()
end
function live_textures_reload()
g_textures.liveReload()
end
function auto_reload_module(name)
local function reloadEvent()
reloadModule(name)