Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: f4b0f182e8
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (19 sloc) 0.558 kb
//
// file.h
// StickyParticles
//
// Created by Alessandro Motta on 4/10/12.
//
#ifndef FILE_H
#define FILE_H
#include <stdbool.h>
#include "game.h"
// parses the file given by name. on success the newly constructed game is
// returned. in case of error NULL is returned.
extern game_t* fileRead(const char* name);
// write game to a file called name and returns true on success.
// else false is returned.
extern bool fileSave(game_t* game, const char* name);
// toggles debug messages for file module
extern void fileSetDebug(bool flag);
#endif
Jump to Line
Something went wrong with that request. Please try again.