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.
16 * Header for playsave.c
24 #define N_SAVE_SLOTS 10
25 #define GAME_NAME_LEN 25 // +1 for terminating zero = 26
34 #define PLAYER_DIR ":Players:"
37 extern int Default_leveling_on;
39 // update the player's highest level. returns errno (0 == no error)
40 int update_player_file();
42 // Used to save kconfig values to disk.
43 int write_player_file();
45 int new_player_config();
47 int read_player_file();
49 // set a new highest level for player for this mission
50 void set_highest_level(int levelnum);
52 // gets the player's highest level from the file for this mission
53 int get_highest_level(void);
55 #endif /* _PLAYSAVE_H */