records.h File Reference

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

Go to the source code of this file.

Data Structures

struct  Record_Entry

Defines

#define DIRECT_ASCENT   54
#define EARLIEST_DIRECT_ASCENT_LANDING   48
#define EARLIEST_EOR_LANDING   47
#define EARLIEST_HISTORICAL_LANDING   49
#define EARLIEST_LOR_LANDING   46
#define EOR   53
#define FEWEST_CASUALTIES   22
#define FEWEST_MISSIONS_IN_GAME   31
#define FIRST_DOCKING   26
#define FIRST_MANNED_DOCKING   27
#define FIRST_ORBITAL_LABORATORY   28
#define GREATEST_PRESTIGE_TOTAL   45
#define HIGHEST_AVERAGE_BUDGET   43
#define HIGHEST_PRESTIGE_POINTS_FEMALE   38
#define HIGHEST_PRESTIGE_POINTS_MALE   37
#define HIGHEST_RATING   42
#define HIGHEST_SAFETY_AVERAGE   24
#define HISTORICAL   55
#define LONGEST_MISSION_DURATION_   29
#define LONGEST_TERM_OF_DUTY   41
#define LOR   52
#define LOWEST_AVERAGE_BUDGET   44
#define LOWEST_SAFETY_AVERAGE   25
#define LUNAR_PROBE_LANDING   12
#define MAN_IN_SPACE   1
#define MANNED_LUNAR_LANDING   21
#define MANNED_LUNAR_ORBIT   20
#define MANNED_LUNAR_PASS   19
#define MOST_CASUALTIES   23
#define MOST_DAYS_IN_SPACE_FEMALE   40
#define MOST_DAYS_IN_SPACE_MALE   39
#define MOST_MISSIONS_IN_GAME   32
#define MOST_SPACE_MISSIONS_ATTEMPTED   33
#define MOST_SPACE_MISSIONS_FEMALE   36
#define MOST_SPACE_MISSIONS_MALE   35
#define MOST_SUCCESSFUL_SPACE_MISSIONS   34
#define NOT_SET   -1
#define ORBITAL_SATELLITE   0
#define PERSON_IN_ORBIT   3
#define SOVIET_UNION   51
#define SPACECRAFT_PRESTIGE_POINTS   18
#define SPACEWALK_FEMALE   5
#define SPACEWALK_MALE   4
#define UNITED_STATES   50
#define USA   0
#define USSR   1
#define WOMAN_IN_SPACE   2

Functions

void Back1rec (char *, char *)
char CheckSucess (int, int)
void ClearRecord (char *)
void Drec (char *, char *, char)
void For1rec (char *, char *)
void MakeRecords (void)
void Move2rec (char *, char *, char)
void Records (char)
void SafetyRecords (char, int)
void SwapRec (int, int, int)
void UpdateRecords (char)
void WriteRecord (int, int, int, int)

Variables

char * Months [12]
int Pict [56]
Record_Entry rec [56][3]
char * Record_Names [56]


Define Documentation

#define DIRECT_ASCENT   54

Definition at line 109 of file records.h.

#define EARLIEST_DIRECT_ASCENT_LANDING   48

Definition at line 103 of file records.h.

#define EARLIEST_EOR_LANDING   47

Definition at line 102 of file records.h.

#define EARLIEST_HISTORICAL_LANDING   49

Definition at line 104 of file records.h.

#define EARLIEST_LOR_LANDING   46

Definition at line 101 of file records.h.

#define EOR   53

Definition at line 108 of file records.h.

#define FEWEST_CASUALTIES   22

Definition at line 77 of file records.h.

#define FEWEST_MISSIONS_IN_GAME   31

Definition at line 86 of file records.h.

#define FIRST_DOCKING   26

Definition at line 81 of file records.h.

#define FIRST_MANNED_DOCKING   27

Definition at line 82 of file records.h.

#define FIRST_ORBITAL_LABORATORY   28

Definition at line 83 of file records.h.

#define GREATEST_PRESTIGE_TOTAL   45

Definition at line 100 of file records.h.

#define HIGHEST_AVERAGE_BUDGET   43

Definition at line 98 of file records.h.

#define HIGHEST_PRESTIGE_POINTS_FEMALE   38

Definition at line 93 of file records.h.

#define HIGHEST_PRESTIGE_POINTS_MALE   37

Definition at line 92 of file records.h.

#define HIGHEST_RATING   42

Definition at line 97 of file records.h.

#define HIGHEST_SAFETY_AVERAGE   24

Definition at line 79 of file records.h.

#define HISTORICAL   55

Definition at line 110 of file records.h.

#define LONGEST_MISSION_DURATION_   29

Definition at line 84 of file records.h.

#define LONGEST_TERM_OF_DUTY   41

Definition at line 96 of file records.h.

#define LOR   52

Definition at line 107 of file records.h.

#define LOWEST_AVERAGE_BUDGET   44

Definition at line 99 of file records.h.

#define LOWEST_SAFETY_AVERAGE   25

Definition at line 80 of file records.h.

#define LUNAR_PROBE_LANDING   12

Definition at line 67 of file records.h.

#define MAN_IN_SPACE   1

Definition at line 56 of file records.h.

#define MANNED_LUNAR_LANDING   21

Definition at line 76 of file records.h.

#define MANNED_LUNAR_ORBIT   20

Definition at line 75 of file records.h.

#define MANNED_LUNAR_PASS   19

Definition at line 74 of file records.h.

#define MOST_CASUALTIES   23

Definition at line 78 of file records.h.

#define MOST_DAYS_IN_SPACE_FEMALE   40

Definition at line 95 of file records.h.

#define MOST_DAYS_IN_SPACE_MALE   39

Definition at line 94 of file records.h.

#define MOST_MISSIONS_IN_GAME   32

Definition at line 87 of file records.h.

#define MOST_SPACE_MISSIONS_ATTEMPTED   33

Definition at line 88 of file records.h.

#define MOST_SPACE_MISSIONS_FEMALE   36

Definition at line 91 of file records.h.

#define MOST_SPACE_MISSIONS_MALE   35

Definition at line 90 of file records.h.

#define MOST_SUCCESSFUL_SPACE_MISSIONS   34

Definition at line 89 of file records.h.

#define NOT_SET   -1

Definition at line 54 of file records.h.

Referenced by Drec().

#define ORBITAL_SATELLITE   0

Definition at line 55 of file records.h.

#define PERSON_IN_ORBIT   3

Definition at line 58 of file records.h.

#define SOVIET_UNION   51

Definition at line 106 of file records.h.

#define SPACECRAFT_PRESTIGE_POINTS   18

Definition at line 73 of file records.h.

#define SPACEWALK_FEMALE   5

Definition at line 60 of file records.h.

#define SPACEWALK_MALE   4

Definition at line 59 of file records.h.

#define UNITED_STATES   50

Definition at line 105 of file records.h.

#define USA   0

Definition at line 52 of file records.h.

#define USSR   1

Definition at line 53 of file records.h.

#define WOMAN_IN_SPACE   2

Definition at line 57 of file records.h.


Function Documentation

void Back1rec ( char *  ,
char *   
)

Definition at line 168 of file records.c.

References Drec().

char CheckSucess ( int  ,
int   
)

Definition at line 376 of file records.c.

References Data, PastInfo::Duration, PastInfo::Event, BuzzData::History, Players::P, and PastInfo::spResult.

void ClearRecord ( char *   ) 

Definition at line 136 of file records.c.

References DispNum(), grSetColor(), Help(), NREC, rec, RectFill(), ShBox(), and sOpen().

void Drec ( char *  ,
char *  ,
char   
)

Definition at line 188 of file records.c.

References Record_Entry::country, Data, DispBaby(), DispNum(), FlagSm(), grSetColor(), InBox(), BuzzData::Manned, Months, Equipment::Name, name, NOT_SET, NREC, Players::P, Pict, PrintAt(), Record_Entry::program, rec, Record_Names, RectFill(), ShBox(), and type.

void For1rec ( char *  ,
char *   
)

Definition at line 177 of file records.c.

References Drec().

void MakeRecords ( void   ) 

Definition at line 40 of file records.c.

References Record_Entry::country, CRITICAL1, Record_Entry::month, Record_Entry::place, Record_Entry::program, rec, sOpen(), Record_Entry::tag, Record_Entry::type, and Record_Entry::yr.

void Move2rec ( char *  ,
char *  ,
char   
)

Definition at line 130 of file records.c.

References Drec().

void Records ( char   ) 

Definition at line 67 of file records.c.

References Back1rec(), Button2, ClearRecord(), delay(), DispBig(), DispNum(), DNArrow(), Drec(), FadeIn(), FadeOut(), For1rec(), GetMouse(), grSetColor(), gxClearDisplay(), InBox(), IOBox(), K_ENTER, key, Move2rec(), OutBox(), pal, pButton, PortPal(), PrintAt(), rec, RectFill(), ShBox(), sOpen(), UPArrow(), WaitForMouseUp(), x, and y.

void SafetyRecords ( char  ,
int   
)

Definition at line 385 of file records.c.

References fin, place, rec, sOpen(), SwapRec(), and WriteRecord().

void SwapRec ( int  ,
int  ,
int   
)

Definition at line 353 of file records.c.

References Record_Entry::country, Record_Entry::month, name, NREC, Record_Entry::program, rec, Record_Entry::tag, and Record_Entry::yr.

void UpdateRecords ( char   ) 

Definition at line 435 of file records.c.

References Astros::Active, AI, BuzzData::AstroCount, BuzzData::BudgetHistory, buffer, CalcScore(), CheckSucess(), Data, Astros::Days, Players::Def, PastInfo::Duration, mStr::EVA, PastInfo::Hard, BuzzData::History, ISDOCK(), Defl::Lev1, Defl::Lev2, PastInfo::Man, max, PastInfo::MissionCode, Astros::Missions, MLL, NREC, NUM_PLAYERS, Players::P, BuzzData::PastMis, PrestType::Place, place, BuzzData::Pool, Players::Prestige, Astros::Prestige, PastInfo::Prestige, program, rec, RecChange(), Astros::Sex, sOpen(), Astros::Status, SwapRec(), and WriteRecord().

void WriteRecord ( int  ,
int  ,
int  ,
int   
)

Definition at line 321 of file records.c.

References Record_Entry::country, Data, BuzzData::History, PastInfo::MissionCode, PastInfo::MissionYear, PastInfo::Month, Record_Entry::month, BuzzData::Name, name, Astros::Name, NREC, Players::P, Record_Entry::place, BuzzData::Pool, Record_Entry::program, rec, Record_Entry::tag, type, and Record_Entry::yr.


Variable Documentation

char* Months[12]

Initial value:

{ "JAN","FEB","MAR","APR","MAY","JUN",
   "JUL","AUG","SEP","OCT","NOV","DEC"}

Definition at line 182 of file records.h.

Referenced by DrawViewing(), and Drec().

int Pict[56]

Initial value:

 {
411,2,1,177,272,275,409,501,504,507,414, 
497,476,571,162,210,574,185,506,180,181, 
496,530,521,286,325,495,172,537,441,404, 
326,572,324,301,3,17,4,18,22,19,
295,296,262,78,282,400,309,322,308,285,
317,247,239,322,291
}

Definition at line 113 of file records.h.

Referenced by Drec().

Record_Entry rec[56][3]

Definition at line 48 of file records.h.

Referenced by ClearRecord(), Drec(), MakeRecords(), RecChange(), Records(), SafetyRecords(), SwapRec(), UpdateRecords(), and WriteRecord().

char* Record_Names[56]

Definition at line 122 of file records.h.

Referenced by Drec().


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