]> icculus.org git repositories - btb/d2x.git/blob - main/gamesave.h
use the orientation parameter of g3_draw_bitmap
[btb/d2x.git] / main / gamesave.h
1 /*
2 THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
3 SOFTWARE CORPORATION ("PARALLAX").  PARALLAX, IN DISTRIBUTING THE CODE TO
4 END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
5 ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
6 IN USING, DISPLAYING,  AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
7 SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
8 FREE PURPOSES.  IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
9 CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES.  THE END-USER UNDERSTANDS
10 AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
11 COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION.  ALL RIGHTS RESERVED.
12 */
13
14 /*
15  *
16  * Headers for gamesave.c
17  *
18  */
19
20
21 #ifndef _GAMESAVE_H
22 #define _GAMESAVE_H
23
24 void LoadGame(void);
25 void SaveGame(void);
26 int get_level_name(void);
27
28 extern int load_level(const char *filename);
29 extern int save_level(char *filename);
30
31 // called in place of load_game() to only load the .min data
32 extern void load_mine_only(char * filename);
33
34 extern char Gamesave_current_filename[];
35
36 extern int Gamesave_current_version;
37
38 extern int Gamesave_num_org_robots;
39
40 // In dumpmine.c
41 extern void write_game_text_file(char *filename);
42
43 extern int Errors_in_mine;
44
45 #endif /* _GAMESAVE_H */