1
0

Using Super.

This commit is contained in:
Mattes D 2020-04-13 18:38:06 +02:00 committed by Alexander Harkness
parent f931590bf0
commit 9ee47e5999
399 changed files with 1815 additions and 1381 deletions

View File

@ -101,7 +101,7 @@ void cLuaChunkStay::Enable(cChunkMap & a_ChunkMap, cLuaState::cCallbackPtr a_OnC
m_OnAllChunksAvailable = std::move(a_OnAllChunksAvailable); m_OnAllChunksAvailable = std::move(a_OnAllChunksAvailable);
// Enable the ChunkStay: // Enable the ChunkStay:
super::Enable(a_ChunkMap); Super::Enable(a_ChunkMap);
} }

View File

@ -23,10 +23,10 @@ class cChunkMap;
class cLuaChunkStay class cLuaChunkStay:
: public cChunkStay public cChunkStay
{ {
typedef cChunkStay super; using Super = cChunkStay;
public: public:
cLuaChunkStay(); cLuaChunkStay();

View File

@ -28,7 +28,8 @@ Keeps track of the error message and the problematic value's path in the table.
class CannotSerializeException: class CannotSerializeException:
public std::runtime_error public std::runtime_error
{ {
typedef std::runtime_error Super; using Super = std::runtime_error;
public: public:
/** Constructs a new instance of the exception based on the provided values directly. */ /** Constructs a new instance of the exception based on the provided values directly. */
explicit CannotSerializeException(const AString & a_ValueName, const char * a_ErrorMsg): explicit CannotSerializeException(const AString & a_ValueName, const char * a_ErrorMsg):

View File

@ -285,7 +285,7 @@ public:
class cCallback: class cCallback:
public cTrackedRef public cTrackedRef
{ {
typedef cTrackedRef Super; using Super = cTrackedRef;
public: public:
@ -334,7 +334,7 @@ public:
class cOptionalCallback: class cOptionalCallback:
public cCallback public cCallback
{ {
typedef cCallback Super; using Super = cCallback;
public: public:
@ -369,7 +369,8 @@ public:
class cTableRef: class cTableRef:
public cTrackedRef public cTrackedRef
{ {
typedef cTrackedRef Super; using Super = cTrackedRef;
public: public:
cTableRef(void) {} cTableRef(void) {}

View File

@ -34,7 +34,7 @@ class cLuaWindow :
// tolua_end // tolua_end
, public cItemGrid::cListener , public cItemGrid::cListener
{ // tolua_export { // tolua_export
typedef cWindow Super; using Super = cWindow;
public: public:
/** Create a window of the specified type, with a slot grid of a_SlotsX * a_SlotsY size. /** Create a window of the specified type, with a slot grid of a_SlotsX * a_SlotsY size.

View File

@ -16,6 +16,7 @@
// fwd: // fwd:
struct tolua_Error; struct tolua_Error;
class cPluginLua;

View File

@ -187,7 +187,7 @@ bool cPluginLua::Load(void)
void cPluginLua::Unload(void) void cPluginLua::Unload(void)
{ {
ClearWebTabs(); ClearWebTabs();
super::Unload(); Super::Unload();
Close(); Close();
} }

View File

@ -19,15 +19,15 @@
// tolua_begin // tolua_begin
class cPluginLua: class cPluginLua:
public cPlugin public cPlugin
{ {
typedef cPlugin super; // tolua_end
using Super = cPlugin;
public: public:
// tolua_end
/** A RAII-style mutex lock for accessing the internal LuaState. /** A RAII-style mutex lock for accessing the internal LuaState.
This will be the only way to retrieve the plugin's LuaState; This will be the only way to retrieve the plugin's LuaState;
@ -207,7 +207,3 @@ protected:
return false; return false;
} }
}; // tolua_export }; // tolua_export

View File

@ -13,7 +13,7 @@
cBeaconEntity::cBeaconEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World): cBeaconEntity::cBeaconEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World):
super(a_BlockType, a_BlockMeta, a_Pos, 1, 1, a_World), Super(a_BlockType, a_BlockMeta, a_Pos, 1, 1, a_World),
m_IsActive(false), m_IsActive(false),
m_BeaconLevel(0), m_BeaconLevel(0),
m_PrimaryEffect(cEntityEffect::effNoEffect), m_PrimaryEffect(cEntityEffect::effNoEffect),
@ -264,7 +264,7 @@ void cBeaconEntity::GiveEffects(void)
void cBeaconEntity::CopyFrom(const cBlockEntity & a_Src) void cBeaconEntity::CopyFrom(const cBlockEntity & a_Src)
{ {
super::CopyFrom(a_Src); Super::CopyFrom(a_Src);
auto & src = static_cast<const cBeaconEntity &>(a_Src); auto & src = static_cast<const cBeaconEntity &>(a_Src);
m_BeaconLevel = src.m_BeaconLevel; m_BeaconLevel = src.m_BeaconLevel;
m_Contents.CopyFrom(src.m_Contents); m_Contents.CopyFrom(src.m_Contents);

View File

@ -21,7 +21,7 @@ class cBeaconEntity :
{ {
// tolua_end // tolua_end
using super = cBlockEntityWithItems; using Super = cBlockEntityWithItems;
public: // tolua_export public: // tolua_export

View File

@ -14,7 +14,7 @@
cBedEntity::cBedEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World, short a_Color): cBedEntity::cBedEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World, short a_Color):
super(a_BlockType, a_BlockMeta, a_Pos, a_World), Super(a_BlockType, a_BlockMeta, a_Pos, a_World),
m_Color(a_Color) m_Color(a_Color)
{ {
ASSERT(a_BlockType == E_BLOCK_BED); ASSERT(a_BlockType == E_BLOCK_BED);
@ -26,7 +26,7 @@ cBedEntity::cBedEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a
void cBedEntity::CopyFrom(const cBlockEntity & a_Src) void cBedEntity::CopyFrom(const cBlockEntity & a_Src)
{ {
super::CopyFrom(a_Src); Super::CopyFrom(a_Src);
auto & src = static_cast<const cBedEntity &>(a_Src); auto & src = static_cast<const cBedEntity &>(a_Src);
m_Color = src.m_Color; m_Color = src.m_Color;
} }

View File

@ -16,7 +16,7 @@ class cBedEntity :
public cBlockEntity public cBlockEntity
{ {
// tolua_end // tolua_end
using super = cBlockEntity; using Super = cBlockEntity;
public: // tolua_export public: // tolua_export

View File

@ -10,7 +10,7 @@
#define BLOCKENTITY_PROTODEF(classname) \ #define BLOCKENTITY_PROTODEF(classname) \
virtual bool IsA(const char * a_ClassName) const override \ virtual bool IsA(const char * a_ClassName) const override \
{ \ { \
return ((a_ClassName != nullptr) && ((strcmp(a_ClassName, #classname) == 0) || super::IsA(a_ClassName))); \ return ((a_ClassName != nullptr) && ((strcmp(a_ClassName, #classname) == 0) || Super::IsA(a_ClassName))); \
} \ } \
virtual const char * GetClass() const override \ virtual const char * GetClass() const override \
{ \ { \
@ -22,7 +22,7 @@
} \ } \
virtual const char * GetParentClass() const override \ virtual const char * GetParentClass() const override \
{ \ { \
return super::GetClass(); \ return Super::GetClass(); \
} }

View File

@ -15,7 +15,7 @@ cBlockEntityWithItems::cBlockEntityWithItems(
int a_ItemGridWidth, int a_ItemGridHeight, int a_ItemGridWidth, int a_ItemGridHeight,
cWorld * a_World cWorld * a_World
): ):
super(a_BlockType, a_BlockMeta, a_Pos, a_World), Super(a_BlockType, a_BlockMeta, a_Pos, a_World),
cBlockEntityWindowOwner(this), cBlockEntityWindowOwner(this),
m_Contents(a_ItemGridWidth, a_ItemGridHeight) m_Contents(a_ItemGridWidth, a_ItemGridHeight)
{ {
@ -28,7 +28,7 @@ cBlockEntityWithItems::cBlockEntityWithItems(
void cBlockEntityWithItems::CopyFrom(const cBlockEntity & a_Src) void cBlockEntityWithItems::CopyFrom(const cBlockEntity & a_Src)
{ {
super::CopyFrom(a_Src); Super::CopyFrom(a_Src);
auto & src = static_cast<const cBlockEntityWithItems &>(a_Src); auto & src = static_cast<const cBlockEntityWithItems &>(a_Src);
m_Contents.CopyFrom(src.m_Contents); m_Contents.CopyFrom(src.m_Contents);
} }

View File

@ -28,7 +28,7 @@ class cBlockEntityWithItems :
{ {
// tolua_end // tolua_end
using super = cBlockEntity; using Super = cBlockEntity;
public: // tolua_export public: // tolua_export

View File

@ -12,7 +12,7 @@
cBrewingstandEntity::cBrewingstandEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World): cBrewingstandEntity::cBrewingstandEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World):
super(a_BlockType, a_BlockMeta, a_Pos, ContentsWidth, ContentsHeight, a_World), Super(a_BlockType, a_BlockMeta, a_Pos, ContentsWidth, ContentsHeight, a_World),
m_IsDestroyed(false), m_IsDestroyed(false),
m_IsBrewing(false), m_IsBrewing(false),
m_TimeBrewed(0), m_TimeBrewed(0),
@ -42,7 +42,7 @@ cBrewingstandEntity::~cBrewingstandEntity()
void cBrewingstandEntity::Destroy() void cBrewingstandEntity::Destroy()
{ {
m_IsDestroyed = true; m_IsDestroyed = true;
super::Destroy(); Super::Destroy();
} }
@ -51,7 +51,7 @@ void cBrewingstandEntity::Destroy()
void cBrewingstandEntity::CopyFrom(const cBlockEntity & a_Src) void cBrewingstandEntity::CopyFrom(const cBlockEntity & a_Src)
{ {
super::CopyFrom(a_Src); Super::CopyFrom(a_Src);
auto & src = static_cast<const cBrewingstandEntity &>(a_Src); auto & src = static_cast<const cBrewingstandEntity &>(a_Src);
m_IsBrewing = src.m_IsBrewing; m_IsBrewing = src.m_IsBrewing;
for (size_t i = 0; i < ARRAYCOUNT(m_CurrentBrewingRecipes); ++i) for (size_t i = 0; i < ARRAYCOUNT(m_CurrentBrewingRecipes); ++i)
@ -202,7 +202,7 @@ void cBrewingstandEntity::BroadcastProgress(short a_ProgressbarID, short a_Value
void cBrewingstandEntity::OnSlotChanged(cItemGrid * a_ItemGrid, int a_SlotNum) void cBrewingstandEntity::OnSlotChanged(cItemGrid * a_ItemGrid, int a_SlotNum)
{ {
super::OnSlotChanged(a_ItemGrid, a_SlotNum); Super::OnSlotChanged(a_ItemGrid, a_SlotNum);
if (m_IsDestroyed) if (m_IsDestroyed)
{ {

View File

@ -20,7 +20,7 @@ class cBrewingstandEntity :
{ {
// tolua_end // tolua_end
using super = cBlockEntityWithItems; using Super = cBlockEntityWithItems;
// tolua_begin // tolua_begin

View File

@ -14,7 +14,7 @@
cChestEntity::cChestEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World): cChestEntity::cChestEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World):
super(a_BlockType, a_BlockMeta, a_Pos, ContentsWidth, ContentsHeight, a_World), Super(a_BlockType, a_BlockMeta, a_Pos, ContentsWidth, ContentsHeight, a_World),
m_NumActivePlayers(0), m_NumActivePlayers(0),
m_Neighbour(nullptr) m_Neighbour(nullptr)
{ {
@ -50,7 +50,7 @@ cChestEntity::~cChestEntity()
void cChestEntity::CopyFrom(const cBlockEntity & a_Src) void cChestEntity::CopyFrom(const cBlockEntity & a_Src)
{ {
super::CopyFrom(a_Src); Super::CopyFrom(a_Src);
auto & src = static_cast<const cChestEntity &>(a_Src); auto & src = static_cast<const cChestEntity &>(a_Src);
m_Contents.CopyFrom(src.m_Contents); m_Contents.CopyFrom(src.m_Contents);

View File

@ -20,7 +20,7 @@ class cChestEntity :
{ {
// tolua_end // tolua_end
using super = cBlockEntityWithItems; using Super = cBlockEntityWithItems;
// tolua_begin // tolua_begin

View File

@ -18,7 +18,7 @@
cCommandBlockEntity::cCommandBlockEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World): cCommandBlockEntity::cCommandBlockEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World):
super(a_BlockType, a_BlockMeta, a_Pos, a_World), Super(a_BlockType, a_BlockMeta, a_Pos, a_World),
m_ShouldExecute(false), m_ShouldExecute(false),
m_Result(0) m_Result(0)
{ {
@ -115,7 +115,7 @@ void cCommandBlockEntity::Activate(void)
void cCommandBlockEntity::CopyFrom(const cBlockEntity & a_Src) void cCommandBlockEntity::CopyFrom(const cBlockEntity & a_Src)
{ {
super::CopyFrom(a_Src); Super::CopyFrom(a_Src);
auto & src = static_cast<const cCommandBlockEntity &>(a_Src); auto & src = static_cast<const cCommandBlockEntity &>(a_Src);
m_Command = src.m_Command; m_Command = src.m_Command;
m_LastOutput = src.m_LastOutput; m_LastOutput = src.m_LastOutput;

View File

@ -22,7 +22,7 @@ class cCommandBlockEntity :
{ {
// tolua_end // tolua_end
using super = cBlockEntity; using Super = cBlockEntity;
public: // tolua_export public: // tolua_export

View File

@ -14,7 +14,7 @@
cDispenserEntity::cDispenserEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World): cDispenserEntity::cDispenserEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World):
super(a_BlockType, a_BlockMeta, a_Pos, a_World) Super(a_BlockType, a_BlockMeta, a_Pos, a_World)
{ {
ASSERT(a_BlockType == E_BLOCK_DISPENSER); ASSERT(a_BlockType == E_BLOCK_DISPENSER);
} }

View File

@ -13,7 +13,7 @@ class cDispenserEntity :
{ {
// tolua_end // tolua_end
using super = cDropSpenserEntity; using Super = cDropSpenserEntity;
public: // tolua_export public: // tolua_export

View File

@ -16,7 +16,7 @@
cDropSpenserEntity::cDropSpenserEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World): cDropSpenserEntity::cDropSpenserEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World):
super(a_BlockType, a_BlockMeta, a_Pos, ContentsWidth, ContentsHeight, a_World), Super(a_BlockType, a_BlockMeta, a_Pos, ContentsWidth, ContentsHeight, a_World),
m_ShouldDropSpense(false) m_ShouldDropSpense(false)
{ {
} }
@ -115,7 +115,7 @@ void cDropSpenserEntity::Activate(void)
void cDropSpenserEntity::CopyFrom(const cBlockEntity & a_Src) void cDropSpenserEntity::CopyFrom(const cBlockEntity & a_Src)
{ {
super::CopyFrom(a_Src); Super::CopyFrom(a_Src);
auto & src = static_cast<const cDropSpenserEntity &>(a_Src); auto & src = static_cast<const cDropSpenserEntity &>(a_Src);
m_Contents.CopyFrom(src.m_Contents); m_Contents.CopyFrom(src.m_Contents);
m_ShouldDropSpense = src.m_ShouldDropSpense; m_ShouldDropSpense = src.m_ShouldDropSpense;

View File

@ -28,7 +28,7 @@ class cDropSpenserEntity :
{ {
// tolua_end // tolua_end
using super = cBlockEntityWithItems; using Super = cBlockEntityWithItems;
// tolua_begin // tolua_begin

View File

@ -11,7 +11,7 @@
cDropperEntity::cDropperEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World): cDropperEntity::cDropperEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World):
super(a_BlockType, a_BlockMeta, a_Pos, a_World) Super(a_BlockType, a_BlockMeta, a_Pos, a_World)
{ {
ASSERT(a_BlockType == E_BLOCK_DROPPER); ASSERT(a_BlockType == E_BLOCK_DROPPER);
} }

View File

@ -21,7 +21,7 @@ class cDropperEntity :
{ {
// tolua_end // tolua_end
using super = cDropSpenserEntity; using Super = cDropSpenserEntity;
public: // tolua_export public: // tolua_export

View File

@ -15,7 +15,7 @@
cEnderChestEntity::cEnderChestEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World): cEnderChestEntity::cEnderChestEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World):
super(a_BlockType, a_BlockMeta, a_Pos, a_World), Super(a_BlockType, a_BlockMeta, a_Pos, a_World),
cBlockEntityWindowOwner(this) cBlockEntityWindowOwner(this)
{ {
ASSERT(a_BlockType == E_BLOCK_ENDER_CHEST); ASSERT(a_BlockType == E_BLOCK_ENDER_CHEST);

View File

@ -15,7 +15,7 @@ class cEnderChestEntity :
{ {
// tolua_end // tolua_end
using super = cBlockEntity; using Super = cBlockEntity;
public: // tolua_export public: // tolua_export

View File

@ -14,7 +14,7 @@
cFlowerPotEntity::cFlowerPotEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World): cFlowerPotEntity::cFlowerPotEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World):
super(a_BlockType, a_BlockMeta, a_Pos, a_World) Super(a_BlockType, a_BlockMeta, a_Pos, a_World)
{ {
ASSERT(a_BlockType == E_BLOCK_FLOWER_POT); ASSERT(a_BlockType == E_BLOCK_FLOWER_POT);
} }
@ -43,7 +43,7 @@ void cFlowerPotEntity::Destroy(void)
void cFlowerPotEntity::CopyFrom(const cBlockEntity & a_Src) void cFlowerPotEntity::CopyFrom(const cBlockEntity & a_Src)
{ {
super::CopyFrom(a_Src); Super::CopyFrom(a_Src);
auto & src = static_cast<const cFlowerPotEntity &>(a_Src); auto & src = static_cast<const cFlowerPotEntity &>(a_Src);
m_Item = src.m_Item; m_Item = src.m_Item;
} }

View File

@ -22,7 +22,7 @@ class cFlowerPotEntity :
{ {
// tolua_end // tolua_end
using super = cBlockEntity; using Super = cBlockEntity;
public: // tolua_export public: // tolua_export

View File

@ -23,7 +23,7 @@ enum
cFurnaceEntity::cFurnaceEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World): cFurnaceEntity::cFurnaceEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World):
super(a_BlockType, a_BlockMeta, a_Pos, ContentsWidth, ContentsHeight, a_World), Super(a_BlockType, a_BlockMeta, a_Pos, ContentsWidth, ContentsHeight, a_World),
m_CurrentRecipe(nullptr), m_CurrentRecipe(nullptr),
m_IsDestroyed(false), m_IsDestroyed(false),
m_IsCooking(a_BlockType == E_BLOCK_LIT_FURNACE), m_IsCooking(a_BlockType == E_BLOCK_LIT_FURNACE),
@ -58,7 +58,7 @@ cFurnaceEntity::~cFurnaceEntity()
void cFurnaceEntity::Destroy() void cFurnaceEntity::Destroy()
{ {
m_IsDestroyed = true; m_IsDestroyed = true;
super::Destroy(); Super::Destroy();
} }
@ -67,7 +67,7 @@ void cFurnaceEntity::Destroy()
void cFurnaceEntity::CopyFrom(const cBlockEntity & a_Src) void cFurnaceEntity::CopyFrom(const cBlockEntity & a_Src)
{ {
super::CopyFrom(a_Src); Super::CopyFrom(a_Src);
auto & src = static_cast<const cFurnaceEntity &>(a_Src); auto & src = static_cast<const cFurnaceEntity &>(a_Src);
m_Contents.CopyFrom(src.m_Contents); m_Contents.CopyFrom(src.m_Contents);
m_CurrentRecipe = src.m_CurrentRecipe; m_CurrentRecipe = src.m_CurrentRecipe;
@ -255,7 +255,7 @@ void cFurnaceEntity::BurnNewFuel(void)
void cFurnaceEntity::OnSlotChanged(cItemGrid * a_ItemGrid, int a_SlotNum) void cFurnaceEntity::OnSlotChanged(cItemGrid * a_ItemGrid, int a_SlotNum)
{ {
super::OnSlotChanged(a_ItemGrid, a_SlotNum); Super::OnSlotChanged(a_ItemGrid, a_SlotNum);
if (m_IsDestroyed) if (m_IsDestroyed)
{ {

View File

@ -20,7 +20,7 @@ class cFurnaceEntity :
{ {
// tolua_end // tolua_end
using super = cBlockEntityWithItems; using Super = cBlockEntityWithItems;
// tolua_begin // tolua_begin

View File

@ -18,7 +18,7 @@
cHopperEntity::cHopperEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World): cHopperEntity::cHopperEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World):
super(a_BlockType, a_BlockMeta, a_Pos, ContentsWidth, ContentsHeight, a_World), Super(a_BlockType, a_BlockMeta, a_Pos, ContentsWidth, ContentsHeight, a_World),
m_LastMoveItemsInTick(0), m_LastMoveItemsInTick(0),
m_LastMoveItemsOutTick(0), m_LastMoveItemsOutTick(0),
m_Locked(false) m_Locked(false)
@ -63,7 +63,7 @@ std::pair<bool, Vector3i> cHopperEntity::GetOutputBlockPos(NIBBLETYPE a_BlockMet
void cHopperEntity::CopyFrom(const cBlockEntity & a_Src) void cHopperEntity::CopyFrom(const cBlockEntity & a_Src)
{ {
super::CopyFrom(a_Src); Super::CopyFrom(a_Src);
auto & src = static_cast<const cHopperEntity &>(a_Src); auto & src = static_cast<const cHopperEntity &>(a_Src);
m_LastMoveItemsInTick = src.m_LastMoveItemsInTick; m_LastMoveItemsInTick = src.m_LastMoveItemsInTick;
m_LastMoveItemsOutTick = src.m_LastMoveItemsOutTick; m_LastMoveItemsOutTick = src.m_LastMoveItemsOutTick;

View File

@ -21,7 +21,7 @@ class cHopperEntity :
{ {
// tolua_end // tolua_end
using super = cBlockEntityWithItems; using Super = cBlockEntityWithItems;
// tolua_begin // tolua_begin

View File

@ -14,7 +14,7 @@
cJukeboxEntity::cJukeboxEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World): cJukeboxEntity::cJukeboxEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World):
super(a_BlockType, a_BlockMeta, a_Pos, a_World), Super(a_BlockType, a_BlockMeta, a_Pos, a_World),
m_Record(0) m_Record(0)
{ {
ASSERT(a_BlockType == E_BLOCK_JUKEBOX); ASSERT(a_BlockType == E_BLOCK_JUKEBOX);
@ -49,7 +49,7 @@ void cJukeboxEntity::Destroy(void)
void cJukeboxEntity::CopyFrom(const cBlockEntity & a_Src) void cJukeboxEntity::CopyFrom(const cBlockEntity & a_Src)
{ {
super::CopyFrom(a_Src); Super::CopyFrom(a_Src);
auto & src = static_cast<const cJukeboxEntity &>(a_Src); auto & src = static_cast<const cJukeboxEntity &>(a_Src);
m_Record = src.m_Record; m_Record = src.m_Record;
} }

View File

@ -15,7 +15,7 @@ class cJukeboxEntity :
{ {
// tolua_end // tolua_end
using super = cBlockEntity; using Super = cBlockEntity;
public: // tolua_export public: // tolua_export

View File

@ -14,7 +14,7 @@
cMobHeadEntity::cMobHeadEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World): cMobHeadEntity::cMobHeadEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World):
super(a_BlockType, a_BlockMeta, a_Pos, a_World), Super(a_BlockType, a_BlockMeta, a_Pos, a_World),
m_Type(SKULL_TYPE_SKELETON), m_Type(SKULL_TYPE_SKELETON),
m_Rotation(SKULL_ROTATION_NORTH) m_Rotation(SKULL_ROTATION_NORTH)
{ {
@ -27,7 +27,7 @@ cMobHeadEntity::cMobHeadEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Ve
void cMobHeadEntity::CopyFrom(const cBlockEntity & a_Src) void cMobHeadEntity::CopyFrom(const cBlockEntity & a_Src)
{ {
super::CopyFrom(a_Src); Super::CopyFrom(a_Src);
auto & src = static_cast<const cMobHeadEntity &>(a_Src); auto & src = static_cast<const cMobHeadEntity &>(a_Src);
m_OwnerName = src.m_OwnerName; m_OwnerName = src.m_OwnerName;
m_OwnerTexture = src.m_OwnerTexture; m_OwnerTexture = src.m_OwnerTexture;

View File

@ -23,7 +23,7 @@ class cMobHeadEntity :
{ {
// tolua_end // tolua_end
using super = cBlockEntity; using Super = cBlockEntity;
public: // tolua_export public: // tolua_export

View File

@ -14,7 +14,7 @@
cMobSpawnerEntity::cMobSpawnerEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World): cMobSpawnerEntity::cMobSpawnerEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World):
super(a_BlockType, a_BlockMeta, a_Pos, a_World), Super(a_BlockType, a_BlockMeta, a_Pos, a_World),
m_Entity(mtPig), m_Entity(mtPig),
m_SpawnDelay(100), m_SpawnDelay(100),
m_IsActive(false) m_IsActive(false)
@ -28,7 +28,7 @@ cMobSpawnerEntity::cMobSpawnerEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMe
void cMobSpawnerEntity::CopyFrom(const cBlockEntity & a_Src) void cMobSpawnerEntity::CopyFrom(const cBlockEntity & a_Src)
{ {
super::CopyFrom(a_Src); Super::CopyFrom(a_Src);
auto & src = static_cast<const cMobSpawnerEntity &>(a_Src); auto & src = static_cast<const cMobSpawnerEntity &>(a_Src);
m_Entity = src.m_Entity; m_Entity = src.m_Entity;
m_IsActive = src.m_IsActive; m_IsActive = src.m_IsActive;

View File

@ -21,7 +21,7 @@ class cMobSpawnerEntity :
{ {
// tolua_end // tolua_end
using super = cBlockEntity; using Super = cBlockEntity;
public: // tolua_export public: // tolua_export

View File

@ -10,7 +10,7 @@
cNoteEntity::cNoteEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World): cNoteEntity::cNoteEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World):
super(a_BlockType, a_BlockMeta, a_Pos, a_World), Super(a_BlockType, a_BlockMeta, a_Pos, a_World),
m_Pitch(0) m_Pitch(0)
{ {
ASSERT(a_BlockType == E_BLOCK_NOTE_BLOCK); ASSERT(a_BlockType == E_BLOCK_NOTE_BLOCK);
@ -22,7 +22,7 @@ cNoteEntity::cNoteEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i
void cNoteEntity::CopyFrom(const cBlockEntity & a_Src) void cNoteEntity::CopyFrom(const cBlockEntity & a_Src)
{ {
super::CopyFrom(a_Src); Super::CopyFrom(a_Src);
auto & src = static_cast<const cNoteEntity &>(a_Src); auto & src = static_cast<const cNoteEntity &>(a_Src);
m_Pitch = src.m_Pitch; m_Pitch = src.m_Pitch;
} }

View File

@ -32,7 +32,7 @@ class cNoteEntity :
{ {
// tolua_end // tolua_end
using super = cBlockEntity; using Super = cBlockEntity;
public: // tolua_export public: // tolua_export

View File

@ -13,7 +13,7 @@
cSignEntity::cSignEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World): cSignEntity::cSignEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World):
super(a_BlockType, a_BlockMeta, a_Pos, a_World) Super(a_BlockType, a_BlockMeta, a_Pos, a_World)
{ {
ASSERT((a_BlockType == E_BLOCK_WALLSIGN) || (a_BlockType == E_BLOCK_SIGN_POST)); ASSERT((a_BlockType == E_BLOCK_WALLSIGN) || (a_BlockType == E_BLOCK_SIGN_POST));
ASSERT(cChunkDef::IsValidHeight(a_Pos.y)); ASSERT(cChunkDef::IsValidHeight(a_Pos.y));
@ -25,7 +25,7 @@ cSignEntity::cSignEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i
void cSignEntity::CopyFrom(const cBlockEntity & a_Src) void cSignEntity::CopyFrom(const cBlockEntity & a_Src)
{ {
super::CopyFrom(a_Src); Super::CopyFrom(a_Src);
auto & src = static_cast<const cSignEntity &>(a_Src); auto & src = static_cast<const cSignEntity &>(a_Src);
for (size_t i = 0; i < ARRAYCOUNT(m_Line); ++i) for (size_t i = 0; i < ARRAYCOUNT(m_Line); ++i)
{ {

View File

@ -21,7 +21,7 @@ class cSignEntity :
{ {
// tolua_end // tolua_end
using super = cBlockEntity; using Super = cBlockEntity;
public: // tolua_export public: // tolua_export

View File

@ -13,11 +13,12 @@
class cBlockAnvilHandler: class cBlockAnvilHandler:
public cYawRotator<cBlockHandler, 0x03, 0x03, 0x00, 0x01, 0x02> public cYawRotator<cBlockHandler, 0x03, 0x03, 0x00, 0x01, 0x02>
{ {
public: using Super = cYawRotator<cBlockHandler, 0x03, 0x03, 0x00, 0x01, 0x02>;
using super = cYawRotator<cBlockHandler, 0x03, 0x03, 0x00, 0x01, 0x02>;
cBlockAnvilHandler(BLOCKTYPE a_BlockType) public:
: super(a_BlockType)
cBlockAnvilHandler(BLOCKTYPE a_BlockType):
Super(a_BlockType)
{ {
} }
@ -48,7 +49,7 @@ public:
BLOCKTYPE & a_BlockType, NIBBLETYPE & a_BlockMeta BLOCKTYPE & a_BlockType, NIBBLETYPE & a_BlockMeta
) override ) override
{ {
if (!super::GetPlacementBlockTypeMeta(a_ChunkInterface, a_Player, a_BlockX, a_BlockY, a_BlockZ, a_BlockFace, a_CursorX, a_CursorY, a_CursorZ, a_BlockType, a_BlockMeta)) if (!Super::GetPlacementBlockTypeMeta(a_ChunkInterface, a_Player, a_BlockX, a_BlockY, a_BlockZ, a_BlockFace, a_CursorX, a_CursorY, a_CursorZ, a_BlockType, a_BlockMeta))
{ {
return false; return false;
} }

View File

@ -18,12 +18,12 @@ class cWorldInterface;
class cBlockBedHandler : class cBlockBedHandler :
public cYawRotator<cBlockEntityHandler, 0x03, 0x02, 0x03, 0x00, 0x01> public cYawRotator<cBlockEntityHandler, 0x03, 0x02, 0x03, 0x00, 0x01>
{ {
using super = cYawRotator<cBlockEntityHandler, 0x03, 0x02, 0x03, 0x00, 0x01>; using Super = cYawRotator<cBlockEntityHandler, 0x03, 0x02, 0x03, 0x00, 0x01>;
public: public:
cBlockBedHandler(BLOCKTYPE a_BlockType): cBlockBedHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -12,12 +12,12 @@
class cBlockBigFlowerHandler : class cBlockBigFlowerHandler :
public cBlockHandler public cBlockHandler
{ {
using super = cBlockHandler; using Super = cBlockHandler;
public: public:
cBlockBigFlowerHandler(BLOCKTYPE a_BlockType): cBlockBigFlowerHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -11,12 +11,12 @@
class cBlockBrewingStandHandler : class cBlockBrewingStandHandler :
public cBlockEntityHandler public cBlockEntityHandler
{ {
using super = cBlockEntityHandler; using Super = cBlockEntityHandler;
public: public:
cBlockBrewingStandHandler(BLOCKTYPE a_BlockType): cBlockBrewingStandHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -11,12 +11,12 @@
class cBlockButtonHandler : class cBlockButtonHandler :
public cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x04, 0x01, 0x03, 0x02, true>> public cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x04, 0x01, 0x03, 0x02, true>>
{ {
using super = cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x04, 0x01, 0x03, 0x02, true>>; using Super = cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x04, 0x01, 0x03, 0x02, true>>;
public: public:
cBlockButtonHandler(BLOCKTYPE a_BlockType): cBlockButtonHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -10,12 +10,12 @@
class cBlockCactusHandler : class cBlockCactusHandler :
public cClearMetaOnDrop<cBlockPlant<false>> public cClearMetaOnDrop<cBlockPlant<false>>
{ {
using super = cClearMetaOnDrop<cBlockPlant<false>>; using Super = cClearMetaOnDrop<cBlockPlant<false>>;
public: public:
cBlockCactusHandler(BLOCKTYPE a_BlockType): cBlockCactusHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }
@ -159,7 +159,7 @@ protected:
// Only allow growing if there's an air block above: // Only allow growing if there's an air block above:
if (((a_RelPos.y + 1) < cChunkDef::Height) && (a_Chunk.GetBlock(a_RelPos.addedY(1)) == E_BLOCK_AIR)) if (((a_RelPos.y + 1) < cChunkDef::Height) && (a_Chunk.GetBlock(a_RelPos.addedY(1)) == E_BLOCK_AIR))
{ {
return super::CanGrow(a_Chunk, a_RelPos); return Super::CanGrow(a_Chunk, a_RelPos);
} }
return paStay; return paStay;
} }

View File

@ -9,10 +9,10 @@
class cBlockCakeHandler: class cBlockCakeHandler:
public cBlockHandler public cBlockHandler
{ {
using super = cBlockHandler; using Super = cBlockHandler;
public: public:
cBlockCakeHandler(BLOCKTYPE a_BlockType): cBlockCakeHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -17,12 +17,12 @@
class cBlockCarpetHandler : class cBlockCarpetHandler :
public cBlockHandler public cBlockHandler
{ {
using super = cBlockHandler; using Super = cBlockHandler;
public: public:
cBlockCarpetHandler(BLOCKTYPE a_BlockType) : cBlockCarpetHandler(BLOCKTYPE a_BlockType) :
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -10,12 +10,12 @@
class cBlockCauldronHandler : class cBlockCauldronHandler :
public cBlockHandler public cBlockHandler
{ {
using super = cBlockHandler; using Super = cBlockHandler;
public: public:
cBlockCauldronHandler(BLOCKTYPE a_BlockType): cBlockCauldronHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -13,12 +13,12 @@
class cBlockChestHandler : class cBlockChestHandler :
public cYawRotator<cContainerEntityHandler<cBlockEntityHandler>, 0x07, 0x03, 0x04, 0x02, 0x05> public cYawRotator<cContainerEntityHandler<cBlockEntityHandler>, 0x07, 0x03, 0x04, 0x02, 0x05>
{ {
using super = cYawRotator<cContainerEntityHandler<cBlockEntityHandler>, 0x07, 0x03, 0x04, 0x02, 0x05>; using Super = cYawRotator<cContainerEntityHandler<cBlockEntityHandler>, 0x07, 0x03, 0x04, 0x02, 0x05>;
public: public:
cBlockChestHandler(BLOCKTYPE a_BlockType): cBlockChestHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }
@ -48,7 +48,7 @@ public:
} }
// Get meta as if this was a single-chest: // Get meta as if this was a single-chest:
if (!super::GetPlacementBlockTypeMeta(a_ChunkInterface, a_Player, a_BlockX, a_BlockY, a_BlockZ, a_BlockFace, a_CursorX, a_CursorY, a_CursorZ, a_BlockType, a_BlockMeta)) if (!Super::GetPlacementBlockTypeMeta(a_ChunkInterface, a_Player, a_BlockX, a_BlockY, a_BlockZ, a_BlockFace, a_CursorX, a_CursorY, a_CursorZ, a_BlockType, a_BlockMeta))
{ {
return false; return false;
} }

View File

@ -10,11 +10,11 @@
class cBlockCocoaPodHandler : class cBlockCocoaPodHandler :
public cBlockHandler public cBlockHandler
{ {
using super = cBlockHandler; using Super = cBlockHandler;
public: public:
cBlockCocoaPodHandler(BLOCKTYPE a_BlockType): cBlockCocoaPodHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -10,12 +10,12 @@
class cBlockCommandBlockHandler : class cBlockCommandBlockHandler :
public cBlockEntityHandler public cBlockEntityHandler
{ {
using super = cBlockEntityHandler; using Super = cBlockEntityHandler;
public: public:
cBlockCommandBlockHandler(BLOCKTYPE a_BlockType): cBlockCommandBlockHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -12,12 +12,12 @@
class cBlockComparatorHandler : class cBlockComparatorHandler :
public cYawRotator<cBlockHandler, 0x03, 0x00, 0x01, 0x02, 0x03> public cYawRotator<cBlockHandler, 0x03, 0x00, 0x01, 0x02, 0x03>
{ {
using super = cYawRotator<cBlockHandler, 0x03, 0x00, 0x01, 0x02, 0x03>; using Super = cYawRotator<cBlockHandler, 0x03, 0x00, 0x01, 0x02, 0x03>;
public: public:
cBlockComparatorHandler(BLOCKTYPE a_BlockType): cBlockComparatorHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -10,12 +10,12 @@
class cBlockConcretePowderHandler : class cBlockConcretePowderHandler :
public cBlockHandler public cBlockHandler
{ {
using super = cBlockHandler; using Super = cBlockHandler;
public: public:
cBlockConcretePowderHandler(BLOCKTYPE a_BlockType): cBlockConcretePowderHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }
@ -33,7 +33,7 @@ public:
{ {
return; return;
} }
super::Check(a_ChunkInterface, a_PluginInterface, a_RelPos, a_Chunk); Super::Check(a_ChunkInterface, a_PluginInterface, a_RelPos, a_Chunk);
} }

View File

@ -13,12 +13,12 @@ template <NIBBLETYPE RipeMeta>
class cBlockCropsHandler: class cBlockCropsHandler:
public cBlockPlant<true> public cBlockPlant<true>
{ {
using super = cBlockPlant<true>; using Super = cBlockPlant<true>;
public: public:
cBlockCropsHandler(BLOCKTYPE a_BlockType): cBlockCropsHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -10,18 +10,27 @@
class cBlockDeadBushHandler: class cBlockDeadBushHandler:
public cBlockHandler public cBlockHandler
{ {
typedef cBlockHandler super; using Super = cBlockHandler;
public: public:
cBlockDeadBushHandler(BLOCKTYPE a_BlockType) cBlockDeadBushHandler(BLOCKTYPE a_BlockType):
: cBlockHandler(a_BlockType) Super(a_BlockType)
{ {
} }
virtual bool DoesIgnoreBuildCollision(cChunkInterface & a_ChunkInterface, Vector3i a_Pos, cPlayer & a_Player, NIBBLETYPE a_Meta) override virtual bool DoesIgnoreBuildCollision(cChunkInterface & a_ChunkInterface, Vector3i a_Pos, cPlayer & a_Player, NIBBLETYPE a_Meta) override
{ {
return true; return true;
} }
virtual bool CanBeAt(cChunkInterface & a_ChunkInterface, int a_RelX, int a_RelY, int a_RelZ, const cChunk & a_Chunk) override virtual bool CanBeAt(cChunkInterface & a_ChunkInterface, int a_RelX, int a_RelY, int a_RelZ, const cChunk & a_Chunk) override
{ {
if (a_RelY <= 0) if (a_RelY <= 0)

View File

@ -10,12 +10,12 @@
class cBlockDirtHandler : class cBlockDirtHandler :
public cBlockHandler public cBlockHandler
{ {
using super = cBlockHandler; using Super = cBlockHandler;
public: public:
cBlockDirtHandler(BLOCKTYPE a_BlockType): cBlockDirtHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -8,7 +8,7 @@
cBlockDoorHandler::cBlockDoorHandler(BLOCKTYPE a_BlockType): cBlockDoorHandler::cBlockDoorHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }
@ -123,7 +123,7 @@ NIBBLETYPE cBlockDoorHandler::MetaRotateCCW(NIBBLETYPE a_Meta)
else else
{ {
// Rotate the bottom block // Rotate the bottom block
return super::MetaRotateCCW(a_Meta); return Super::MetaRotateCCW(a_Meta);
} }
} }
@ -141,7 +141,7 @@ NIBBLETYPE cBlockDoorHandler::MetaRotateCW(NIBBLETYPE a_Meta)
else else
{ {
// Rotate the bottom block // Rotate the bottom block
return super::MetaRotateCW(a_Meta); return Super::MetaRotateCW(a_Meta);
} }
} }

View File

@ -14,7 +14,7 @@
class cBlockDoorHandler : class cBlockDoorHandler :
public cYawRotator<cBlockHandler, 0x03, 0x03, 0x00, 0x01, 0x02> public cYawRotator<cBlockHandler, 0x03, 0x03, 0x00, 0x01, 0x02>
{ {
using super = cYawRotator<cBlockHandler, 0x03, 0x03, 0x00, 0x01, 0x02>; using Super = cYawRotator<cBlockHandler, 0x03, 0x03, 0x00, 0x01, 0x02>;
public: public:
@ -50,7 +50,7 @@ public:
return false; return false;
} }
return super::GetPlacementBlockTypeMeta(a_ChunkInterface, a_Player, a_BlockX, a_BlockY, a_BlockZ, a_BlockFace, a_CursorX, a_CursorY, a_CursorZ, a_BlockType, a_BlockMeta); return Super::GetPlacementBlockTypeMeta(a_ChunkInterface, a_Player, a_BlockX, a_BlockY, a_BlockZ, a_BlockFace, a_CursorX, a_CursorY, a_CursorZ, a_BlockType, a_BlockMeta);
} }
virtual cBoundingBox GetPlacementCollisionBox(BLOCKTYPE a_XM, BLOCKTYPE a_XP, BLOCKTYPE a_YM, BLOCKTYPE a_YP, BLOCKTYPE a_ZM, BLOCKTYPE a_ZP) override; virtual cBoundingBox GetPlacementCollisionBox(BLOCKTYPE a_XM, BLOCKTYPE a_XP, BLOCKTYPE a_YM, BLOCKTYPE a_YP, BLOCKTYPE a_ZM, BLOCKTYPE a_ZP) override;

View File

@ -16,12 +16,12 @@
class cBlockDropSpenserHandler : class cBlockDropSpenserHandler :
public cPitchYawRotator<cBlockEntityHandler, 0x07, 0x03, 0x04, 0x02, 0x05, 0x01, 0x00> public cPitchYawRotator<cBlockEntityHandler, 0x07, 0x03, 0x04, 0x02, 0x05, 0x01, 0x00>
{ {
using super = cPitchYawRotator<cBlockEntityHandler, 0x07, 0x03, 0x04, 0x02, 0x05, 0x01, 0x00>; using Super = cPitchYawRotator<cBlockEntityHandler, 0x07, 0x03, 0x04, 0x02, 0x05, 0x01, 0x00>;
public: public:
cBlockDropSpenserHandler(BLOCKTYPE a_BlockType): cBlockDropSpenserHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -10,12 +10,12 @@
class cBlockEnderchestHandler : class cBlockEnderchestHandler :
public cYawRotator<cBlockEntityHandler> public cYawRotator<cBlockEntityHandler>
{ {
using super = cYawRotator<cBlockEntityHandler>; using Super = cYawRotator<cBlockEntityHandler>;
public: public:
cBlockEnderchestHandler(BLOCKTYPE a_BlockType): cBlockEnderchestHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -15,12 +15,12 @@ Forwards the "use" event to the block entity. */
class cBlockEntityHandler: class cBlockEntityHandler:
public cBlockHandler public cBlockHandler
{ {
using super = cBlockHandler; using Super = cBlockHandler;
public: public:
cBlockEntityHandler(BLOCKTYPE a_BlockType): cBlockEntityHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -19,12 +19,12 @@
class cBlockFarmlandHandler : class cBlockFarmlandHandler :
public cBlockHandler public cBlockHandler
{ {
using super = cBlockHandler; using Super = cBlockHandler;
public: public:
cBlockFarmlandHandler(BLOCKTYPE a_BlockType): cBlockFarmlandHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -11,12 +11,12 @@
class cBlockFenceGateHandler : class cBlockFenceGateHandler :
public cClearMetaOnDrop<cYawRotator<cBlockHandler, 0x03, 0x02, 0x03, 0x00, 0x01>> public cClearMetaOnDrop<cYawRotator<cBlockHandler, 0x03, 0x02, 0x03, 0x00, 0x01>>
{ {
using super = cClearMetaOnDrop<cYawRotator<cBlockHandler, 0x03, 0x02, 0x03, 0x00, 0x01>>; using Super = cClearMetaOnDrop<cYawRotator<cBlockHandler, 0x03, 0x02, 0x03, 0x00, 0x01>>;
public: public:
cBlockFenceGateHandler(BLOCKTYPE a_BlockType): cBlockFenceGateHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -10,12 +10,12 @@
class cBlockFlowerPotHandler : class cBlockFlowerPotHandler :
public cBlockEntityHandler public cBlockEntityHandler
{ {
using super = cBlockEntityHandler; using Super = cBlockEntityHandler;
public: public:
cBlockFlowerPotHandler(BLOCKTYPE a_BlockType): cBlockFlowerPotHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -10,11 +10,12 @@
class cBlockFluidHandler: class cBlockFluidHandler:
public cBlockHandler public cBlockHandler
{ {
typedef cBlockHandler super; using Super = cBlockHandler;
public: public:
cBlockFluidHandler(BLOCKTYPE a_BlockType)
: cBlockHandler(a_BlockType) cBlockFluidHandler(BLOCKTYPE a_BlockType):
Super(a_BlockType)
{ {
} }
@ -61,7 +62,7 @@ public:
break; break;
} }
} }
super::Check(a_ChunkInterface, a_PluginInterface, a_RelPos, a_Chunk); Super::Check(a_ChunkInterface, a_PluginInterface, a_RelPos, a_Chunk);
} }
@ -99,11 +100,12 @@ public:
class cBlockLavaHandler: class cBlockLavaHandler:
public cBlockFluidHandler public cBlockFluidHandler
{ {
typedef cBlockFluidHandler super; using Super = cBlockFluidHandler;
public: public:
cBlockLavaHandler(BLOCKTYPE a_BlockType): cBlockLavaHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -11,12 +11,12 @@
class cBlockFurnaceHandler : class cBlockFurnaceHandler :
public cYawRotator<cBlockEntityHandler, 0x07, 0x03, 0x04, 0x02, 0x05> public cYawRotator<cBlockEntityHandler, 0x07, 0x03, 0x04, 0x02, 0x05>
{ {
using super = cYawRotator<cBlockEntityHandler, 0x07, 0x03, 0x04, 0x02, 0x05>; using Super = cYawRotator<cBlockEntityHandler, 0x07, 0x03, 0x04, 0x02, 0x05>;
public: public:
cBlockFurnaceHandler(BLOCKTYPE a_BlockType): cBlockFurnaceHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -10,12 +10,12 @@
class cBlockHopperHandler : class cBlockHopperHandler :
public cPitchYawRotator<cContainerEntityHandler<cBlockEntityHandler>> public cPitchYawRotator<cContainerEntityHandler<cBlockEntityHandler>>
{ {
using super = cPitchYawRotator<cContainerEntityHandler<cBlockEntityHandler>>; using Super = cPitchYawRotator<cContainerEntityHandler<cBlockEntityHandler>>;
public: public:
cBlockHopperHandler(BLOCKTYPE a_BlockType): cBlockHopperHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -10,12 +10,12 @@
class cBlockIceHandler : class cBlockIceHandler :
public cBlockHandler public cBlockHandler
{ {
using super = cBlockHandler; using Super = cBlockHandler;
public: public:
cBlockIceHandler(BLOCKTYPE a_BlockType): cBlockIceHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -11,12 +11,12 @@
class cBlockLadderHandler : class cBlockLadderHandler :
public cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x05, 0x03, 0x04> > public cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x05, 0x03, 0x04> >
{ {
using super = cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x05, 0x03, 0x04>>; using Super = cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x05, 0x03, 0x04>>;
public: public:
cBlockLadderHandler(BLOCKTYPE a_BlockType): cBlockLadderHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -9,12 +9,12 @@
class cBlockLeverHandler : class cBlockLeverHandler :
public cMetaRotator<cBlockHandler, 0x07, 0x04, 0x01, 0x03, 0x02, false> public cMetaRotator<cBlockHandler, 0x07, 0x04, 0x01, 0x03, 0x02, false>
{ {
using super = cMetaRotator<cBlockHandler, 0x07, 0x04, 0x01, 0x03, 0x02, false>; using Super = cMetaRotator<cBlockHandler, 0x07, 0x04, 0x01, 0x03, 0x02, false>;
public: public:
cBlockLeverHandler(BLOCKTYPE a_BlockType) : cBlockLeverHandler(BLOCKTYPE a_BlockType) :
super(a_BlockType) Super(a_BlockType)
{ {
} }
@ -164,7 +164,7 @@ public:
case 0x05: return 0x06; // Ground rotation case 0x05: return 0x06; // Ground rotation
case 0x06: return 0x05; case 0x06: return 0x05;
default: return super::MetaRotateCCW(a_Meta); // Wall Rotation default: return Super::MetaRotateCCW(a_Meta); // Wall Rotation
} }
} }
@ -182,7 +182,7 @@ public:
case 0x05: return 0x06; // Ground rotation case 0x05: return 0x06; // Ground rotation
case 0x06: return 0x05; case 0x06: return 0x05;
default: return super::MetaRotateCW(a_Meta); // Wall Rotation default: return Super::MetaRotateCW(a_Meta); // Wall Rotation
} }
} }

View File

@ -10,11 +10,12 @@
class cBlockLilypadHandler: class cBlockLilypadHandler:
public cClearMetaOnDrop<cBlockHandler> public cClearMetaOnDrop<cBlockHandler>
{ {
typedef cClearMetaOnDrop<cBlockHandler> super; using Super = cClearMetaOnDrop<cBlockHandler>;
public: public:
cBlockLilypadHandler(BLOCKTYPE a_BlockType): cBlockLilypadHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -10,12 +10,12 @@
class cBlockMelonHandler : class cBlockMelonHandler :
public cBlockHandler public cBlockHandler
{ {
using super = cBlockHandler; using Super = cBlockHandler;
public: public:
cBlockMelonHandler(BLOCKTYPE a_BlockType): cBlockMelonHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -11,11 +11,11 @@
class cBlockMobHeadHandler : class cBlockMobHeadHandler :
public cBlockEntityHandler public cBlockEntityHandler
{ {
using super = cBlockEntityHandler; using Super = cBlockEntityHandler;
public: public:
cBlockMobHeadHandler(BLOCKTYPE a_BlockType): cBlockMobHeadHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -10,12 +10,12 @@
class cBlockMushroomHandler: class cBlockMushroomHandler:
public cClearMetaOnDrop<cBlockHandler> public cClearMetaOnDrop<cBlockHandler>
{ {
using super = cClearMetaOnDrop<cBlockHandler>; using Super = cClearMetaOnDrop<cBlockHandler>;
public: public:
cBlockMushroomHandler(BLOCKTYPE a_BlockType): cBlockMushroomHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -11,12 +11,12 @@
class cBlockNetherWartHandler : class cBlockNetherWartHandler :
public cBlockPlant<false> public cBlockPlant<false>
{ {
using super = cBlockPlant<false>; using Super = cBlockPlant<false>;
public: public:
cBlockNetherWartHandler(BLOCKTYPE a_BlockType): cBlockNetherWartHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -8,11 +8,11 @@
class cBlockObserverHandler: class cBlockObserverHandler:
public cClearMetaOnDrop<cPitchYawRotator<cBlockHandler>> public cClearMetaOnDrop<cPitchYawRotator<cBlockHandler>>
{ {
using super = cClearMetaOnDrop<cPitchYawRotator<cBlockHandler>>; using Super = cClearMetaOnDrop<cPitchYawRotator<cBlockHandler>>;
public: public:
cBlockObserverHandler(BLOCKTYPE a_BlockType) : super(a_BlockType) cBlockObserverHandler(BLOCKTYPE a_BlockType) : Super(a_BlockType)
{ {
} }

View File

@ -10,10 +10,11 @@
class cBlockOreHandler: class cBlockOreHandler:
public cBlockHandler public cBlockHandler
{ {
typedef cBlockHandler super; using Super = cBlockHandler;
public: public:
cBlockOreHandler(BLOCKTYPE a_BlockType) cBlockOreHandler(BLOCKTYPE a_BlockType):
: cBlockHandler(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -18,7 +18,7 @@
cBlockPistonHandler::cBlockPistonHandler(BLOCKTYPE a_BlockType): cBlockPistonHandler::cBlockPistonHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }
@ -320,7 +320,7 @@ void cBlockPistonHandler::RetractPiston(Vector3i a_BlockPos, cWorld & a_World)
// cBlockPistonHeadHandler: // cBlockPistonHeadHandler:
cBlockPistonHeadHandler::cBlockPistonHeadHandler(void) : cBlockPistonHeadHandler::cBlockPistonHeadHandler(void) :
super(E_BLOCK_PISTON_EXTENSION) Super(E_BLOCK_PISTON_EXTENSION)
{ {
} }

View File

@ -19,7 +19,7 @@ class cWorld;
class cBlockPistonHandler: class cBlockPistonHandler:
public cClearMetaOnDrop<cPitchYawRotator<cBlockHandler, 0x07, 0x03, 0x04, 0x02, 0x05, 0x01, 0x00>> public cClearMetaOnDrop<cPitchYawRotator<cBlockHandler, 0x07, 0x03, 0x04, 0x02, 0x05, 0x01, 0x00>>
{ {
using super = cClearMetaOnDrop<cPitchYawRotator<cBlockHandler, 0x07, 0x03, 0x04, 0x02, 0x05, 0x01, 0x00>>; using Super = cClearMetaOnDrop<cPitchYawRotator<cBlockHandler, 0x07, 0x03, 0x04, 0x02, 0x05, 0x01, 0x00>>;
public: public:
@ -145,7 +145,7 @@ private:
class cBlockPistonHeadHandler: class cBlockPistonHeadHandler:
public cBlockHandler public cBlockHandler
{ {
using super = cBlockHandler; using Super = cBlockHandler;
public: public:
cBlockPistonHeadHandler(void); cBlockPistonHeadHandler(void);

View File

@ -12,13 +12,13 @@ template <bool NeedsLightToGrow>
class cBlockPlant: class cBlockPlant:
public cBlockHandler public cBlockHandler
{ {
using super = cBlockHandler; using Super = cBlockHandler;
public: public:
cBlockPlant(BLOCKTYPE a_BlockType): cBlockPlant(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -9,12 +9,12 @@
class cBlockPressurePlateHandler : class cBlockPressurePlateHandler :
public cClearMetaOnDrop<cBlockHandler> public cClearMetaOnDrop<cBlockHandler>
{ {
using super = cClearMetaOnDrop<cBlockHandler>; using Super = cClearMetaOnDrop<cBlockHandler>;
public: public:
cBlockPressurePlateHandler(BLOCKTYPE a_BlockType): cBlockPressurePlateHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -8,11 +8,11 @@
class cBlockPumpkinHandler : class cBlockPumpkinHandler :
public cClearMetaOnDrop<cYawRotator<cBlockHandler, 0x03, 0x00, 0x01, 0x02, 0x03>> public cClearMetaOnDrop<cYawRotator<cBlockHandler, 0x03, 0x00, 0x01, 0x02, 0x03>>
{ {
using super = cClearMetaOnDrop<cYawRotator<cBlockHandler, 0x03, 0x00, 0x01, 0x02, 0x03>>; using Super = cClearMetaOnDrop<cYawRotator<cBlockHandler, 0x03, 0x00, 0x01, 0x02, 0x03>>;
public: public:
cBlockPumpkinHandler(BLOCKTYPE a_BlockType) : cBlockPumpkinHandler(BLOCKTYPE a_BlockType) :
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -19,12 +19,12 @@ enum ENUM_PURE
class cBlockRailHandler : class cBlockRailHandler :
public cClearMetaOnDrop<cBlockHandler> public cClearMetaOnDrop<cBlockHandler>
{ {
using super = cClearMetaOnDrop<cBlockHandler>; using Super = cClearMetaOnDrop<cBlockHandler>;
public: public:
cBlockRailHandler(BLOCKTYPE a_BlockType): cBlockRailHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }
@ -57,7 +57,7 @@ public:
BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta
) override ) override
{ {
super::OnPlaced(a_ChunkInterface, a_WorldInterface, a_BlockPos, a_BlockType, a_BlockMeta); Super::OnPlaced(a_ChunkInterface, a_WorldInterface, a_BlockPos, a_BlockType, a_BlockMeta);
// Alert diagonal rails: // Alert diagonal rails:
NeighborChanged(a_ChunkInterface, a_BlockPos + Vector3i( 1, 1, 0), BLOCK_FACE_NONE); NeighborChanged(a_ChunkInterface, a_BlockPos + Vector3i( 1, 1, 0), BLOCK_FACE_NONE);
@ -80,7 +80,7 @@ public:
BLOCKTYPE a_OldBlockType, NIBBLETYPE a_OldBlockMeta BLOCKTYPE a_OldBlockType, NIBBLETYPE a_OldBlockMeta
) override ) override
{ {
super::OnBroken(a_ChunkInterface, a_WorldInterface, a_BlockPos, a_OldBlockType, a_OldBlockMeta); Super::OnBroken(a_ChunkInterface, a_WorldInterface, a_BlockPos, a_OldBlockType, a_OldBlockMeta);
// Alert diagonal rails: // Alert diagonal rails:
NeighborChanged(a_ChunkInterface, a_BlockPos + Vector3i( 1, 1, 0), BLOCK_FACE_NONE); NeighborChanged(a_ChunkInterface, a_BlockPos + Vector3i( 1, 1, 0), BLOCK_FACE_NONE);

View File

@ -11,12 +11,12 @@
class cBlockRedstoneHandler : class cBlockRedstoneHandler :
public cBlockHandler public cBlockHandler
{ {
using super = cBlockHandler; using Super = cBlockHandler;
public: public:
cBlockRedstoneHandler(BLOCKTYPE a_BlockType): cBlockRedstoneHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -14,12 +14,12 @@
class cBlockRedstoneRepeaterHandler: class cBlockRedstoneRepeaterHandler:
public cYawRotator<cBlockHandler, 0x03, 0x00, 0x01, 0x02, 0x03> public cYawRotator<cBlockHandler, 0x03, 0x00, 0x01, 0x02, 0x03>
{ {
using super = cYawRotator<cBlockHandler, 0x03, 0x00, 0x01, 0x02, 0x03>; using Super = cYawRotator<cBlockHandler, 0x03, 0x00, 0x01, 0x02, 0x03>;
public: public:
cBlockRedstoneRepeaterHandler(BLOCKTYPE a_BlockType): cBlockRedstoneRepeaterHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -10,12 +10,12 @@
class cBlockRedstoneTorchHandler : class cBlockRedstoneTorchHandler :
public cBlockTorchHandler public cBlockTorchHandler
{ {
using super = cBlockTorchHandler; using Super = cBlockTorchHandler;
public: public:
cBlockRedstoneTorchHandler(BLOCKTYPE a_BlockType): cBlockRedstoneTorchHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -11,12 +11,12 @@
class cBlockSaplingHandler : class cBlockSaplingHandler :
public cBlockHandler public cBlockHandler
{ {
using super = cBlockHandler; using Super = cBlockHandler;
public: public:
cBlockSaplingHandler(BLOCKTYPE a_BlockType): cBlockSaplingHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -10,12 +10,12 @@
class cBlockSeaLanternHandler : class cBlockSeaLanternHandler :
public cBlockHandler public cBlockHandler
{ {
using super = cBlockHandler; using Super = cBlockHandler;
public: public:
cBlockSeaLanternHandler(BLOCKTYPE a_BlockType): cBlockSeaLanternHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -13,12 +13,12 @@ Additionally supports the metadata specifying block sub-type in its lower 2 bits
class cBlockSidewaysHandler: class cBlockSidewaysHandler:
public cBlockHandler public cBlockHandler
{ {
using super = cBlockHandler; using Super = cBlockHandler;
public: public:
cBlockSidewaysHandler(BLOCKTYPE a_BlockType): cBlockSidewaysHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -11,12 +11,12 @@
class cBlockSignPostHandler: class cBlockSignPostHandler:
public cBlockHandler public cBlockHandler
{ {
using super = cBlockHandler; using Super = cBlockHandler;
public: public:
cBlockSignPostHandler(BLOCKTYPE a_BlockType): cBlockSignPostHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -20,12 +20,12 @@
class cBlockSlabHandler : class cBlockSlabHandler :
public cBlockHandler public cBlockHandler
{ {
using super = cBlockHandler; using Super = cBlockHandler;
public: public:
cBlockSlabHandler(BLOCKTYPE a_BlockType): cBlockSlabHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }
@ -239,12 +239,12 @@ public:
class cBlockDoubleSlabHandler : class cBlockDoubleSlabHandler :
public cBlockHandler public cBlockHandler
{ {
using super = cBlockHandler; using Super = cBlockHandler;
public: public:
cBlockDoubleSlabHandler(BLOCKTYPE a_BlockType): cBlockDoubleSlabHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -10,12 +10,12 @@
class cBlockSpongeHandler : class cBlockSpongeHandler :
public cBlockHandler public cBlockHandler
{ {
using super = cBlockHandler; using Super = cBlockHandler;
public: public:
cBlockSpongeHandler(BLOCKTYPE a_BlockType): cBlockSpongeHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }
@ -33,7 +33,7 @@ public:
{ {
return; return;
} }
super::Check(a_ChunkInterface, a_PluginInterface, a_RelPos, a_Chunk); Super::Check(a_ChunkInterface, a_PluginInterface, a_RelPos, a_Chunk);
} }

View File

@ -10,12 +10,12 @@
class cBlockStairsHandler : class cBlockStairsHandler :
public cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x03, 0x03, 0x00, 0x02, 0x01, true>> public cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x03, 0x03, 0x00, 0x02, 0x01, true>>
{ {
using super = cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x03, 0x03, 0x00, 0x02, 0x01, true>>; using Super = cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x03, 0x03, 0x00, 0x02, 0x01, true>>;
public: public:
cBlockStairsHandler(BLOCKTYPE a_BlockType): cBlockStairsHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

View File

@ -14,12 +14,12 @@ template <BLOCKTYPE ProduceBlockType, ENUM_ITEM_TYPE StemPickupType>
class cBlockStemsHandler: class cBlockStemsHandler:
public cBlockPlant<true> public cBlockPlant<true>
{ {
using super = cBlockPlant<true>; using Super = cBlockPlant<true>;
public: public:
cBlockStemsHandler(BLOCKTYPE a_BlockType): cBlockStemsHandler(BLOCKTYPE a_BlockType):
super(a_BlockType) Super(a_BlockType)
{ {
} }

Some files were not shown because too many files have changed in this diff Show More