summaryrefslogtreecommitdiffstats
path: root/source/Entities/Pickup.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2013-08-24Fixed pickup behavior outside the world.madmaxoft1-3/+4
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-13/+12
2013-08-08Addeed OnSpawningEntity, OnSpawnedEntity, OnSpawningMonster, OnSpawnedMonster hooks.madmaxoft1-3/+7
2013-07-08Pickups have an initial health of 5madmaxoft@gmail.com1-2/+2
2013-07-07Mobs are assigned MaxHealth from monsters.ini; reading monsters.ini doesn't need settings.ini values anymore.madmaxoft@gmail.com1-1/+2
2013-07-07Improved function names for protocol packet sending; alpha-sorted the function listsmadmaxoft@gmail.com1-1/+1
2013-07-01Rewritten entity-on-fire management ("forever on fire" bugs)madmaxoft@gmail.com1-1/+1
2013-06-25Unified the way mobs are spawned (egg vs natural). Fixed deadlocks in mob moving. Fixed mob destroying code.madmaxoft@gmail.com1-4/+4
2013-05-24Refactored cInventory to use cItemGrid for the actual Storagemadmaxoft@gmail.com1-7/+7
2013-05-17Removed pickup loggingmadmaxoft@gmail.com1-4/+4
2013-05-15Pickup: fixed logging parameters causing a crash.madmaxoft@gmail.com1-3/+3
2013-05-13Added more logging to pickup collection code.madmaxoft@gmail.com1-0/+6
2013-04-28Pickup: Fixed a possible crash when a pickup went up above the world.madmaxoft@gmail.com1-15/+20
2013-04-22Moved physics to the cEntity class from the derivative classes (cMonster, cPickup). Added physics override to cPlayer to disable physics calculations. Fixed bug with pitch calculations on mobs.keyboard.osh@gmail.com1-143/+35
2013-04-13Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick()madmaxoft@gmail.com1-4/+5
2013-03-23Added helper functions AddSpeed, AddSpeedX, AddSpeedY, AddSpeedZ, AddPosition, AddPosX, AddPosY, AddPosZ. Made sure that all entites use these helper functions.keyboard.osh@gmail.com1-5/+5
2013-03-22Implemented BroadcastMovementUpdate function. Moved m_Pos,m_Rot,m_Speed to private members and made sure that all classes uses the public functions to access these members.keyboard.osh@gmail.com1-26/+26
2013-03-09Pickups are now being saved into Anvil.madmaxoft@gmail.com1-0/+1
2013-02-21Moved the Speed member into cEntity class instead of its descendants.madmaxoft@gmail.com1-1/+1
2013-01-28Renamed HOOK_COLLECT_PICKUP to HOOK_COLLECTING_PICKUP to match other hooks' naming.madmaxoft@gmail.com1-1/+1
2013-01-06Fixed disappearing pickups - wrong physics simulation.madmaxoft@gmail.com1-30/+40
2012-12-28cPickup now uses full cItem, instead of a pointermadmaxoft@gmail.com1-15/+6
2012-12-22MTRand reference is now passed as a Tick() parameter so that it isn't created and destroyed over and over again. All entities will handle physics (empty callback for now)madmaxoft@gmail.com1-12/+10
2012-12-21Added more constants into eEntityType; made them a compulsory parameter to the constructor, so that all entities have proper type.madmaxoft@gmail.com1-4/+1
2012-12-21Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass().madmaxoft@gmail.com1-6/+0
2012-10-24Fixed issues with pickups. sebi.noreply@gmail.com1-2/+6
2012-10-13Preparation for multiple fluid simulators.madmaxoft@gmail.com1-4/+2
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-11/+11
2012-08-24cPickup doesn't use cPackets.madmaxoft@gmail.com1-10/+15
2012-08-24Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets.madmaxoft@gmail.com1-59/+14
2012-08-19Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle.madmaxoft@gmail.com1-5/+4
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-316/+316
2012-03-14Split chunk data into separate arrays; decoupled most sources from cChunk.h dependencymadmaxoft@gmail.com1-1/+0
2012-03-10Using references instead of pointers for sending packetsmadmaxoft@gmail.com1-1/+1
2012-03-09cClientHandles have a unique ID now to distinguish themfaketruth1-2/+2
2012-02-21Removed cChunkPtrs from everywhere but internal cChunkMap usage. Now we should finally be threadsafe :)madmaxoft@gmail.com1-1/+1
2012-02-15No longer using pointers for Vector3(f/d/i) in cEntity's and cTracerfaketruth1-47/+42
2012-02-13Rewritten most of the code for multithreading; still not 100%, but getting there. If this commit proves to be too problematic, we can always undo it.madmaxoft@gmail.com1-41/+58
2012-01-29VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com1-1/+7
2012-01-19Terrain generation is synchronous again, async generation has bugs.faketruth1-2/+2
2011-12-29- Pickups should now burn in firelapayo94@gmail.com1-3/+7
2011-12-24Very alpha water physic for pickups (The swim now)lapayo94@gmail.com1-5/+55
2011-12-22Digging leaves with shears now drops leaveslapayo94@gmail.com1-0/+2
2011-12-22Fixes:lapayo94@gmail.com1-5/+10
2011-12-21- Crafting fixed in 1.0.0lapayo94@gmail.com1-2/+4
2011-11-06Patch with diff file created by Sebi (implemented some stuff like lava physics, drops are deleted when in lava, water is now slower, lava gives actual damage etc.). Pistons now work mostly as they should. They do not yet show the motion animation and do not emit sound. They do extend, push, and retract as they should though. Right now the only way to activate a piston is to light redstone wire adjacent to it with a redstone torch.admin@omencraft.com1-6/+11
2011-11-01You can now run multiple worlds by defining them in settings.ini . However there's no way to change worlds on the fly yetfaketruth1-0/+2
2011-10-31Prepared some parts of the code for multi world support, I created lots of TODO'sfaketruth1-3/+3
2011-10-03MCServer c++ source filesfaketruth1-0/+229