hud refactor (part II)
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include <glm/glm.hpp>
|
||||
#include <memory>
|
||||
|
||||
class Assets;
|
||||
class Viewport;
|
||||
class Shader;
|
||||
class Atlas;
|
||||
@@ -19,11 +20,11 @@ class BlocksPreview {
|
||||
const ContentGfxCache* const cache;
|
||||
const Viewport* viewport;
|
||||
public:
|
||||
BlocksPreview(Shader* shader, Atlas* atlas, const ContentGfxCache* cache);
|
||||
BlocksPreview(Assets* assets, const ContentGfxCache* cache);
|
||||
~BlocksPreview();
|
||||
|
||||
void begin(const Viewport* viewport);
|
||||
void draw(const Block* block, int x, int y, int size, glm::vec4 tint);
|
||||
};
|
||||
|
||||
#endif // FRONTEND_BLOCKS_PREVIEW_H_
|
||||
#endif // FRONTEND_BLOCKS_PREVIEW_H_
|
||||
|
||||
Reference in New Issue
Block a user