< index
< 6. Mouse support
=====================================
7. File parser
=====================================
> 8. All purposes container
This toolkit provides an easy way to parse complex text configuration files. It has two main advantages compared to a standard XML SAX parser :
The configuration file format is more human readable than XML
The parser knows some data types that it automatically converts to C variables (see section
10.4
)
7.1 The libtcod config file format
7.2 Declaring the 'structures'
7.3 Running the parser
7.4 Standard data types
7.5 Using custom data types
7.6 Using the default parser listener
insert a comment
jice on 2008-09-12 10:29:56
A more in-depth example can be found
here
.