summaryrefslogtreecommitdiffstats
path: root/src/CraftingRecipes.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-02-05Bulk clearing of whitespaceLogicParrot1-28/+28
2015-07-15Leather Armor can now be dyed.Samuel Barney1-0/+192
* Created new color class to handle dye-related coloring
2015-07-12Changing the shared_ptr/unique_ptr constructors to the make_shared/make_unique functionsbibo381-2/+2
2015-06-07Fixed styleNounours Heureux1-1/+1
2015-06-07Cake crafting now give back the bucketNounours Heureux1-1/+8
2015-05-31Fixed crafting recipe matching.Mattes D1-0/+3
Fixes #2096.
2015-05-24Made -Weverything an error.tycho1-2/+2
2015-04-16Recipes match zero DamageValue strictly.Mattes D1-2/+2
To match any DamageValue for the ingredient, an explicit "-1" as the DamageValue must be specified. Fixes #1859.
2015-04-16Fixed PolishedGranite et al crafting recipes.Mattes D1-0/+1
Fixes #1774. Ref.: #1859
2014-12-04Fixed the CRAFTING_NO_RECIPE hook call.Mattes D1-1/+1
It used a pointer-to-pointer-to-cCraftingRecipe, which the Lua bindings didn't know how to handle, and emitted a warning message at runtime. Fixes #1641.
2014-11-27Replaced auto_ptr with unique_ptr.Mattes D1-3/+3
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-9/+9
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-9/+9
2014-10-15Functions in cPluginManager get references instead of pointers.Mattes D1-4/+4
2014-08-29A better hotfix for CraftingRecipiesTiger Wang1-1/+1
2014-08-29Hotfixed recipe.txt loading.Hownaer1-2/+5
2014-08-13Fixed Integer pasing warnings in CraftingRecipies.cppTycho1-4/+2
2014-08-13Fixed type issues in CraftingRecipe.cppTycho1-2/+2
2014-08-13Fixed forgotten error checkingTycho1-1/+5
2014-07-21Style: Normalized to no spaces before closing parenthesis.madmaxoft1-1/+1
2014-07-21Style: Normalized spaces after if, for and while.madmaxoft1-1/+1
2014-07-17Normalized comments.madmaxoft1-3/+3
This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
2014-07-17Fixed spaces around single-line comments.madmaxoft1-1/+1
There should be at least two spaces in front and one space after //-style comments.
2014-07-17Fixed basic whitespace problems.madmaxoft1-4/+4
Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines.
2014-06-19Nullify deleted pointers.archshift1-0/+1
2014-04-23Small changesTiger Wang1-2/+2
2014-04-21Fixed a warning in CraftingRecipes.Mattes D1-1/+1
2014-04-18Did some static analysis, fixed some bugs and optimized a lot of codejfhumann1-4/+6
2014-03-12Added additional macros to support the MSVC size_t format and changed all formats to use the macrosTycho1-1/+1
2014-03-11Fixed a load of format string errorsTycho1-1/+1
2014-03-10Fixed test assertsTycho1-0/+2
2014-03-09Moved firework handler to separate functionTiger Wang1-48/+45
* Also simplified and improved readability of code
2014-03-09Fix Linux compileTiger Wang1-2/+3
2014-02-27Implemented ballistic missiles (fireworks)Tiger Wang1-1/+88
+ Added fireworks
2013-12-08Moved bindings-related to a Bindings subfolder.madmaxoft1-1/+1
Ref.: #407
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-09-28Minor startup streamliningTiger Wang1-2/+2
* LOGD'd unneeded debugging messages, streamlining startup + Added a basic timer for how long in seconds it took to start up + Added two checks for plural (plugin/s, second/s)
2013-05-07Replaced MIN / MAX with std::min and std::maxmadmaxoft@gmail.com1-4/+4
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1455 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com1-13/+13
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-18CraftingRecipes parse now dumps lines it cannot parse.madmaxoft@gmail.com1-0/+5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1052 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-20Refactored windows.madmaxoft@gmail.com1-1/+1
As described on the forum: http://forum.mc-server.org/showthread.php?tid=561 For now, only basic clicking works; shift-click not implemented yet. git-svn-id: http://mc-server.googlecode.com/svn/trunk@867 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-765/+765
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-12Added working crafting hooks HOOK_PRE_CRAFTING, HOOK_CRAFTING_NO_RECIPE and HOOK_POST_CRAFTINGmadmaxoft@gmail.com1-6/+17
git-svn-id: http://mc-server.googlecode.com/svn/trunk@598 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-12Updated the crafting recipes architecture to better support crafting hooks. Removed the old recipe file and implementation altogether.madmaxoft@gmail.com1-22/+249
git-svn-id: http://mc-server.googlecode.com/svn/trunk@597 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-09Fixed a bug in crafting recipes - would consume multiple items of asterisked ingredients (FS #205)madmaxoft@gmail.com1-18/+25
git-svn-id: http://mc-server.googlecode.com/svn/trunk@593 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-04Added the new recipe parser, parsing the crafting.txt file. Included are a few recipes. The old parser still works, but will be replaced soon.madmaxoft@gmail.com1-0/+520
git-svn-id: http://mc-server.googlecode.com/svn/trunk@549 0a769ca7-a7f5-676a-18bf-c427514a06d6