Commit 2ed28170e7666ae4867921be9bc6329001aa7923
1 parent
30ba6bb6
plop
git-svn-id: http://svn.net-core.org/repos/t-engine4@2500 51575b47-30f0-44d4-a5cc-537603b46e54
Showing
1 changed file
with
2 additions
and
0 deletions
@@ -652,6 +652,7 @@ function _M:onTurn() | @@ -652,6 +652,7 @@ function _M:onTurn() | ||
652 | if self.turn % 10 ~= 0 then return end | 652 | if self.turn % 10 ~= 0 then return end |
653 | 653 | ||
654 | -- Day/Night cycle, not worknig properly yet | 654 | -- Day/Night cycle, not worknig properly yet |
655 | +--[[ | ||
655 | if false then | 656 | if false then |
656 | local doTint = function (from, to, amount) | 657 | local doTint = function (from, to, amount) |
657 | local tint = {r = 0, g = 0, b = 0} | 658 | local tint = {r = 0, g = 0, b = 0} |
@@ -693,6 +694,7 @@ function _M:onTurn() | @@ -693,6 +694,7 @@ function _M:onTurn() | ||
693 | game.level.map:setObscure(tint.r+0.3, tint.g+0.3, tint.b+0.3, 1) | 694 | game.level.map:setObscure(tint.r+0.3, tint.g+0.3, tint.b+0.3, 1) |
694 | -- game.player.lite = lite | 695 | -- game.player.lite = lite |
695 | end | 696 | end |
697 | +]] | ||
696 | 698 | ||
697 | -- Process overlay effects | 699 | -- Process overlay effects |
698 | self.level.map:processEffects() | 700 | self.level.map:processEffects() |
-
Please register or login to post a comment