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
Raw Normal View History

2018-08-08 21:02:47 -07:00
// 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
//
2018-08-09 21:27:27 -07:00
script void Lith_PlayerSaveData(struct player *p)
2018-08-08 21:02:47 -07:00
{
savefile_t *save;
if((save = Lith_SaveBegin(p)))
Lith_SaveEnd(save);
}
//
// Lith_PlayerLoadData
//
2018-08-09 21:27:27 -07:00
script void Lith_PlayerLoadData(struct player *p)
2018-08-08 21:02:47 -07:00
{
savefile_t *save;
if((save = Lith_LoadBegin(p)))
Lith_LoadEnd(save);
}
// EOF