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 | 652 | if self.turn % 10 ~= 0 then return end |
653 | 653 | |
654 | 654 | -- Day/Night cycle, not worknig properly yet |
655 | +--[[ | |
655 | 656 | if false then |
656 | 657 | local doTint = function (from, to, amount) |
657 | 658 | local tint = {r = 0, g = 0, b = 0} |
... | ... | @@ -693,6 +694,7 @@ function _M:onTurn() |
693 | 694 | game.level.map:setObscure(tint.r+0.3, tint.g+0.3, tint.b+0.3, 1) |
694 | 695 | -- game.player.lite = lite |
695 | 696 | end |
697 | +]] | |
696 | 698 | |
697 | 699 | -- Process overlay effects |
698 | 700 | self.level.map:processEffects() | ... | ... |
-
Please register or login to post a comment