diff options
author | June McEnroe <june@causal.agency> | 2019-03-22 15:56:19 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-03-22 15:56:19 -0400 |
commit | 69963861d798d188807fffad020aa3626bd8ea60 (patch) | |
tree | afeef04fe3fd2e7a5d4566a458c7f3453a224228 | |
parent | Add F2 and b temporary key (diff) | |
download | cards-69963861d798d188807fffad020aa3626bd8ea60.tar.gz cards-69963861d798d188807fffad020aa3626bd8ea60.zip |
Add d key
-rw-r--r-- | sol.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sol.c b/sol.c index cde7b2b..5c4df78 100644 --- a/sol.c +++ b/sol.c @@ -317,6 +317,11 @@ static bool keyDown(SDL_KeyboardEvent key) { layout.backTexture += Cards_Back1; return true; } + case SDLK_d: { + game.draw = (game.draw == 1 ? 3 : 1); + gameDeal(); + return true; + } default: return false; } } |