2011-06-14 04:19:01 -04:00
|
|
|
/************************************************************************
|
|
|
|
* *
|
|
|
|
* Star Traders: A Game of Interstellar Trading *
|
|
|
|
* Copyright (C) 1990-2011, John Zaitseff *
|
|
|
|
* *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
/*
|
2011-06-14 09:01:15 -04:00
|
|
|
Author: John Zaitseff <J.Zaitseff@zap.org.au>
|
2011-06-14 04:19:01 -04:00
|
|
|
$Id$
|
|
|
|
|
2011-06-15 08:34:28 -04:00
|
|
|
This file, trader.h, contains overall definitions for Star Traders.
|
2011-07-19 05:09:59 -04:00
|
|
|
This allows source files to include just one file: this one.
|
2011-06-14 04:19:01 -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/.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2011-06-14 09:11:16 -04:00
|
|
|
#ifndef included_TRADER_H
|
2011-06-14 09:19:58 -04:00
|
|
|
#define included_TRADER_H 1
|
2011-06-14 04:19:01 -04:00
|
|
|
|
|
|
|
|
2011-06-15 08:34:28 -04:00
|
|
|
/************************************************************************
|
2011-07-19 05:09:59 -04:00
|
|
|
* Included header files *
|
2011-06-15 08:34:28 -04:00
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
#include "system.h"
|
2011-07-15 04:52:31 -04:00
|
|
|
|
2011-06-14 22:55:19 -04:00
|
|
|
#include "globals.h"
|
2011-07-04 01:54:39 -04:00
|
|
|
#include "game.h"
|
2011-07-15 20:30:58 -04:00
|
|
|
#include "move.h"
|
2011-07-15 20:43:19 -04:00
|
|
|
#include "exch.h"
|
2011-07-15 19:58:53 -04:00
|
|
|
#include "fileio.h"
|
2011-07-04 01:54:39 -04:00
|
|
|
#include "help.h"
|
2011-07-02 07:25:57 -04:00
|
|
|
#include "intf.h"
|
2011-06-15 08:34:28 -04:00
|
|
|
#include "utils.h"
|
2011-06-14 22:55:19 -04:00
|
|
|
|
|
|
|
|
2011-07-19 05:09:59 -04:00
|
|
|
/************************************************************************
|
|
|
|
* Global definitions *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
#define GAME_FILE_HEADER PACKAGE_NAME " Saved Game"
|
|
|
|
#define GAME_FILE_API_VERSION "7.0" // For game loads and saves
|
|
|
|
#define GAME_FILE_SENTINEL (42) // End of game file sentinel
|
|
|
|
|
|
|
|
#define BUFSIZE (1024) // For various string buffers
|
|
|
|
|
|
|
|
|
2011-06-14 09:11:16 -04:00
|
|
|
#endif /* included_TRADER_H */
|