summary refs log tree commit diff
path: root/stack.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-03-26 18:15:31 -0400
committerJune McEnroe <june@causal.agency>2019-03-26 18:15:31 -0400
commit77d344c1ab4e274ba099d66b8bf5eb9db7e5e45f (patch)
treec561c1ed60677771d45582ce2b878f0e4ad09786 /stack.h
parentImplement loadPE (diff)
downloadwep-77d344c1ab4e274ba099d66b8bf5eb9db7e5e45f.tar.gz
wep-77d344c1ab4e274ba099d66b8bf5eb9db7e5e45f.zip
Remove stackDeck
Other games will probably want to do it differently.
Diffstat (limited to '')
-rw-r--r--stack.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/stack.h b/stack.h
index d3a4119..b7b018f 100644
--- a/stack.h
+++ b/stack.h
@@ -85,13 +85,6 @@ static inline void stackMoveTo(struct Stack *dst, struct Stack *src, Uint8 n) {
 	src->len -= n;
 }
 
-static inline void stackDeck(struct Stack *stack) {
-	stackClear(stack);
-	for (Card i = 1; i <= 52; ++i) {
-		stackPush(stack, -i);
-	}
-}
-
 static inline int randUniform(int bound) {
 	for (;;) {
 		int r = rand();