1 /***************************************************************************
4 begin : Sat Dec 15 2001
5 copyright : (C) 2001 by Michael Speck
6 email : kulkanie@gmx.net
7 ***************************************************************************/
9 /***************************************************************************
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
16 ***************************************************************************/
26 int player_count
; /* 0 - MAX_PLAYERS-1 */
27 char player_names
[MAX_PLAYERS
][32];
28 int player_cur_level_id
[MAX_PLAYERS
];
29 int cur_player
; /* 0 - MAX_PLAYERS-1 */
30 int player_scores
[MAX_PLAYERS
];
31 int player_lives
[MAX_PLAYERS
];
32 int gameSeed
; /* for bonus levels and FREAKOUT order */
36 ====================================================================
37 Load/save a game to a slot. 'slot_load' returns 1 on success and
38 updates gs. 'slot_save' takes content of 'gs' and saves it.
39 'slot_delete' deletes the savegame.
40 ====================================================================
42 int slot_load( int slot_id
, GameSlot
*gs
);
43 int slot_save( int slot_id
, GameSlot
*gs
);
44 int slot_delete( int slot_id
);
47 ====================================================================
48 Build info hint from game saved to slot 'slot_id'.
49 ====================================================================
51 void slot_update_hint( int slot_id
, Hint
*hint
);