Add Discord RPC back with new features, add beta splitscreen support, PR's from MCLCE used in this https://github.com/MCLCE/MinecraftConsoles/pull/1044 https://github.com/MCLCE/MinecraftConsoles/pull/1136 https://github.com/MCLCE/MinecraftConsoles/pull/1245
14 lines
314 B
C++
14 lines
314 B
C++
#pragma once
|
|
class Chunk;
|
|
class Mob;
|
|
|
|
class DirtyChunkSorter
|
|
{
|
|
private:
|
|
shared_ptr<LivingEntity> cameraEntity;
|
|
int playerIndex; // 4J added
|
|
|
|
public:
|
|
DirtyChunkSorter(shared_ptr<LivingEntity> cameraEntity, int playerIndex); // 4J - added player index
|
|
bool operator()(const Chunk *a, const Chunk *b) const;
|
|
}; |