Example #1
0
static void Tile_initTiles_hook() {
	Tile_initTiles_real();
	
	Tile::tiles[55] = new RedstoneWireTile(55);
	Tile::tiles[75] = new RedstoneTorchTile(75, false);
	Tile::tiles[76] = new RedstoneTorchTile(76, true);
	Tile::tiles[33] = new RepeaterTile(33, false);
	Tile::tiles[34] = new RepeaterTile(34, true);
	Tile::tiles[137] = new CommandTile(137);
}
Example #2
0
static void Tile_initTiles_hook() {
	Tile_initTiles_real();
	GlowstoneTorch* glowstoneTorch = new GlowstoneTorch(GLOWSTONE_TORCH_ID, "glowstoneTorch");
	TileItem* glowstoneTorchItem = new TileItem(GLOWSTONE_TORCH_ID-0x100);
}