mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-14 20:31:59 +00:00
major: Switch to forward slashes(+more) to fix compilation on Linux (#1403)
Notably also adds some metadata files for NixOS * add support for linux clang cross compiles * add linux clang instructions * un-capitalize Mob.horse.* * update the description in flake.nix --------- Co-authored-by: Loki <lokirautio@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "stdafx.h"
|
||||
#ifdef __PS3__
|
||||
#ifndef SN_TARGET_PS3_SPU
|
||||
// #include "..\..\..\stdafx.h"
|
||||
// #include "../../../stdafx.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -10,24 +10,24 @@
|
||||
|
||||
|
||||
#ifndef SN_TARGET_PS3_SPU
|
||||
#include "..\..\..\..\Minecraft.World\Tile.h"
|
||||
#include "..\..\..\..\Minecraft.World\Level.h"
|
||||
#include "..\..\..\..\Minecraft.World\Dimension.h"
|
||||
#include "../../../../Minecraft.World/Tile.h"
|
||||
#include "../../../../Minecraft.World/Level.h"
|
||||
#include "../../../../Minecraft.World/Dimension.h"
|
||||
//
|
||||
// #include "..\..\..\Chunk.h"
|
||||
// #include "..\..\..\TileRenderer.h"
|
||||
// #include "..\..\..\TileEntityRenderDispatcher.h"
|
||||
// #include "..\..\..\LevelRenderer.h"
|
||||
#include "..\..\..\..\Minecraft.World\net.minecraft.world.level.h"
|
||||
#include "..\..\..\..\Minecraft.World\net.minecraft.world.level.chunk.h"
|
||||
#include "..\..\..\..\Minecraft.World\net.minecraft.world.level.tile.h"
|
||||
#include "..\..\..\..\Minecraft.World\net.minecraft.world.level.tile.entity.h"
|
||||
#include "..\..\..\..\Minecraft.World\Icon.h"
|
||||
#include "..\..\..\..\Minecraft.World\BiomeSource.h"
|
||||
// #include "../../../Chunk.h"
|
||||
// #include "../../../TileRenderer.h"
|
||||
// #include "../../../TileEntityRenderDispatcher.h"
|
||||
// #include "../../../LevelRenderer.h"
|
||||
#include "../../../../Minecraft.World/net.minecraft.world.level.h"
|
||||
#include "../../../../Minecraft.World/net.minecraft.world.level.chunk.h"
|
||||
#include "../../../../Minecraft.World/net.minecraft.world.level.tile.h"
|
||||
#include "../../../../Minecraft.World/net.minecraft.world.level.tile.entity.h"
|
||||
#include "../../../../Minecraft.World/Icon.h"
|
||||
#include "../../../../Minecraft.World/BiomeSource.h"
|
||||
|
||||
#else
|
||||
|
||||
#include "..\Common\spu_assert.h"
|
||||
#include "../Common/spu_assert.h"
|
||||
|
||||
#endif //SN_TARGET_PS3_SPU
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
#pragma once
|
||||
#ifndef SN_TARGET_PS3_SPU
|
||||
#include "..\..\..\stdafx.h"
|
||||
#include "..\..\..\..\Minecraft.World\Region.h"
|
||||
#include "..\..\..\Tesselator.h"
|
||||
#include "..\..\..\..\Minecraft.World\LightLayer.h"
|
||||
#include "../../../stdafx.h"
|
||||
#include "../../../../Minecraft.World/Region.h"
|
||||
#include "../../../Tesselator.h"
|
||||
#include "../../../../Minecraft.World/LightLayer.h"
|
||||
#endif // SN_TARGET_PS3_SPU
|
||||
|
||||
#include "..\..\..\..\Minecraft.World\LightLayer.h"
|
||||
#include "../../../../Minecraft.World/LightLayer.h"
|
||||
#include "Tile_SPU.h"
|
||||
#include "Tesselator_SPU.h"
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "ChunkRebuildData.h"
|
||||
|
||||
#ifdef SN_TARGET_PS3_SPU
|
||||
#include "..\Common\spu_assert.h"
|
||||
#include "../Common/spu_assert.h"
|
||||
#endif
|
||||
|
||||
// const wstring LiquidTile::TEXTURE_LAVA_STILL = L"lava";
|
||||
|
||||
@@ -9,16 +9,16 @@
|
||||
#include <cell/spurs.h>
|
||||
#include <cell/dma.h>
|
||||
#include <math.h>
|
||||
#include "..\Common\spu_assert.h"
|
||||
#include "../Common/spu_assert.h"
|
||||
#endif // SN_TARGET_PS3_SPU
|
||||
|
||||
#include "Tesselator_SPU.h"
|
||||
|
||||
static const bool sc_verbose = false;
|
||||
// #include "..\Minecraft.World\BasicTypeContainers.h"
|
||||
// #include "..\Minecraft.World\FloatBuffer.h"
|
||||
// #include "..\Minecraft.World\IntBuffer.h"
|
||||
// #include "..\Minecraft.World\ByteBuffer.h"
|
||||
// #include "../Minecraft.World/BasicTypeContainers.h"
|
||||
// #include "../Minecraft.World/FloatBuffer.h"
|
||||
// #include "../Minecraft.World/IntBuffer.h"
|
||||
// #include "../Minecraft.World/ByteBuffer.h"
|
||||
|
||||
#ifdef SN_TARGET_PS3_SPU
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ typedef unsigned int DWORD;
|
||||
typedef unsigned char byte;
|
||||
#include <float.h>
|
||||
#else
|
||||
#include "..\..\..\stdafx.h"
|
||||
#include "../../../stdafx.h"
|
||||
class ChunkRebuildData;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <assert.h>
|
||||
|
||||
#ifdef SN_TARGET_PS3_SPU
|
||||
#include "..\Common\spu_assert.h"
|
||||
#include "../Common/spu_assert.h"
|
||||
#endif
|
||||
|
||||
static const float MATH_PI = 3.141592654f;
|
||||
@@ -33,20 +33,20 @@ static const float MATH_PI = 3.141592654f;
|
||||
// #include "GameRenderer.h"
|
||||
// #include "Minecraft.h"
|
||||
// #include "Textures.h"
|
||||
// #include "..\Minecraft.World\net.minecraft.world.level.h"
|
||||
// #include "..\..\..\Minecraft.World\net.minecraft.world.level.tile.h"
|
||||
// #include "..\Minecraft.World\net.minecraft.world.level.material.h"
|
||||
// #include "..\Minecraft.World\net.minecraft.h"
|
||||
// #include "..\Minecraft.World\net.minecraft.world.h"
|
||||
// #include "..\..\..\Minecraft.World\net.minecraft.world.level.tile.h"
|
||||
// #include "../Minecraft.World/net.minecraft.world.level.h"
|
||||
// #include "../../../Minecraft.World/net.minecraft.world.level.tile.h"
|
||||
// #include "../Minecraft.World/net.minecraft.world.level.material.h"
|
||||
// #include "../Minecraft.World/net.minecraft.h"
|
||||
// #include "../Minecraft.World/net.minecraft.world.h"
|
||||
// #include "../../../Minecraft.World/net.minecraft.world.level.tile.h"
|
||||
|
||||
#include "Tesselator_SPU.h"
|
||||
|
||||
#ifdef SN_TARGET_PS3_SPU
|
||||
#include "Stubs_SPU.h"
|
||||
#include "stubs_SPU.h"
|
||||
#endif // SN_TARGET_PS3_SPU
|
||||
|
||||
// #include "..\..\Minecraft.World\SharedConstants.h"
|
||||
// #include "../../Minecraft.World/SharedConstants.h"
|
||||
#include "Facing_SPU.h"
|
||||
|
||||
// #include "EntityTileRenderer.h"
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
#include "StemTile_SPU.h"
|
||||
#include "VineTile_SPU.h"
|
||||
#include "MycelTile_SPU.h"
|
||||
#include "WaterlilyTile_SPU.h"
|
||||
#include "WaterLilyTile_SPU.h"
|
||||
#include "NetherStalkTile_SPU.h"
|
||||
#include "EnchantmentTableTile_SPU.h"
|
||||
#include "BrewingStandTile_SPU.h"
|
||||
@@ -85,7 +85,7 @@
|
||||
#include "WoolCarpetTile_SPU.h"
|
||||
|
||||
#ifdef SN_TARGET_PS3_SPU
|
||||
#include "..\Common\spu_assert.h"
|
||||
#include "../Common/spu_assert.h"
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
@@ -13,7 +13,7 @@ PlayStation(R)3 Programmer Tool Runtime Library 430.001
|
||||
|
||||
#include "ChunkRebuildData.h"
|
||||
#include "TileRenderer_SPU.h"
|
||||
#include "..\Common\DmaData.h"
|
||||
#include "../Common/DmaData.h"
|
||||
|
||||
// #define SPU_HEAPSIZE (0*1024)
|
||||
// #define SPU_STACKSIZE (64*1024)
|
||||
|
||||
Reference in New Issue
Block a user