-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
263 additions
and
199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
#pragma once | ||
#include <string> | ||
#include "blockentity.h" | ||
class UIProfanityContext; | ||
class SignBlockEntity : public BlockEntity { | ||
public: | ||
std::string const& getMessage(int) const; | ||
void setMessage(std::string const&, int); | ||
std::string const& getMessage(UIProfanityContext const&); | ||
void setMessage(std::string const&); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
#pragma once | ||
class BlockOccluder; | ||
class Tessellator; | ||
class BlockTessellator { | ||
public: | ||
void tessellateInWorld(Block const&, BlockPos const&, unsigned char, bool); | ||
void tessellateInWorld(Tessellator&, Block const&, BlockPos const&, unsigned char, bool); | ||
BlockSource* getRegion() const; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
#pragma once | ||
class ItemInstance; | ||
class BlockPos; | ||
class Vec3; | ||
class ItemUseCallback; | ||
class Player; | ||
class GameMode { | ||
public: | ||
void _destroyBlockInternal(Player&, BlockPos, signed char); | ||
Player* player; | ||
void _destroyBlockInternal(BlockPos const&, signed char); | ||
float getDestroyProgress(); | ||
void useItemOn(ItemInstance&, BlockPos const&, signed char, Vec3 const&, ItemUseCallback*); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#pragma once | ||
class MinecraftUIRenderContext; | ||
class GameRenderer { | ||
public: | ||
char filler[12]; // 0 | ||
MinecraftUIRenderContext* uiRenderContext; // 12 | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#pragma once | ||
#include "mce/textureptr.h" | ||
class ResourceLocation; | ||
class MinecraftUIRenderContext { | ||
public: | ||
mce::TexturePtr getTexture(ResourceLocation const&, bool) const; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
#pragma once | ||
class AbstractScreen; | ||
class AbstractScene; | ||
class ScreenChooser { | ||
public: | ||
void popScreen(AbstractScreen&, int); | ||
void popScreen(AbstractScene&, int); | ||
}; | ||
|
||
class ScreenStack { | ||
class SceneStack { | ||
public: | ||
void _popScreen(bool); | ||
void pushScreen(std::shared_ptr<AbstractScreen>, bool); | ||
void pushScreen(std::shared_ptr<AbstractScene>, bool); | ||
std::string getScreenName() const; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#pragma once | ||
//#include <gsl/string_span> | ||
class Util { | ||
public: | ||
static std::string toLower(std::string const&); | ||
//static gsl::string_span<> toLower(gsl::string_span<> const&); | ||
}; |
Oops, something went wrong.