Refactoring structs Part 1

This commit is contained in:
2021-05-20 22:20:52 -07:00
parent 17ddb4246a
commit 9bcf6223b6
56 changed files with 484 additions and 422 deletions

25
src/poker/poker.h Normal file
View File

@@ -0,0 +1,25 @@
/**
* Copyright (c) 2021 Dominic Masters
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
#pragma once
#include <dawn/dawn.h>
#include "card.h"
/**
* Initializes the poker match for the first time.
*
* @param poker Poker game to init.
*/
void pokerInit(poker_t *poker);
/**
* Initializes the round for a poker game.
*
* @param poker Poker game to init a new round for.
*/
void pokerRoundInit(poker_t *poker);