* Fix include paths. Now it builds properly.

This commit is contained in:
iProgramInCpp
2023-08-05 15:34:07 +03:00
parent 71e700a300
commit bfdd5beb75
144 changed files with 267 additions and 212 deletions

View File

@@ -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)
{

View File

@@ -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)
{

View File

@@ -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)
{

View File

@@ -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)
{

View File

@@ -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)
{

View File

@@ -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)
{

View File

@@ -7,7 +7,7 @@
********************************************************************/
#include "Tile.hpp"
#include "Level.hpp"
#include "world/level/Level.hpp"
FarmTile::FarmTile(int a, Material* c) : Tile(a, c)
{

View File

@@ -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)
{

View File

@@ -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)
{

View File

@@ -7,7 +7,7 @@
********************************************************************/
#include "Tile.hpp"
#include "Level.hpp"
#include "world/level/Level.hpp"
GrassTile::GrassTile(int id, Material* c) : Tile(id, c)
{

View File

@@ -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)
{

View File

@@ -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)
{

View File

@@ -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)
{

View File

@@ -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)

View File

@@ -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)
{

View File

@@ -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)
{

View File

@@ -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)
{

View File

@@ -7,7 +7,7 @@
********************************************************************/
#include "Tile.hpp"
#include "Level.hpp"
#include "world/level/Level.hpp"
bool g_bDisableSponges = false;

View File

@@ -7,7 +7,7 @@
********************************************************************/
#include "Tile.hpp"
#include "Level.hpp"
#include "world/level/Level.hpp"
LiquidTileStatic::LiquidTileStatic(int id, Material* pMtl) : LiquidTile(id, pMtl)
{

View File

@@ -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)
{

View File

@@ -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)
{

View File

@@ -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)
{

View File

@@ -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)
{

View File

@@ -7,7 +7,7 @@
********************************************************************/
#include "Tile.hpp"
#include "Level.hpp"
#include "world/level/Level.hpp"
ReedTile::ReedTile(int id) : Tile(id, Material::plant)
{

View File

@@ -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)
{

View File

@@ -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;

View File

@@ -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)
{

View File

@@ -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)
{

View File

@@ -7,7 +7,7 @@
********************************************************************/
#include "Tile.hpp"
#include "Level.hpp"
#include "world/level/Level.hpp"
// @NOTE: All this work for some stairs; damn

View File

@@ -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)
{

View File

@@ -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)
{

View File

@@ -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.";

View File

@@ -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)
{

View File

@@ -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)
{

View File

@@ -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)
{

View File

@@ -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)
{

View File

@@ -7,7 +7,7 @@
********************************************************************/
#include "Tile.hpp"
#include "Level.hpp"
#include "world/level/Level.hpp"
TreeTile::TreeTile(int id) : Tile(id, Material::wood)
{