aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authornathansmith117 <thenathansmithsmith@gmail.com>2024-02-22 19:19:43 +0000
committernathansmith117 <thenathansmithsmith@gmail.com>2024-02-22 19:19:43 +0000
commitd6c58243b7b9d90e5e23af2f3c866ddf316cb0fa (patch)
tree0ee4b8533b28eb3e3d4be034c0eb356d83b98734 /src/util.h
parent1ce1a705c61064e44f83c772b70ee9b208a4c289 (diff)
downloadPenguinYippies-d6c58243b7b9d90e5e23af2f3c866ddf316cb0fa.tar.gz
PenguinYippies-d6c58243b7b9d90e5e23af2f3c866ddf316cb0fa.tar.bz2
PenguinYippies-d6c58243b7b9d90e5e23af2f3c866ddf316cb0fa.zip
Can now use pixel data for collision
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util.h b/src/util.h
index fba1e7f..eb8537e 100644
--- a/src/util.h
+++ b/src/util.h
@@ -1,6 +1,5 @@
#include "gameCommon.h"
#include "animation.h"
-#include <raylib.h>
#ifndef UTIL_H
#define UTIL_H
@@ -9,6 +8,6 @@
Vector2 getScaledMousePosition();
// Check pixals and that fun stuff.
-bool doesCollideWithAnimation(Rectangle rect, Animation* animation, Vector2 point);
+bool doesCollideWithAnimationData(Rectangle rect, void* data, int width, int height, int frame, Vector2 point);
#endif