wip_feat(PS3): Implement SPU variants for a portion of TU19's blocks
crashes at a stack overflow, cant be assed to fix it atm
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
#include "EntityTile_SPU.h"
|
||||
|
||||
class DaylightDetectorTile_SPU : public EntityTile_SPU
|
||||
{
|
||||
public:
|
||||
DaylightDetectorTile_SPU(int id) : EntityTile_SPU(id) {}
|
||||
|
||||
Icon_SPU *getTexture(int face, int data) {
|
||||
if (face == Facing::UP)
|
||||
{
|
||||
return &ms_pTileData->daylightDetector_icons[0];
|
||||
}
|
||||
return &ms_pTileData->daylightDetector_icons[1];
|
||||
};
|
||||
|
||||
virtual bool isSolidRender(bool isServerLevel = false) { return false; }
|
||||
|
||||
virtual void updateDefaultShape() { setShape(0, 0, 0, 1, 6.0f / 16.0f, 1); };
|
||||
virtual void updateShape() { setShape(0, 0, 0, 1, 6.0f / 16.0f, 1); };
|
||||
};
|
||||
Reference in New Issue
Block a user