Haunted-Mirror
The game that is 2017-18's project for UE projet Techno
game_io.h
Go to the documentation of this file.
1 #ifndef GAME_IO_H
2 #define GAME_IO_H
3 #include "game.h"
4 
13 
23 game load_game(char* filename);
24 
25 
26 
35 void save_game(cgame g, char* filename);
36 
37 
38 
40 
41 #endif // GAME_IO_H
void save_game(cgame g, char *filename)
Save a game in a file.
This files describes the programming interface of a puzzle game, named 'Haunted Mirror'.
struct game_s * game
The structure pointer that stores the game.
Definition: game.h:81
game load_game(char *filename)
Creates a game by loading its description in a file.
const struct game_s * cgame
The structure constant pointer that stores the game That means that it is not possible to modify the ...
Definition: game.h:90