summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/HopperEntity.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-11Initial convertion of a_Dt to std::chronoTycho1-1/+1
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
2014-12-13Own classes for all windows.Howaner1-0/+1
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-12/+12
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-12/+12
2014-10-12convert old style casts to fix warningsSteven Riehl1-35/+31
2014-09-30Removed WSSCompactTiger Wang1-11/+0
2014-09-26Removed more unessicary includesTycho1-3/+0
2014-08-10Fixed potential null dereferenceTycho1-5/+5
Fixes CID 70466
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-07-13Fixed Issue with Comparing agast the wrong chest, potentially causing crashes.worktycho1-7/+7
2014-07-12cHopperEntity: Simplified chest conditions.madmaxoft1-10/+4
2014-07-12Suggestions and bug fixTiger Wang1-4/+13
* Fixed hoppers pushing/pulling to/from (trapped)chests that do not form a double-chest with the chest type directly connected to said hopper; thank you, @madmaxoft
2014-07-07Implemented trapped chests & othersTiger Wang1-8/+18
+ Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes
2014-06-24Fixed crashes in HopperEntity.Mattes D1-19/+58
Some of the coords were off and some functions were assuming too much. Fixes the crash reported in http://forum.mc-server.org/showthread.php?tid=1497
2014-04-18Did some static analysis, fixed some bugs and optimized a lot of codejfhumann1-4/+7
2014-03-16Fixed double to float conversions.madmaxoft1-1/+1
2014-02-24Fixed compilation in MSVC (forward class definitions).madmaxoft1-0/+1
2014-02-24BlockEntities is warnings freeTycho1-0/+2
2014-02-15Removed debug messages againTiger Wang1-6/+0
2014-02-13Added proper debug messagesTiger Wang1-3/+8
2014-02-13Fancy stuff with constant referencesTiger Wang1-2/+2
2014-02-12Changed inheritance a bitTiger Wang1-18/+35
* cBlockEntityWithItems now inherits from cBlockEntityWindowOwner
2014-02-11Fixed #190Tiger Wang1-2/+67
+ Hoppers now collect pickups above them
2014-01-16Removed obsoleted functionsTiger Wang1-2/+2
2014-01-06Fixed a few MSVC warnings.madmaxoft1-1/+0
2013-12-20Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft1-2/+2
2013-12-08Moved bindings-related to a Bindings subfolder.madmaxoft1-1/+1
Ref.: #407
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-15Removed BlockEntities' constructors from the API.madmaxoft1-11/+0
Plugins shouldn't construct block entities, rather, they will query them either from the cWorld (while playing), or from cChunkDesc (while generating).
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-1/+1
2013-08-11Added the OnHopperPullingItem and OnHopperPushingItem hooks.madmaxoft1-50/+104
Requested in FS 412, slightly modified the params.
2013-08-03Removed the unused BlockY parameter from cChunkDef::BlockToChunk()madmaxoft1-1/+1
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-523/+523
2013-06-20Furnaces light up visually when they're cookingmadmaxoft@gmail.com1-8/+10
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1612 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-20Implemented hopper outputmadmaxoft@gmail.com1-4/+211
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1611 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-16Rewritten furnacesmadmaxoft@gmail.com1-1/+23
Furnaces now smelt the correct number of items. Furnaces store their contents in a cItemGrid. Furnace window is updated with correct items and progressbars. Furnace recipes now use ticks instead of milliseconds. Furnaces save and load their state completely, not missing a smelt operation. Hoppers take items out of furnaces. Dropped the cSlotAreaDropSpenser class, replaced it with generic cSlotAreaItemGrid git-svn-id: http://mc-server.googlecode.com/svn/trunk@1601 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-15Fixed Linux compilationmadmaxoft@gmail.com1-1/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1589 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-13Added hopper entity, it can suck items out of chests, dispensers, droppers and other hopppers above it.madmaxoft@gmail.com1-0/+291
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1587 0a769ca7-a7f5-676a-18bf-c427514a06d6