aboutsummaryrefslogtreecommitdiffstats
path: root/src/gack.c
diff options
context:
space:
mode:
authornathansmith117 <thenathansmithsmith@gmail.com>2024-05-10 17:06:48 +0000
committernathansmith117 <thenathansmithsmith@gmail.com>2024-05-10 17:06:48 +0000
commit4f14134623f319ce4afce9b303cc77762524b350 (patch)
treedac0685893e70239e44dd3eb7cd7a6375216f65d /src/gack.c
parent1b2a507416bc1fd8fd2bb07f94d8bcd096c19721 (diff)
downloadPenguinYippies-4f14134623f319ce4afce9b303cc77762524b350.tar.gz
PenguinYippies-4f14134623f319ce4afce9b303cc77762524b350.tar.bz2
PenguinYippies-4f14134623f319ce4afce9b303cc77762524b350.zip
Started working on the gack
Diffstat (limited to 'src/gack.c')
-rw-r--r--src/gack.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/gack.c b/src/gack.c
new file mode 100644
index 0000000..24debb1
--- /dev/null
+++ b/src/gack.c
@@ -0,0 +1,25 @@
+#include "gack.h"
+#include "game.h"
+#include "assets.h"
+
+void initGack(Gack* gack)
+{
+}
+
+void updateGack(Gack* gack, Game* game)
+{
+ Texture gackTexture = game->assets.textures[GACK_PENGUIN_TEXTURE];
+
+ DrawTexturePro(
+ gackTexture,
+ (Rectangle){0.0, 0.0, gackTexture.width, gackTexture.height},
+ (Rectangle){0.0, 0.0, WINDOW_WIDTH, WINDOW_HEIGHT},
+ (Vector2){0.0, 0.0},
+ 0.0,
+ WHITE
+ );
+}
+
+void closeGack(Gack* gack)
+{
+}