summaryrefslogtreecommitdiffstats
path: root/src/Simulator/FireSimulator.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add a formatting function for Vector3 (#4282)peterbell102018-09-241-13/+11
| | | | | | | | | | * Vector3: Add custom fmt compatible formatter. * cLuaState: Add fmt version of ApiParamError * Use vector formatting in manual bindings * Always log vectors with FLOG
* Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell102018-08-291-1/+1
| | | | | | | Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work.
* Add the fmt library (#4065)peterbell102018-01-031-8/+9
| | | | | | | * 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.
* improve rain simulation (#4017)Alexander Harkness2017-12-261-22/+45
| | | | | | | | | | | * Uses vanilla logic to decide which blocks rain falls through. * Rain falls infinitely above the world, and stops at y=0. * Entities will now be extinguished if they are under rain-blocking blocks, and fire will now be extinguished by rain similarly. * Create IsWeatherWetAtXYZ to identify wetness at a particular location. * Use new code for enderman rain detection. * Fixes issue #916 * Disable warnings for global constructors in the fire simulator.
* Changed some int parameters to vector parameters (#3937)Bond-0092017-09-071-6/+6
|
* Changed int parameters to vector parameters in cCuboid and simulators (#3874)Lane Kolbly2017-08-171-7/+7
|
* Remove double includes part 2 (#3890)peterbell102017-08-031-1/+0
|
* Increment fire block iteratorTiger Wang2017-07-211-0/+1
| | | | * Resolves potential deadlock
* FastRandom rewrite (#3754)peterbell102017-06-131-3/+3
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-11/+11
|
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-5/+5
|
* Improved mapsTiger Wang2015-07-141-2/+2
|
* Correct world height validations.Tommy Santerre2015-03-201-1/+1
| | | | | Unify the way we test block above the current one (Height - 1 instead of a_RelY + 1). Allow generation of world of flat height = 255
* Fixed type conversion warnings.Mattes D2015-01-181-1/+1
|
* Initial convertion of a_Dt to std::chronoTycho2015-01-111-2/+2
| | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-2/+2
|
* Functions in cPluginManager get references instead of pointers.Mattes D2014-10-151-2/+2
|
* Added blocks to the fire simulatorMasy982014-09-111-0/+11
|
* Added missing HOOK_BLOCK_SPREAD call.Howaner2014-08-011-6/+14
|
* Style: Normalized spaces after if, for and while.madmaxoft2014-07-211-1/+1
|
* Fixed style: spaces after commas.madmaxoft2014-07-191-1/+1
|
* Basic style fixes.madmaxoft2014-07-171-2/+2
|
* Normalized comments.madmaxoft2014-07-171-1/+1
| | | | | 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.
* Merge branch 'master' into chunksparsing/structsTycho2014-04-271-1/+1
|\ | | | | | | | | | | Conflicts: src/Chunk.cpp src/Chunk.h
| * Did some static analysis, fixed some bugs and optimized a lot of codejfhumann2014-04-181-1/+1
| |
* | Implemented Chunk Sparsing with segmentsTycho2014-04-261-4/+6
|/
* Fixed compilation after last PR merge.madmaxoft2014-03-281-1/+1
|
* Change SpreadSource prefix to ssHowaner2014-03-271-1/+1
|
* Add SpreadSourceHowaner2014-03-271-1/+1
|
* Add HOOK_BLOCK_SPREADHowaner2014-03-271-3/+11
|
* Fixed compileTiger Wang2014-03-101-1/+2
|
* Removed uneeded meta obtainTiger Wang2014-03-091-3/+1
|
* TNT explodes when consumed by fireTiger Wang2014-03-091-6/+19
| | | | Fixed FS#406
* Merge pull request #738 from xdot/masterMattes D2014-03-021-1/+1
|\ | | | | Refactored global block property arrays
| * g_BlockXXX => cBlockInfo::XXXandrew2014-03-011-1/+1
| |
* | Fix Double Slabs, fix Slab Meta and add more things to burnableHowaner2014-02-281-0/+13
|/
* Add Hay Bale to BurnableHowaner2014-02-201-0/+1
|
* Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft2013-12-201-3/+3
|
* Merged if statements.Samuel Barney2013-12-051-7/+1
|
* Made suggested changesSamuel Barney2013-12-041-5/+10
|
* Fire no longer goes out when on top of nether rackSamuel Barney2013-12-021-1/+6
|
* Moved source to srcAlexander Harkness2013-11-241-0/+374