comments
This commit is contained in:
1 parent
b09951b596
commit
64a9f9993e
1 file changed
+1
@@ -387,6 +387,7 @@ void render(SDL_Window* win, SDL_Renderer* ren, Env* env) {
|
|||||||
env->rec_game->y = rec.y;
|
env->rec_game->y = rec.y;
|
||||||
env->rec_game->h = size_rec * game_nb_rows(env->g);
|
env->rec_game->h = size_rec * game_nb_rows(env->g);
|
||||||
env->rec_game->w = size_rec * game_nb_cols(env->g);
|
env->rec_game->w = size_rec * game_nb_cols(env->g);
|
||||||
|
// buttons
|
||||||
SDL_Rect buttons;
|
SDL_Rect buttons;
|
||||||
buttons.w = w / 5;
|
buttons.w = w / 5;
|
||||||
buttons.h = h / 10 / 1.5;
|
buttons.h = h / 10 / 1.5;
|
||||||
|
|||||||
Reference in new issue
Block a user