And again i was awefully stupid and forgot to exchange some old values by defines
Heres is a new demo with 400 villagers go sleeping... i think i have to improve the pathfinding a little bit because it slows the FPS extremely down if there is one per frame...
What do you think about the sleeping state and the effect if you press esc?
http://rapidshare.com/files/77498345/GAEX.zipEDIT: would be nice if you tell me about ur framerate =)