add fullscreen block overlay

This commit is contained in:
MihailRis
2024-10-31 18:22:55 +03:00
parent 9c3d4af907
commit b191f2ba9d
8 changed files with 74 additions and 19 deletions
+5 -3
View File
@@ -35,15 +35,17 @@ class Skybox {
std::vector<skysprite> sprites;
void drawStars(float angle, float opacity);
void drawBackground(Camera* camera, Assets* assets, int width, int height);
void drawBackground(
const Camera& camera, const Assets& assets, int width, int height
);
public:
Skybox(uint size, Shader* shader);
~Skybox();
void draw(
const DrawContext& pctx,
Camera* camera,
Assets* assets,
const Camera& camera,
const Assets& assets,
float daytime,
float fog
);