Skip to content

Commit

Permalink
re-added DOLPHIN_DEEDs
Browse files Browse the repository at this point in the history
  • Loading branch information
doofy-dev committed Jun 14, 2023
1 parent b0683b4 commit ed212ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions solitaire.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,8 @@ void tick(GameState *game_state, NotificationApp *notification) {
if (game_state->top_cards[0].character == 11 && game_state->top_cards[1].character == 11 &&
game_state->top_cards[2].character == 11 && game_state->top_cards[3].character == 11) {
game_state->state = GameStateAnimate;
DOLPHIN_DEED(DolphinDeedPluginGameWin);

return;
}
}
Expand Down Expand Up @@ -381,6 +383,7 @@ void tick(GameState *game_state, NotificationApp *notification) {
}

void init(GameState *game_state) {
DOLPHIN_DEED(DolphinDeedPluginGameStart);
game_state->selectColumn = 0;
game_state->selected_card = 0;
game_state->selectRow = 0;
Expand Down

0 comments on commit ed212ce

Please sign in to comment.