Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

46 lines (30 sloc) 0.846 kB
/*
* See Licensing and Copyright notice in naev.h
*/
#ifndef LOAD_H
# define LOAD_H
#include <stdint.h>
#include "ntime.h"
/**
* @brief A naev save.
*/
typedef struct nsave_s {
char *name; /**< Player name. */
char *path; /**< File path. */
/* Naev info. */
int version[3]; /**< Naev version in MAJOR/MINOR/PATCH format. */
char *data; /**< Data name. */
/* Player info. */
char *planet; /**< Planet player is at. */
ntime_t date; /**< Date. */
uint64_t credits; /**< Credits player has. */
/* Ship info. */
char *shipname; /**< Name of the ship. */
char *shipmodel; /**< Model of the ship. */
} nsave_t;
void load_loadGameMenu (void);
int load_game( const char* file, int version_diff );
int load_refresh (void);
void load_free (void);
nsave_t *load_getList( int *n );
#endif /* LOAD_H */
Jump to Line
Something went wrong with that request. Please try again.