Main Page   Alphabetical List   Data Structures   File List   Globals  

start_core.h

Go to the documentation of this file.
00001 
00012 #define START_X_DIMENSIONS 6
00013 
00018 #define START_Y_DIMENSIONS 3
00019 
00020 /*
00021 this array represents the start of the game where a player places his 
00022 pieces on the board
00023 */
00036 start_piece start[START_X_DIMENSIONS][START_Y_DIMENSIONS];
00037 
00038 
00039 /* this function should initialise the data in the start array */
00056 void initialise_start();
00057 
00075 void update_battlefield(char* name , int player , int x , int y);
00076 
00077 /* a function to see if all pieces have been placed on battlefield */
00088 int pieces_placed();
00089 
00090 /* a function that checks the y parameter ogf the Move function to determine if the 
00091 player is placing pieces in the correct end of the board */
00092 
00104 int check_placement(int player , int y2);

Generated on Sat Mar 16 13:12:15 2002 for SLIP 2002 - Stratego2Go by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002