first commit
This commit is contained in:
28
Minecraft.Client/PS3/SPU_Tasks/ChunkUpdate/CarrotTile_SPU.h
Normal file
28
Minecraft.Client/PS3/SPU_Tasks/ChunkUpdate/CarrotTile_SPU.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#pragma once
|
||||
|
||||
#include "CropTile_SPU.h"
|
||||
|
||||
class CarrotTile_SPU : public CropTile_SPU
|
||||
{
|
||||
private:
|
||||
// Icon *icons[4];
|
||||
public:
|
||||
CarrotTile_SPU(int id) : CropTile_SPU(id) {}
|
||||
|
||||
Icon_SPU *getTexture(int face, int data)
|
||||
{
|
||||
if (data < 7)
|
||||
{
|
||||
if (data == 6)
|
||||
{
|
||||
data = 5;
|
||||
}
|
||||
return &ms_pTileData->carrot_icons[data >> 1];
|
||||
}
|
||||
else
|
||||
{
|
||||
return &ms_pTileData->carrot_icons[3];
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user