2011-07-15 20:30:58 -04:00
|
|
|
/************************************************************************
|
|
|
|
* *
|
|
|
|
* Star Traders: A Game of Interstellar Trading *
|
|
|
|
* Copyright (C) 1990-2011, John Zaitseff *
|
|
|
|
* *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
/*
|
|
|
|
Author: John Zaitseff <J.Zaitseff@zap.org.au>
|
|
|
|
$Id$
|
|
|
|
|
|
|
|
This file, move.h, contains declarations for functions that make and
|
|
|
|
process a game move in Star Traders.
|
|
|
|
|
|
|
|
|
|
|
|
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_MOVE_H
|
|
|
|
#define included_MOVE_H 1
|
|
|
|
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* Game move function declarations *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
extern void select_moves (void);
|
2011-07-18 02:22:24 -04:00
|
|
|
extern sel_val_t get_move (void);
|
|
|
|
extern void process_move (sel_val_t selection);
|
2011-07-15 20:30:58 -04:00
|
|
|
|
|
|
|
extern void next_player (void);
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* included_MOVE_H */
|