summaryrefslogtreecommitdiffstats
path: root/src/Entities/Minecart.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-01-16Removed obsoleted functionsTiger Wang1-12/+12
2014-01-15Furnace minecarts now stop being active after a while.STRWarrior1-1/+11
2014-01-15First implementation for furnace minecarts.STRWarrior1-1/+22
2014-01-13Final improvements to MinecartsTiger Wang1-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.
2014-01-12Renamed cEmptyMinecart to cRideableMinecartSTRWarrior1-3/+4
2014-01-12EmptyMinecarts should be able to get a block inside of them.STRWarrior1-2/+4
2014-01-12Multiple enhancements and fixes to minecartsTiger Wang1-128/+182
+ 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-2/+2
* Implemented suggestions
2013-10-08Initial Metadata Commit [SEE DESC]Tiger Wang1-4/+54
+ 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-22Fixed a few compiler warningsmadmaxoft1-21/+34
2013-09-13Even more fixes [SEE DESC]Tiger Wang1-8/+12
* Fixed minecarts breaking completely due to stuff * Rails are now non solid again + Added IsRail inline bool - Removed Herobrine
2013-09-09A few Minecart fixesTiger Wang1-6/+1
* Removed unneeded flatrail setpos * Fixed health checking
2013-09-03Fixed inconsistent meta namingTiger Wang1-10/+10
2013-09-02Minecart enhancements [SEE DESC]Tiger Wang1-112/+238
Curved rails. Better physics. Better code as improved by xoft. Stuff.
2013-08-29Physics enhancementsTiger Wang1-23/+22
Minecarts no longer glitch on flat rails Improved acceleration, speed limit, and stopping
2013-08-29Corrected comment TypeTypeTiger Wang1-1/+1
2013-08-29Implemented xoft's suggestions [SEE DESC]Tiger Wang1-32/+14
Rail metas are now in BlockID and exported to LUA Minecart now does a SetMass, instead of m_Mass Minecarts use SubType instead of TypeType
2013-08-28Fixed Minecart spawning issuesTiger Wang1-9/+10
Now you can have everything!
2013-08-27Preliminary Minecart physics handling [SEE DESC]Tiger Wang1-1/+196
This commit includes physics handling for the following scenarios: Flat rails in orientations [N, S, W, E] Ascending/descending rails in orientations [N, S, W, E] Powered rails are NOT handled (they don't respond to redstone). Curved rails are NOT handled (I haven't figured out how to do them :P) Please note that I have not tried to emulate vanilla behaviour because of a lack of knowledge on velocity unites/C++. We can say it's a feature or something. :P
2013-08-25Moved entity spawning into cEntity::Initialize().madmaxoft1-14/+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-2/+2
2013-08-16Possible entity ID fix?Tiger Wang1-2/+2
2013-08-16Compilation and Minecart fixesTiger Wang1-6/+6
2013-08-16Feature and bugfixes [SEE DESC]Tiger Wang1-0/+26
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-3/+7
As requested in FS 418.
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-160/+160
2013-07-07Improved function names for protocol packet sending; alpha-sorted the function listsmadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1659 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-01Rewritten entity-on-fire management ("forever on fire" bugs)madmaxoft@gmail.com1-1/+1
Fixes FS #297 and part of FS #403. Added sizes to all entities. Moved all damage-related functions from cPawn to cEntity API change: renamed cPawn:TeleportTo() to cEntity:TeleportToCoords() git-svn-id: http://mc-server.googlecode.com/svn/trunk@1635 0a769ca7-a7f5-676a-18bf-c427514a06d6
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-1/+1
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/+11
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-0/+87
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1249 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-18Minecarts can now be placed.madmaxoft@gmail.com1-0/+62
No interaction, no physics, though. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1219 0a769ca7-a7f5-676a-18bf-c427514a06d6