Tuesday, January 08, 2008

C++ sample done!

I've just finished a C++ sample that demonstrate most of the library features.
You can get the source code here :
http://roguecentral.free.fr/libtcod/sample.cpp

Until it's included in a new release of the library, you'll have to compile it yourself... Here is what you should get :

Sample 1 : color manipulations, text rendering


Sample 2 : offscreen consoles, printFrame


Sample 3 : line drawing, offscreen console blitting