1
0

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:
madmaxoft@gmail.com
2012-06-04 12:08:20 +00:00
parent ce5d97d65b
commit b355bdecce
21 changed files with 20029 additions and 18948 deletions

View File

@@ -125,7 +125,7 @@ void PrintNear( std::ifstream & f, int a_History = 64 )
void cRecipeChecker::ReloadRecipes()
{
LOG("--Loading recipes--");
LOG("-- Loading recipes from recipes.txt --");
ClearRecipes();
std::ifstream f;
@@ -369,7 +369,7 @@ void cRecipeChecker::ReloadRecipes()
}
f.close();
LOG("--Done loading recipes, found %i recipes", m_pState->Recipes.size() );
LOG("-- Done loading recipes, found %i recipes --", m_pState->Recipes.size() );
}