Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replaced cpp14::make_unique<> with std::make_unique<>. | Mattes D | 2020-08-01 | 1 | -3/+3 |
| | |||||
* | Enable some more clang-tidy linter checks (#4738) | peterbell10 | 2020-05-15 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Avoid inefficient AString -> c_str() -> AString round trip * Avoid redundant string init expressions * Avoid unnecessary return, continue, etc. * Add .clang-format to help with clang-tidy fix-its * Avoid unnecessary passing by value * Avoid unnecessary local copying * Avoid copying in range-for loops * Avoid over-complicated boolean expressions * Some violations missed by my local clang-tidy * Allow unnecessary continue statements * Add brackets * Another expression missed locally * Move BindingsProcessor call into clang-tidy.sh and add space * Fix pushd not found error * Different grouping of CheckBlockInteractionRate | ||||
* | Remove old Android leftovers (#4722) | Mat | 2020-05-07 | 1 | -1/+1 |
| | |||||
* | Added check for item damage (#4681) | Lukas Pioch | 2020-04-19 | 1 | -2/+1 |
| | | | | | * Added check for item damage Co-authored-by: Mattes D <github@xoft.cz> | ||||
* | Ignore whitespace only lines in brewing and furnace recipes (#4332) | peterbell10 | 2019-06-11 | 1 | -8/+6 |
| | |||||
* | Smelting Gives Experience (#4094) | Alex Sweet | 2018-04-11 | 1 | -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 | ||||
* | Add the fmt library (#4065) | peterbell10 | 2018-01-03 | 1 | -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. | ||||
* | Fixed Clang 5.0 compile errors (#4085) | bibo38 | 2017-12-21 | 1 | -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 | ||||
* | Minor changes (#3909) | mathiascode | 2017-08-24 | 1 | -1/+1 |
| | |||||
* | Use CMake's Android generators to crosscompile | Tiger Wang | 2016-12-12 | 1 | -1/+5 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -2/+2 |
| | |||||
* | Changing the shared_ptr/unique_ptr constructors to the make_shared/make_unique functions | bibo38 | 2015-07-12 | 1 | -3/+3 |
| | |||||
* | Made -Weverything an error. | tycho | 2015-05-24 | 1 | -3/+3 |
| | |||||
* | C++11 and function rename. | Howaner | 2014-12-17 | 1 | -2/+1 |
| | |||||
* | Implemented vanilla-like shift click. | Howaner | 2014-12-13 | 1 | -0/+17 |
| | | | This fixes many visual bugs. | ||||
* | Replaced auto_ptr with unique_ptr. | Mattes D | 2014-11-27 | 1 | -3/+3 |
| | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -4/+4 |
| | |||||
* | Use std::auto_ptr | Howaner | 2014-08-31 | 1 | -6/+6 |
| | |||||
* | Fixed compile warnings. | Howaner | 2014-08-31 | 1 | -3/+3 |
| | |||||
* | Rewrited furnace.txt loading. | Howaner | 2014-08-31 | 1 | -131/+110 |
| | |||||
* | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 2014-07-21 | 1 | -1/+1 |
| | |||||
* | Fixed spaces around single-line comments. | madmaxoft | 2014-07-17 | 1 | -4/+4 |
| | | | | There should be at least two spaces in front and one space after //-style comments. | ||||
* | FurnaceRecipe parsing: Fixed whitespace removing. | Mattes D | 2014-06-26 | 1 | -1/+1 |
| | |||||
* | Fixed misformed trimming. | Mattes D | 2014-06-26 | 1 | -1/+1 |
| | |||||
* | FurnaceRecipe: Moved the parsing into separate functions for clarity. | Mattes D | 2014-06-26 | 1 | -60/+60 |
| | |||||
* | FurnaceRecipe parser: Made the parser more forgiving. | Mattes D | 2014-06-26 | 1 | -2/+2 |
| | | | | Errors don't cause a stop in the parsing, but rather just skip the offending line. | ||||
* | FurnaceRecipe parser: Added an else branch, changed to a switch. | Mattes D | 2014-06-26 | 1 | -45/+69 |
| | |||||
* | Merge remote-tracking branch 'origin/furnaceparsing' | Mattes D | 2014-06-26 | 1 | -92/+148 |
|\ | |||||
| * | Parenthesised comparison | Tiger Wang | 2014-06-23 | 1 | -1/+1 |
| | | |||||
| * | Merge remote-tracking branch 'origin/furnaceparsing' into furnaceparsing | Tiger Wang | 2014-06-22 | 1 | -2/+2 |
| |\ | | | | | | | | | | | | | Conflicts: src/FurnaceRecipe.cpp | ||||
| | * | Fixed compile errors | worktycho | 2014-06-22 | 1 | -2/+2 |
| | | | |||||
| * | | Suggestions | Tiger Wang | 2014-06-22 | 1 | -6/+7 |
| |/ | |||||
| * | Suggestions | Tiger Wang | 2014-06-22 | 1 | -36/+26 |
| | | |||||
| * | Removed debugging code | Tiger Wang | 2014-06-21 | 1 | -1/+0 |
| | | |||||
| * | Rewrote furnace recipe parser | Tiger Wang | 2014-06-21 | 1 | -93/+159 |
| | | | | | | | | * Fixes #110 | ||||
* | | Nullify deleted pointers. | archshift | 2014-06-19 | 1 | -0/+4 |
|/ | |||||
* | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 2014-04-18 | 1 | -1/+0 |
| | |||||
* | Added additional macros to support the MSVC size_t format and changed all formats to use the macros | Tycho | 2014-03-12 | 1 | -1/+1 |
| | |||||
* | Fixed a load of format string errors | Tycho | 2014-03-11 | 1 | -1/+1 |
| | |||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+255 |