mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-07-31 20:42:27 +00:00
refactor: byebye using namespace std
shoo
This commit is contained in:
parent
2ed4b1fe9e
commit
bc7d4ff1d8
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class ClientConstants
|
class ClientConstants
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
class Minecraft;
|
class Minecraft;
|
||||||
class KeyMapping;
|
class KeyMapping;
|
||||||
#include "../../Minecraft.World/IO/Files/File.h"
|
#include "../../Minecraft.World/IO/Files/File.h"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
class File;
|
class File;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class Settings
|
class Settings
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ class Stat;
|
||||||
class Achievement;
|
class Achievement;
|
||||||
class StatsSyncher;
|
class StatsSyncher;
|
||||||
class User;
|
class User;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class StatsCounter
|
class StatsCounter
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ class StatsCounter;
|
||||||
class User;
|
class User;
|
||||||
class File;
|
class File;
|
||||||
class Stat;
|
class Stat;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class StatsSyncher
|
class StatsSyncher
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "ConsoleInputSource.h"
|
#include "ConsoleInputSource.h"
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class ConsoleInput
|
class ConsoleInput
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
// 4J Stu - Not updated to 1.8.2 as we don't use this
|
// 4J Stu - Not updated to 1.8.2 as we don't use this
|
||||||
class KeyMapping
|
class KeyMapping
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
#include "../../Minecraft.World/Util/HashExtension.h"
|
#include "../../Minecraft.World/Util/HashExtension.h"
|
||||||
#include "../../Minecraft.World/Headers/net.minecraft.world.level.h"
|
#include "../../Minecraft.World/Headers/net.minecraft.world.level.h"
|
||||||
#include "../../Minecraft.World/Headers/net.minecraft.world.entity.h"
|
#include "../../Minecraft.World/Headers/net.minecraft.world.entity.h"
|
||||||
|
|
@ -8,7 +8,7 @@ using namespace std;
|
||||||
class ClientConnection;
|
class ClientConnection;
|
||||||
class MultiPlayerChunkCache;
|
class MultiPlayerChunkCache;
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class MultiPlayerLevel : public Level
|
class MultiPlayerLevel : public Level
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ class MinecraftServer;
|
||||||
class Node;
|
class Node;
|
||||||
class EntityTracker;
|
class EntityTracker;
|
||||||
class PlayerChunkMap;
|
class PlayerChunkMap;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class ServerLevel : public Level
|
class ServerLevel : public Level
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ class PsPlusUpsellWrapper;
|
||||||
#undef linux
|
#undef linux
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class Minecraft
|
class Minecraft
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@ typedef struct _NetworkGameInitData
|
||||||
}
|
}
|
||||||
} NetworkGameInitData;
|
} NetworkGameInitData;
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
// 4J Stu - 1.0.1 updates the server to implement the ServerInterface class, but I don't think we will use any of the functions that defines so not implementing here
|
// 4J Stu - 1.0.1 updates the server to implement the ServerInterface class, but I don't think we will use any of the functions that defines so not implementing here
|
||||||
class MinecraftServer : public ConsoleInputSource
|
class MinecraftServer : public ConsoleInputSource
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
#include "../../Minecraft.World/Headers/net.minecraft.world.level.chunk.h"
|
#include "../../Minecraft.World/Headers/net.minecraft.world.level.chunk.h"
|
||||||
#include "../../Minecraft.World/Level/RandomLevelSource.h"
|
#include "../../Minecraft.World/Level/RandomLevelSource.h"
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
class ServerChunkCache;
|
class ServerChunkCache;
|
||||||
|
|
||||||
// 4J - various alterations here to make this thread safe, and operate as a fixed sized cache
|
// 4J - various alterations here to make this thread safe, and operate as a fixed sized cache
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ class Socket;
|
||||||
class LoginPacket;
|
class LoginPacket;
|
||||||
class Connection;
|
class Connection;
|
||||||
class Random;
|
class Random;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class PendingConnection : public PacketListener
|
class PendingConnection : public PacketListener
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ class ServerLevel;
|
||||||
class MinecraftServer;
|
class MinecraftServer;
|
||||||
class Packet;
|
class Packet;
|
||||||
class TileEntity;
|
class TileEntity;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class PlayerChunkMap
|
class PlayerChunkMap
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ class Connection;
|
||||||
class ServerPlayer;
|
class ServerPlayer;
|
||||||
class INetworkPlayer;
|
class INetworkPlayer;
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class PlayerConnection : public PacketListener, public ConsoleInputSource
|
class PlayerConnection : public PacketListener, public ConsoleInputSource
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class PlayerInfo
|
class PlayerInfo
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ class ProgressListener;
|
||||||
class GameType;
|
class GameType;
|
||||||
class LoginPacket;
|
class LoginPacket;
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class PlayerList
|
class PlayerList
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
#include "../../Minecraft.World/Util/JavaIntHash.h"
|
#include "../../Minecraft.World/Util/JavaIntHash.h"
|
||||||
#include "../../Minecraft.World/Level/RandomLevelSource.h"
|
#include "../../Minecraft.World/Level/RandomLevelSource.h"
|
||||||
#include "../../Minecraft.World/Util/C4JThread.h"
|
#include "../../Minecraft.World/Util/C4JThread.h"
|
||||||
using namespace std;
|
|
||||||
class ServerLevel;
|
class ServerLevel;
|
||||||
|
|
||||||
class ServerChunkCache : public ChunkSource
|
class ServerChunkCache : public ChunkSource
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ class MinecraftServer;
|
||||||
class Socket;
|
class Socket;
|
||||||
class ServerSettingsChangedPacket;
|
class ServerSettingsChangedPacket;
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class ServerConnection
|
class ServerConnection
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class ServerInterface
|
class ServerInterface
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#define MAX_DISPLAYNAME_LENGTH 128 // SCE_SAVE_DATA_SUBTITLE_MAXSIZE on PS4
|
#define MAX_DISPLAYNAME_LENGTH 128 // SCE_SAVE_DATA_SUBTITLE_MAXSIZE on PS4
|
||||||
#define MAX_SAVEFILENAME_LENGTH 32 // SCE_SAVE_DATA_DIRNAME_DATA_MAXSIZE
|
#define MAX_SAVEFILENAME_LENGTH 32 // SCE_SAVE_DATA_DIRNAME_DATA_MAXSIZE
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ namespace WFC = Windows::Foundation::Collections;
|
||||||
#define MATCH_SESSION_TEMPLATE_NAME L"PeerToHostTemplate"
|
#define MATCH_SESSION_TEMPLATE_NAME L"PeerToHostTemplate"
|
||||||
#define MAX_PLAYERS_IN_TEMPLATE 8
|
#define MAX_PLAYERS_IN_TEMPLATE 8
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
ref class DQRNetworkManagerEventHandlers sealed
|
ref class DQRNetworkManagerEventHandlers sealed
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "../../../../Minecraft.World/Util/C4JThread.h"
|
#include "../../../../Minecraft.World/Util/C4JThread.h"
|
||||||
#include "../../../Build/Common/Network/NetworkPlayerInterface.h"
|
#include "../../../Build/Common/Network/NetworkPlayerInterface.h"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include <save_data.h>
|
#include <save_data.h>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <sysutil\sysutil_savedata.h>
|
#include <sysutil\sysutil_savedata.h>
|
||||||
#include <cell/cell_fs.h>
|
#include <cell/cell_fs.h>
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
#include "../Passphrase/ps3__np_conf.h"
|
#include "../Passphrase/ps3__np_conf.h"
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class PS3LeaderboardManager : public LeaderboardManager
|
class PS3LeaderboardManager : public LeaderboardManager
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
// #include "../../../../../Minecraft.World/Util/Vec3.h"
|
// #include "../../../../../Minecraft.World/Util/Vec3.h"
|
||||||
// #include "../../../../../Minecraft.World/Util/Definitions.h"
|
// #include "../../../../../Minecraft.World/Util/Definitions.h"
|
||||||
// #include "../../../../../Minecraft.World/Util/SoundTypes.h"
|
// #include "../../../../../Minecraft.World/Util/SoundTypes.h"
|
||||||
// using namespace std;
|
//
|
||||||
#include "Icon_SPU.h"
|
#include "Icon_SPU.h"
|
||||||
#include "Material_SPU.h"
|
#include "Material_SPU.h"
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include <fios2.h>
|
#include <fios2.h>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
class Mob;
|
class Mob;
|
||||||
class Options;
|
class Options;
|
||||||
using namespace std;
|
|
||||||
#include "../../../../Minecraft.World/Util/SoundTypes.h"
|
#include "../../../../Minecraft.World/Util/SoundTypes.h"
|
||||||
|
|
||||||
#ifdef _XBOX
|
#ifdef _XBOX
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
#include <xuirender.h>
|
#include <xuirender.h>
|
||||||
|
|
||||||
#include "../../../Build/Common/UI/UIFontData.h"
|
#include "../../../Build/Common/UI/UIFontData.h"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
class XUI_FontData;
|
class XUI_FontData;
|
||||||
class XUI_Font;
|
class XUI_Font;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <qnet.h>
|
#include <qnet.h>
|
||||||
#include "../../../../Minecraft.World/Util/C4JThread.h"
|
#include "../../../../Minecraft.World/Util/C4JThread.h"
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ class TrackedEntity;
|
||||||
class MinecraftServer;
|
class MinecraftServer;
|
||||||
class Packet;
|
class Packet;
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class EntityTracker
|
class EntityTracker
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ class Input;
|
||||||
class Stat;
|
class Stat;
|
||||||
class Minecraft;
|
class Minecraft;
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
// Time in seconds before the players presence is update to Idle
|
// Time in seconds before the players presence is update to Idle
|
||||||
#define PLAYER_IDLE_TIME 300
|
#define PLAYER_IDLE_TIME 300
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ class TileEntity;
|
||||||
class Entity;
|
class Entity;
|
||||||
class BrewingStandTileEntity;
|
class BrewingStandTileEntity;
|
||||||
class Merchant;
|
class Merchant;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class ServerPlayer : public Player, public net_minecraft_world_inventory::ContainerListener
|
class ServerPlayer : public Player, public net_minecraft_world_inventory::ContainerListener
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ class Entity;
|
||||||
//class ServerPlayer;
|
//class ServerPlayer;
|
||||||
#include "ServerPlayer.h"
|
#include "ServerPlayer.h"
|
||||||
class Packet;
|
class Packet;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class EntityTracker;
|
class EntityTracker;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class User
|
class User
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
class Level;
|
class Level;
|
||||||
class TileEntity;
|
class TileEntity;
|
||||||
class Entity;
|
class Entity;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class ClipChunk
|
class ClipChunk
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
#include "../../../Minecraft.World/Entities/Entity.h"
|
#include "../../../Minecraft.World/Entities/Entity.h"
|
||||||
#include "../../../Minecraft.World/Util/JavaIntHash.h"
|
#include "../../../Minecraft.World/Util/JavaIntHash.h"
|
||||||
class font;
|
class font;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class EntityRenderDispatcher
|
class EntityRenderDispatcher
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ class Level;
|
||||||
class AABB;
|
class AABB;
|
||||||
class IconRegister;
|
class IconRegister;
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class EntityRenderDispatcher;
|
class EntityRenderDispatcher;
|
||||||
class Font;
|
class Font;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "EntityRenderer.h"
|
#include "EntityRenderer.h"
|
||||||
class Mob;
|
class Mob;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#define PLAYER_NAME_READABLE_FULLSCREEN 16
|
#define PLAYER_NAME_READABLE_FULLSCREEN 16
|
||||||
#define PLAYER_NAME_READABLE_DISTANCE_SPLITSCREEN 8
|
#define PLAYER_NAME_READABLE_DISTANCE_SPLITSCREEN 8
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "TileEntityRenderer.h"
|
#include "TileEntityRenderer.h"
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class MobSpawnerRenderer : public TileEntityRenderer
|
class MobSpawnerRenderer : public TileEntityRenderer
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
#include "MobRenderer.h"
|
#include "MobRenderer.h"
|
||||||
#include "../../../Minecraft.World/Player/Player.h"
|
#include "../../../Minecraft.World/Player/Player.h"
|
||||||
class HumanoidModel;
|
class HumanoidModel;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class PlayerRenderer : public MobRenderer
|
class PlayerRenderer : public MobRenderer
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ class Particle;
|
||||||
class BlockDestructionProgress;
|
class BlockDestructionProgress;
|
||||||
class IconRegister;
|
class IconRegister;
|
||||||
class Tesselator;
|
class Tesselator;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
// AP - this is a system that works out which chunks actually need to be grouped together via the deferral system when doing chunk::rebuild. Doing this will reduce the number
|
// AP - this is a system that works out which chunks actually need to be grouped together via the deferral system when doing chunk::rebuild. Doing this will reduce the number
|
||||||
// of chunks built in a single group and reduce the chance of seeing through the landscape when digging near the edges/corners of a chunk.
|
// of chunks built in a single group and reduce the chance of seeing through the landscape when digging near the edges/corners of a chunk.
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
#include "../../../Minecraft.World/Util/Random.h"
|
#include "../../../Minecraft.World/Util/Random.h"
|
||||||
#include "SkinBox.h"
|
#include "SkinBox.h"
|
||||||
class Mob;
|
class Mob;
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
class GuiParticle;
|
class GuiParticle;
|
||||||
class Minecraft;
|
class Minecraft;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class GuiParticles : public GuiComponent
|
class GuiParticles : public GuiComponent
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include "../../../Minecraft.World/Entities/Entity.h"
|
#include "../../../Minecraft.World/Entities/Entity.h"
|
||||||
#include "../../../Minecraft.World/Util/ParticleTypes.h"
|
#include "../../../Minecraft.World/Util/ParticleTypes.h"
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class Particle;
|
class Particle;
|
||||||
class Level;
|
class Level;
|
||||||
class Textures;
|
class Textures;
|
||||||
class Entity;
|
class Entity;
|
||||||
class Random;
|
class Random;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class ParticleEngine
|
class ParticleEngine
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class Graphics;
|
class Graphics;
|
||||||
class DLCPack;
|
class DLCPack;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
class BufferedImage;
|
class BufferedImage;
|
||||||
class HttpTextureProcessor;
|
class HttpTextureProcessor;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class HttpTexture {
|
class HttpTexture {
|
||||||
public:
|
public:
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
class BufferedImage;
|
class BufferedImage;
|
||||||
class MemTextureProcessor;
|
class MemTextureProcessor;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class MemTexture {
|
class MemTexture {
|
||||||
public:
|
public:
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include "TexturePack.h"
|
#include "TexturePack.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
class BufferedImage;
|
class BufferedImage;
|
||||||
class File;
|
class File;
|
||||||
class Textures;
|
class Textures;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class FileTexturePack : public AbstractTexturePack
|
class FileTexturePack : public AbstractTexturePack
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include "../../Build/Common/App_enums.h"
|
#include "../../Build/Common/App_enums.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "TexturePack.h"
|
#include "TexturePack.h"
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class Minecraft;
|
class Minecraft;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include "../../../Minecraft.World/Util/IconRegister.h"
|
#include "../../../Minecraft.World/Util/IconRegister.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class TextureHolder;
|
class TextureHolder;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include "../../../Minecraft.World/Util/Icon.h"
|
#include "../../../Minecraft.World/Util/Icon.h"
|
||||||
class Texture;
|
class Texture;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class StitchSlot;
|
class StitchSlot;
|
||||||
class Texture;
|
class Texture;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include "../../../Minecraft.World/Util/IconRegister.h"
|
#include "../../../Minecraft.World/Util/IconRegister.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ class TexturePackRepository;
|
||||||
class HttpTextureProcessor;
|
class HttpTextureProcessor;
|
||||||
class MemTextureProcessor;
|
class MemTextureProcessor;
|
||||||
class Options;
|
class Options;
|
||||||
using namespace std;
|
|
||||||
class IntBuffer;
|
class IntBuffer;
|
||||||
class PreStitchedTextureMap;
|
class PreStitchedTextureMap;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "GuiComponent.h"
|
#include "GuiComponent.h"
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class Button : public GuiComponent
|
class Button : public GuiComponent
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "GuiComponent.h"
|
#include "GuiComponent.h"
|
||||||
using namespace std;
|
|
||||||
class Font;
|
class Font;
|
||||||
class Screen;
|
class Screen;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
class Font;
|
class Font;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class GuiComponent
|
class GuiComponent
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class GuiMessage
|
class GuiMessage
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
class Button;
|
class Button;
|
||||||
class GuiParticles;
|
class GuiParticles;
|
||||||
class Minecraft;
|
class Minecraft;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class Screen : public GuiComponent
|
class Screen : public GuiComponent
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
#include "../GuiComponent.h"
|
#include "../GuiComponent.h"
|
||||||
class Achievement;
|
class Achievement;
|
||||||
class ItemRenderer;
|
class ItemRenderer;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class AchievementPopup : public GuiComponent
|
class AchievementPopup : public GuiComponent
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "../Screen.h"
|
#include "../Screen.h"
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class ChatScreen : public Screen
|
class ChatScreen : public Screen
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "../Screen.h"
|
#include "../Screen.h"
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class ConfirmScreen : public Screen
|
class ConfirmScreen : public Screen
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
class ClientConnection;
|
class ClientConnection;
|
||||||
class Minecraft;
|
class Minecraft;
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class ConnectScreen : public Screen
|
class ConnectScreen : public Screen
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "../Screen.h"
|
#include "../Screen.h"
|
||||||
using namespace std;
|
|
||||||
class Options;
|
class Options;
|
||||||
|
|
||||||
class ControlsScreen : public Screen
|
class ControlsScreen : public Screen
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
#include "../Screen.h"
|
#include "../Screen.h"
|
||||||
class EditBox;
|
class EditBox;
|
||||||
class LevelStorageSource;
|
class LevelStorageSource;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class CreateWorldScreen : public Screen
|
class CreateWorldScreen : public Screen
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "../Screen.h"
|
#include "../Screen.h"
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class DisconnectedScreen : public Screen
|
class DisconnectedScreen : public Screen
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "../Screen.h"
|
#include "../Screen.h"
|
||||||
class Options;
|
class Options;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class OptionsScreen : public Screen
|
class OptionsScreen : public Screen
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
#include "../Screen.h"
|
#include "../Screen.h"
|
||||||
class Button;
|
class Button;
|
||||||
class EditBox;
|
class EditBox;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class RenameWorldScreen : public Screen
|
class RenameWorldScreen : public Screen
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "../Screen.h"
|
#include "../Screen.h"
|
||||||
class SignTileEntity;
|
class SignTileEntity;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class TextEditScreen : public Screen
|
class TextEditScreen : public Screen
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
#include "../Screen.h"
|
#include "../Screen.h"
|
||||||
class Random;
|
class Random;
|
||||||
class Button;
|
class Button;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class TitleScreen : public Screen
|
class TitleScreen : public Screen
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "../Screen.h"
|
#include "../Screen.h"
|
||||||
class Options;
|
class Options;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class VideoSettingsScreen : public Screen
|
class VideoSettingsScreen : public Screen
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include "../Textures/Stitching/StitchedTexture.h"
|
#include "../Textures/Stitching/StitchedTexture.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
#include "../../Minecraft.World/IO/Files/File.h"
|
#include "../../Minecraft.World/IO/Files/File.h"
|
||||||
#include "../../Minecraft.World/Util/ArrayWithLength.h"
|
#include "../../Minecraft.World/Util/ArrayWithLength.h"
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class ArchiveFile
|
class ArchiveFile
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
class ByteBuffer;
|
class ByteBuffer;
|
||||||
class IntBuffer;
|
class IntBuffer;
|
||||||
class FloatBuffer;
|
class FloatBuffer;
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
/** Original comment
|
/** Original comment
|
||||||
* This class is used so we can release all memory (allocated on the graphics card on shutdown)
|
* This class is used so we can release all memory (allocated on the graphics card on shutdown)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#if defined(__PS3__) || defined(__ORBIS__) || defined __PSVITA__
|
#if defined(__PS3__) || defined(__ORBIS__) || defined __PSVITA__
|
||||||
#define LOCALE_COUNT 21
|
#define LOCALE_COUNT 21
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class WstringLookup
|
class WstringLookup
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class Goal;
|
class Goal;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class Node
|
class Node
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "../../Util/JavaIntHash.h"
|
#include "../../Util/JavaIntHash.h"
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class LevelSource;
|
class LevelSource;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "TorchTile.h"
|
#include "TorchTile.h"
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class Random;
|
class Random;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ class Random;
|
||||||
class HitResult;
|
class HitResult;
|
||||||
class ChunkRebuildData;
|
class ChunkRebuildData;
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class RailTile : public Tile
|
class RailTile : public Tile
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "Tile.h"
|
#include "Tile.h"
|
||||||
#include "../Util/Definitions.h"
|
#include "../Util/Definitions.h"
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class Random;
|
class Random;
|
||||||
class Level;
|
class Level;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include "Tile.h"
|
#include "Tile.h"
|
||||||
#include "../Util/Definitions.h"
|
#include "../Util/Definitions.h"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include "Tile.h"
|
#include "Tile.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include "HalfSlabTile.h"
|
#include "HalfSlabTile.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
#include "../Util/Vec3.h"
|
#include "../Util/Vec3.h"
|
||||||
#include "../Util/Definitions.h"
|
#include "../Util/Definitions.h"
|
||||||
#include "../Util/SoundTypes.h"
|
#include "../Util/SoundTypes.h"
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
class GrassTile;
|
class GrassTile;
|
||||||
class LeafTile;
|
class LeafTile;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include "../../Build/stdafx.h"
|
#include "../../Build/stdafx.h"
|
||||||
#include "../../Headers/com.mojang.nbt.h"
|
#include "../../Headers/com.mojang.nbt.h"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include "TileEntity.h"
|
#include "TileEntity.h"
|
||||||
#include "../../Containers/Container.h"
|
#include "../../Containers/Container.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include "../../Build/stdafx.h"
|
#include "../../Build/stdafx.h"
|
||||||
#include "../../Headers/com.mojang.nbt.h"
|
#include "../../Headers/com.mojang.nbt.h"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include "../../Headers/com.mojang.nbt.h"
|
#include "../../Headers/com.mojang.nbt.h"
|
||||||
#include "TileEntity.h"
|
#include "TileEntity.h"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include "../FurnaceTile.h"
|
#include "../FurnaceTile.h"
|
||||||
#include "TileEntity.h"
|
#include "TileEntity.h"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
#include "TileEntity.h"
|
#include "TileEntity.h"
|
||||||
|
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue