Public Methods | |
bool | init (char *buffer, int length) throw (exception) |
parse the given buffer | |
const string & | get (int id) const throw (exception) |
extract a string | |
Private Attributes | |
map< int, string > | _strings |
The map of string resources (the key is the resource identifier). |
This class implements a parser for the string resource format of SMUSH animations. It then allows the player to get the string corresponding to a particular identifier.
Definition at line 49 of file player.cpp.
|
extract a string
Definition at line 95 of file player.cpp. References _strings. |
|
parse the given buffer
Definition at line 60 of file player.cpp. References _strings. Referenced by get_strings(). |
|
The map of string resources (the key is the resource identifier).
Definition at line 51 of file player.cpp. |