summaryrefslogtreecommitdiffstats
path: root/source/Entities (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-09-22Removed some unneeded includesTiger Wang2-2/+0
2013-09-19Implemented xoft's suggestionsTiger Wang1-2/+2
2013-09-18Fixed pickupsTiger Wang2-3/+3
2013-09-16Fixed friction for entitiesTiger Wang1-13/+13
Due to a misplaced else, other entities weren't getting friction
2013-09-16Attempt at fixing linux crash on player login.Matyas Dolak1-1/+11
Ref.: http://forum.mc-server.org/showthread.php?tid=1244
2013-09-15Added breakTiger Wang1-0/+1
2013-09-13Even better pickup physicsTiger Wang1-18/+23
2013-09-13Even more fixes [SEE DESC]Tiger Wang3-22/+61
* Fixed minecarts breaking completely due to stuff * Rails are now non solid again + Added IsRail inline bool - Removed Herobrine
2013-09-13Fixed water speed issuesTiger Wang1-5/+6
2013-09-12Implemented xoft's suggestions againTiger Wang1-19/+16
2013-09-11Implemented xoft's suggestionsTiger Wang1-5/+22
I totally didn't copy this from the fire simulator... (I did, but I changed it quite a bit :P)
2013-09-11More changes [SEE DESC]Tiger Wang1-1/+1
* Improved (again) pumpkin direction handling * Fixed spacing in Entity.cpp
2013-09-11Better player gamemode detectionTiger Wang1-1/+1
2013-09-11Fixed two bugsTiger Wang1-6/+6
2013-09-11Added player void damageTiger Wang1-3/+6
2013-09-11Added void damageTiger Wang2-0/+29
2013-09-10Entities now maintain speed outside of worldTiger Wang1-2/+9
2013-09-09A few Minecart fixesTiger Wang1-6/+1
* Removed unneeded flatrail setpos * Fixed health checking
2013-09-08Removed the "charging bow" debug message.madmaxoft1-1/+0
2013-09-08Fixed a bunch of stuffTiger Wang3-4/+6
* Fixed compilation * Made it less obvious I COPIED ALL THE CODE from Minecarts * Fixed alignment spaces to make xoft happy
2013-09-08Initial boat supportTiger Wang2-0/+118
+ Boats are saved + Boats have physics + Boats spawn
2013-09-07Fixed formatting and removed gravity thingTiger Wang2-2/+2
2013-09-07Added a (disabled) block logging to projectile path-tracing.madmaxoft1-0/+10
2013-09-07Implemented loading more projectiles from MCA.madmaxoft1-2/+5
2013-09-07Implemented ghast fireball and firecharge projectilesmadmaxoft2-9/+161
2013-09-07Renamed cWorld::DoExplosiontAt() to cWorld::DoExplosionAt()madmaxoft1-1/+1
2013-09-07Arrows have proper yaw and pitch when shot, and stop when they hit a block.madmaxoft4-8/+70
2013-09-06Implemented SteerVehicle packet.madmaxoft2-6/+29
2013-09-06Implemented SteerVehicle packet.madmaxoft2-6/+29
2013-09-05Further physics improvements [SEE DESC]Tiger Wang1-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.
2013-09-04Pickups spawn with correct speed and positionTiger Wang1-1/+1
Added a comment-space as well.
2013-09-04Players toss a little furtherTiger Wang1-1/+1
2013-09-04Pickups are a little less jitteryTiger Wang1-2/+2
They also spawn closer to player mouth.
2013-09-04Added better push out of entitiesTiger Wang1-1/+8
2013-09-03Fixed inconsistent meta namingTiger Wang1-10/+10
2013-09-03Added cEntity's gravity to the Lua API.madmaxoft1-0/+4
2013-09-03Implemented exact block hit position.madmaxoft2-26/+31
Arrows now stick out of blocks at the exact position where they hit.
2013-09-03Added cArrowEntity's criticalness to the API.madmaxoft1-0/+6
2013-09-03Arrows deal damage based on their speed.madmaxoft2-4/+13
2013-09-02Projectiles slow down in water and lava.madmaxoft1-3/+14
2013-09-02Projectiles don't collide with their creators.madmaxoft1-2/+6
2013-09-02Minecart enhancements [SEE DESC]Tiger Wang2-113/+242
Curved rails. Better physics. Better code as improved by xoft. Stuff.
2013-09-01Arrows deal damage.madmaxoft2-4/+127
Still needs some tweaks, they hit the shooter most of the time.
2013-08-30Thrown ender pearls now teleport and hurt.madmaxoft1-1/+7
2013-08-30Basic support for thrown items - eggs, snowballs and ender pearls.madmaxoft2-5/+179
They can be thrown, but they don't do anything on impact. Also they don't save to nor load from MCA.
2013-08-30Moved throw pos and speed calculation from cProjectileEntity into cPlayer.madmaxoft4-38/+38
2013-08-30Shooting a bow kinda works.madmaxoft4-0/+109
The arrow is released, but sometimes hits wrong blocks or disappears completely.
2013-08-29Physics enhancementsTiger Wang2-29/+37
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 Wang2-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
2013-08-28Fixed Minecart spawning issuesTiger Wang1-9/+10
Now you can have everything!
2013-08-27Preliminary Minecart physics handling [SEE DESC]Tiger Wang2-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
2013-08-27Implemented basic physics for projectiles.madmaxoft2-21/+135
2013-08-27Entities fall 3x slower in watermadmaxoft2-2/+2
2013-08-26Debug logging for arrows improvedmadmaxoft1-1/+8
2013-08-26Debug: arrow log their position in each tickmadmaxoft3-19/+39
2013-08-25Added a few API accessors to cArrowEntity.madmaxoft2-0/+25
2013-08-25Moved entity spawning into cEntity::Initialize().madmaxoft9-61/+4
It has been called in every descendant anyway, so it's better this way - reduced duplicate code.
2013-08-24Fixed pickup behavior outside the world.madmaxoft1-3/+4
One part of #131.
2013-08-22Added a few basic fields to cProjectileEntity and cArrowEntity.madmaxoft2-4/+73
2013-08-22Arrows can spawn on the client.madmaxoft1-1/+2
2013-08-22Added skeleton code for projectile spawning.madmaxoft3-6/+105
2013-08-22Removed unwanted VirtualHooks remnants.madmaxoft1-2/+1
cEntity no longer needs its SpawnOn() default-implemented, it can now be a true pure virtual function.
2013-08-20Hotfix for #83.madmaxoft1-0/+6
Do not tick the player while their chunk is invalid.
2013-08-20Started work on the cProjectileEntity class.madmaxoft1-0/+69
2013-08-19Debuggers: Added continuous hunger reporting.madmaxoft2-4/+7
Showcases the OnWorldTick() hook to fire events at regular intervals. Will be used for debugging the issues related to hyper-hunger.
2013-08-19Added cPickup:IsCollected() to the Lua API.madmaxoft1-0/+3
2013-08-19Added cPickup:GetAge() the the Lua API.madmaxoft1-3/+2
2013-08-19Moved entities into the Entities subfolder.madmaxoft14-0/+4480