Restored some of the rendering

This commit is contained in:
2021-05-22 14:18:23 -07:00
parent 2d6d8680bd
commit bba6a4b4a1
36 changed files with 813 additions and 331 deletions

View File

@@ -7,19 +7,31 @@
#pragma once
#include <dawn/dawn.h>
#include "card.h"
#include "round/deal.h"
#include "render/world.h"
#include "render/card.h"
#include "render/player.h"
#include "render/look.h"
#include "../file/asset.h"
#include "../display/shader.h"
#include "../display/camera.h"
/**
* Initializes the poker match for the first time.
*
* @param poker Poker game to init.
* Initializes the poker context for the first time.
* @param poker Poker context to initialize.
*/
void pokerInit(poker_t *poker);
/**
* Updates the poker context.
* @param poker Poker game to update.
* @param render Render manager to use.
*/
void pokerUpdate(poker_t *poker, render_t *render);
/**
* Initializes the round for a poker game.
*
* @param poker Poker game to init a new round for.
* Cleans an existing poker game instance.
* @param poker Poker instance to cleanup
*/
void pokerRoundInit(poker_t *poker);
void pokerDispose(poker_t *poker);