new next block

This commit is contained in:
2025-12-07 19:02:03 +01:00
parent a74d7135e6
commit 9d989ab395
9 changed files with 68 additions and 29 deletions

View File

@ -223,6 +223,7 @@ void PlayingState::render(SDL_Renderer* renderer, float logicalScale, SDL_Rect l
ctx.blocksTex,
ctx.statisticsPanelTex,
ctx.scorePanelTex,
ctx.nextPanelTex,
1200.0f, // LOGICAL_W
1000.0f, // LOGICAL_H
logicalScale,
@ -309,6 +310,7 @@ void PlayingState::render(SDL_Renderer* renderer, float logicalScale, SDL_Rect l
ctx.blocksTex,
ctx.statisticsPanelTex,
ctx.scorePanelTex,
ctx.nextPanelTex,
1200.0f,
1000.0f,
logicalScale,

View File

@ -42,6 +42,7 @@ struct StateContext {
SDL_Texture* blocksTex = nullptr;
SDL_Texture* scorePanelTex = nullptr;
SDL_Texture* statisticsPanelTex = nullptr;
SDL_Texture* nextPanelTex = nullptr;
SDL_Texture* mainScreenTex = nullptr;
int mainScreenW = 0;
int mainScreenH = 0;