aboutsummaryrefslogtreecommitdiffstats
path: root/src/gack.h
diff options
context:
space:
mode:
authornathansmith117 <thenathansmithsmith@gmail.com>2024-05-13 04:12:44 +0000
committernathansmith117 <thenathansmithsmith@gmail.com>2024-05-13 04:12:44 +0000
commit05b40b9046d7dea6f52872021932bda8855250c4 (patch)
tree3a4b684304688fb1b4c0993eb159049042efaff1 /src/gack.h
parent4f14134623f319ce4afce9b303cc77762524b350 (diff)
downloadPenguinYippies-05b40b9046d7dea6f52872021932bda8855250c4.tar.gz
PenguinYippies-05b40b9046d7dea6f52872021932bda8855250c4.tar.bz2
PenguinYippies-05b40b9046d7dea6f52872021932bda8855250c4.zip
Working on gack
Diffstat (limited to 'src/gack.h')
-rw-r--r--src/gack.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gack.h b/src/gack.h
index fc02745..fc1ed86 100644
--- a/src/gack.h
+++ b/src/gack.h
@@ -3,6 +3,17 @@
#ifndef GACK_H
#define GACK_H
+#define GACK_NAME_MAX 256
+
+typedef struct GackEntry GackEntry;
+typedef void (*GackEntryCB)(GackEntry* entry, Game* game);
+
+typedef struct GackEntry {
+ char description;
+ int cost;
+ GackEntryCB callback;
+} GackEntry;
+
typedef struct Gack {
} Gack;