mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-23 20:09:46 +03:00
* Fix include paths. Now it builds properly.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
BookshelfTile::BookshelfTile(int a, int b, Material* c) : Tile(a, b, c)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
Bush::Bush(int id, int texture) : Tile(id, Material::plant)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
ClayTile::ClayTile(int a, int b, Material* c) : Tile(a, b, c)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
ClothTile::ClothTile(int id, int type) : Tile(id, TEXTURE_CLOTH_64, Material::cloth)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
DirtTile::DirtTile(int a, int b, Material* c) : Tile(a, b, c)
|
||||
{
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Item.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
#include "world/item/Item.hpp"
|
||||
|
||||
DoorTile::DoorTile(int ID, Material* pMtl) : Tile(ID, pMtl)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
FarmTile::FarmTile(int a, Material* c) : Tile(a, c)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
FireTile::FireTile(int ID, int texture) : Tile(ID, texture, Material::fire)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
GlassTile::GlassTile(int a, int b, Material* c) : HalfTransparentTile(a, b, c)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
GrassTile::GrassTile(int id, Material* c) : Tile(id, c)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
GravelTile::GravelTile(int a, int b, Material* c) : SandTile(a, b, c)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
HalfTransparentTile::HalfTransparentTile(int a, int b, Material* c) : Tile(a, b, c)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
IceTile::IceTile(int a, int b, Material* c) : HalfTransparentTile(a, b, c)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
InvisibleTile::InvisibleTile(int ID, int texture, Material* pMtl) :
|
||||
Tile(ID, texture, pMtl)
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
LadderTile::LadderTile(int ID, int texture) : Tile(ID, texture, Material::decoration)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
LeafTile::LeafTile(int id) : TransparentTile(id, TEXTURE_LEAVES_TRANSPARENT, Material::leaves, false)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
LiquidTile::LiquidTile(int id, Material* pMtl) : Tile(id, pMtl == Material::lava ? TEXTURE_LAVA : TEXTURE_WATER, pMtl)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
bool g_bDisableSponges = false;
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
LiquidTileStatic::LiquidTileStatic(int id, Material* pMtl) : LiquidTile(id, pMtl)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
MetalTile::MetalTile(int ID, int texture, Material* pMtl) : Tile(ID, pMtl)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
ObsidianTile::ObsidianTile(int a, int b, Material* c) : Tile(a, b, c)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
OreTile::OreTile(int id, int texture) : Tile(id, texture, Material::stone)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
RedStoneOreTile::RedStoneOreTile(int id, int texture, bool bLit) : Tile(id, texture, Material::stone)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
ReedTile::ReedTile(int id) : Tile(id, Material::plant)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
SandStoneTile::SandStoneTile(int a, int b, Material* c) : Tile(a, b, c)
|
||||
{
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "FallingTile.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
#include "world/entity/FallingTile.hpp"
|
||||
|
||||
//@NOTE: True for now
|
||||
bool SandTile::instaFall = true;
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
/********************************************************************
|
||||
Minecraft: Pocket Edition - Decompilation Project
|
||||
Copyright (C) 2023 iProgramInCpp
|
||||
|
||||
The following code is licensed under the BSD 1 clause license.
|
||||
SPDX-License-Identifier: BSD-1-Clause
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
Sapling::Sapling(int id, int texture) : Bush(id, texture)
|
||||
{
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
/********************************************************************
|
||||
Minecraft: Pocket Edition - Decompilation Project
|
||||
Copyright (C) 2023 iProgramInCpp
|
||||
|
||||
The following code is licensed under the BSD 1 clause license.
|
||||
SPDX-License-Identifier: BSD-1-Clause
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
SpongeTile::SpongeTile(int id, int texture) : Tile(id, texture, Material::sponge)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
// @NOTE: All this work for some stairs; damn
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
StoneSlabTile::StoneSlabTile(int id, bool full) : Tile(id, TEXTURE_STONE_SLAB_TOP, Material::stone)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
StoneTile::StoneTile(int a, int b, Material* c) : Tile(a, b, c)
|
||||
{
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
SPDX-License-Identifier: BSD-1-Clause
|
||||
********************************************************************/
|
||||
|
||||
#include "Level.hpp"
|
||||
#include "Item.hpp"
|
||||
#include "ItemEntity.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
#include "world/item/Item.hpp"
|
||||
#include "world/entity/ItemEntity.hpp"
|
||||
|
||||
std::string Tile::TILE_DESCRIPTION_PREFIX = "tile.";
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "PrimedTnt.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
#include "world/entity/PrimedTnt.hpp"
|
||||
|
||||
TntTile::TntTile(int id, int texture) : Tile(id, texture, Material::explosive)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
TopSnowTile::TopSnowTile(int a, int b, Material* c) : Tile(a, b, c)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
TorchTile::TorchTile(int ID, int texture, Material* pMtl) : Tile(ID, texture, pMtl)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
TransparentTile::TransparentTile(int ID, int texture, Material* mtl, bool bTransparent) :Tile(ID, texture, mtl)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Tile.hpp"
|
||||
#include "Level.hpp"
|
||||
#include "world/level/Level.hpp"
|
||||
|
||||
TreeTile::TreeTile(int id) : Tile(id, Material::wood)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user