/*
*	store-retrieve.cpp
*	----------------------------------------
*	A part of "Intelligent AI"
*	© 2001 SCC Team 064
*	----------------------------------------
*
*	This file:
*		€ Contains functions for storing values into different types of
*		   standard, universal variables.
*		€ Contains functions for retrieving the value of a standard,
*		   universal, variable of a specified type.
*/

#include "Project.h"


int					currentNumPlayers;



/*------------------------------------------------------------------------------------------*/
/*									STORE - RETRIEVE FUNCTIONS								*/
/*------------------------------------------------------------------------------------------*/



/*									Store a Player's AIType									*/
/*------------------------------------------------------------------------------------------*/
void storeAIType(int whichPlayer, int whichAIType)
{
	player[whichPlayer].AIType = whichAIType;
}

/*								Retrieve a Player's AIType									*/
/*------------------------------------------------------------------------------------------*/
int getAIType(int whichPlayer)
{
	return player[whichPlayer].AIType;
}


/*							Store/Retrieve Current Number of Players						*/
/*------------------------------------------------------------------------------------------*/
void storeCurrentNumPlayers(int num)
{
	currentNumPlayers = num;
}

int getCurrentNumPlayers()
{
	return currentNumPlayers;
}