Parsable texture definition. More...
This class provides a common parser for the texture definition syntax in command files together with some functions on them.
ctor
parses the string str for a texture definition (style a:1,2:3x4). Error messages are printed through the given parser.
If allow_asterisk is false,
wildcards are not allowed for the texture sheet.
def is a texture definition from which values are copied if parts contain wildcards. It must point to a valid TextureDefinition instance. default_src_texdef() is there if no special values are needed.
str is modified while parsing it. (Split up into substrings)
Returns true,
if uv is inside the given definition and sheet matches.
Does work with TEX_UNKNOWN for both texture definition and argument
dumps the texture definition in a human-readible format.
[private]
[private]
[private]
May be TEX_UNKNOWN