summaryrefslogtreecommitdiffstats
path: root/source/Entities (follow)
Commit message (Collapse)AuthorAgeFilesLines
* minor changesDaniel O'Brien2013-11-132-6/+6
|
* changed name conventionDaniel O'Brien2013-11-132-5/+5
|
* Fixed problems with code style etcDaniel O'Brien2013-11-132-51/+84
|
* Player Xp, includes get/set and addExperienceDaniel O'Brien2013-11-131-1/+1
|
* Player Xp, includes get/set and addExperienceDaniel O'Brien2013-11-131-1/+2
|
* Player XpDaniel O'Brien2013-11-132-4/+114
|
* Merge remote-tracking branch 'origin/fixes'.madmaxoft2013-11-133-5/+126
|\
| * Bundled fixes [SEE DESC]Tiger Wang2013-11-122-4/+119
| | | | | | | | | | | | | | | | * BoundingBox now returns FACE_NONE + Arrows can be picked up * Arrows dug up resume physics simulations * Added sound effects for bows, lava to stone, and arrows * Fixed SoundParticleEffect on <1.7 protocols
| * Bundled fixes [SEE DESC]Tiger Wang2013-11-101-2/+3
| | | | | | | | | | | | * Fixed compiler warning in Monster.cpp * Future proofed particle effects * Improved pickups, made less jittery
| * Bundled fixes [SEE DESC]Tiger Wang2013-11-102-0/+5
|/ | | | | | | | | | * Fixed pickups spawning in an incorrect position from a JukeBox * Pickups make a popping sound in Prtcl1.7 * Arrows make a *what sort of sound does an arrow make anyway‽* when hitting a block, and a popping sound when fired * Mobs again have metadata * Fixed Prtcl1.7 not using valid JSON to kick a client * Minecarts and arrows again have metadata
* Added cEntity:GetYaw() and cEntity:SetYaw().madmaxoft2013-11-032-4/+6
| | | | This is the preferred way to get / set rotation, GetRotation() and SetRotation is obsoleted due to bad name.
* Added cPlayer::GetEffectiveGameMode().madmaxoft2013-11-031-0/+4
|
* Fixed bow damage in creativeTiger Wang2013-11-021-1/+1
| | | | Also reverted indenting change
* Multiple fixesTiger Wang2013-11-021-12/+9
| | | | | | * Fixed #282 * Fixed bow not taking damage * Enhanced Player.cpp code
* Using tabstonibm192013-10-291-2/+2
|
* fixed indentationtonibm192013-10-281-1/+1
|
* extra linetonibm192013-10-281-0/+1
|
* attempt at fixing indentationtonibm192013-10-281-3/+2
|
* Extra linetonibm192013-10-281-0/+1
|
* Fixed indentationtonibm192013-10-281-5/+2
|
* Added random chicken spawn when throwing an eggtonibm192013-10-281-2/+13
|
* cIniFile doesn't store filename internally anymore.madmaxoft2013-10-251-4/+4
|
* cPickup cleanup.madmaxoft2013-10-241-1/+1
|
* Fixed cPickup's constructor's parameter naming.madmaxoft2013-10-242-3/+3
|
* Cleanup in cPlayer.madmaxoft2013-10-241-2/+4
|
* Unified cPlayer's Heal() function with cEntity's.madmaxoft2013-10-242-11/+11
|
* Pickups now have collection delay when vomitedTiger Wang2013-10-243-5/+11
| | | | Implements FS#394.
* Merge branch 'metadata' of git://github.com/tigerw/MCServer into tigerw-metadata.madmaxoft2013-10-133-13/+82
|\
| * 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
* | Moved cMakeDir::MakeDir to cFile::CreateFolder.madmaxoft2013-10-091-2/+1
| | | | | | | | And exported to Lua.
* | Cleaned up cEntity's enums.madmaxoft2013-10-081-23/+20
| | | | | | | | Several were obsoleted and unused, others weren't supposed to be exported to the Lua API.
* | Fixed a typo in cEntity doxycomments.madmaxoft2013-09-271-4/+4
| |
* | Fixed a few compiler warningsmadmaxoft2013-09-221-21/+34
| |
* | Merge pull request #186 from tigerw/bugfixesMattes D2013-09-222-2/+0
|\| | | | | One feature and a few changes
| * Removed some unneeded includesTiger Wang2013-09-222-2/+0
| |
* | Merge branch 'bugfixes' of git://github.com/tigerw/MCServer into tigerw-bugfixesmadmaxoft2013-09-202-3/+3
|\|
| * Implemented xoft's suggestionsTiger Wang2013-09-191-2/+2
| |
| * Fixed pickupsTiger Wang2013-09-182-3/+3
| |
* | Fixed a crash in cEntity when the entity was at BlockY == 0.madmaxoft2013-09-191-3/+2
|/
* 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