summaryrefslogtreecommitdiffstats
path: root/src/FurnaceRecipe.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-05-07Remove old Android leftovers (#4722)Mat1-1/+1
2020-04-19Added check for item damage (#4681)Lukas Pioch1-2/+1
* Added check for item damage Co-authored-by: Mattes D <github@xoft.cz>
2019-06-11Ignore whitespace only lines in brewing and furnace recipes (#4332)peterbell101-8/+6
2018-04-11Smelting Gives Experience (#4094)Alex Sweet1-4/+14
* Smelting Exp Smelting now gives experience * Furnace.txt update Exp rewards are entered in furnace.txt, Reward calculation is now done is the furnaceentity class * furnace.txt update Changed alignment tabs to spaces Included documentation of exp in recipe * Updated StringToFloat changed strtod to strtof * Explicit Float to Int * Reworked Smelting Rewards * No C casts -Adds new function to the api -Sets reward counter to 0 in furnace constructor * Style and exp lock removed -Fixed style mistakes accoring to PR notes -XP isn't locked to a single player anymore * No Smelter API -Removed SetLastSmelter and GetLastSmelter -Fixed comments -Fixed log reward amounts
2018-01-03Add the fmt library (#4065)peterbell101-3/+3
* Replaces AppendVPrintf with fmt::sprintf * fmt::ArgList now used as a type safe alternative to varargs. * Removed SIZE_T_FMT compatibility macros. fmt::sprintf is fully portable and supports %zu. * Adds FLOG functions to log with fmt's native formatting style.
2017-12-21Fixed Clang 5.0 compile errors (#4085)bibo381-1/+1
* Fixed Clang 5.0 compile errors * Fixed wrong comment * Only disable warnings in Clang 5 or higher * Added a CMake condition for the Clang 5 no-zero-as-null-pointer-constant warning * Now using the use_nullptr branch of the Cuberite specific SQLiteCpp fork
2017-08-24Minor changes (#3909)mathiascode1-1/+1
2016-12-12Use CMake's Android generators to crosscompileTiger Wang1-1/+5
2016-02-05Bulk clearing of whitespaceLogicParrot1-2/+2
2015-07-12Changing the shared_ptr/unique_ptr constructors to the make_shared/make_unique functionsbibo381-3/+3
2015-05-24Made -Weverything an error.tycho1-3/+3
2014-12-17C++11 and function rename.Howaner1-2/+1
2014-12-13Implemented vanilla-like shift click.Howaner1-0/+17
This fixes many visual bugs.
2014-11-27Replaced auto_ptr with unique_ptr.Mattes D1-3/+3
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-4/+4
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-4/+4
2014-08-31Use std::auto_ptrHowaner1-6/+6
2014-08-31Fixed compile warnings.Howaner1-3/+3
2014-08-31Rewrited furnace.txt loading.Howaner1-131/+110
2014-07-21Style: Normalized to no spaces before closing parenthesis.madmaxoft1-1/+1
2014-07-17Fixed spaces around single-line comments.madmaxoft1-4/+4
There should be at least two spaces in front and one space after //-style comments.
2014-06-26FurnaceRecipe parsing: Fixed whitespace removing.Mattes D1-1/+1
2014-06-26Fixed misformed trimming.Mattes D1-1/+1
2014-06-26FurnaceRecipe: Moved the parsing into separate functions for clarity.Mattes D1-60/+60
2014-06-26FurnaceRecipe parser: Made the parser more forgiving.Mattes D1-2/+2
Errors don't cause a stop in the parsing, but rather just skip the offending line.
2014-06-26FurnaceRecipe parser: Added an else branch, changed to a switch.Mattes D1-45/+69
2014-06-23Parenthesised comparisonTiger Wang1-1/+1
2014-06-22SuggestionsTiger Wang1-6/+7
2014-06-22Fixed compile errorsworktycho1-2/+2
2014-06-22SuggestionsTiger Wang1-36/+26
2014-06-21Removed debugging codeTiger Wang1-1/+0
2014-06-21Rewrote furnace recipe parserTiger Wang1-93/+159
* Fixes #110
2014-06-19Nullify deleted pointers.archshift1-0/+4
2014-04-18Did some static analysis, fixed some bugs and optimized a lot of codejfhumann1-1/+0
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
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-06-16Rewritten furnacesmadmaxoft@gmail.com1-25/+39
Furnaces now smelt the correct number of items. Furnaces store their contents in a cItemGrid. Furnace window is updated with correct items and progressbars. Furnace recipes now use ticks instead of milliseconds. Furnaces save and load their state completely, not missing a smelt operation. Hoppers take items out of furnaces. Dropped the cSlotAreaDropSpenser class, replaced it with generic cSlotAreaItemGrid git-svn-id: http://mc-server.googlecode.com/svn/trunk@1601 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 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-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-240/+240
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 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-2/+27
git-svn-id: http://mc-server.googlecode.com/svn/trunk@549 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-01-29VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com1-1/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@188 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-03MCServer c++ source filesfaketruth1-0/+214
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6