// Copyright (c) 2021 Dominic Masters // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #pragma once #include #include "../engine/engine.h" #include "../file/csv.h" #if SETTING_GAME == SETTING_GAME_POKER #include "poker/pokergame.h" #elif SETTING_GAME == SETTING_GAME_DAWN #include "dawn/dawngame.h" #endif /** * Initialize the game context. * * @return True if successful, otherwise false. */ bool gameInit(game_t *game); /** * Tick the main game loop. * * @param platformDelta The platform tick delta between the last render. * @return True if successful, false if safe exit requested.. */ bool gameUpdate(game_t *game, float platformDelta); /** * Cleanup the game instance. */ void gameDispose(game_t *game);