From 4f14134623f319ce4afce9b303cc77762524b350 Mon Sep 17 00:00:00 2001 From: nathansmith117 Date: Fri, 10 May 2024 11:06:48 -0600 Subject: Started working on the gack --- src/gack.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/gack.c (limited to 'src/gack.c') 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) +{ +} -- cgit v1.2.3