1
0
cuberite-2a/src
Alexander Harkness b5a23e5cd9 Lighting now generally consistent with vanilla (#3988)
* 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-09-07 11:56:17 +01:00
..
Bindings Revert "Replace ItemCallbacks with lambdas (#3948)" 2017-09-02 08:50:23 +01:00
BlockEntities Changed some int parameters to vector parameters (#3937) 2017-09-07 10:25:34 +02:00
Blocks Revert "Replace ItemCallbacks with lambdas (#3948)" 2017-09-02 08:50:23 +01:00
Entities Switched player statistic store to save with UUID filenames. (#4002) 2017-09-07 11:57:12 +02:00
Generating Merge pull request #3489 from cuberite/EntityOwnership 2017-08-18 11:17:56 +01:00
HTTP Update mbedtls to 2.5.1 (#3964) 2017-08-30 15:00:06 +01:00
Items Changed some int parameters to vector parameters (#3937) 2017-09-07 10:25:34 +02:00
mbedTLS++ Update mbedtls to 2.5.1 (#3964) 2017-08-30 15:00:06 +01:00
Mobs Revert "Replace ItemCallbacks with lambdas (#3948)" 2017-09-02 08:50:23 +01:00
Noise Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
OSSupport Update mbedtls to 2.5.1 (#3964) 2017-08-30 15:00:06 +01:00
Protocol Added assert to cProtocolRecognizer::GetPacketId. (#4001) 2017-09-04 16:58:38 +01:00
Resources New icon colors (#3675) 2017-06-03 18:49:02 +02:00
Simulator Changed some int parameters to vector parameters (#3937) 2017-09-07 10:25:34 +02:00
UI Revert "Replace ItemCallbacks with lambdas (#3948)" 2017-09-02 08:50:23 +01:00
WorldStorage Switched player statistic store to save with UUID filenames. (#4002) 2017-09-07 11:57:12 +02:00
AllocationPool.h Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
BiomeDef.cpp Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
BiomeDef.h Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
BlockArea.cpp Revert "Replace ItemCallbacks with lambdas (#3948)" 2017-09-02 08:50:23 +01:00
BlockArea.h Revert "Replace ItemCallbacks with lambdas (#3948)" 2017-09-02 08:50:23 +01:00
BlockID.cpp Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
BlockID.h Minor changes (#3909) 2017-08-24 11:19:40 +02:00
BlockInfo.cpp Lighting now generally consistent with vanilla (#3988) 2017-09-07 11:56:17 +01:00
BlockInfo.h Lighting now generally consistent with vanilla (#3988) 2017-09-07 11:56:17 +01:00
BlockInServerPluginInterface.h Replaced includes with forward declarations 2017-08-13 12:31:10 +01:00
BlockTracer.h Tracer replacement (#3704) 2017-05-11 13:34:36 +01:00
BoundingBox.cpp Fully implemented leashes (#3798) 2017-08-21 10:46:41 +02:00
BoundingBox.h Fully implemented leashes (#3798) 2017-08-21 10:46:41 +02:00
BrewingRecipes.cpp Minor cBrewingRecipes cleanup (#3731) 2017-05-28 20:08:23 +02:00
BrewingRecipes.h Minor cBrewingRecipes cleanup (#3731) 2017-05-28 20:08:23 +02:00
Broadcaster.cpp Removed ClientHandle.h dependencies from common headers. 2016-11-18 20:00:04 +01:00
Broadcaster.h Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
BuildInfo.h.cmake Added abilty to set build info 2014-09-10 16:07:00 +01:00
ByteBuffer.cpp Add cUUID class (#3871) 2017-08-25 13:43:18 +01:00
ByteBuffer.h Add cUUID class (#3871) 2017-08-25 13:43:18 +01:00
ChatColor.cpp Refactored cChatColor 2014-07-19 11:09:39 -07:00
ChatColor.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
CheckBasicStyle.lua StyleCheck: Add "else has to be on a separate line" (#3412) 2016-10-20 19:09:18 +02:00
Chunk.cpp Revert "Replace ItemCallbacks with lambdas (#3948)" 2017-09-02 08:50:23 +01:00
Chunk.h Revert "Replace ItemCallbacks with lambdas (#3948)" 2017-09-02 08:50:23 +01:00
ChunkData.cpp Implement anvil chunk sparsing 2017-08-26 20:56:44 +02:00
ChunkData.h Implement anvil chunk sparsing 2017-08-26 20:56:44 +02:00
ChunkDataCallback.h Implement protocol level chunk sparsing (#3864) 2017-08-21 17:56:53 +01:00
ChunkDef.h Merge pull request #3489 from cuberite/EntityOwnership 2017-08-18 11:17:56 +01:00
ChunkMap.cpp Changed some int parameters to vector parameters (#3937) 2017-09-07 10:25:34 +02:00
ChunkMap.h Revert "Replace ItemCallbacks with lambdas (#3948)" 2017-09-02 08:50:23 +01:00
ChunkSender.cpp Implement protocol level chunk sparsing (#3864) 2017-08-21 17:56:53 +01:00
ChunkSender.h Implement protocol level chunk sparsing (#3864) 2017-08-21 17:56:53 +01:00
ChunkStay.cpp Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
ChunkStay.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
ClientHandle.cpp Revert "Replace ItemCallbacks with lambdas (#3948)" 2017-09-02 08:50:23 +01:00
ClientHandle.h Updated APIDoc (#3985) 2017-09-07 10:33:46 +02:00
CMakeLists.txt Update mbedtls to 2.5.1 (#3964) 2017-08-30 15:00:06 +01:00
Color.cpp Leather Armor can now be dyed. 2015-07-15 14:05:36 -06:00
Color.h Lua plugin cColor (#3833) 2017-07-12 12:30:43 +02:00
CommandOutput.cpp Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
CommandOutput.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
CompositeChat.cpp CompositeChat: Use shorter JSON format. 2016-12-16 00:07:23 +01:00
CompositeChat.h Fixed cCompositeChat's constructor LuaAPI bindings. 2016-09-25 12:42:05 +02:00
CraftingRecipes.cpp Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
CraftingRecipes.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Cuberite.vcxproj.user Renamed leftover strings to Cuberite / Server, as needed. 2016-01-01 21:05:09 +01:00
Cuboid.cpp cCuboid: restore default copy construct and assign. 2017-08-28 13:48:10 +01:00
Cuboid.h Add TOLUA_EXPOSITION for readability 2017-08-28 14:36:23 +01:00
DeadlockDetect.cpp Revert "Replace ItemCallbacks with lambdas (#3948)" 2017-09-02 08:50:23 +01:00
DeadlockDetect.h Clang 5.0 fixes 2017-05-21 12:19:06 +02:00
Defines.h Minor changes (#3909) 2017-08-24 11:19:40 +02:00
EffectID.h Update tolua and export EffectID 2017-06-29 18:58:48 +02:00
Enchantments.cpp Added anvil enchantment handling. (#3857) 2017-07-28 18:00:20 +01:00
Enchantments.h Minor changes (#3909) 2017-08-24 11:19:40 +02:00
Endianness.h Fixes compilation failures on MacOSX 10.10 2015-07-09 11:15:37 -06:00
FastRandom.cpp Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
FastRandom.h Tentative fix for player-limit race condition (#3862) 2017-07-28 17:54:40 +01:00
ForEachChunkProvider.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
FurnaceRecipe.cpp Minor changes (#3909) 2017-08-24 11:19:40 +02:00
FurnaceRecipe.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Globals.cpp
Globals.h Revert "Replace ItemCallbacks with lambdas (#3948)" 2017-09-02 08:50:23 +01:00
IniFile.cpp Revert "Issue3136" 2016-04-14 12:40:46 +03:00
IniFile.h Clang 5.0 fixes 2017-05-21 12:19:06 +02:00
Inventory.cpp Off-hand/shield slot functional, save and load slot, bow + arrow functional (#3725) 2017-05-24 08:09:58 +02:00
Inventory.h Removed unused forward declarations (#3888) 2017-08-03 15:10:29 +02:00
Item.cpp Minor changes (#3909) 2017-08-24 11:19:40 +02:00
Item.h Add TOLUA_EXPOSITION for readability 2017-08-28 14:36:23 +01:00
ItemGrid.cpp cItemGrid bounds check (#3837) 2017-07-09 22:54:56 +02:00
ItemGrid.h cItemGrid bounds check (#3837) 2017-07-09 22:54:56 +02:00
LightingThread.cpp Lighting now generally consistent with vanilla (#3988) 2017-09-07 11:56:17 +01:00
LightingThread.h Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
LinearInterpolation.cpp Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
LinearInterpolation.h Unified the doxy-comment format. 2015-07-31 16:49:10 +02:00
LinearUpscale.h Fixed RasPi builds of unit tests. 2016-08-04 20:47:53 +02:00
LineBlockTracer.cpp Revert "Replace ItemCallbacks with lambdas (#3948)" 2017-09-02 08:50:23 +01:00
LineBlockTracer.h Revert "Replace ItemCallbacks with lambdas (#3948)" 2017-09-02 08:50:23 +01:00
Logger.cpp Increase robustness of the logging subsystem 2015-09-15 16:19:49 +01:00
Logger.h Add command line argument for disabling the logfile 2017-06-03 21:40:35 +02:00
LoggerListeners.cpp Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
LoggerListeners.h Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
main.cpp Removed the LeakFinder for Windows. (#3777) 2017-06-19 11:05:19 +02:00
Map.cpp Revert "Replace ItemCallbacks with lambdas (#3948)" 2017-09-02 08:50:23 +01:00
Map.h Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
MapManager.cpp Revert "Replace ItemCallbacks with lambdas (#3948)" 2017-09-02 08:50:23 +01:00
MapManager.h Revert "Replace ItemCallbacks with lambdas (#3948)" 2017-09-02 08:50:23 +01:00
Matrix4.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
MemorySettingsRepository.cpp Initial implementation of IniFile overloading 2015-05-16 10:46:51 +01:00
MemorySettingsRepository.h Fixed RasPi builds of unit tests. 2016-08-04 20:47:53 +02:00
MobCensus.cpp Fixed warnings in MSVC. 2015-06-02 12:51:43 +02:00
MobCensus.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
MobFamilyCollecter.cpp Removed double includes (#3885) 2017-08-02 19:57:20 +01:00
MobFamilyCollecter.h Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
MobProximityCounter.cpp Silenced and fixed many warning messages across multiple files. 2015-07-29 09:49:30 -06:00
MobProximityCounter.h Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
MobSpawner.cpp Revert "Replace ItemCallbacks with lambdas (#3948)" 2017-09-02 08:50:23 +01:00
MobSpawner.h Revert "Replace ItemCallbacks with lambdas (#3948)" 2017-09-02 08:50:23 +01:00
MonsterConfig.cpp Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
MonsterConfig.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
NetherPortalScanner.cpp Removed double includes (#3885) 2017-08-02 19:57:20 +01:00
NetherPortalScanner.h Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
OverridesSettingsRepository.cpp Proper fix for #3136 (#3143) 2016-04-18 23:04:13 +01:00
OverridesSettingsRepository.h Clang 5.0 fixes 2017-05-21 12:19:06 +02:00
ProbabDistrib.cpp Removed double includes (#3885) 2017-08-02 19:57:20 +01:00
ProbabDistrib.h FastRandom rewrite (#3754) 2017-06-13 21:35:30 +02:00
RankManager.cpp Add cUUID class (#3871) 2017-08-25 13:43:18 +01:00
RankManager.h Add cUUID class (#3871) 2017-08-25 13:43:18 +01:00
RCONServer.cpp Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
RCONServer.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Root.cpp Revert "Replace ItemCallbacks with lambdas (#3948)" 2017-09-02 08:50:23 +01:00
Root.h Revert "Replace ItemCallbacks with lambdas (#3948)" 2017-09-02 08:50:23 +01:00
Scoreboard.cpp Revert "Replace ItemCallbacks with lambdas (#3948)" 2017-09-02 08:50:23 +01:00
Scoreboard.h Revert "Replace ItemCallbacks with lambdas (#3948)" 2017-09-02 08:50:23 +01:00
Server.cpp Revert "Replace ItemCallbacks with lambdas (#3948)" 2017-09-02 08:50:23 +01:00
Server.h Update mbedtls to 2.5.1 (#3964) 2017-08-30 15:00:06 +01:00
SetChunkData.cpp Changed entity ownership model to use smart pointers 2017-08-07 19:24:16 +01:00
SetChunkData.h Changed entity ownership model to use smart pointers 2017-08-07 19:24:16 +01:00
SettingsRepositoryInterface.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
SpawnPrepare.cpp Potential spawn prepare fix (#3924) 2017-08-22 14:34:43 +02:00
SpawnPrepare.h Potential spawn prepare fix (#3924) 2017-08-22 14:34:43 +02:00
Statistics.cpp Minor changes (#3909) 2017-08-24 11:19:40 +02:00
Statistics.h Fixed spaces around single-line comments. 2014-07-17 19:13:23 +02:00
Stopwatch.h Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
StringCompression.cpp Fixed type-casting-related warnings. 2016-08-24 22:26:53 +02:00
StringCompression.h Unified the doxy-comment format. 2015-07-31 16:49:10 +02:00
StringUtils.cpp Represent cItem::m_Lore as an AStringVector (#3882) 2017-08-18 11:29:54 +01:00
StringUtils.h Represent cItem::m_Lore as an AStringVector (#3882) 2017-08-18 11:29:54 +01:00
Tracer.cpp Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Tracer.h Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
UUID.cpp Update mbedtls to 2.5.1 (#3964) 2017-08-30 15:00:06 +01:00
UUID.h Add cUUID class (#3871) 2017-08-25 13:43:18 +01:00
Vector3.h Add TOLUA_EXPOSITION for readability 2017-08-28 14:36:23 +01:00
VoronoiMap.cpp Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
VoronoiMap.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
WebAdmin.cpp Revert "Replace ItemCallbacks with lambdas (#3948)" 2017-09-02 08:50:23 +01:00
WebAdmin.h Removed unused forward declarations (#3888) 2017-08-03 15:10:29 +02:00
World.cpp Changed some int parameters to vector parameters (#3937) 2017-09-07 10:25:34 +02:00
World.h Changed some int parameters to vector parameters (#3937) 2017-09-07 10:25:34 +02:00
XMLParser.h Minor changes (#3909) 2017-08-24 11:19:40 +02:00