|
Odamex
Setting the Standard in Multiplayer Doom
|
00001 // Emacs style mode select -*- C++ -*- 00002 //----------------------------------------------------------------------------- 00003 // 00004 // $Id: p_saveg.h 1892 2010-09-11 01:25:43Z mike $ 00005 // 00006 // Copyright (C) 1993-1996 by id Software, Inc. 00007 // Copyright (C) 2006-2010 by The Odamex Team. 00008 // 00009 // This program is free software; you can redistribute it and/or 00010 // modify it under the terms of the GNU General Public License 00011 // as published by the Free Software Foundation; either version 2 00012 // of the License, or (at your option) any later version. 00013 // 00014 // This program is distributed in the hope that it will be useful, 00015 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 // GNU General Public License for more details. 00018 // 00019 // DESCRIPTION: 00020 // Savegame I/O, archiving, persistence. 00021 // 00022 //----------------------------------------------------------------------------- 00023 00024 00025 #ifndef __P_SAVEG_H__ 00026 #define __P_SAVEG_H__ 00027 00028 #include "farchive.h" 00029 00030 // Persistent storage/archiving. 00031 // These are the load / save game routines. 00032 // Also see farchive.(h|cpp) 00033 void P_SerializePlayers (FArchive &arc); 00034 void P_SerializeWorld (FArchive &arc); 00035 void P_SerializeThinkers (FArchive &arc, bool); 00036 void P_SerializeRNGState (FArchive &arc); 00037 void P_SerializeSounds (FArchive &arc); 00038 void P_SerializeACSDefereds (FArchive &arc); 00039 void P_SerializePolyobjs (FArchive &arc); 00040 00041 #endif // __P_SAVEG_H__ 00042 00043