Survival Royale
1.0.0
A very simple yet funny card game.
Loading...
Searching...
No Matches
config.h
Go to the documentation of this file.
1
// Copyright (C) 2025 Giulio Salvi, Jacopo Paradisi
2
//
3
// This program is free software: you can redistribute it and/or modify
4
// it under the terms of the GNU General Public License as published by
5
// the Free Software Foundation, either version 3 of the License, or
6
// (at your option) any later version.
7
//
8
// This program is distributed in the hope that it will be useful,
9
// but WITHOUT ANY WARRANTY; without even the implied warranty of
10
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
// GNU General Public License for more details.
12
//
13
// You should have received a copy of the GNU General Public License
14
// along with this program. If not, see <https://www.gnu.org/licenses/>.
15
20
21
#include "
cli.h
"
22
#include "
config_file.h
"
23
24
#ifndef _CONFIG_H_
26
#define _CONFIG_H_
27
32
GameConfiguration
getGameConfiguration
(
const
int
code,
const
GameConfiguration
cliGameConfiguration);
35
GameConfiguration
askConfigurationOptionsViaTerminal
();
36
#endif
cli.h
Definition of functions which handles CLI.
getGameConfiguration
GameConfiguration getGameConfiguration(const int code, const GameConfiguration cliGameConfiguration)
Gets the game configuration based on the action code. If action code is ACTION_HELP,...
Definition
config.c:46
askConfigurationOptionsViaTerminal
GameConfiguration askConfigurationOptionsViaTerminal()
Asks to the user via terminal the game configuration.
Definition
main.c:148
config_file.h
Definition of functions which handles the configuration file.
GameConfiguration
The game configuration structure.
Definition
game_configuration.h:28
h
config.h
Generated by
1.14.0