aipur.c File Reference


Detailed Description

AI Purchasing Routines.

Definition in file aipur.c.

#include "Buzz_inc.h"
#include "externs.h"

Go to the source code of this file.

Functions

void AIAstroPur (char plr)
 AI Wants to purchase Astronauts.
void AIPur (char plr)
int AIQUnit (short hwx, short unx, char plr)
void CheckAdv (char plr)
int CheckMax (char plr, int m)
void DrawStatistics (char Win)
void DumpAstro (char plr, int inx)
int GenPur (char plr, int hwx, int unx)
void RDafford (char plr, int class, int index)
void RemoveUnhappy (char plr)
 Remove unhappy astro's.
void SelectBest (char plr, int pos)
 Select the best crew for the mission.
char SF (char plr, char m)
char Skill (char plr, char type)
char SN (char plr, char m)
void Stat (char Win)
void TransAstro (char plr, int inx)

Variables

char AI [2]
char AIMaxSel
char AIsel [25]
struct ManPoolMen
char Obs [6]
char Option


Function Documentation

void AIAstroPur ( char  plr  ) 

AI Wants to purchase Astronauts.

Definition at line 226 of file aipur.c.

Referenced by AIMaster().

void AIPur ( char  plr  ) 

Definition at line 635 of file aipur.c.

Referenced by AIMaster().

int AIQUnit ( short  hwx,
short  unx,
char  plr 
)

Definition at line 546 of file aipur.c.

Referenced by RDafford().

void CheckAdv ( char  plr  ) 

Definition at line 483 of file aipur.c.

Referenced by TransAstro().

int CheckMax ( char  plr,
int  m 
)

Definition at line 587 of file aipur.c.

void DrawStatistics ( char  Win  ) 

Definition at line 35 of file aipur.c.

Referenced by Stat().

void DumpAstro ( char  plr,
int  inx 
)

Definition at line 344 of file aipur.c.

Referenced by AIFuture().

int GenPur ( char  plr,
int  hwx,
int  unx 
)

Definition at line 656 of file aipur.c.

Referenced by AIMaster(), AIPur(), BoostCheck(), CheckVoting(), GetHard(), KeepRD(), MoonProgram(), NewAI(), PickModule(), Strategy_One(), Strategy_Thr(), and Strategy_Two().

void RDafford ( char  plr,
int  class,
int  index 
)

Definition at line 556 of file aipur.c.

Referenced by AIMaster(), AIPur(), BoostCheck(), CheckVoting(), GenPur(), KeepRD(), MoonProgram(), NewAI(), PickModule(), RDPrograms(), Strategy_One(), Strategy_Thr(), and Strategy_Two().

void RemoveUnhappy ( char  plr  ) 

Remove unhappy astro's.

Definition at line 511 of file aipur.c.

void SelectBest ( char  plr,
int  pos 
)

Select the best crew for the mission.

Definition at line 256 of file aipur.c.

Referenced by AIAstroPur().

char SF ( char  plr,
char  m 
)

Definition at line 605 of file aipur.c.

char Skill ( char  plr,
char  type 
)

Definition at line 365 of file aipur.c.

Referenced by TransAstro().

char SN ( char  plr,
char  m 
)

Definition at line 620 of file aipur.c.

void Stat ( char  Win  ) 

Definition at line 101 of file aipur.c.

Referenced by NewEnd().

void TransAstro ( char  plr,
int  inx 
)

Definition at line 392 of file aipur.c.

Referenced by AIFuture().


Variable Documentation

char AI[2]

Definition at line 106 of file main.c.

char AIMaxSel

Definition at line 32 of file aipur.c.

Referenced by SelectBest().

char AIsel[25]

Definition at line 32 of file aipur.c.

Referenced by SelectBest().

struct ManPool* Men

Definition at line 31 of file aipur.c.

char Obs[6]

Definition at line 32 of file aipur.c.

char Option

Definition at line 54 of file main.c.


Generated on Fri Sep 28 00:35:46 2007 for raceintospace by  doxygen 1.5.3