Encapsulated cWorld functions needed in cWorldStorage into an interface, so that cWorldStorage can actually be used outside of MC-Server (such as storage conversion tools and chunk analyzers)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@427 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -34,6 +34,18 @@ cChestEntity::cChestEntity(int a_X, int a_Y, int a_Z, cWorld * a_World)
|
||||
|
||||
|
||||
|
||||
cChestEntity::cChestEntity(int a_X, int a_Y, int a_Z)
|
||||
: cBlockEntity( E_BLOCK_CHEST, a_X, a_Y, a_Z)
|
||||
, m_TopChest( false )
|
||||
, m_JoinedChest( NULL )
|
||||
{
|
||||
m_Content = new cItem[ c_ChestHeight*c_ChestWidth ];
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cChestEntity::~cChestEntity()
|
||||
{
|
||||
if( GetWindow() )
|
||||
|
||||
Reference in New Issue
Block a user