summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockBed.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-07-21Style: Normalized to no spaces before closing parenthesis.madmaxoft1-2/+2
2014-07-19Fixed style: spaces after commas.madmaxoft1-1/+1
2014-07-17Basic style fixes.madmaxoft1-2/+2
2014-07-17Normalized comments.madmaxoft1-4/+4
This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
2014-06-01Implemented bed homesTiger Wang1-0/+2
+ Implemented bed home positions * Fixed some inventory and health server/client mismatches after world change
2014-05-29Very minor code changesTiger Wang1-1/+1
2014-03-09Fixed VERIFYTiger Wang1-1/+1
2014-03-09Beds now work properly fixes #707Tiger Wang1-7/+66
Also fixes FS392 Conflicts: src/Blocks/WorldInterface.h src/ClientHandle.cpp
2014-02-23Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper1-1/+1
2014-02-23BlockBed.cpp: Fixed Multiple people in one bed.TheJumper1-7/+18
OnUse in BlockBed.cpp now checks whether bit flag 0x4 in the Data values of the bed is set before somebody can try to sleep in the bed.
2014-02-20BlockBed.cpp: Fixed space at if statementTheJumper1-1/+1
Added a space after an if statement and before the first bracket to keep up code conventions.
2014-02-20BlockBed.cpp: Fixed Multiple people in one bed.TheJumper1-7/+18
OnUse in BlockBed.cpp now checks whether bit flag 0x4 in the Data values of the bed is set before somebody can try to sleep in the bed.
2014-02-06Server internally uses new functionsTiger Wang1-1/+1
2014-02-04Improved Type safety of eBlockFaceTycho1-2/+2
May Fix #640
2014-02-01Changed pointers to referencesTycho1-16/+16
2014-02-01Changed signitures of Several BLockHandler MethodsTycho1-1/+1
Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check
2014-01-26Refactored cBlockHandler::OnUse and dependentsTycho1-5/+5
2014-01-25First attempt at Implementing InterfacesTycho1-16/+16
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-09-07Renamed cWorld::DoExplosiontAt() to cWorld::DoExplosionAt()madmaxoft1-1/+1
2013-08-09Added OnExploding() and OnExploded() hooks.madmaxoft1-3/+6
As requested in FS 413, with extra parameters: World, BlockX, BlockY, BlockZ, Size, CanCauseFire, Source, SourceData OnExploding() can return 3 values: StopHook, CanCauseFire, ExplosionSize
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-85/+85
2013-06-15Fixed compilation on linux.nielsbreu@gmail.com1-1/+1
Any idea why SendMessageA works on Windows and not on linux? git-svn-id: http://mc-server.googlecode.com/svn/trunk@1595 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-15You can only sleep when the time is day, and beds explode if the dimension is not Overworld.nielsbreu@gmail.com1-11/+21
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1592 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com1-20/+12
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-03Moved blockticking into blockhandler classes.madmaxoft@gmail.com1-15/+21
Also slightly refactored the variable / argument names (BlockID is deprecated, use BlockType instead) git-svn-id: http://mc-server.googlecode.com/svn/trunk@921 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29Forgot to commit BlockBed.cppfaketruth1-0/+77
git-svn-id: http://mc-server.googlecode.com/svn/trunk@913 0a769ca7-a7f5-676a-18bf-c427514a06d6