From 42f45aff1ebbaf7bb9578fbdfa75ba3a7c789129 Mon Sep 17 00:00:00 2001 From: Nimetu Date: Fri, 25 Jan 2019 11:16:53 +0200 Subject: [PATCH] Removed: Client interface xml from compatibility-develop --HG-- branch : compatibility-develop --- .../client/data/gamedev/interfaces_v3/map.lua | 42 ------------------- 1 file changed, 42 deletions(-) delete mode 100644 code/ryzom/client/data/gamedev/interfaces_v3/map.lua diff --git a/code/ryzom/client/data/gamedev/interfaces_v3/map.lua b/code/ryzom/client/data/gamedev/interfaces_v3/map.lua deleted file mode 100644 index 609d18b28..000000000 --- a/code/ryzom/client/data/gamedev/interfaces_v3/map.lua +++ /dev/null @@ -1,42 +0,0 @@ --- --- custom maps --- - -if (game==nil) then - game= {}; -end - --- alternative textures for maps -game.mapTextures = {} --- game.mapTextures["zorai_map.tga"] = "tryker_map.tga" - --- register alternative texture for map -function game:setAltMap(mapName, altMap) - self.mapTextures[mapName] = altMap -end - --- remove alternative map texture -function game:removeAltMap(mapName) - self.mapTextures[mapName] = nil -end - --- map = getUI("ui:interface:map:content:map_content:actual_map") -function game:onLoadMap(map) - -- debugInfo("onLoadMap(id=".. map.id ..", texture=".. map.texture ..")"); - - -- if alt view not enabled - if getDbProp("UI:VARIABLES:SHOW_ALT_MAP") == 0 or map:isIsland() then - return - end - - local texture = map.texture - if self.mapTextures[texture] ~= nil then - -- debugInfo("-- using ".. self.mapTextures[texture] .." for " .. texture) - return self.mapTextures[texture] - end -end - --- register map overrride --- game:setAltMap("fyros_map.tga", "fyros_map_sp.tga") - -