equal
deleted
inserted
replaced
1 ------------------------------------ |
1 ------------------------------------ |
2 -- TUMBLER |
2 -- TUMBLER |
3 -- v.0.7 |
3 -- v.0.7.1 |
4 ------------------------------------ |
4 ------------------------------------ |
5 |
5 |
6 loadfile(GetDataPath() .. "Scripts/Locale.lua")() |
6 loadfile(GetDataPath() .. "Scripts/Locale.lua")() |
7 loadfile(GetDataPath() .. "Scripts/Tracker.lua")() |
7 loadfile(GetDataPath() .. "Scripts/Tracker.lua")() |
8 |
8 |
107 -- Better HUD |
107 -- Better HUD |
108 -- Allow more user customization |
108 -- Allow more user customization |
109 -- Bugfix for new gear spawns |
109 -- Bugfix for new gear spawns |
110 -- Performance tweaks |
110 -- Performance tweaks |
111 -- Variety of small gameplay changes |
111 -- Variety of small gameplay changes |
|
112 |
|
113 ------------------------ |
|
114 -- version 0.7.1 |
|
115 ------------------------ |
|
116 |
|
117 -- redraw HUD on screen resolution change |
112 |
118 |
113 --------------------------- |
119 --------------------------- |
114 -- some other ideas/things |
120 -- some other ideas/things |
115 --------------------------- |
121 --------------------------- |
116 --[[ |
122 --[[ |
491 "", 4, 4000 |
497 "", 4, 4000 |
492 ) |
498 ) |
493 |
499 |
494 end |
500 end |
495 |
501 |
|
502 function onScreenResize() |
|
503 |
|
504 -- redraw Tags so that their screen locations are updated |
|
505 if (CurrentHedgehog ~= nil) and (tumbleStarted == true) then |
|
506 for i = 0, 3 do |
|
507 DrawTag(i) |
|
508 end |
|
509 end |
|
510 |
|
511 end |
496 |
512 |
497 function onNewTurn() |
513 function onNewTurn() |
498 |
514 |
499 stopMovement = false |
515 stopMovement = false |
500 tumbleStarted = false |
516 tumbleStarted = false |