aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/PS3/SPU_Tasks/ChunkUpdate/SmoothStoneBrickTile_SPU.h
blob: b64ab28f7fbb6fed9bd8f435882366dd5f6892d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#pragma once
#include "Tile_SPU.h"

class SmoothStoneBrickTile_SPU : public Tile_SPU
{
public:
	static const int TYPE_DEFAULT = 0;
    static const int TYPE_MOSSY = 1;
    static const int TYPE_CRACKED = 2;
	static const int TYPE_DETAIL = 3;

	static const int SMOOTH_STONE_BRICK_NAMES_LENGTH = 4;


public:

    SmoothStoneBrickTile_SPU(int id) : Tile_SPU(id) {}

	virtual Icon_SPU *getTexture(int face, int data)
	{
		if (data < 0 || data >= SMOOTH_STONE_BRICK_NAMES_LENGTH) data = 0;
		return &ms_pTileData->smoothStoneBrick_icons[data];
	}

};