2008
01.11

Samples updated, bug fixed

I’ve uploaded a new version of the C and C++ samples. This version fixes the color flickering in the true color sample. You can download them here :
C sample
C++ sample

They are also available from the Doryen library documentation main page.

The 1.0 version of the library has a small bug : characters drawn with the grey color (196,196,196) appear darker on the game window (color 128,128,128) until they have been drawn with another color.

Example :
console initialisation (initRoot)
draw ‘C’ with 196,196,196 => it appears with color 128,128,128
draw ‘C’ with any other color => it appears with the right color
draw ‘C’ with 196,196,196 => it appears with the right color

You can fix this by replacing the terminal.bmp file from the libtcod distribution by this one :
terminal.bmp. Sorry for the inconvenience, this will be fixed in the 1.0.1…

No Comment.

Add Your Comment