1
0
cuberite-2a/source
sebi.noreply@gmail.com e33e9111ab Fixed issues with pickups.
* Now when picking up max. stack amount is checked.
* Added cInventory::AddItemAnyAmount() which will not fail if it cannot add all items (it will just modify amount)
* If there is no space in inventory and picking up stacked items, it will try to fill stacks already in inventory, partially picking up the item.
* When closing inventory player will drop any items it's currently 'dragging'

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1008 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-24 12:48:25 +00:00
..
Blocks New Block property g_BlockIsSolid[]; Fixed ladder, torches and vines placement. (Patch contributed by funmaker) 2012-10-23 18:13:37 +00:00
Generating Adjusted the number and sizes of ore nests (Patch contributed by STR_Warrior) 2012-10-23 19:39:30 +00:00
Items Added more item stacking sizes (patch contributed by Hanfer) 2012-10-21 19:32:40 +00:00
md5 Fixed *nix compilation for md5.cpp 2012-07-29 12:38:34 +00:00
Mobs Added spawn eggs with mobs (patch committed by Luksor) 2012-10-19 18:30:46 +00:00
OSSupport SocketThread: clients aren't double-removed anymore. 2012-09-29 19:43:34 +00:00
Protocol My OCD has alpha-sorted some stuff :) 2012-10-21 08:01:59 +00:00
Simulator Removed excessive debug loggin in Floody fluid simulator. 2012-10-20 11:47:50 +00:00
squirrelbindings Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
UI Fixed issues with pickups. 2012-10-24 12:48:25 +00:00
WorldStorage Added jukeboxes (patch contributed by Luksor) 2012-10-21 07:46:28 +00:00
AllToLua.bat Nightbuild: bindings are automatically update before the build 2012-06-07 20:30:29 +00:00
AllToLua.pkg Completely removed support for old style Lua plugins (can use both Plugin and NewPlugin in settings.ini for now) 2012-10-13 23:34:47 +00:00
AllToLua.sh Updated zlib, added chat formatting, fixed upside down stairs and slabs, fixed makefiles, hopefully updated vc project files 2012-06-03 23:35:17 +00:00
Authenticator.cpp Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
Authenticator.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
Bindings.cpp Double chests are now working, and with sound. (FS #69) 2012-10-20 21:53:09 +00:00
Bindings.h Double chests are now working, and with sound. (FS #69) 2012-10-20 21:53:09 +00:00
BlockArea.cpp BlockArea: Added const-ness to non-modifying functions, so that a const cBlockArea & can be used. 2012-10-14 17:02:06 +00:00
BlockArea.h Floody fluid sim: reads params from world.ini; water and lava react together into cobblestone / stone / obsidian 2012-10-14 20:10:03 +00:00
BlockEntity.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
BlockID.cpp #grammarnazi: fixed tabs to spaces and alpha-sort 2012-10-23 19:48:16 +00:00
BlockID.h New Block property g_BlockIsSolid[]; Fixed ladder, torches and vines placement. (Patch contributed by funmaker) 2012-10-23 18:13:37 +00:00
ByteBuffer.cpp Fixed slot parsing in 1.2.5 causing weird behavior ( http://forum.mc-server.org/showthread.php?tid=551&pid=4413#pid4413 ) 2012-09-06 18:17:47 +00:00
ByteBuffer.h Debugging in cByteBuffer::Write(); added the ReadAgain() method to allow ProtoProxy re-send the data it has parsed. 2012-09-04 19:06:46 +00:00
ChatColor.cpp Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
ChatColor.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
ChestEntity.cpp Double chests are now working, and with sound. (FS #69) 2012-10-20 21:53:09 +00:00
ChestEntity.h Double chests are now working, and with sound. (FS #69) 2012-10-20 21:53:09 +00:00
Chunk.cpp Made DeepSnow remove flowers and mushrooms while snowing. 2012-10-22 14:32:54 +00:00
Chunk.h Top blocks are now snowed over, either normally, or in deep snow (patch contributed by funmaker, Luksor and Sebi) 2012-10-21 21:15:57 +00:00
Chunk.inl.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
ChunkDef.h Made cWorld's block query functions more orthogonal, added GetBlockInfo() returning all info on a block. 2012-10-20 11:40:34 +00:00
ChunkMap.cpp Added jukeboxes (patch contributed by Luksor) 2012-10-21 07:46:28 +00:00
ChunkMap.h Added jukeboxes (patch contributed by Luksor) 2012-10-21 07:46:28 +00:00
ChunkSender.cpp Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
ChunkSender.h Source files cleanup: OSSupport-related files in a separate subfolder, renamed. 2012-09-23 21:23:33 +00:00
ClientHandle.cpp You can now see particles and hear sounds when other players are destroying blocks. 2012-10-22 20:45:56 +00:00
ClientHandle.h Added jukeboxes (patch contributed by Luksor) 2012-10-21 07:46:28 +00:00
CraftingRecipes.cpp Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
CraftingRecipes.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
Cuboid.cpp Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
Cuboid.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
Defines.h Removed a few debugging messages from the release builds. 2012-10-06 19:00:03 +00:00
Doors.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
Endianness.h Attempt to bring sanity to newlines across systems. 2012-06-14 13:06:06 +00:00
Entity.cpp Removed a few debugging messages from the release builds. 2012-10-06 19:00:03 +00:00
Entity.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
FallingBlock.cpp Added falling block entities. Sand and gravel now properly fall down 2012-09-30 16:37:44 +00:00
FallingBlock.h Added falling block entities. Sand and gravel now properly fall down 2012-09-30 16:37:44 +00:00
FurnaceEntity.cpp Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
FurnaceEntity.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
FurnaceRecipe.cpp Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
FurnaceRecipe.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
Globals.cpp Attempt to bring sanity to newlines across systems. 2012-06-14 13:06:06 +00:00
Globals.h Preparation for multiple fluid simulators. 2012-10-13 09:53:28 +00:00
Group.cpp Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
Group.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
GroupManager.cpp Converted some const char*s and std::strings to AStrings 2012-10-18 21:54:56 +00:00
GroupManager.h Converted some const char*s and std::strings to AStrings 2012-10-18 21:54:56 +00:00
HeartBeat.cpp Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
HeartBeat.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
Inventory.cpp Fixed issues with pickups. 2012-10-24 12:48:25 +00:00
Inventory.h Fixed issues with pickups. 2012-10-24 12:48:25 +00:00
Item.cpp Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
Item.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
JukeboxEntity.cpp Added jukeboxes (patch contributed by Luksor) 2012-10-21 07:46:28 +00:00
JukeboxEntity.h Added jukeboxes (patch contributed by Luksor) 2012-10-21 07:46:28 +00:00
Ladder.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
LeakFinder.cpp Use leakfinder in debug builds to dump all currently used memory via the "dumpmem" console command. 2012-10-19 22:09:33 +00:00
LeakFinder.h Use leakfinder in debug builds to dump all currently used memory via the "dumpmem" console command. 2012-10-19 22:09:33 +00:00
LightingThread.cpp Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
LightingThread.h Source files cleanup: OSSupport-related files in a separate subfolder, renamed. 2012-09-23 21:23:33 +00:00
Log.cpp Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
Log.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
lua5.1.dll Added m_IP to player class and binding to get IP for LUA. (Probably should use m_pState) 2011-11-09 22:17:30 +00:00
LuaChunk.cpp Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
LuaChunk.h Moved blockticking into blockhandler classes. 2012-10-03 08:52:11 +00:00
LuaCommandBinder.cpp Completely removed support for old style Lua plugins (can use both Plugin and NewPlugin in settings.ini for now) 2012-10-13 23:34:47 +00:00
LuaCommandBinder.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
LuaFunctions.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
LuaItems.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
main.cpp Use leakfinder in debug builds to dump all currently used memory via the "dumpmem" console command. 2012-10-19 22:09:33 +00:00
ManualBindings.cpp Fixed manual bindings' ForEachXXX mapping not checking the object instance for validity. 2012-10-21 08:14:27 +00:00
ManualBindings.h Attempt to bring sanity to newlines across systems. 2012-06-14 13:06:06 +00:00
Matrix4f.cpp Attempt to bring sanity to newlines across systems. 2012-06-14 13:06:06 +00:00
Matrix4f.h Attempt to bring sanity to newlines across systems. 2012-06-14 13:06:06 +00:00
MCLogger.cpp Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
MCLogger.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
MemoryLeak.h Attempt to bring sanity to newlines across systems. 2012-06-14 13:06:06 +00:00
MersenneTwister.h Attempt to bring sanity to newlines across systems. 2012-06-14 13:06:06 +00:00
MonsterConfig.cpp Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
MonsterConfig.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
Noise.cpp Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
Noise.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
Noise.inc Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
NoteEntity.cpp Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
NoteEntity.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
Pawn.cpp Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
Pawn.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
Pickup.cpp Fixed issues with pickups. 2012-10-24 12:48:25 +00:00
Pickup.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
Piston.cpp Completely removed the old (buggy) redstone simulator. 2012-10-06 20:04:58 +00:00
Piston.h Got rid of nonsense logging in cPiston's direction calc. 2012-10-20 19:38:03 +00:00
Player.cpp Fixed issues with pickups. 2012-10-24 12:48:25 +00:00
Player.h Converted some const char*s and std::strings to AStrings 2012-10-18 21:54:56 +00:00
Plugin_NewLua.cpp Completely removed support for old style Lua plugins (can use both Plugin and NewPlugin in settings.ini for now) 2012-10-13 23:34:47 +00:00
Plugin_NewLua.h Completely removed support for old style Lua plugins (can use both Plugin and NewPlugin in settings.ini for now) 2012-10-13 23:34:47 +00:00
Plugin_Squirrel.cpp Completely removed support for old style Lua plugins (can use both Plugin and NewPlugin in settings.ini for now) 2012-10-13 23:34:47 +00:00
Plugin_Squirrel.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
Plugin.cpp Completely removed support for old style Lua plugins (can use both Plugin and NewPlugin in settings.ini for now) 2012-10-13 23:34:47 +00:00
Plugin.h Completely removed support for old style Lua plugins (can use both Plugin and NewPlugin in settings.ini for now) 2012-10-13 23:34:47 +00:00
PluginManager.cpp Completely removed support for old style Lua plugins (can use both Plugin and NewPlugin in settings.ini for now) 2012-10-13 23:34:47 +00:00
PluginManager.h Completely removed support for old style Lua plugins (can use both Plugin and NewPlugin in settings.ini for now) 2012-10-13 23:34:47 +00:00
ReferenceManager.cpp Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
ReferenceManager.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
Root.cpp Completely removed the old (buggy) redstone simulator. 2012-10-06 20:04:58 +00:00
Root.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
Server.cpp Use leakfinder in debug builds to dump all currently used memory via the "dumpmem" console command. 2012-10-19 22:09:33 +00:00
Server.h Sockets are now owned by SocketThreads instead of ClientHandle (FS #246 and FS #247) 2012-09-25 08:23:19 +00:00
Sign.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
SignEntity.cpp Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
SignEntity.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
SquirrelCommandBinder.cpp Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
SquirrelCommandBinder.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
StackWalker.cpp Attempt to bring sanity to newlines across systems. 2012-06-14 13:06:06 +00:00
StackWalker.h Attempt to bring sanity to newlines across systems. 2012-06-14 13:06:06 +00:00
Stairs.h Double chests are formed correctly in all situations (meta is adjusted for the neighboring chest) 2012-10-20 20:16:55 +00:00
StringCompression.cpp Attempt to bring sanity to newlines across systems. 2012-06-14 13:06:06 +00:00
StringCompression.h Attempt to bring sanity to newlines across systems. 2012-06-14 13:06:06 +00:00
StringMap.cpp Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
StringMap.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
StringUtils.cpp Added a CreateHexDump() function for easier raw data debugging 2012-09-02 09:04:11 +00:00
StringUtils.h Added a CreateHexDump() function for easier raw data debugging 2012-09-02 09:04:11 +00:00
tolua_base.h Attempt to bring sanity to newlines across systems. 2012-06-14 13:06:06 +00:00
tolua++.exe Fixed tolua++ sources to consider AString a builtin string type. Fixed tolua++ VC projects for compilation with local Lua. 2012-06-04 14:58:17 +00:00
tolua++.h
Torch.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
Tracer.cpp Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
Tracer.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
Vector3d.cpp Attempt to bring sanity to newlines across systems. 2012-06-14 13:06:06 +00:00
Vector3d.h Attempt to bring sanity to newlines across systems. 2012-06-14 13:06:06 +00:00
Vector3f.cpp Attempt to bring sanity to newlines across systems. 2012-06-14 13:06:06 +00:00
Vector3f.h Attempt to bring sanity to newlines across systems. 2012-06-14 13:06:06 +00:00
Vector3i.cpp Attempt to bring sanity to newlines across systems. 2012-06-14 13:06:06 +00:00
Vector3i.h Attempt to bring sanity to newlines across systems. 2012-06-14 13:06:06 +00:00
Vine.h Vine decay (patch contributed by funmaker) 2012-10-22 18:00:05 +00:00
virtual_method_hooks.lua Modified ToLua additional script to allow multi-usertype virtual functions 2012-06-13 17:19:13 +00:00
WebAdmin.cpp Completely removed support for old style Lua plugins (can use both Plugin and NewPlugin in settings.ini for now) 2012-10-13 23:34:47 +00:00
WebAdmin.h Added falling block entities. Sand and gravel now properly fall down 2012-09-30 16:37:44 +00:00
WebPlugin.cpp Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
WebPlugin.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
World.cpp Top blocks are now snowed over, either normally, or in deep snow (patch contributed by funmaker, Luksor and Sebi) 2012-10-21 21:15:57 +00:00
World.h Top blocks are now snowed over, either normally, or in deep snow (patch contributed by funmaker, Luksor and Sebi) 2012-10-21 21:15:57 +00:00