Implement night for world map + automatic night mode
commit83d82747c9c4681a181784da11bf1817cced5dc3
authorThomas Perl <thp@perli.net>
Sat, 7 Feb 2009 21:09:18 +0000 (7 22:09 +0100)
committerThomas Perl <thp@perli.net>
Sat, 7 Feb 2009 21:09:18 +0000 (7 22:09 +0100)
tree7ba5d5d897a81a6f198c1e92476f5769a25cce2f
parente824d31e7dfd4af9530aab2d94b00d003e844dde
Implement night for world map + automatic night mode

We now get UTC time from the system and try to determine
a rough estimation of day/night areas on the world map.

This is not perfect, but good enough so that we can have
automatic night mode determination based on the location.
game.c
graphics.c
graphics.h
locations.h
makefile
tennix.c
tennix.h
util.c [new file with mode: 0644]
util.h [new file with mode: 0644]