summaryrefslogtreecommitdiffstats
path: root/src/Entities/Minecart.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-09-29Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D1-12/+23
2018-08-29Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell101-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.
2017-10-21Fix minecart deceleration (#4059)peterbell101-0/+3
2016-12-10Powered rails can kick-start minecarts (#3472)Marvin Kopf1-0/+2
2016-04-30Proper minecart DoSetSpeed Override (#3174)LogicParrot1-1/+1
Closes #3173, Introduced in #3037.
2016-04-15Add speed limit enforcement for minecartsMarvin Kopf1-0/+3
2016-02-16Fix minecart entity collisionMarvin Kopf1-1/+1
* 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.
2016-02-05Bulk clearing of whitespaceLogicParrot1-19/+19
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney1-1/+1
2015-05-23Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher.Lukas Pioch1-1/+1
2015-05-09More style checking.Mattes D1-3/+2
Spaces around some operators are checked.
2015-01-16Converted MinecartEntity to std::chronoTycho1-3/+3
2015-01-11Initial convertion of a_Dt to std::chronoTycho1-2/+2
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
2014-11-27Minecart.h: Fixed integral conversion warning.Mattes D1-1/+1
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-2/+2
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-2/+2
2014-10-13Fixed style.Mattes D1-1/+1
2014-09-27SuggestionsTiger Wang1-1/+2
2014-09-13Implemented Chest MinecartsTiger Wang1-10/+30
2014-07-24Removed redundant semicolons and re-added warningarchshift1-6/+6
2014-07-19Minecart: slimmed down SpawnOn by keeping subtype in the payload enumarchshift1-5/+6
2014-07-17Basic style fixes.madmaxoft1-1/+1
2014-04-26Add entity invulnerableHowaner1-1/+1
2014-03-08Fixed issues with int vs size_t and a few other warningsTycho1-2/+2
2014-01-19Begin implementing ascending railsTiger Wang1-0/+3
2014-01-19Added more rail functionalityTiger Wang1-14/+0
2014-01-18Minecart collision and general improvementsTiger Wang1-2/+5
+ Implemented collision on one type of rail * Improved curved rails somewhat * Fixed a crash bug
2014-01-16Changed GetContent function.STRWarrior1-1/+1
2014-01-15Furnace minecarts now stop being active after a while.STRWarrior1-1/+8
2014-01-15First implementation for furnace minecarts.STRWarrior1-0/+1
2014-01-13Final improvements to MinecartsTiger Wang1-1/+21
* 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.
2014-01-12Fixed server crash.STRWarrior1-1/+1
2014-01-12Renamed cEmptyMinecart to cRideableMinecartSTRWarrior1-3/+3
2014-01-12EmptyMinecarts should be able to get a block inside of them.STRWarrior1-1/+7
2014-01-12Multiple enhancements and fixes to minecartsTiger Wang1-3/+4
+ They are destroyed instantly by creative mode * Physics is much improved + Basic implementation of powered rails
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-10-09Second round of fixesTiger Wang1-1/+1
* Implemented suggestions
2013-10-08Initial Metadata Commit [SEE DESC]Tiger Wang1-2/+11
+ Pigs, Minecarts, Sheep, Skeletons, Slimes, Villagers, Wolves, and Horses have metadata + Base code on taming wolves, shearing sheep, and taming horses + Sheep and horses have different colours when spawned
2013-09-22Removed some unneeded includesTiger Wang1-1/+0
2013-09-13Even more fixes [SEE DESC]Tiger Wang1-0/+14
* Fixed minecarts breaking completely due to stuff * Rails are now non solid again + Added IsRail inline bool - Removed Herobrine
2013-09-02Minecart enhancements [SEE DESC]Tiger Wang1-1/+4
Curved rails. Better physics. Better code as improved by xoft. Stuff.
2013-08-25Moved entity spawning into cEntity::Initialize().madmaxoft1-1/+0
It has been called in every descendant anyway, so it's better this way - reduced duplicate code.
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-1/+1
2013-08-16Another compile fixTiger Wang1-3/+0
2013-08-16Feature and bugfixes [SEE DESC]Tiger Wang1-1/+32
Added TNT and Hopper minecarts Fixed piston code failing without an extension set Repeaters are now broken Fixed not being able to place a minecart on an activator rail Added much needed comments on piston code Fixed minor formatting issue
2013-08-08Addeed OnSpawningEntity, OnSpawnedEntity, OnSpawningMonster, OnSpawnedMonster hooks.madmaxoft1-1/+1
As requested in FS 418.
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-117/+117
2013-04-13Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick()madmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-09Minecarts get saved into Anvil.madmaxoft@gmail.com1-3/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1263 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-09Pickups are now being saved into Anvil.madmaxoft@gmail.com1-0/+14
Also changed cEntity rotation datatype to double git-svn-id: http://mc-server.googlecode.com/svn/trunk@1262 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-03Player can sit in minecarts (but not move them yet)madmaxoft@gmail.com1-2/+56
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1249 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-27Minecart entity now supports IsA() self-identificationmadmaxoft@gmail.com1-2/+5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1225 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-18Minecarts can now be placed.madmaxoft@gmail.com1-0/+46
No interaction, no physics, though. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1219 0a769ca7-a7f5-676a-18bf-c427514a06d6