summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/FurnaceEntity.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D2019-09-291-8/+8
|
* CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell102018-07-261-2/+0
| | | | Add check for number of empty lines between functions and fix the corresponding failures
* Prefer static_cast to reinterpret_cast (#4223)peterbell102018-05-021-1/+1
| | | | | | | * Change reinterpret_cast -> static_cast wherever possible * Remove more unnecessary `const_cast`s. reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there.
* Smelting Gives Experience (#4094)Alex Sweet2018-04-111-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* BlockEntities: Support cloning self.Mattes D2017-06-161-27/+56
|
* Fixes problems with windows:Lukas Pioch2017-06-051-1/+1
| | | | | - Changed cPlayer:OpenWindow to accept a ref, tolua adds a nil check - Close open lua window in destructor, to avoid dangling pointers
* Bulk clearing of whitespaceLogicParrot2016-02-051-1/+1
|
* allow use failures to propagate from the entity/block to the playerGargaj2015-12-131-1/+2
|
* Fixes multiple furnace issues, including from loading world storageHaoTNN2015-06-031-14/+29
|
* Fixes lit furnace issue in #2051haotnn2015-05-191-0/+1
|
* Merge branch 'master' into InventoryHowaner2015-01-251-1/+1
|\
| * Initial convertion of a_Dt to std::chronoTycho2015-01-111-1/+1
| | | | | | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
* | Own classes for all windows.Howaner2014-12-131-1/+1
|/
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-4/+4
|
* Fixed trailing whitespace.Mattes D2014-10-211-1/+1
|
* Merged branch 'master' of git://github.com/sriehl/MCServerMattes D2014-10-211-19/+15
|\
| * convert old style casts to fix warningsSteven Riehl2014-10-121-28/+24
| |
* | Furnaces now update their block entity typeTiger Wang2014-10-181-2/+4
| | | | | | | | Therefore improving cChunk's variable boundary checking.
* | Simpler code.Alexander Harkness2014-10-181-3/+2
| |
* | Nullptr?Alexander Harkness2014-10-161-2/+2
| |
* | Fixed a number of stylistic issues.Alexander Harkness2014-10-161-7/+7
| |
* | Improved furnacesTiger Wang2014-10-031-94/+47
|/ | | | | | | | * Fixed progress bar on 1.8 * Fixed bugs * Improved code * Fixes #1068 * Fixes #1070
* Removed WSSCompactTiger Wang2014-09-301-54/+0
|
* Merge remote-tracking branch 'origin/master' into chestcartsTiger Wang2014-09-271-2/+0
|\ | | | | | | | | Conflicts: src/Entities/Minecart.cpp
| * Removed more unessicary includesTycho2014-09-261-2/+0
| |
* | Implemented Chest MinecartsTiger Wang2014-09-131-1/+0
|/
* Style: Normalized to no spaces before closing parenthesis.madmaxoft2014-07-211-1/+1
|
* Did some static analysis, fixed some bugs and optimized a lot of codejfhumann2014-04-181-3/+4
|
* BlockEntities is warnings freeTycho2014-02-241-2/+4
|
* Removed obsoleted functionsTiger Wang2014-01-161-2/+2
|
* Fixed a few MSVC warnings.madmaxoft2014-01-061-4/+4
|
* Fixed VC2008 compilation, normalized include paths.madmaxoft2013-11-271-1/+1
|
* Fixed the remaining derpsAlexander Harkness2013-11-271-1/+1
|
* Further attempts to fix compileTiger Wang2013-11-251-1/+1
|
* Attempt to fix compilationTiger Wang2013-11-241-1/+1
|
* Moved source to srcAlexander Harkness2013-11-241-0/+479