API relative to the Rounds we play.
More...
#include <stdbool.h>
Go to the source code of this file.
API relative to the Rounds we play.
Definition in file round.h.
◆ get_discard_top()
| int get_discard_top |
( |
void |
| ) |
|
Get the index of the last discarded card.
- Returns
- int
Definition at line 270 of file round.c.
◆ get_played_size()
| int get_played_size |
( |
void |
| ) |
|
Get the number of cards played.
- Returns
- int
Definition at line 253 of file round.c.
◆ get_played_top()
| int get_played_top |
( |
void |
| ) |
|
Get the index of the last played card.
- Returns
- int
Definition at line 248 of file round.c.
◆ get_scored_card_index()
| int get_scored_card_index |
( |
void |
| ) |
|
Get the index of the card that is currently being scored.
- Returns
- int
Definition at line 301 of file round.c.
◆ round_change_background_playing()
| void round_change_background_playing |
( |
void |
| ) |
|
Change to the round card playing background.
Definition at line 405 of file round.c.
◆ round_change_background_selecting()
| void round_change_background_selecting |
( |
void |
| ) |
|
Change to the round card selection background.
Definition at line 343 of file round.c.
◆ round_on_init()
| void round_on_init |
( |
void |
| ) |
|
Round state initialization.
Definition at line 2130 of file round.c.
◆ round_on_update()
| void round_on_update |
( |
void |
| ) |
|
Round state update.
Definition at line 2204 of file round.c.
◆ set_retrigger()
| void set_retrigger |
( |
bool |
new_retrigger | ) |
|
Set whether the current card should get triggered again.
- Parameters
-
| new_retrigger | true if the card should trigger again, false if not |
Definition at line 306 of file round.c.
◆ toggle_flaming_score()
| void toggle_flaming_score |
( |
void |
| ) |
|
Checks whether the score that would result from the current Chips and Mult exceeds the current Blind's score requirement, and applies the flaming effect if needed.
Definition at line 1446 of file round.c.