admin.c File Reference


Detailed Description

Responsible for the Administration office.

Definition in file admin.c.

#include "Buzz_inc.h"
#include "externs.h"
#include "av.h"
#include "utils.h"
#include "logging.h"

Go to the source code of this file.

Defines

#define MODEM_ERROR   4
#define NO   0
#define NOTSAME   2
#define SAME_ABORT   0
#define SAME_REPLACE   1
#define YES   1

Functions

void Admin (char plr)
void BadFileType (void)
void DrawFiles (char now, char loc, char tFiles)
void EndOfTurnSave (char *inData, int dataLen)
void FileAccess (char mode)
void FileText (char *name)
int FutureCheck (char plr, char type)
int GenerateTables (SaveGameType saveType)
char GetBlockName (char *Nam)
 LOG_DEFAULT_CATEGORY (LOG_ROOT_CAT)
char RequestX (char *s, char md)
void save_game (char *name)
void SaveMail (void)

Variables

SFInfoFList
int fOFF
char MAIL
struct mStr Mis
char Option
SaveFileHdrSaveHdr
char Sounds


Define Documentation

#define MODEM_ERROR   4

Definition at line 36 of file admin.c.

Referenced by FileAccess().

#define NO   0

Definition at line 41 of file admin.c.

Referenced by main().

#define NOTSAME   2

Definition at line 37 of file admin.c.

Referenced by FileAccess(), and SaveMail().

#define SAME_ABORT   0

Definition at line 39 of file admin.c.

Referenced by FileAccess(), and SaveMail().

#define SAME_REPLACE   1

Definition at line 38 of file admin.c.

#define YES   1

Definition at line 40 of file admin.c.

Referenced by FileAccess(), main(), and SaveMail().


Function Documentation

void Admin ( char  plr  ) 

Definition at line 53 of file admin.c.

Referenced by PortSel().

void BadFileType ( void   ) 

Definition at line 993 of file admin.c.

Referenced by FileAccess().

void DrawFiles ( char  now,
char  loc,
char  tFiles 
)

Definition at line 977 of file admin.c.

Referenced by FileAccess().

void EndOfTurnSave ( char *  inData,
int  dataLen 
)

Definition at line 1365 of file admin.c.

Referenced by FileAccess(), MainLoop(), save_game(), and SaveMail().

void FileAccess ( char  mode  ) 

Definition at line 215 of file admin.c.

Referenced by Admin(), and main().

void FileText ( char *  name  ) 

Definition at line 1008 of file admin.c.

Referenced by FileAccess().

int FutureCheck ( char  plr,
char  type 
)

Definition at line 1064 of file admin.c.

Referenced by Future(), and VAB().

int GenerateTables ( SaveGameType  saveType  ) 

Note:
old code lacked parans, so pointed FList off into space - pace

Definition at line 139 of file admin.c.

Referenced by FileAccess(), and SaveMail().

char GetBlockName ( char *  Nam  ) 

Definition at line 921 of file admin.c.

Referenced by FileAccess().

LOG_DEFAULT_CATEGORY ( LOG_ROOT_CAT   ) 

char RequestX ( char *  s,
char  md 
)

Definition at line 1220 of file admin.c.

Referenced by FileAccess().

void save_game ( char *  name  ) 

Definition at line 837 of file admin.c.

Referenced by Port().

void SaveMail ( void   ) 

Definition at line 1268 of file admin.c.


Variable Documentation

SFInfo* FList

Definition at line 49 of file admin.c.

int fOFF

Definition at line 55 of file main.c.

Referenced by FileAccess(), and SaveMail().

char MAIL

Definition at line 54 of file main.c.

Referenced by AstroTurn(), Draw_Mis_Stats(), EndGame(), FileAccess(), main(), OrderMissions(), PlayFirst(), SaveMail(), and Set_Goal().

struct mStr Mis

Definition at line 33 of file mc.c.

Referenced by AIFuture(), AIVabCheck(), BuildVAB(), DisplAstData(), DispVAB(), Draw_Mis_Stats(), DrawHard(), DrawRush(), DrawViewing(), Future(), FutureCheck(), GetMisType(), HardRequest(), Launch(), Master(), MisAnn(), MisCheck(), MisDur(), MissionCodes(), MissionName(), Missions(), MissionSetup(), MissionSteps(), NewAI(), PrestCheck(), PrestMin(), REvent(), Rush(), Scheduler(), SecondHard(), SetParameters(), VAB(), and XSpec().

char Option

Definition at line 54 of file main.c.

Referenced by Draw_Mis_Stats(), DrawRank(), EndGame(), FileAccess(), main(), OpenNews(), OrderMissions(), PlayFirst(), PortSel(), PrestNeg(), RankMe(), Set_Goal(), and Stat().

SaveFileHdr* SaveHdr

Definition at line 48 of file admin.c.

char Sounds


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