Cleaned some stuff up

This commit is contained in:
2021-07-14 21:24:04 -07:00
parent 82a8d21320
commit 6a1b370550
10 changed files with 32 additions and 23 deletions

View File

@ -38,6 +38,8 @@
#include "input/input.h"
// Poker Game Logic
#include "poker/round/match.h"
#include "poker/bet.h"
#include "poker/card.h"
#include "poker/dealer.h"

View File

@ -14,6 +14,8 @@
#include "render.h"
#include "winner.h"
#include "round/match.h"
#include "../display/camera.h"
#include "../display/shader.h"
#include "../display/texture.h"
@ -71,9 +73,10 @@ typedef struct {
/** For Betting round, which player is currently betting */
uint8_t roundBetCurrent;
uint32_t roundTextCounter;
pokerroundmatch_t roundMatch;
//////////////////////////////////////////////////////////////////////////////
// Rendering Variables
//////////////////////////////////////////////////////////////////////////////
@ -88,7 +91,7 @@ typedef struct {
shader_t shader;
/** Camera for the world and the GUI */
camera_t cameraWorld, cameraGui, cameraTest;
camera_t cameraWorld, cameraGui;
/** Refer to POKER_GUI_HEIGHT */
float guiWidth;

View File

@ -0,0 +1,14 @@
/**
* Copyright (c) 2021 Dominic Masters
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
#pragma once
#include "../../libs.h"
typedef struct {
// Time when match started (for fade effect)
float time;
} pokerroundmatch_t;