Bots put items on sale
Bots only buy materials when they can affort it
Fixed unauthorized access to building inventory
Added script to generate Code::Blocks project file
Fixed missing memory release at cleanup
Avoid unnecessary mine finding

When looking for a mine, a character first checks wether he is already
going to one.
Storing building pointers in chunks

As for mines, each building pointer is stored in the relevant chunk for
fast access. However, building can be removed; considering the expected
number of buildings in a chunck, a simple array was used with a linear
deletion.
More efficient position checks for buildings

This change notably makes it faster to check for a building site. When
there are lots of buildings of the map.
Fixed building handling in chunks

A building can appear in up to four chunks. Duplicate detection is
performed by chank_pushBuilding().
Checking construction site when building
Uniformized mine management with buildings
Accurate radius when looking for construction site
Fixed detection of the number of chunks
Drawing fewer hidden objects
Simpler handling of cursor coordinates in overlay