// Copyright (c) 2021 Dominic Masters // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #pragma once #include "../libs.h" #include "../engine/engine.h" #if SETTING_GAME == SETTING_GAME_POKER #include "poker/pokergame.h" #elif SETTING_GAME == SETTING_GAME_DAWN #include "dawn/dawngame.h" #endif /** Describes the current game */ typedef struct { char *name; /** Engine for the game */ engine_t engine; #if SETTING_GAME == SETTING_GAME_POKER pokergame_t pokerGame; #elif SETTING_GAME == SETTING_GAME_DAWN dawngame_t dawnGame; #endif } game_t;