summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockTorch.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-03-02ReformattedTycho1-2/+2
2014-03-01g_BlockXXX => cBlockInfo::XXXandrew1-3/+3
2014-03-01Implemented RotationsTycho1-64/+3
2014-02-04Fix gcc not having operator ++ on enumsTycho1-6/+7
2014-02-04Improved Type safety of eBlockFaceTycho1-8/+8
May Fix #640
2014-02-02Fixed #620Tiger Wang1-1/+2
2014-02-01Changed Signiture of OnDestroyedByPlayerTycho1-1/+1
2014-02-01Changed pointers to referencesTycho1-5/+5
2014-02-01Changed signitures of Several BLockHandler MethodsTycho1-7/+7
Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check
2014-01-11Renamed g_TorchPlaceable...Tiger Wang1-3/+3
...to g_FullyOccupiesVoxel, as recommended by @bearbin
2013-12-06Cleaned up torch code and added commentsTiger Wang1-31/+7
2013-12-06Removed another export and inline'd stuffTiger Wang1-5/+5
2013-12-06Removed exporting of a torch functionTiger Wang1-3/+3
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-19Possible compile fixTiger Wang1-2/+0
Also removed unneeded variables.
2013-11-05Implemented suggestionsTiger Wang1-13/+0
- Reverted changes to WebAdmin.cpp IPv6 ports and Server.cpp server description + Added default value explicitly for HardCore value * Split PluginManager plugin defaults write to new function - Removed a commented block from BlockTorch and... + Added g_BlockIsTorchPlaceable to Defines.h
2013-09-16Fixed derpy comparisonTiger Wang1-1/+1
2013-09-16Torch fixes [SEE DESC]Tiger Wang1-7/+8
* Torches snap to neighbour when placed on bottom * CanBeAt takes into account cobblestone walls + Used more BLOCK_FACEs instead of numbers
2013-09-15Torches work properlyTiger Wang1-26/+71
Also fixed a naming inconsistency concerning quartz stairs.
2013-09-13Removed torch top placement preventionTiger Wang1-6/+0
2013-09-08Fixed torch placement.madmaxoft1-7/+17
This is related to #127, but until we know more about the change, I'm not closing the issue.
2013-08-13Removed more commentsTiger Wang1-1/+0
2013-08-13Removed commentsTiger Wang1-7/+0
2013-08-11Really removed comments this timeTiger Wang1-7/+0
2013-08-11Removed unneeded case clauseTiger Wang1-15/+12
2013-08-11Tried adding bracketTiger Wang1-1/+1
2013-08-11Further attempt at fixing torch placementsTiger Wang1-9/+9
Also fixed block on flower placement. #71
2013-08-10Attempt at fixing torch placementTiger Wang1-3/+5
Attempt at fixing #71 and placement of torches.
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-259/+259
2013-06-04Removed cLadder, cSign, cStairs, cTorch and cVine classes, moved their functionality into the appropriate BlockHandlers / ItemHandlersmadmaxoft@gmail.com1-4/+63
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1555 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-26BlockArea: Finished rotation and mirroring with meta. Implemented example meta handling for vines, stairs and torches.madmaxoft@gmail.com1-0/+61
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1319 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-15Huge performance boost in blockhandlers, they have direct access to chunk data when blockchecking.madmaxoft@gmail.com1-3/+8
Also fixed vines' placement. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1278 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com1-20/+28
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-23New Block property g_BlockIsSolid[]; Fixed ladder, torches and vines placement. (Patch contributed by funmaker)luksor111@gmail.com1-54/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1005 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-03Moved blockticking into blockhandler classes.madmaxoft@gmail.com1-19/+19
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-10-01Slight refactoring of BlockHandlers - dropping unneeded virtual functionsmadmaxoft@gmail.com1-12/+25
( http://forum.mc-server.org/showthread.php?tid=434&pid=4734#pid4734 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@917 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29Unified folder name-casingmadmaxoft@gmail.com1-0/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@902 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-3/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-11Merged in a patch for sounds by l0udPLmadmaxoft@gmail.com1-0/+5
http://forum.mc-server.org/showthread.php?tid=434&pid=4564#pid4564 git-svn-id: http://mc-server.googlecode.com/svn/trunk@858 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-02Fixed Bug #241:lapayo94@gmail.com1-0/+5
Torches should drop correct now git-svn-id: http://mc-server.googlecode.com/svn/trunk@824 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-01Implemented: http://www.mc-server.org/support/index.php?do=details&task_id=239&project=2&dev=26lapayo94@gmail.com1-6/+28
Fixed Bug on build collision git-svn-id: http://mc-server.googlecode.com/svn/trunk@813 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-29Added a check if torch is placed on the bottom face, temporarily fix the assert.madmaxoft@gmail.com1-0/+4
Server ignores the placement, but doesn't send correct block to the client. Also, the server should try placing the torch on a side, if available. git-svn-id: http://mc-server.googlecode.com/svn/trunk@801 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-09Torch placement handling (contributed by l0udPL)madmaxoft@gmail.com1-6/+98
git-svn-id: http://mc-server.googlecode.com/svn/trunk@721 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16Some code improvementslapayo94@gmail.com1-3/+10
git-svn-id: http://mc-server.googlecode.com/svn/trunk@677 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16Fixed some small bugs :)lapayo94@gmail.com1-3/+9
git-svn-id: http://mc-server.googlecode.com/svn/trunk@672 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-15A new Block handling system :olapayo94@gmail.com1-0/+25
It was really a lot of work :D Took me the complete weekend :D Would really like to here your opinion on this =) The aim of this is to put all the actions for one block in one place so it is not spread around the source. (ToPickup, Action in cWorld, Action in cChunk, Action here, action there :D) git-svn-id: http://mc-server.googlecode.com/svn/trunk@671 0a769ca7-a7f5-676a-18bf-c427514a06d6