// root/uiminimap.py
// ARAT:
def __Initialize(self):
// ALTINA EKLE:
self.FPSInfo = 0
// ARAT:
self.serverInfo = self.GetChild("ServerInfo")
// ALTINA EKLE:
self.FPSInfo = self.GetChild("FPSInfo")
// ARAT:
self.positionInfo.SetText("(%.0f, %.0f)" % (x/100, y/100))
// ALTINA EKLE:
nRenderFPS=app.GetRenderFPS()
fps="%3d"%(nRenderFPS)
self.FPSInfo.SetText(uiScriptLocale.FPS_PERFORMANS+ " " + str(fps))
// uiscript/minimap.py
// ARAT:
{
"name" : "PositionInfo",
"type" : "text",
"text_horizontal_align" : "center",
"outline" : 1,
"x" : 70,
"y" : 200,
"text" : "",
},
// ALTINA EKLE:
{
"name" : "FPSInfo",
"type" : "text",
"text_horizontal_align" : "center",
"outline" : 1,
"x" : 70,
"y" : 176,
"text" : "",
},
// locale/locale_interface.txt
// EKLE:
FPS_PERFORMANS FPS: