diff -r f906f6645e02 -r a6eab1b7c00d share/hedgewars/Data/Scripts/Multiplayer/Tumbler.lua --- a/share/hedgewars/Data/Scripts/Multiplayer/Tumbler.lua Fri Sep 09 03:57:45 2011 +0200 +++ b/share/hedgewars/Data/Scripts/Multiplayer/Tumbler.lua Fri Sep 09 15:36:30 2011 +0200 @@ -1,6 +1,6 @@ ------------------------------------ -- TUMBLER --- v.0.7 +-- v.0.7.1 ------------------------------------ loadfile(GetDataPath() .. "Scripts/Locale.lua")() @@ -110,6 +110,12 @@ -- Performance tweaks -- Variety of small gameplay changes +------------------------ +-- version 0.7.1 +------------------------ + +-- redraw HUD on screen resolution change + --------------------------- -- some other ideas/things --------------------------- @@ -493,6 +499,16 @@ end +function onScreenResize() + + -- redraw Tags so that their screen locations are updated + if (CurrentHedgehog ~= nil) and (tumbleStarted == true) then + for i = 0, 3 do + DrawTag(i) + end + end + +end function onNewTurn()