summaryrefslogtreecommitdiffstats
path: root/src/BlockInfo.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-02-20cBlockInfo: Deprecate direct access to variables. (#4184)peterbell101-65/+64
2018-01-23Removed cBlockInfo.m_IsSnowable (#4105)Bond-0091-5/+12
* Removed cBlockInfo.m_IsSnowable * Return IsSnowable from deprecated variable binding m_IsSnowable.
2017-12-26improve rain simulation (#4017)Alexander Harkness1-5/+6
* 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.
2017-09-07Lighting now generally consistent with vanilla (#3988)Alexander Harkness1-1/+9
* Lighting now generally consistent with vanilla Skylight is now dispersed by some blocks, instead of passing through unimpeded. Some blocks which were not marked as transparent are now marked as such. Water and other such blocks now attenuate light with the correct intensity. Generally changes were based on documentation in the Minecraft Wiki: https://minecraft.gamepedia.com/Opacity#On_block_light , however during play-testing on vanilla lava was found not to attenuate sky or block-light so the attenuation was removed. This fixes #3849 * Add API documentation for IsSkylightDispersant * Rename m_SkylightDispersant to m_IsSkylightDispersant * Update comment for m_Transparent property of Blocks
2017-08-07cBlockInfo: Deprecate place soundpeterbell101-5/+0
2017-07-03cBlockInfo static initialisation (#3832)peterbell101-28/+38
2016-11-06Anticheat fastbreak (#3411)mohe20151-0/+5
Added block hardness checks when breaking blocks.
2016-10-12Spectators added (#2852)bibo381-0/+5
2016-02-05Bulk clearing of whitespaceLogicParrot1-1/+1
2015-12-13blockheight mechanismGargaj1-0/+5
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-1/+1
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-1/+1
2014-09-25Fixed styleTycho1-2/+2
2014-09-17Added first test to show the object can be createdTycho1-3/+28
2014-09-09Moved sound-configs into BlockID.h and fixed/ added loads of soundsMasy981-0/+4
2014-07-29Added cBlockInfo::CanBeTerraformed and made finishers use itSTRWarrior1-0/+4
I might have forgotten some of them though
2014-07-17Fixed issues relating to saplings and leavesTiger Wang1-4/+0
- Removed cBlockInfo::RequiresSpecialTool * Fixes #1195 * Fixes #1201
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-06-25BlockInfo is now a proper C++ singleton.madmaxoft1-14/+9
It is properly initialized before it is ever used.
2014-03-02cBlockInfo now manages the respective cBlockHandlerandrew1-0/+27
2014-03-02GetById => Getandrew1-10/+10
2014-03-02Exported cBlockInfoandrew1-3/+8
2014-03-01g_BlockXXX => cBlockInfo::XXXandrew1-5/+22
2014-03-01Refactored global block property arraysandrew1-0/+54