30 lines
		
	
	
		
			917 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			917 B
		
	
	
	
		
			C
		
	
	
	
	
	
| // Copyright (c) 2021 Dominic Masters
 | |
| // 
 | |
| // This software is released under the MIT License.
 | |
| // https://opensource.org/licenses/MIT
 | |
| 
 | |
| #pragma once
 | |
| #include "../../../libs.h"
 | |
| #include "action.h"
 | |
| #include "../../../poker/bet.h"
 | |
| #include "../../../poker/actions/round.h"
 | |
| #include "../../../poker/actions/blinds.h"
 | |
| #include "../../../poker/actions/deal.h"
 | |
| #include "../discussion/pokerdiscussion.h"
 | |
| #include "bet.h"
 | |
| 
 | |
| /** Callback that is fired when the round start event starts. */
 | |
| void _pokerGameActionRoundOnStart(
 | |
|   queue_t *queue, queueaction_t *action, uint8_t i
 | |
| );
 | |
| 
 | |
| /** Callback that is fired when the round action ends. */
 | |
| void _pokerGameActionRoundOnEnd(queue_t *queue,queueaction_t *action,uint8_t i);
 | |
| 
 | |
| /**
 | |
|  * Queues the round starting action onto the game. Handles talking VN logic.
 | |
|  * 
 | |
|  * @param game Game to add to.
 | |
|  * @return The queued action.
 | |
|  */
 | |
| queueaction_t * pokerGameActionRoundAdd(pokergame_t *game); |