diff options
author | nathansmith117 <thenathansmithsmith@gmail.com> | 2024-03-07 18:21:34 +0000 |
---|---|---|
committer | nathansmith117 <thenathansmithsmith@gmail.com> | 2024-03-07 18:21:34 +0000 |
commit | f372a91b5517e2e86ceca7e49613b07bdecb9fd9 (patch) | |
tree | 370db23fa2d62d53b95eb3ac0c3e5533cd06b0b3 /src/gameScreen.c | |
parent | 4c74b7100c26aca80a65a853524b44085dcf4508 (diff) | |
download | PenguinYippies-f372a91b5517e2e86ceca7e49613b07bdecb9fd9.tar.gz PenguinYippies-f372a91b5517e2e86ceca7e49613b07bdecb9fd9.tar.bz2 PenguinYippies-f372a91b5517e2e86ceca7e49613b07bdecb9fd9.zip |
Added board thingy
Diffstat (limited to 'src/gameScreen.c')
-rw-r--r-- | src/gameScreen.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gameScreen.c b/src/gameScreen.c index 18a8173..9b37d9d 100644 --- a/src/gameScreen.c +++ b/src/gameScreen.c @@ -1,6 +1,7 @@ #include "gameScreen.h" #include "game.h" #include "assets.h" +#include <raylib.h> void initGameScreen(GameScreen* gameScreen, Game* game) { @@ -73,7 +74,16 @@ void initGameScreen(GameScreen* gameScreen, Game* game) void updateGameScreenShop(GameScreen* gameScreen, Game* game) { + Texture shopBoard = game->assets.textures[SHOP_BOARD_TEXTURE]; + DrawTexturePro( + shopBoard, + (Rectangle){0.0, 0.0, shopBoard.width, shopBoard.height}, + (Rectangle){0.0, 0.0, GetScreenWidth(), GetScreenHeight()}, + (Vector2){0.0, 0.0}, + 0.0, + WHITE + ); } void updateGameScreen(GameScreen* gameScreen, Game* game) |