2011-07-04 01:54:39 -04:00
|
|
|
/************************************************************************
|
|
|
|
* *
|
|
|
|
* Star Traders: A Game of Interstellar Trading *
|
|
|
|
* Copyright (C) 1990-2011, John Zaitseff *
|
|
|
|
* *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
/*
|
|
|
|
Author: John Zaitseff <J.Zaitseff@zap.org.au>
|
|
|
|
$Id$
|
|
|
|
|
2011-07-15 19:58:53 -04:00
|
|
|
This file, game.h, contains declarations for the starting and ending
|
|
|
|
game functions used in Star Traders.
|
2011-07-04 01:54:39 -04:00
|
|
|
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify it
|
|
|
|
under the terms of the GNU General Public License as published by the
|
|
|
|
Free Software Foundation, either version 3 of the License, or (at your
|
|
|
|
option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program. If not, see http://www.gnu.org/licenses/.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef included_GAME_H
|
|
|
|
#define included_GAME_H 1
|
|
|
|
|
|
|
|
|
2011-07-11 02:14:07 -04:00
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
|
|
|
|
/************************************************************************
|
2011-07-19 06:32:00 -04:00
|
|
|
* Game function prototypes *
|
2011-07-11 02:14:07 -04:00
|
|
|
************************************************************************/
|
|
|
|
|
2011-07-14 07:44:18 -04:00
|
|
|
extern void init_game (void);
|
|
|
|
extern void end_game (void);
|
2011-07-11 02:14:07 -04:00
|
|
|
|
2011-07-14 21:19:14 -04:00
|
|
|
extern void show_map (bool show_moves);
|
2011-07-15 03:46:57 -04:00
|
|
|
extern void show_status (int num);
|
|
|
|
extern double total_value (int num);
|
2011-07-14 21:19:14 -04:00
|
|
|
|
2011-07-11 02:14:07 -04:00
|
|
|
|
2011-07-04 01:54:39 -04:00
|
|
|
#endif /* included_GAME_H */
|