summaryrefslogtreecommitdiffstats
path: root/source/Entities (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Further physics improvements [SEE DESC]Tiger Wang2013-09-051-12/+12
| | | | | | | | | | This was mainly focused on pickups, but it works for other things too. * Entities no longer clip through blocks positive-vertically (this fixes pickup issues as well). * Entities lie flat against a block when they hit it. * Reduced entity (mainly pickup) block clipping in non vertical directions.
* Pickups spawn with correct speed and positionTiger Wang2013-09-041-1/+1
| | | | Added a comment-space as well.
* Players toss a little furtherTiger Wang2013-09-041-1/+1
|
* Pickups are a little less jitteryTiger Wang2013-09-041-2/+2
| | | | They also spawn closer to player mouth.
* Added better push out of entitiesTiger Wang2013-09-041-1/+8
|
* Fixed inconsistent meta namingTiger Wang2013-09-031-10/+10
|
* Merge remote-tracking branch 'upstream/master'Tiger Wang2013-09-0214-87/+728
|\ | | | | | | | | | | | | | | Conflicts: source/Bindings.cpp source/Entities/Entity.cpp Updated from upsteam
| * Basic support for thrown items - eggs, snowballs and ender pearls.madmaxoft2013-08-302-5/+179
| | | | | | | | They can be thrown, but they don't do anything on impact. Also they don't save to nor load from MCA.
| * Moved throw pos and speed calculation from cProjectileEntity into cPlayer.madmaxoft2013-08-304-38/+38
| |
| * Merged in the Projectiles branch.madmaxoft2013-08-3014-90/+482
| |\ | | | | | | | | | Although the projectiles are not yet finished, the branch has several bugfixes that are needed in master as well.
| | * Shooting a bow kinda works.madmaxoft2013-08-304-0/+109
| | | | | | | | | | | | The arrow is released, but sometimes hits wrong blocks or disappears completely.
| | * Implemented basic physics for projectiles.madmaxoft2013-08-272-21/+135
| | |
| | * Entities fall 3x slower in watermadmaxoft2013-08-272-2/+2
| | |
| | * Debug logging for arrows improvedmadmaxoft2013-08-261-1/+8
| | |
| | * Debug: arrow log their position in each tickmadmaxoft2013-08-263-19/+39
| | |
| | * Added a few API accessors to cArrowEntity.madmaxoft2013-08-252-0/+25
| | |
| | * Moved entity spawning into cEntity::Initialize().madmaxoft2013-08-259-61/+4
| | | | | | | | | | | | It has been called in every descendant anyway, so it's better this way - reduced duplicate code.
| | * Merged branch 'master' into Projectiles.madmaxoft2013-08-251-3/+4
| | |\ | | |/ | |/|
| | * Added a few basic fields to cProjectileEntity and cArrowEntity.madmaxoft2013-08-222-4/+73
| | |
| | * Arrows can spawn on the client.madmaxoft2013-08-221-1/+2
| | |
| | * Added skeleton code for projectile spawning.madmaxoft2013-08-223-6/+105
| | |
| * | Fixed pickup behavior outside the world.madmaxoft2013-08-241-3/+4
| | | | | | | | | | | | One part of #131.
| * | Removed unwanted VirtualHooks remnants.madmaxoft2013-08-221-2/+1
| |/ | | | | | | cEntity no longer needs its SpawnOn() default-implemented, it can now be a true pure virtual function.
| * Hotfix for #83.madmaxoft2013-08-201-0/+6
| | | | | | | | Do not tick the player while their chunk is invalid.
| * Started work on the cProjectileEntity class.madmaxoft2013-08-201-0/+69
| |
* | Minecart enhancements [SEE DESC]Tiger Wang2013-09-022-113/+242
| | | | | | | | | | | | | | Curved rails. Better physics. Better code as improved by xoft. Stuff.
* | Physics enhancementsTiger Wang2013-08-292-29/+37
| | | | | | | | | | Minecarts no longer glitch on flat rails Improved acceleration, speed limit, and stopping
* | Corrected comment TypeTypeTiger Wang2013-08-291-1/+1
| |
* | Implemented xoft's suggestions [SEE DESC]Tiger Wang2013-08-292-35/+17
| | | | | | | | | | | | 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
* | Fixed Minecart spawning issuesTiger Wang2013-08-281-9/+10
| | | | | | | | Now you can have everything!
* | Preliminary Minecart physics handling [SEE DESC]Tiger Wang2013-08-272-4/+199
|/ | | | | | | | | | | | | | 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
* Debuggers: Added continuous hunger reporting.madmaxoft2013-08-192-4/+7
| | | | Showcases the OnWorldTick() hook to fire events at regular intervals. Will be used for debugging the issues related to hyper-hunger.
* Added cPickup:IsCollected() to the Lua API.madmaxoft2013-08-191-0/+3
|
* Added cPickup:GetAge() the the Lua API.madmaxoft2013-08-191-3/+2
|
* Moved entities into the Entities subfolder.madmaxoft2013-08-1914-0/+4480