Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | Moved growing from cWorld / cChunk to cBlockHandler descendants. | Mattes D | 2019-10-28 | 1 | -8/+7 |
| | |||||
* | Refactored more of Entities and BlockEntities to use Vector3. (#4403) | Mattes D | 2019-09-29 | 1 | -12/+15 |
| | |||||
* | Change TakeDamageInfo::FinalDamage from int to float (#4359) | Aplaus228 | 2019-08-08 | 1 | -2/+2 |
| | | | | Closes #4357 | ||||
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 1 | -0/+4 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | Store Health as a float (#4073) | Fabian | 2017-11-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | * Fix #4024 * Fix clang error * Add comment * Fix behaviour * Save Health as float * Changed m_Health to float * Remove redundant static_cast * Fix casts | ||||
* | Fix minecart deceleration (#4059) | peterbell10 | 2017-10-21 | 1 | -32/+45 |
| | |||||
* | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 2017-09-11 | 1 | -13/+10 |
| | |||||
* | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 2017-09-02 | 1 | -10/+13 |
| | | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | ||||
* | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 2017-09-01 | 1 | -13/+10 |
| | |||||
* | 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 minecart destruction using deallocated memory. | Mattes D | 2016-12-15 | 1 | -3/+8 |
| | |||||
* | Powered rails can kick-start minecarts (#3472) | Marvin Kopf | 2016-12-10 | 1 | -32/+60 |
| | |||||
* | Spectators added (#2852) | bibo38 | 2016-10-12 | 1 | -1/+9 |
| | |||||
* | Entities now bail out of ticks if destroyed (#3363) | LogicParrot | 2016-09-03 | 1 | -0/+5 |
| | |||||
* | Fix minecart destruction crash (#3336) | LogicParrot | 2016-08-20 | 1 | -1/+1 |
| | |||||
* | Fixed minecraft with chest destruction crash (#3335) | LogicParrot | 2016-08-20 | 1 | -2/+11 |
| | |||||
* | Close chest window if minecart is destroyed | Lukas Pioch | 2016-06-30 | 1 | -0/+1 |
| | |||||
* | Fix minecart block collision on curved rails | Woazboat | 2016-04-22 | 1 | -10/+56 |
| | |||||
* | Add speed limit enforcement for minecarts | Marvin Kopf | 2016-04-15 | 1 | -41/+51 |
| | |||||
* | Proper entity destruction in non-ticking chunks | LogicParrot | 2016-02-19 | 1 | -4/+1 |
| | |||||
* | Fix minecart entity collision | Marvin Kopf | 2016-02-16 | 1 | -26/+10 |
| | | | | | * Minecarts no longer handle a collision if the entity is behind them. * Minecarts will leave the pushing after a collision on a straight rail to the entity. | ||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -10/+10 |
| | |||||
* | Made -Weverything an error. | tycho | 2015-05-24 | 1 | -6/+6 |
| | |||||
* | Make -Werror disabling file only | tycho | 2015-05-19 | 1 | -5/+0 |
| | | | | Ad fix a load of warnings | ||||
* | More style checking. | Mattes D | 2015-05-09 | 1 | -2/+2 |
| | | | | Spaces around some operators are checked. | ||||
* | Changed air drag units to 'interpolated ticks' per second | DevToaster | 2015-03-31 | 1 | -1/+1 |
| | |||||
* | Modified physics for more vanilla-like behavior | DevToaster | 2015-03-31 | 1 | -1/+3 |
| | |||||
* | Changed cEntity::m_UniqueID to UInt32. | Mattes D | 2015-03-21 | 1 | -4/+7 |
| | |||||
* | Merge branch 'master' into Inventory | Howaner | 2015-01-25 | 1 | -6/+6 |
|\ | |||||
| * | Fixed type-conversion warnings. | Mattes D | 2015-01-18 | 1 | -1/+1 |
| | | |||||
| * | Converted MinecartEntity to std::chrono | Tycho | 2015-01-16 | 1 | -5/+5 |
| | | |||||
| * | Initial convertion of a_Dt to std::chrono | Tycho | 2015-01-11 | 1 | -5/+5 |
| | | | | | | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | ||||
* | | Own classes for all windows. | Howaner | 2014-12-13 | 1 | -0/+1 |
|/ | |||||
* | BasicStyle: Added missing braces to control statements. | Mattes D | 2014-12-05 | 1 | -6/+23 |
| | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -7/+7 |
| | |||||
* | Compilation fix | Tiger Wang | 2014-09-28 | 1 | -2/+2 |
| | |||||
* | Suggestions | Tiger Wang | 2014-09-27 | 1 | -2/+2 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into chestcarts | Tiger Wang | 2014-09-27 | 1 | -42/+45 |
|\ | | | | | | | | | Conflicts: src/Entities/Minecart.cpp | ||||
| * | Merge branch 'master' into EntityCustomName | Howaner | 2014-09-23 | 1 | -42/+43 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/ClientHandle.cpp src/ClientHandle.h src/Protocol/Protocol.h src/Protocol/Protocol125.cpp src/Protocol/Protocol125.h src/Protocol/Protocol17x.cpp src/Protocol/Protocol17x.h src/Protocol/ProtocolRecognizer.cpp src/Protocol/ProtocolRecognizer.h src/World.cpp src/World.h | ||||
| | * | A few compiler warning fixes | Chris Darnell | 2014-09-23 | 1 | -40/+41 |
| | | | |||||
| | * | Made it compile with clang | Chris Darnell | 2014-09-22 | 1 | -2/+2 |
| | | | |||||
| * | | Added name tag | Howaner | 2014-09-01 | 1 | -2/+3 |
| |/ | |||||
* / | Implemented Chest Minecarts | Tiger Wang | 2014-09-13 | 1 | -8/+33 |
|/ | |||||
* | Fixed MSVC2008 compilation. | madmaxoft | 2014-08-30 | 1 | -18/+18 |
| | | | | It was getting confused about which sqrt() overload to call. | ||||
* | Fixed a typo. | Mattes D | 2014-08-28 | 1 | -1/+1 |
| | |||||
* | Change comment formatting | Christophe Piveteau | 2014-08-24 | 1 | -20/+12 |
| | |||||
* | Adjust comment formatting | Christophe Piveteau | 2014-08-18 | 1 | -20/+40 |
| | |||||
* | Added a lot of comments | Christophe Piveteau | 2014-08-15 | 1 | -30/+36 |
| | |||||
* | Clarify comment message | Christophe Piveteau | 2014-08-15 | 1 | -2/+2 |
| | |||||
* | End of comment moved away from new line | Christophe Piveteau | 2014-08-15 | 1 | -2/+1 |
| | |||||
* | Add some comments | Christophe Piveteau | 2014-08-15 | 1 | -10/+21 |
| | |||||
* | Further changes in coding style | Christophe Piveteau | 2014-08-14 | 1 | -38/+28 |
| | |||||
* | Further fixing of coding style errors | Christophe Piveteau | 2014-08-13 | 1 | -26/+22 |
| | |||||
* | Another intendation error | Christophe Piveteau | 2014-08-13 | 1 | -2/+2 |
| | |||||
* | Fixed braces and intendation errors | Christophe Piveteau | 2014-08-13 | 1 | -3/+11 |
| | |||||
* | Implement ability to push minecarts on curved rails | Christophe Piveteau | 2014-08-13 | 1 | -2/+70 |
| | |||||
* | Minecart: slimmed down SpawnOn by keeping subtype in the payload enum | archshift | 2014-07-19 | 1 | -15/+1 |
| | |||||
* | More trailing whitespace fixes. | madmaxoft | 2014-07-17 | 1 | -4/+4 |
| | |||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -46/+46 |
| | | | | | 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. | ||||
* | Add entity invulnerable | Howaner | 2014-04-26 | 1 | -5/+9 |
| | |||||
* | reverted the revert of the minecart collision detection fix. | jfhumann | 2014-04-21 | 1 | -2/+1 |
| | |||||
* | Fixed Flint and Steel, reverted Minecart change, renamed a parameter name | jfhumann | 2014-04-19 | 1 | -1/+2 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into fixes | jfhumann | 2014-04-18 | 1 | -19/+19 |
|\ | | | | | | | | | | | | | | | Conflicts: src/Authenticator.cpp src/ClientHandle.cpp src/Entities/Minecart.cpp src/Protocol/Protocol17x.cpp | ||||
| * | Added new AI rules | Tiger Wang | 2014-04-17 | 1 | -19/+19 |
| | | | | | | | | | | | | | | + Added new AI rules handling cacti and large heights * Fixed cIniFile not recognising comments in cIniFile::ReadFile() * Fixed users.ini not being properly generated * Changed all instances of (int)floor(GetPosXXX()) to POSXXX_TOINT | ||||
* | | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 2014-04-18 | 1 | -1/+1 |
|/ | |||||
* | Fixed issues with int vs size_t and a few other warnings | Tycho | 2014-03-08 | 1 | -2/+2 |
| | |||||
* | g_BlockXXX => cBlockInfo::XXX | andrew | 2014-03-01 | 1 | -8/+8 |
| | |||||
* | Fixed most of the reordering warnings | Tycho | 2014-02-05 | 1 | -5/+5 |
| | |||||
* | Rail speed tweak | Tiger Wang | 2014-01-25 | 1 | -2/+2 |
| | |||||
* | Added more minecart powered rail directions | Tiger Wang | 2014-01-24 | 1 | -3/+63 |
| | |||||
* | Begin implementing ascending rails | Tiger Wang | 2014-01-19 | 1 | -2/+42 |
| | |||||
* | Added one more direction into collision checks | Tiger Wang | 2014-01-19 | 1 | -26/+51 |
| | | | | | * Added direction XM_XP * Improved performance, thanks STR and xoft | ||||
* | Minecart improvements and fixes | Tiger Wang | 2014-01-19 | 1 | -33/+43 |
| | | | | | | * Fixed curved rails * Fixed detector rails in certain situations * Fixed powered rails and others passing bad meta to SnapToRail() | ||||
* | Merge remote-tracking branch 'origin/master' into minecartimprovements | Tiger Wang | 2014-01-19 | 1 | -16/+19 |
|\ | |||||
| * | Merge pull request #534 from mc-server/SpawnMinecart | Mattes D | 2014-01-17 | 1 | -4/+7 |
| |\ | | | | | | | Added cWorld::SpawnMinecart. | ||||
| | * | Renamed cEmptyMinecart to cRideableMinecart | STRWarrior | 2014-01-12 | 1 | -3/+4 |
| | | | |||||
| | * | EmptyMinecarts should be able to get a block inside of them. | STRWarrior | 2014-01-12 | 1 | -2/+4 |
| | | | |||||
| * | | Removed obsoleted functions | Tiger Wang | 2014-01-16 | 1 | -12/+12 |
| | | | |||||
* | | | Minecart collision and general improvements | Tiger Wang | 2014-01-18 | 1 | -68/+237 |
|/ / | | | | | | | | | | | + Implemented collision on one type of rail * Improved curved rails somewhat * Fixed a crash bug | ||||
* | | Furnace minecarts now stop being active after a while. | STRWarrior | 2014-01-15 | 1 | -1/+11 |
| | | |||||
* | | First implementation for furnace minecarts. | STRWarrior | 2014-01-15 | 1 | -1/+22 |
| | | |||||
* | | Final improvements to Minecarts | Tiger Wang | 2014-01-13 | 1 | -56/+263 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixed curved rails being a little broken + Implemented detector rails + Implemented block collisions on rails * Fixed snapping to rail - Removed minecart physics conditions in Entity.cpp as minecarts use their own simulator when on rails Fixes #148 and #217; partially implemented #215. This is Cave Johnson, and we're done here. | ||||
* | | Multiple enhancements and fixes to minecarts | Tiger Wang | 2014-01-12 | 1 | -128/+182 |
|/ | | | | | | + They are destroyed instantly by creative mode * Physics is much improved + Basic implementation of powered rails | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+541 |