updated contact info in source file headers
[rocksndiamonds.git] / src / libgame / snapshot.h
1 // ============================================================================
2 // Artsoft Retro-Game Library
3 // ----------------------------------------------------------------------------
4 // (c) 1995-2014 by Artsoft Entertainment
5 //                  Holger Schemel
6 //                  info@artsoft.org
7 //                  http://www.artsoft.org/
8 // ----------------------------------------------------------------------------
9 // snapshot.h
10 // ============================================================================
11
12 #ifndef SNAPSHOT_H
13 #define SNAPSHOT_H
14
15 #include "system.h"
16 #include "misc.h"
17
18
19 /* needed for comfortably saving engine snapshot buffers */
20 #define ARGS_ADDRESS_AND_SIZEOF(x)              (&(x)), (sizeof(x))
21
22 struct EngineSnapshotNodeInfo
23 {
24   void *buffer_orig;
25   void *buffer_copy;
26   int size;
27 };
28
29
30 void SaveEngineSnapshotBuffer(void *buffer, int size);
31 void LoadEngineSnapshotBuffers();
32 void FreeEngineSnapshotBuffers();
33
34 #endif  /* SNAPSHOT_H */