Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Using Super. | Mattes D | 2020-04-16 | 1 | -2/+2 |
| | |||||
* | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 2020-04-03 | 1 | -0/+1 |
| | | | | | | | | | 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 | ||||
* | Refactored more of Entities and BlockEntities to use Vector3. (#4403) | Mattes D | 2019-09-29 | 1 | -8/+8 |
| | |||||
* | Prefer static_cast to reinterpret_cast (#4223) | peterbell10 | 2018-05-02 | 1 | -1/+1 |
| | | | | | | | * 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. | ||||
* | Fixed 2 small warnings (#4055) | Bond-009 | 2017-10-02 | 1 | -6/+2 |
| | |||||
* | Removed UTF-8 BOM (#4033) | Lukas Pioch | 2017-09-19 | 1 | -1/+1 |
| | |||||
* | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 2017-09-11 | 1 | -45/+15 |
| | |||||
* | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 2017-09-02 | 1 | -15/+45 |
| | | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | ||||
* | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 2017-09-01 | 1 | -45/+15 |
| | |||||
* | Award player an achievement when creating a beacon (#3930) | Bond-009 | 2017-08-21 | 1 | -13/+36 |
| | |||||
* | cBeaconEntity fix no world crash | peterbell10 | 2017-08-18 | 1 | -1/+4 |
| | |||||
* | BlockEntities: Support cloning self. | Mattes D | 2017-06-16 | 1 | -11/+27 |
| | |||||
* | Fixes problems with windows: | Lukas Pioch | 2017-06-05 | 1 | -1/+1 |
| | | | | | - Changed cPlayer:OpenWindow to accept a ref, tolua adds a nil check - Close open lua window in destructor, to avoid dangling pointers | ||||
* | Fixed bindings for cBlockArea:Read and Write. (#3568) | Mattes D | 2017-02-05 | 1 | -1/+1 |
| | | | 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 | -6/+7 |
| | |||||
* | allow use failures to propagate from the entity/block to the player | Gargaj | 2015-12-13 | 1 | -1/+2 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -2/+2 |
| | |||||
* | Made -Weverything an error. | tycho | 2015-05-24 | 1 | -3/+3 |
| | |||||
* | Moved window code into cpp files | Howaner | 2015-03-10 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into Inventory | Howaner | 2015-01-25 | 1 | -1/+1 |
|\ | |||||
| * | Initial convertion of a_Dt to std::chrono | Tycho | 2015-01-11 | 1 | -1/+1 |
| | | | | | | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | ||||
* | | Own classes for all windows. | Howaner | 2014-12-13 | 1 | -0/+1 |
|/ | |||||
* | BlockEntities: Removed the extra semicolon. | Mattes D | 2014-11-27 | 1 | -9/+10 |
| | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -9/+15 |
| | |||||
* | Merged branch 'master' of git://github.com/sriehl/MCServer | Mattes D | 2014-10-21 | 1 | -10/+4 |
|\ | |||||
| * | fix std:min call, include algorithm and compare same type | Steven Riehl | 2014-10-12 | 1 | -2/+2 |
| | | |||||
| * | refactor an if block to std::min | Steven Riehl | 2014-10-12 | 1 | -4/+1 |
| | | |||||
| * | convert old style casts to fix warnings | Steven Riehl | 2014-10-12 | 1 | -8/+4 |
|/ | |||||
* | Removed WSSCompact | Tiger Wang | 2014-09-30 | 1 | -62/+0 |
| | |||||
* | Fixed a bug who can used from hacked clients. | Howaner | 2014-08-02 | 1 | -0/+2 |
| | |||||
* | Use "default:" in switch. | Howaner | 2014-07-31 | 1 | -3/+6 |
| | |||||
* | Renamed "select..." methods to "set..." and better IsValidEffect() function. | Howaner | 2014-07-31 | 1 | -47/+11 |
| | |||||
* | Renamed functions and added beacon json saving. | Howaner | 2014-07-31 | 1 | -40/+38 |
| | |||||
* | Added window update. | Howaner | 2014-07-30 | 1 | -0/+23 |
| | |||||
* | Exported the beacon. | Howaner | 2014-07-30 | 1 | -2/+0 |
| | |||||
* | Added beacon. | Howaner | 2014-07-30 | 1 | -19/+290 |
| | |||||
* | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 2014-07-21 | 1 | -1/+1 |
| | |||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | |||||
* | Fixed formatting, made function static. | madmaxoft | 2014-04-19 | 1 | -8/+9 |
| | |||||
* | Some tweaks | STRWarrior | 2014-04-12 | 1 | -5/+17 |
| | | | | | GetPyramidLevel returns 0 when no layers were found, 1 for one layer etc. Auto adjust the minY and/or maxY to 0 if the beacon is low. | ||||
* | Removed debug message. | STRWarrior | 2014-04-12 | 1 | -1/+0 |
| | |||||
* | Simplefied GetPyramidLevel | STRWarrior | 2014-04-12 | 1 | -10/+3 |
| | |||||
* | Implemented the skeleton code for the beacon. | STRWarrior | 2014-04-12 | 1 | -0/+111 |
There is no handling for the GUI. It can now check how big the pyramid is under the beacon. |