Added the new recipe parser, parsing the crafting.txt file. Included are a few recipes. The old parser still works, but will be replaced soon.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@549 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -33,6 +33,9 @@ extern AString & AppendPrintf (AString & str, const char * format, ...);
|
||||
/// Split the string at delimiters, return as a stringvector
|
||||
extern AStringVector StringSplit(const AString & str, const AString & delim);
|
||||
|
||||
/// Trime whitespace at both ends of the string
|
||||
extern AString TrimString(const AString & str);
|
||||
|
||||
/// In-place string conversion to uppercase; returns the same string
|
||||
extern AString & StrToUpper(AString & s);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user