Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve entity position updates (#4701) | Tiger Wang | 2020-05-04 | 1 | -4/+1 |
| | | | | | | | | | * Make puking pickups fly nicer * Improve entity position updates * Move determination of whether a delta is too big for a packet into the protocol handlers + Less jittery movement + Generalise CollectEntity to take any entity | ||||
* | Using Super. | Mattes D | 2020-04-16 | 1 | -16/+16 |
| | |||||
* | Toss all items from enchantment table (#4569) | Mat | 2020-03-28 | 1 | -2/+2 |
| | |||||
* | Force all headers other than "Globals.h" to be included with relative paths (#4269) | peterbell10 | 2018-08-29 | 1 | -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. | ||||
* | Handle the lapis slot separately (#4286) | Nate | 2018-08-17 | 1 | -0/+36 |
| | | | | | This is my attempt to fix #4112. The root cause of the issue was that the lapis slot was treated exactly the same as the enchanting slot, so it on the server side it would only ever slot one item. My fix is to check if its the second slot in the window, then check if it's lapis (it would slot whatever). If it is lapis I call the base click handler. | ||||
* | Experience orb (#4259) | changyong guo | 2018-08-02 | 1 | -1/+1 |
| | | | | | | | * Replace cWorld::FindClosesPlayer with cWorld::DoWithClosestPlayer * Implement experience reward splitting into the orb sizes used in vanilla * Modified speed calculation in cExpOrb::Tick to make the orbs fly towards the player Fixes #4216 | ||||
* | cWorld: Manually bind deprecated broadcast functions (#4265) | peterbell10 | 2018-07-27 | 1 | -3/+4 |
| | | | Ref: https://github.com/cuberite/cuberite/pull/4264#discussion_r204769193 | ||||
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 1 | -1/+6 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | Prefer static_cast to reinterpret_cast (#4223) | peterbell10 | 2018-05-02 | 1 | -3/+3 |
| | | | | | | | * Change reinterpret_cast -> static_cast wherever possible * Remove more unnecessary `const_cast`s. reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there. | ||||
* | Smelting Gives Experience (#4094) | Alex Sweet | 2018-04-11 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Implement horse inventory (#4053) | peterbell10 | 2017-10-21 | 1 | -0/+119 |
| | | | | | | | | | | * Implement horse inventory * Fix sign conversions * Add API doc for ItemCategory::IsHorseArmor * Improve HandleOpenHorseInventory comment and style fixes. | ||||
* | Fix switch warnings (#4013) | peterbell10 | 2017-09-14 | 1 | -2/+5 |
| | | | | | | | | | | | | | | | * Fix switch warnings * Fix a variety of -Wswitch and -Wswitch-enum warnings * Remove unneeded -Wno-error flags * Reorganise some eMonsterType switches * Alpha sort eMonsterType cases in WriteMobMetadata and in cNBTChunkSerializer::AddMonsterEntity * List all mob types in protocol 1.12 and NBTChunkSerializer * cStructGenTrees::GetNumTrees: remove switch default * cWSSAnvil::LoadOldMinecartFromNBT: Log unhandled minecart type | ||||
* | Removed double includes (#3885) | Lukas Pioch | 2017-08-02 | 1 | -1/+0 |
| | |||||
* | Added anvil enchantment handling. (#3857) | Lane Kolbly | 2017-07-28 | 1 | -4/+5 |
| | | | + Added anvil enchantment handling. | ||||
* | FastRandom rewrite (#3754) | peterbell10 | 2017-06-13 | 1 | -4/+3 |
| | |||||
* | Corrected brewingstand and added support for fuel | Lukas Pioch | 2017-05-08 | 1 | -71/+76 |
| | |||||
* | Fixed bindings for cBlockArea:Read and Write. (#3568) | Mattes D | 2017-02-05 | 1 | -2/+2 |
| | | | The original bindings accepted nil as the World param, causing a crash. | ||||
* | Removed ClientHandle.h dependencies from common headers. | Mattes D | 2016-11-18 | 1 | -0/+1 |
| | |||||
* | Spectators added (#2852) | bibo38 | 2016-10-12 | 1 | -0/+8 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -28/+28 |
| | |||||
* | Moved variables into scope, removed unused variables and fixed variables | Lukas Pioch | 2015-12-17 | 1 | -2/+1 |
| | |||||
* | Add enum for Sound and Particle Effects | Dave Tucker | 2015-11-24 | 1 | -3/+4 |
| | | | | | | Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk> | ||||
* | Implemented brewing | Lukas Pioch | 2015-11-03 | 1 | -0/+238 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -28/+28 |
| | |||||
* | Fixes #2041 | Tiger Wang | 2015-05-24 | 1 | -3/+3 |
| | |||||
* | Fixes #2003 | Tiger Wang | 2015-05-18 | 1 | -1/+1 |
| | |||||
* | Implemented vanilla-like shift click. | Howaner | 2014-12-13 | 1 | -55/+68 |
| | | | This fixes many visual bugs. | ||||
* | Own classes for all windows. | Howaner | 2014-12-13 | 1 | -3/+4 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into c++11 | Tiger Wang | 2014-12-06 | 1 | -1/+1 |
|\ | | | | | | | | | Conflicts: src/OSSupport/Thread.cpp | ||||
| * | Fixed reported parentheses around comparisons. | Mattes D | 2014-12-05 | 1 | -1/+1 |
| | | |||||
* | | Merged branch 'master' into c++11. | Mattes D | 2014-10-23 | 1 | -1/+1 |
|\| | |||||
| * | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -20/+20 |
| | | |||||
* | | Replace &*[0] accesses with .data() | Tiger Wang | 2014-10-21 | 1 | -2/+2 |
| | | |||||
* | | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-20 | 1 | -20/+20 |
|/ | |||||
* | Functions in cPluginManager get references instead of pointers. | Mattes D | 2014-10-15 | 1 | -2/+2 |
| | |||||
* | Implemented Chest Minecarts | Tiger Wang | 2014-09-13 | 1 | -0/+35 |
| | |||||
* | Added comments. | Hownaer | 2014-08-28 | 1 | -1/+3 |
| | |||||
* | Fixed crashes and use std::swap. | Hownaer | 2014-08-28 | 1 | -6/+3 |
| | |||||
* | Enchanting table improvements. | Hownaer | 2014-08-28 | 1 | -115/+77 |
| | |||||
* | Added beacon. | Howaner | 2014-07-30 | 1 | -0/+195 |
| | |||||
* | Change comment. | Howaner | 2014-07-26 | 1 | -1/+1 |
| | |||||
* | Add armor items directly to the armor slots. | Howaner | 2014-07-20 | 1 | -2/+2 |
| | |||||
* | Moved comment. | Howaner | 2014-07-18 | 1 | -1/+1 |
| | |||||
* | Fixed the armor slot in creative mode. Also removed that armor get directly to the armor slot. It is extremely buggy and unnecessary. | Howaner | 2014-07-18 | 1 | -0/+13 |
| | |||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -3/+3 |
| | |||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -16/+16 |
| | | | | | 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 pull request #1157 from Howaner/Window | Mattes D | 2014-07-09 | 1 | -23/+214 |
|\ | | | | | Add more inventory actions. | ||||
| * | Removed unused include line. | Howaner | 2014-07-09 | 1 | -1/+0 |
| | | |||||
| * | Added inventory number click. | Howaner | 2014-07-09 | 1 | -0/+38 |
| | | |||||
| * | Added drop window action. | Howaner | 2014-07-06 | 1 | -10/+100 |
| | | |||||
| * | Add middle click. | Howaner | 2014-07-05 | 1 | -19/+83 |
| | | |||||
* | | Fixed crafting grid updating. | Mattes D | 2014-07-06 | 1 | -2/+20 |
|/ | | | | Fixes #1152. | ||||
* | Removed bad comment | Tiger Wang | 2014-06-29 | 1 | -1/+0 |
| | |||||
* | Properly implemented enderchests | Tiger Wang | 2014-06-29 | 1 | -2/+2 |
| | |||||
* | derp | worktycho | 2014-06-04 | 1 | -1/+1 |
| | |||||
* | Make sure m_StackSizeToBeUsedInRepair Always has a valid value | worktycho | 2014-06-04 | 1 | -1/+3 |
| | |||||
* | Players can't set items in the result slot, when they shift a item. | Howaner | 2014-06-01 | 1 | -0/+38 |
| | |||||
* | Add HandleSmeltItem() call for achievements. | Howaner | 2014-06-01 | 1 | -7/+11 |
| | |||||
* | Missing return; | Howaner | 2014-06-01 | 1 | -0/+1 |
| | |||||
* | Set DraggingItem to Slot directly. | Howaner | 2014-05-31 | 1 | -1/+1 |
| | |||||
* | Fix DBL bug. | Howaner | 2014-05-31 | 1 | -5/+4 |
| | |||||
* | Change "Slot.IsEmpty()" to "Slot.m_ItemCount <= 0" | Howaner | 2014-05-31 | 1 | -1/+1 |
| | |||||
* | Fix the furnace result slot. | Howaner | 2014-05-30 | 1 | -2/+90 |
| | |||||
* | Merge pull request #998 from mc-server/StatManager | Mattes D | 2014-05-18 | 1 | -1/+41 |
|\ | | | | | Statistic Manager | ||||
| * | cEntity::Killed(cEntity *) Handler; Achievement triggers; cPlayer::AwardAchievement() | andrew | 2014-05-12 | 1 | -1/+41 |
| | | |||||
* | | Fixed anvil exp removing | tonibm19 | 2014-05-16 | 1 | -1/+1 |
|/ | |||||
* | Fixed MSVC 64-bit build warnings. | Mattes D | 2014-05-09 | 1 | -1/+1 |
| | |||||
* | Change m_RepairCost to int. | Howaner | 2014-05-07 | 1 | -9/+3 |
| | |||||
* | Add repair cost to cItem, add custom name to NBTChunkSerializer and fix anvil bugs. | Howaner | 2014-05-07 | 1 | -24/+36 |
| | |||||
* | Rename CanRepairWithItem to CanRepairWithRawMaterial and rename Size() to Count() | Howaner | 2014-05-06 | 1 | -6/+5 |
| | |||||
* | Fix SetRepairedItemName() in SlotArea.cpp | Howaner | 2014-05-05 | 1 | -1/+1 |
| | |||||
* | Add comments to CanTakeResultItem() | Howaner | 2014-05-05 | 1 | -5/+5 |
| | |||||
* | Add anvil shift click. | Howaner | 2014-05-05 | 1 | -4/+83 |
| | |||||
* | Add clicks, exp subtraction, item check, ... | Howaner | 2014-05-05 | 1 | -9/+155 |
| | |||||
* | Add MC|ItemName plugin message. | Howaner | 2014-05-05 | 1 | -5/+5 |
| | |||||
* | Add anvil window and slot area. | Howaner | 2014-05-05 | 1 | -0/+173 |
| | |||||
* | Add armor to switch() in ItemHandler.cpp | Howaner | 2014-04-24 | 1 | -1/+1 |
| | |||||
* | Fix armor in survival mode. | Howaner | 2014-04-24 | 1 | -0/+74 |
| | |||||
* | Merge pull request #909 from jfhumann/fixes | Mattes D | 2014-04-22 | 1 | -5/+6 |
|\ | | | | | | | | | Bug fixes and optimizations. We need to visit the API functions and check that they return only those values expected. `cWorld::CreateProjectile()` seems affected, too, by the same issue of ToLua returning extra values. In the cleanest form, these functions will need moving to ManualBindings.cpp | ||||
| * | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 2014-04-18 | 1 | -5/+6 |
| | | |||||
* | | Fixed MSVC compilation. | madmaxoft | 2014-04-20 | 1 | -1/+1 |
| | | |||||
* | | Fixed Code | daniel0916 | 2014-04-19 | 1 | -2/+3 |
| | | |||||
* | | Modified many things | daniel0916 | 2014-04-17 | 1 | -16/+50 |
| | | |||||
* | | Fixed double enchanting items | daniel0916 | 2014-04-16 | 1 | -2/+2 |
| | | |||||
* | | Added Book Enchanting | daniel0916 | 2014-04-15 | 1 | -1/+1 |
| | | |||||
* | | Add more checks to cSlotAreaEnchanting | Howaner | 2014-04-15 | 1 | -88/+198 |
| | | |||||
* | | Added ItemPlaceCount in SlotArea | daniel0916 | 2014-04-14 | 1 | -0/+32 |
| | | | | | | | | Thanks to Howaner for helping | ||||
* | | Blocked enchanting a item twice | daniel0916 | 2014-04-14 | 1 | -6/+8 |
| | | |||||
* | | Fixed Bookshelf Checking | daniel0916 | 2014-04-14 | 1 | -8/+10 |
| | | | | | | | | Code by LO1ZB | ||||
* | | Bug fixes | daniel0916 | 2014-04-14 | 1 | -15/+17 |
| | | |||||
* | | Fixed invisibility enchantments | daniel0916 | 2014-04-13 | 1 | -0/+2 |
| | | |||||
* | | Some Fixes | daniel0916 | 2014-04-13 | 1 | -1/+1 |
| | | |||||
* | | Fixed Bookshelves Checking (not completly) | daniel0916 | 2014-04-12 | 1 | -7/+10 |
| | | |||||
* | | Added complete Enchanting System | daniel0916 | 2014-04-12 | 1 | -15/+34 |
| | | | | | | | | http://minecraft.gamepedia.com/Enchantment_mechanics | ||||
* | | Merge remote-tracking branch 'upstream/master' into Enchanting | daniel0916 | 2014-04-07 | 1 | -0/+30 |
|\| | |||||
| * | Fixed multiple gcc warnings about unused params. | madmaxoft | 2014-02-28 | 1 | -0/+30 |
| | | |||||
* | | Added Enchantment-Slot-Level generating | daniel0916 | 2014-04-07 | 1 | -9/+19 |
| | | |||||
* | | Some updates for enchanting | daniel0916 | 2014-01-24 | 1 | -12/+12 |
| | | |||||
* | | first changes for enchanting (not finished) | daniel0916 | 2014-01-20 | 1 | -0/+86 |
|/ | | | | | | | | - added enchanting table block handler and added it to the blockhandler - added enchanting window - drop item in the slot 0 when the player close the window - added enchanting packet (1.7 only) - some more... | ||||
* | Removed internal cEntity::GetRot() usage. | madmaxoft | 2014-01-17 | 1 | -1/+1 |
| | |||||
* | Really did what xoft wanted | Tiger Wang | 2014-01-16 | 1 | -5/+8 |
| | |||||
* | Removed obsoleted functions | Tiger Wang | 2014-01-16 | 1 | -3/+3 |
| | |||||
* | Possibly did what xoft wanted | Tiger Wang | 2014-01-16 | 1 | -10/+3 |
| | |||||
* | Implemented custom names and lore | Tiger Wang | 2014-01-15 | 1 | -0/+7 |
| | | | | | | + Added custom names and lore + Added saving and loading + Added writing and parsing of NBT | ||||
* | More MSVC warning fixes. | madmaxoft | 2014-01-07 | 1 | -2/+2 |
| | |||||
* | Removed unused variable ResultSlot | Tycho Bickerstaff | 2013-12-08 | 1 | -1/+0 |
| | |||||
* | Fixed Warning Unhandeled enum values in switch as src/UI/SlotArea.cpp line 54 | worktycho | 2013-12-09 | 1 | -1/+4 |
| | |||||
* | Added basic ender chests | Tiger Wang | 2013-12-07 | 1 | -0/+33 |
| | | | | Note that they just mirror chests now, so no per player inventory. | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+897 |