mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-20 19:42:55 +00:00
fix: the usual
This commit is contained in:
parent
f996e7096f
commit
4d9a1c73e6
|
|
@ -1,7 +1,9 @@
|
|||
#pragma once
|
||||
using namespace std;
|
||||
#include <vector>
|
||||
#ifndef __linux__
|
||||
#include <qnet.h>
|
||||
#endif // __linux__
|
||||
#include "../Media/xuiscene_multi_gameinfo.h"
|
||||
|
||||
class FriendSessionInfo;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#include "stdafx.h"
|
||||
#include "ItemRenderer.h"
|
||||
#include "TileRenderer.h"
|
||||
#include "entityRenderDispatcher.h"
|
||||
#include "EntityRenderDispatcher.h"
|
||||
#include "../Minecraft.World/JavaMath.h"
|
||||
#include "../Minecraft.World/net.minecraft.world.entity.item.h"
|
||||
#include "../Minecraft.World/net.minecraft.world.item.h"
|
||||
|
|
|
|||
|
|
@ -116,6 +116,14 @@ typedef float FLOAT;
|
|||
#define TRUNCATE_EXISTING 5
|
||||
#define WAIT_TIMEOUT 258
|
||||
|
||||
#define FILE_FLAG_WRITE_THROUGH 0x80000000
|
||||
#define FILE_FLAG_OVERLAPPED 0x40000000
|
||||
#define FILE_FLAG_NO_BUFFERING 0x20000000
|
||||
#define FILE_FLAG_RANDOM_ACCESS 0x10000000
|
||||
#define FILE_FLAG_SEQUENTIAL_SCAN 0x08000000
|
||||
#define FILE_FLAG_DELETE_ON_CLOSE 0x04000000
|
||||
#define FILE_FLAG_BACKUP_SEMANTICS 0x02000000
|
||||
|
||||
#define FILE_ATTRIBUTE_READONLY 0x00000001
|
||||
#define FILE_ATTRIBUTE_HIDDEN 0x00000002
|
||||
#define FILE_ATTRIBUTE_SYSTEM 0x00000004
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#include "../Minecraft.World/net.minecraft.world.entity.projectile.h"
|
||||
#include "../Minecraft.World/StringHelpers.h"
|
||||
#include "../Minecraft.World/Mth.h"
|
||||
#include "entityRenderDispatcher.h"
|
||||
#include "EntityRenderDispatcher.h"
|
||||
|
||||
MobRenderer::MobRenderer(Model *model, float shadow) : EntityRenderer()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#include "stdafx.h"
|
||||
#include "PaintingRenderer.h"
|
||||
#include "entityRenderDispatcher.h"
|
||||
#include "EntityRenderDispatcher.h"
|
||||
#include "../Minecraft.World/net.minecraft.world.entity.h"
|
||||
#include "../Minecraft.World/net.minecraft.world.level.h"
|
||||
#include "../Minecraft.World/Random.h"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
#include "PlayerList.h"
|
||||
#include "MinecraftServer.h"
|
||||
#include "../Minecraft.World/net.minecraft.network.h"
|
||||
#include "../Minecraft.World/pos.h"
|
||||
#include "../Minecraft.World/Pos.h"
|
||||
#include "../Minecraft.World/net.minecraft.world.level.dimension.h"
|
||||
#include "../Minecraft.World/net.minecraft.world.level.storage.h"
|
||||
#include "../Minecraft.World/net.minecraft.world.item.h"
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@
|
|||
#include "../Minecraft.World/net.minecraft.h"
|
||||
#include "EntityTracker.h"
|
||||
#include "ServerConnection.h"
|
||||
#include "..\Minecraft.World\GenericStats.h"
|
||||
#include "..\Minecraft.World\JavaMath.h"
|
||||
#include "../Minecraft.World/GenericStats.h"
|
||||
#include "../Minecraft.World/JavaMath.h"
|
||||
|
||||
// 4J Added
|
||||
#include "../Minecraft.World/net.minecraft.world.item.crafting.h"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
#include "ModelPart.h"
|
||||
#include "LocalPlayer.h"
|
||||
#include "MultiPlayerLocalPlayer.h"
|
||||
#include "entityRenderDispatcher.h"
|
||||
#include "EntityRenderDispatcher.h"
|
||||
#include "../Minecraft.World/net.minecraft.world.entity.h"
|
||||
#include "../Minecraft.World/net.minecraft.world.entity.player.h"
|
||||
#include "../Minecraft.World/net.minecraft.world.item.h"
|
||||
|
|
|
|||
|
|
@ -18,7 +18,9 @@
|
|||
#include "PlayerList.h"
|
||||
#include "EntityTracker.h"
|
||||
#include "PlayerChunkMap.h"
|
||||
#ifndef __linux__
|
||||
#include <qnet.h>
|
||||
#endif // __linux__
|
||||
|
||||
TrackedEntity::TrackedEntity(shared_ptr<Entity> e, int range, int updateInterval, bool trackDelta)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,7 +2,9 @@
|
|||
#include "net.minecraft.world.entity.player.h"
|
||||
#include "../Minecraft.Client/ServerPlayer.h"
|
||||
#include "../Minecraft.Client/PlayerConnection.h"
|
||||
#ifndef __linux__
|
||||
#include <qnet.h>
|
||||
#endif // __linux__
|
||||
#include "PacketListener.h"
|
||||
#include "InputOutputStream.h"
|
||||
#include "PlayerInfoPacket.h"
|
||||
|
|
|
|||
Loading…
Reference in a new issue