summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h27
1 files changed, 24 insertions, 3 deletions
diff --git a/include/common.h b/include/common.h
index 5f64a2b..136edaa 100644
--- a/include/common.h
+++ b/include/common.h
@@ -61,10 +61,31 @@ typedef struct Game {
int level;
} Game;
+/* ======== text.[c|h] types =========== */
+
+typedef struct List {
+ void *obj;
+ void *next;
+ void *prev;
+} List;
+
+typedef struct Pair {
+ void *k;
+ void *v;
+} Pair;
+
+typedef struct KeyMap {
+ Pair *pair;
+ void *next;
+ void *prev;
+} KeyMap;
+
typedef struct Text {
- sfFont *font;
- sfText *text;
- sfVector2f pos;
+ char *font;
+ char *type;
+ char *scene;
+ char *text;
+ void *sfText;
} Text;
#endif