summaryrefslogtreecommitdiffstats
path: root/source/Entities (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Eight round of fixesTiger Wang2013-10-131-13/+8
| | | | | | | * Changed IsA() to *long if statement* - Removed deprecated values in Entity.h - to blazes with the plugins! * Renamed villager type enumerations to be LESS SHOUTY and more vt-y + Use vtMax for World.cpp testificate spawning
* Second round of fixesTiger Wang2013-10-093-69/+4
| | | | * Implemented suggestions
* Initial round of fixesTiger Wang2013-10-081-17/+27
| | | | | | | | * Fixed intentional misspelling of baby! :D * Better chested horse bool name * Fixed some weird continuity issues with my recent changes not being pushed up initially * Fixed derpy hexadecimal values
* Initial Metadata Commit [SEE DESC]Tiger Wang2013-10-083-6/+128
| | | | | | | + 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
* Removed some unneeded includesTiger Wang2013-09-222-2/+0
|
* Implemented xoft's suggestionsTiger Wang2013-09-191-2/+2
|
* Fixed pickupsTiger Wang2013-09-182-3/+3
|
* Fixed friction for entitiesTiger Wang2013-09-161-13/+13
| | | | Due to a misplaced else, other entities weren't getting friction
* Attempt at fixing linux crash on player login.Matyas Dolak2013-09-161-1/+11
| | | | Ref.: http://forum.mc-server.org/showthread.php?tid=1244
* Merge branch 'pickups' of git://github.com/tigerw/MCServer into tigerw-pickupsmadmaxoft2013-09-155-42/+109
|\ | | | | | | | | | | Conflicts: source/BlockID.cpp source/Entities/Entity.cpp
| * Added breakTiger Wang2013-09-151-0/+1
| |
| * Even better pickup physicsTiger Wang2013-09-131-18/+23
| |
| * Even more fixes [SEE DESC]Tiger Wang2013-09-133-22/+61
| | | | | | | | | | | | | | * Fixed minecarts breaking completely due to stuff * Rails are now non solid again + Added IsRail inline bool - Removed Herobrine
| * Fixed water speed issuesTiger Wang2013-09-131-5/+6
| |
| * Implemented xoft's suggestions againTiger Wang2013-09-121-19/+16
| |
| * Implemented xoft's suggestionsTiger Wang2013-09-111-5/+22
| | | | | | | | | | | | I totally didn't copy this from the fire simulator... (I did, but I changed it quite a bit :P)
| * Fixed two bugsTiger Wang2013-09-111-6/+6
| |
| * A few Minecart fixesTiger Wang2013-09-091-6/+1
| | | | | | | | | | * Removed unneeded flatrail setpos * Fixed health checking
| * Fixed formatting and removed gravity thingTiger Wang2013-09-072-2/+2
| |
| * 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
| |
* | Merge pull request #159 from tigerw/bugfixMattes D2013-09-113-5/+44
|\ \ | | | | | | Multiple fixes and features
| * | More changes [SEE DESC]Tiger Wang2013-09-111-1/+1
| | | | | | | | | | | | | | | * Improved (again) pumpkin direction handling * Fixed spacing in Entity.cpp
| * | Better player gamemode detectionTiger Wang2013-09-111-1/+1
| | |
| * | Added player void damageTiger Wang2013-09-111-3/+6
| | |
| * | Added void damageTiger Wang2013-09-112-0/+29
| | |
| * | Entities now maintain speed outside of worldTiger Wang2013-09-101-2/+9
| | |
* | | Merge branch 'boats' of git://github.com/tigerw/MCServer.madmaxoft2013-09-093-0/+127
|\ \ \
| * | | Fixed a bunch of stuffTiger Wang2013-09-083-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | * Fixed compilation * Made it less obvious I COPIED ALL THE CODE from Minecarts * Fixed alignment spaces to make xoft happy
| * | | Initial boat supportTiger Wang2013-09-082-0/+118
| |/ / | | | | | | | | | | | | | | | + Boats are saved + Boats have physics + Boats spawn
| * / Implemented SteerVehicle packet.madmaxoft2013-09-062-6/+29
| |/
* | Removed the "charging bow" debug message.madmaxoft2013-09-081-1/+0
| |
* | Merged branch 'Projectiles'.madmaxoft2013-09-075-48/+443
|\ \
| * | Added a (disabled) block logging to projectile path-tracing.madmaxoft2013-09-071-0/+10
| | |
| * | Implemented loading more projectiles from MCA.madmaxoft2013-09-071-2/+5
| | |
| * | Implemented ghast fireball and firecharge projectilesmadmaxoft2013-09-072-9/+161
| | |
| * | Renamed cWorld::DoExplosiontAt() to cWorld::DoExplosionAt()madmaxoft2013-09-071-1/+1
| | |
| * | Arrows have proper yaw and pitch when shot, and stop when they hit a block.madmaxoft2013-09-074-8/+70
| | |
| * | Added cEntity's gravity to the Lua API.madmaxoft2013-09-031-0/+4
| | |
| * | Implemented exact block hit position.madmaxoft2013-09-032-26/+31
| | | | | | | | | | | | Arrows now stick out of blocks at the exact position where they hit.
| * | Added cArrowEntity's criticalness to the API.madmaxoft2013-09-031-0/+6
| | |
| * | Arrows deal damage based on their speed.madmaxoft2013-09-032-4/+13
| | |
| * | Projectiles slow down in water and lava.madmaxoft2013-09-021-3/+14
| | |
| * | Projectiles don't collide with their creators.madmaxoft2013-09-021-2/+6
| | |
| * | Arrows deal damage.madmaxoft2013-09-012-4/+127
| | | | | | | | | | | | Still needs some tweaks, they hit the shooter most of the time.
| * | Thrown ender pearls now teleport and hurt.madmaxoft2013-08-301-1/+7
| | |
* | | Implemented SteerVehicle packet.madmaxoft2013-09-062-6/+29
| |/ |/|
* | 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