2018-07-09 19:26:13 +02:00
|
|
|
#ifndef GAMEPLAY_H__
|
|
|
|
#define GAMEPLAY_H__
|
|
|
|
|
2018-07-10 00:04:16 +02:00
|
|
|
/* *******************************************************************
|
|
|
|
* Includes
|
|
|
|
* ******************************************************************/
|
2018-07-09 19:26:13 +02:00
|
|
|
|
|
|
|
#include "HumanPlayer.h"
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2018-07-10 00:04:16 +02:00
|
|
|
/* *******************************************************************
|
|
|
|
* Defines
|
|
|
|
* ******************************************************************/
|
2018-07-09 19:26:13 +02:00
|
|
|
|
2018-07-10 00:04:16 +02:00
|
|
|
/* *******************************************************************
|
|
|
|
* Global types definition
|
|
|
|
* ******************************************************************/
|
2018-07-09 19:26:13 +02:00
|
|
|
|
|
|
|
struct tGameConfig
|
|
|
|
{
|
|
|
|
HumanPlayer* pHumanPlayerData;
|
|
|
|
uint8_t u8NHumanPlayers;
|
2018-07-10 23:17:34 +02:00
|
|
|
Camera& cam;
|
2018-07-09 19:26:13 +02:00
|
|
|
};
|
|
|
|
|
2018-07-10 00:04:16 +02:00
|
|
|
/* *******************************************************************
|
|
|
|
* Global variables declaration
|
|
|
|
* ******************************************************************/
|
2018-07-09 19:26:13 +02:00
|
|
|
|
2018-07-10 00:04:16 +02:00
|
|
|
/* *******************************************************************
|
|
|
|
* Global functions declaration
|
|
|
|
* ******************************************************************/
|
2018-07-09 19:26:13 +02:00
|
|
|
|
2018-07-10 00:04:16 +02:00
|
|
|
void Game(const struct tGameConfig& sGameConfig);
|
|
|
|
|
|
|
|
/* *******************************************************************
|
|
|
|
* Class definition
|
|
|
|
* ******************************************************************/
|
2018-07-09 19:26:13 +02:00
|
|
|
|
|
|
|
#endif /* GAMEPLAY_H__ */
|