summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemSword.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ItemHandler initialisation is a constant expression (#5344)x12xx12x2021-12-021-10/+6
| | | | | * Transition to non-pointer item handler * That is my destructor - I decide when I leave this world * I declare your destruction private and you final
* Using Super.Mattes D2020-04-161-4/+6
|
* Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D2020-04-031-3/+3
| | | | | | | | | The BlockID.h file was removed from Globals.h and renamed to BlockType.h (main change) The BlockInfo.h file was removed from Globals.h (main change) The ENUM_BLOCK_ID and ENUM_ITEM_ID enum names were replaced with ENUM_BLOCK_TYPE and ENUM_ITEM_TYPE (cosmetics) The various enums, such as eDimension, eDamageType and eExplosionSource were moved from BlockType.h to Defines.h, together with the helper functions for converting between them and strings (StringToDimension et al.) (minor) Many inline functions were moved from headers to their respective cpp files, so that BlockType.h could be included only into the cpp file, rather than the header. That broke our tests a bit, since they pick bits and pieces out of the main code and provide stubs for the rest; they had to be re-stubbed and re-verified. eMonsterType values are no longer tied to E_ITEM_SPAWN_EGG_META_* values
* Deal with covered switches consistently (#4161)peterbell102018-02-051-0/+1
| | | | | | | * Fixes a number of "<function>: not all control paths return a value" warnings on MSVC. * Introduces the UNREACHABLE global macro and uses it instead of conditionally compiled switch defaults. * Move cNBTParseErrorCategory from FastNBT.h into FastNBT.cpp to prevent bad calls to message()
* Item durability loss now depends on the item used. (#4123)Alexander Harkness2018-01-051-10/+3
| | | | | | | Armour durability also no longer changes when it is used to break blocks or attack mobs. Fixes #4119
* Removed unneeded includes (#3902)Lukas Pioch2017-08-061-2/+0
|
* Added missing "override" specifier.Mattes D2016-11-131-1/+1
|
* Anticheat fastbreak (#3411)mohe20152016-11-061-0/+28
| | | Added block hardness checks when breaking blocks.
* Bulk clearing of whitespaceLogicParrot2016-02-051-1/+1
|
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-1/+4
|
* Hotfixed compilation problems.madmaxoft2014-07-271-1/+1
|
* Rename function.Howaner2014-07-261-1/+1
|
* Merge branch 'master' into Inventory2Howaner2014-07-261-1/+5
|\ | | | | | | | | Conflicts: src/BlockInfo.cpp
| * Fixed block dropsTiger Wang2014-07-241-1/+0
| | | | | | | | * Fixes #1242 (the issue addressed within)
* | Fix item durability.Howaner2014-07-231-2/+15
|/ | | Fixes #1181
* Rename CanRepairWithItem to CanRepairWithRawMaterial and rename Size() to Count()Howaner2014-05-061-6/+6
|
* Add anvil window and slot area.Howaner2014-05-051-0/+13
|
* Moved source to srcAlexander Harkness2013-11-241-0/+30