summary refs log tree commit diff
path: root/cards.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cards.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/cards.h b/cards.h
index 0308cdf..2ce85a9 100644
--- a/cards.h
+++ b/cards.h
@@ -23,10 +23,8 @@
 enum {
 	Cards_Width = 71,
 	Cards_Height = 96,
-};
 
-enum Cards_Card {
-	Cards_Club,
+	Cards_Club = 0,
 	Cards_Diamond = 13,
 	Cards_Heart = 26,
 	Cards_Spade = 39,
@@ -43,11 +41,11 @@ enum Cards_Card {
 	Cards_X = 67,
 	Cards_O,
 
-	Cards_CardLen,
+	Cards_Count,
 };
 
 struct Cards {
-	struct SDL_Surface *surfaces[Cards_CardLen];
+	struct SDL_Surface *surfaces[Cards_Count];
 };
 
 struct Cards *Cards_Load(struct SDL_RWops *rw);