summaryrefslogtreecommitdiff
path: root/src/cardstack.h
diff options
context:
space:
mode:
authorMario Kilies <MarioKilies@GMX.net>2011-01-04 20:13:39 +0100
committerMario Kilies <MarioKilies@GMX.net>2011-01-04 20:13:39 +0100
commitc076d1849d9ec07b87cde212d8db12dc890dc811 (patch)
tree99446082551d1434e9c61b0de6dc5f31363daa9d /src/cardstack.h
parent5060d22270bc4c84cc5d16cf593e389e40f2b13f (diff)
Splitted up content from common.* to separate files (card.[ch], cardstack.[ch] and hand.h)
Diffstat (limited to 'src/cardstack.h')
-rw-r--r--src/cardstack.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/cardstack.h b/src/cardstack.h
new file mode 100644
index 0000000..d77996d
--- /dev/null
+++ b/src/cardstack.h
@@ -0,0 +1,13 @@
+#ifndef OXEN_CARDSTACK_H
+#define OXEN_CARDSTACK_H
+
+#include <stdint.h>
+#include "card.h"
+
+#define MAX_CARDSTACK_SIZE 5
+
+typedef card cardstack[MAX_CARDSTACK_SIZE];
+
+uint32_t cardstack_get_points(const cardstack s);
+
+#endif // OXEN_CARDSTACK_H