hanafuda/options.c

16 lines
411 B
C
Raw Normal View History

2025-02-23 06:09:57 -05:00
#include "options.h"
void load_options_from_game(Game *g, Options *o) {
o->kan_value = g->kan_value;
o->number_of_rounds = g->number_of_rounds;
o->card_backs = g->card_backs;
o->deal_speed = g->deal_speed;
}
void save_options_to_game(Game *g, Options *o) {
g->kan_value = o->kan_value;
g->number_of_rounds = o->number_of_rounds;
g->card_backs = o->card_backs;
g->deal_speed = o->deal_speed;
}