aboutsummaryrefslogtreecommitdiffstats
path: root/src/gameScreen.c
diff options
context:
space:
mode:
authornathansmith117 <thenathansmithsmith@gmail.com>2024-02-22 22:37:18 +0000
committernathansmith117 <thenathansmithsmith@gmail.com>2024-02-22 22:37:18 +0000
commit8409c0fef6be37b3b5081402c1669207a1dc9ca3 (patch)
tree74a35a59860450e4915d01c8313545a242d87747 /src/gameScreen.c
parent23707911599413826ee20044cf4eeecbb8e3bdb7 (diff)
downloadPenguinYippies-8409c0fef6be37b3b5081402c1669207a1dc9ca3.tar.gz
PenguinYippies-8409c0fef6be37b3b5081402c1669207a1dc9ca3.tar.bz2
PenguinYippies-8409c0fef6be37b3b5081402c1669207a1dc9ca3.zip
Working on clicky list
Diffstat (limited to 'src/gameScreen.c')
-rw-r--r--src/gameScreen.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gameScreen.c b/src/gameScreen.c
index 7331a22..e15a7e5 100644
--- a/src/gameScreen.c
+++ b/src/gameScreen.c
@@ -67,11 +67,6 @@ void initGameScreen(GameScreen* gameScreen, Game* game)
WHITE,
BLACK
);
-
- // Clickies.
- gameScreen->penguinLol = createPenguinLolClicky(game);
- gameScreen->penguinLol.rect.x = WINDOW_WIDTH / 2.0 - 256.0;
- gameScreen->penguinLol.rect.y = WINDOW_HEIGHT / 2.0 - 256.0;
}
void updateGameScreen(GameScreen* gameScreen, Game* game)
@@ -99,15 +94,11 @@ void updateGameScreen(GameScreen* gameScreen, Game* game)
updateTexturedButton(&gameScreen->rebirthButton);
updateTexturedButton(&gameScreen->statisticsButton);
- // update clickies.
- updateClicky(game, &gameScreen->penguinLol);
-
DrawFPS(0, 0);
}
void closeGameScreen(GameScreen* gameScreen)
{
closeAnimation(&gameScreen->buttonPanelSharedAnimation);
- freePenginLolClicky(gameScreen->penguinLol);
}