1
0
cuberite-2a/src
Alex Sweet a0896c63d7 Smelting Gives Experience (#4094)
* 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
2018-04-11 07:46:11 +01:00
..
Bindings Add cPluginManager::GenericCallHook (#4027) 2018-03-02 10:40:48 +00:00
BlockEntities Smelting Gives Experience (#4094) 2018-04-11 07:46:11 +01:00
Blocks Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
Entities Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
Generating Wolves only spawn in taiga biomes (#4197) 2018-03-20 10:44:30 +01:00
HTTP Fix cUrlClient leak (#4125) 2018-02-20 17:08:46 +00:00
Items Damage fishing rod when catching the hook on a block, then reeling it in (#4151) 2018-02-11 12:40:16 +00:00
mbedTLS++ Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
Mobs Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
Noise Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
OSSupport Fix cUrlClient leak (#4125) 2018-02-20 17:08:46 +00:00
Protocol Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
Resources New icon colors (#3675) 2017-06-03 18:49:02 +02:00
Simulator Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
UI Smelting Gives Experience (#4094) 2018-04-11 07:46:11 +01:00
WorldStorage Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00: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 Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
BlockArea.h Replace ItemCallbacks with lambdas (#3993) 2017-09-11 23:20:49 +02:00
BlockID.cpp Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
BlockID.h Minor changes (#3909) 2017-08-24 11:19:40 +02:00
BlockInfo.cpp * Block Info: glazed terracotta and concrete hardness/solid voxel status (#4205) 2018-04-02 18:45:01 +01:00
BlockInfo.h cBlockInfo: Deprecate direct access to variables. (#4184) 2018-02-20 10:43:28 +00: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 Add the fmt library (#4065) 2018-01-03 17:41:16 +00: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
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 cChunk and cChunkData: Use vectors for block get and set functions (#4172) 2018-02-04 22:15:31 +00:00
Chunk.h cChunk and cChunkData: Use vectors for block get and set functions (#4172) 2018-02-04 22:15:31 +00:00
ChunkData.cpp cChunk and cChunkData: Use vectors for block get and set functions (#4172) 2018-02-04 22:15:31 +00:00
ChunkData.h cChunk and cChunkData: Use vectors for block get and set functions (#4172) 2018-02-04 22:15:31 +00:00
ChunkDataCallback.h Implement protocol level chunk sparsing (#3864) 2017-08-21 17:56:53 +01:00
ChunkDef.h cChunk and cChunkData: Use vectors for block get and set functions (#4172) 2018-02-04 22:15:31 +00:00
ChunkMap.cpp Fix explosion interaction with block entities. (#4052) 2017-09-27 22:22:15 +01:00
ChunkMap.h BroadcastBlockBreakAnimation and BroadcastBlockEntity use vectors (#4038) 2017-09-25 18:17:45 +02:00
ChunkSender.cpp Implement protocol level chunk sparsing (#3864) 2017-08-21 17:56:53 +01:00
ChunkSender.h Removed UTF-8 BOM (#4033) 2017-09-19 10:34:08 +02: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 Properly destroy player (#4199) 2018-04-03 14:39:39 +01:00
ClientHandle.h Rewrite cClientHandle::HandleRightClick (#4089) 2018-01-08 13:37:10 +00:00
CMakeLists.txt cItemGrid: Allocate storage lazily (#4083) 2018-01-21 18:45:13 +00: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 Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
CommandOutput.h Add the fmt library (#4065) 2018-01-03 17:41:16 +00: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 Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
CraftingRecipes.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Cuberite.vcxproj.user Added working directory for x64 builds (#4037) 2017-09-20 19:01:46 +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 Replace ItemCallbacks with lambdas (#3993) 2017-09-11 23:20:49 +02:00
DeadlockDetect.h Clang 5.0 fixes 2017-05-21 12:19:06 +02:00
Defines.h Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00: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
FunctionRef.h Replace ItemCallbacks with lambdas (#3993) 2017-09-11 23:20:49 +02:00
FurnaceRecipe.cpp Smelting Gives Experience (#4094) 2018-04-11 07:46:11 +01:00
FurnaceRecipe.h Smelting Gives Experience (#4094) 2018-04-11 07:46:11 +01:00
Globals.cpp
Globals.h Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00: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 Fix typo in #4095. 2017-12-21 16:01:24 +00:00
Inventory.h Removed unused forward declarations (#3888) 2017-08-03 15:10:29 +02:00
Item.cpp Improved fishing rewards (#4120) 2018-01-05 14:32:30 +00:00
Item.h Item durability loss now depends on the item used. (#4123) 2018-01-05 11:28:06 +00:00
ItemGrid.cpp cItemGrid: Allocate storage lazily (#4083) 2018-01-21 18:45:13 +00:00
ItemGrid.h cItemGrid: Allocate storage lazily (#4083) 2018-01-21 18:45:13 +00:00
LazyArray.h cItemGrid: Allocate storage lazily (#4083) 2018-01-21 18:45:13 +00:00
LightingThread.cpp cLightingThread: Faster chunk reading (#4185) 2018-02-21 10:30:48 +00:00
LightingThread.h cWorld Threads: Seperate initialization and thread start. 2017-10-21 19:33:22 +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 Replace ItemCallbacks with lambdas (#3993) 2017-09-11 23:20:49 +02:00
LineBlockTracer.h Replace ItemCallbacks with lambdas (#3993) 2017-09-11 23:20:49 +02:00
Logger.cpp Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
Logger.h Add the fmt library (#4065) 2018-01-03 17:41:16 +00: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
LoggerSimple.h Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
main.cpp Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
Map.cpp Replace ItemCallbacks with lambdas (#3993) 2017-09-11 23:20:49 +02:00
Map.h Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
MapManager.cpp Replace ItemCallbacks with lambdas (#3993) 2017-09-11 23:20:49 +02:00
MapManager.h Replace ItemCallbacks with lambdas (#3993) 2017-09-11 23:20:49 +02: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 Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00: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 Replace ItemCallbacks with lambdas (#3993) 2017-09-11 23:20:49 +02:00
MobSpawner.h Replace ItemCallbacks with lambdas (#3993) 2017-09-11 23:20:49 +02: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 Broadcast playerlist removal in every world (#4201) 2018-04-02 18:39:54 +01:00
Root.h Broadcast playerlist removal in every world (#4201) 2018-04-02 18:39:54 +01:00
Scoreboard.cpp Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
Scoreboard.h Replace ItemCallbacks with lambdas (#3993) 2017-09-11 23:20:49 +02:00
Server.cpp Replace ItemCallbacks with lambdas (#3993) 2017-09-11 23:20:49 +02: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
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 Smelting Gives Experience (#4094) 2018-04-11 07:46:11 +01:00
StringUtils.h Smelting Gives Experience (#4094) 2018-04-11 07:46:11 +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 Fix cUUID::Variant (#4213) 2018-04-08 00:20:53 +02: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 Replace ItemCallbacks with lambdas (#3993) 2017-09-11 23:20:49 +02:00
WebAdmin.h Removed unused forward declarations (#3888) 2017-08-03 15:10:29 +02:00
World.cpp Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
World.h improve rain simulation (#4017) 2017-12-26 21:25:57 +00:00
XMLParser.h Minor changes (#3909) 2017-08-24 11:19:40 +02:00