Cleaned some stuff up
This commit is contained in:
@ -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"
|
||||
|
@ -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;
|
||||
|
14
include/dawn/poker/round/match.h
Normal file
14
include/dawn/poker/round/match.h
Normal 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;
|
Reference in New Issue
Block a user