Survival Royale 1.0.0
A very simple yet funny card game.
Loading...
Searching...
No Matches
game_configuration.h File Reference

Definition of the game configuration structure and definition of related accessory functions. More...

#include "includes.h"

Go to the source code of this file.

Data Structures

struct  GameConfiguration
 The game configuration structure. More...

Macros

#define _GAME_CONFIGURATION_H_
 Include guard.

Typedefs

typedef struct GameConfiguration GameConfiguration
 The game configuration structure.

Functions

GameConfiguration getDefaultConfiguration ()
 Retrieves the default game configuration.
bool isDefaultGameConfiguration (const GameConfiguration config)
 Determines if a given game configuration is the default one.

Detailed Description

Definition of the game configuration structure and definition of related accessory functions.

Definition in file game_configuration.h.

Macro Definition Documentation

◆ _GAME_CONFIGURATION_H_

#define _GAME_CONFIGURATION_H_

Include guard.

Definition at line 25 of file game_configuration.h.

Typedef Documentation

◆ GameConfiguration

typedef struct GameConfiguration GameConfiguration

The game configuration structure.

Function Documentation

◆ getDefaultConfiguration()

GameConfiguration getDefaultConfiguration ( )

Retrieves the default game configuration.

Returns
The default game configuration.

Definition at line 23 of file config.c.

◆ isDefaultGameConfiguration()

bool isDefaultGameConfiguration ( const GameConfiguration config)

Determines if a given game configuration is the default one.

Parameters
configThe game configuration to compare.
Returns
True if the given game configuration is the default one, false otherwise.

Definition at line 36 of file config.c.