aboutsummaryrefslogtreecommitdiff
path: root/cheat.h
diff options
context:
space:
mode:
Diffstat (limited to 'cheat.h')
-rw-r--r--cheat.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/cheat.h b/cheat.h
new file mode 100644
index 0000000..0f255b9
--- /dev/null
+++ b/cheat.h
@@ -0,0 +1,22 @@
+#ifndef __CHEAT_H_
+#define __CHEAT_H_
+
+#include <stdlib.h>
+
+struct cheat {
+ const char *name;
+ const char *info;
+ int enabled;
+ const char *code;
+};
+
+struct cheats {
+ int enabled;
+ size_t count;
+ struct cheat *cheats;
+};
+
+struct cheats *cheats_load(const char *filename);
+void cheats_free(struct cheats *cheats);
+
+#endif