marrub
/
Lithia
Archived
1
0
Fork 0
This repository has been archived on 2023-06-17. You can view files and clone it, but cannot push or open issues/pull-requests.
Lithia/source/Main/p_save.c

33 lines
587 B
C

// Copyright © 2016-2017 Graham Sanderson, all rights reserved.
#include "lith_common.h"
#include "lith_player.h"
#include "lith_savedata.h"
#include "lith_file.h"
// Extern Functions ----------------------------------------------------------|
//
// Lith_PlayerSaveData
//
script void Lith_PlayerSaveData(struct player *p)
{
savefile_t *save;
if((save = Lith_SaveBegin(p)))
Lith_SaveEnd(save);
}
//
// Lith_PlayerLoadData
//
script void Lith_PlayerLoadData(struct player *p)
{
savefile_t *save;
if((save = Lith_LoadBegin(p)))
Lith_LoadEnd(save);
}
// EOF