main.c File Reference

#include "Buzz_inc.h"
#include "options.h"
#include "utils.h"
#include "logging.h"
#include "externs.h"
#include <ctype.h>

Go to the source code of this file.

Defines

#define BSOUND   1
#define HOST   0
#define MODEM_ERROR   4
#define SLAVE   1

Functions

void Box (int x1, int y1, int x2, int y2)
int CheckIfMissionGo (char plr, char launchIdx)
 utility fn for AI to see if it should scrub the mission
void DestroyPad (char plr, char pad, int cost, char mode)
 Destroy Pad and Reset any Crews affected.
void DispBig (int x, int y, char *txt, char mode, char te)
void DispChr (char chr)
void DispMB (int x, int y, int val)
void DispNum (int xx, int yy, int num)
void DNArrow (int x1, int y1)
void DockingKludge (void)
void DrawLED (int x, int y, char st)
void DV (GXHEADER *obj)
void Flag (int x, int y, char plr)
void FlagSm (char plr, int xm, int ym)
void FreePadMen (char plr, struct MissionType *XMis)
void GetMisType (char mcode)
 Opens "MISSION.DAT" to find mission data.
void GetMouse (void)
void GetMouse_fast (void)
void Gl (int x1, int x2, int y, char t)
void GradRect (int x1, int y1, int x2, int y2, char plr)
void GV (GXHEADER *obj, int w, int h)
void InBox (int x1, int y1, int x2, int y2)
void InitData (void)
void IOBox (int x1, int y1, int x2, int y2)
 LOG_DEFAULT_CATEGORY (LOG_ROOT_CAT)
void LTArrow (int x1, int y1)
int main (int argc, char *argv[])
void MainLoop (void)
int MisRandom (void)
void OutBox (int x1, int y1, int x2, int y2)
void PauseMouse (void)
void PrintAt (int x, int y, char *s)
void PrintAtKey (int x, int y, char *s, char val)
void RectFill (int x1, int y1, int x2, int y2, char col)
void RTArrow (int x1, int y1)
void ShBox (int x1, int y1, int x2, int y2)
void UPArrow (int x1, int y1)
void VerifyCrews (char plr)
void VerifySF (char plr)
void WaitForKeyOrMouseDown (void)
void WaitForMouseUp (void)

Variables

char AI [2] = {0,0}
unsigned char AL_CALL
char BIG
 1 for fullscreen mission playback, 0 otherwise
char * buffer
unsigned char BUTLOAD
int cdROM
struct cdtable * cdt
struct PlayersData
char df
unsigned char FADE
int FadeVal
int fOFF = -1
unsigned char HARD1
int hDISK
char IDLE [2]
char IDT [5]
char IKEY [5]
int key
ui16 LetHand
unsigned char LOAD
char MAIL = -1
struct ManPoolMen
struct mStr Mis
int mousebuttons
struct Prest_Upd MP [3]
char Name [20]
char * oldpal
int oldx
int oldy
char Option = -1
struct order Order [6]
long PalOff
char plr [NUM_PLAYERS]
char pNeg [NUM_PLAYERS][MAX_MISSIONS]
unsigned char QUIT
char * S_Name []
int SEG = 15
HTIMER server
unsigned char UNIT1
GXHEADER vhptr
GXHEADER vhptr2
int x
unsigned char XMAS
long xMODE
int y


Define Documentation

#define BSOUND   1

Definition at line 99 of file main.c.

#define HOST   0

Definition at line 100 of file main.c.

#define MODEM_ERROR   4

Definition at line 102 of file main.c.

#define SLAVE   1

Definition at line 101 of file main.c.


Function Documentation

void Box ( int  x1,
int  y1,
int  x2,
int  y2 
)

Definition at line 850 of file main.c.

Referenced by DrawBudget(), DrawNews(), DrawPastExp(), DrawTopNewsBox(), IOBox(), and NFrame().

int CheckIfMissionGo ( char  plr,
char  launchIdx 
)

utility fn for AI to see if it should scrub the mission

Rules are:

Parameters:
plr Playerdata
launchIdx ID of the launch

Todo:
introduce mission attribute "manned vs. unmanned"

Definition at line 275 of file main.c.

Referenced by MainLoop().

void DestroyPad ( char  plr,
char  pad,
int  cost,
char  mode 
)

Destroy Pad and Reset any Crews affected.

Parameters:
cost amount of MB to pay for repairs
pad number of the launch facility destroyed
plr Player data
mode 0 if future mission, 1 is current mission

Definition at line 568 of file main.c.

Referenced by FailEval().

void DispBig ( int  x,
int  y,
char *  txt,
char  mode,
char  te 
)

Definition at line 704 of file main.c.

Referenced by AI_Begin(), BChoice(), CrewProb(), DamProb(), DispVAB(), DrawAstSel(), DrawBre(), DrawBudget(), DrawFuture(), DrawHardef(), DrawHPurc(), DrawIStat(), DrawLimbo(), DrawMisHist(), DrawPrefs(), DrawProgs(), DrawRD(), DrawReview(), DrawRush(), DrawStatistics(), DrawTrain(), DrawViewing(), EditAst(), EndGame(), FailureMode(), FakeWin(), Help(), Hospital(), LMBld(), LMDraw(), MChoice(), MisRev(), News(), NextTurn(), PadDraw(), PlayFirst(), Programs(), RankMe(), Records(), Request(), RequestX(), SatDraw(), ShowAstrosHist(), ShowHard(), ShowPrest(), ShowSpHist(), and SpecialEnd().

void DispChr ( char  chr  ) 

Definition at line 937 of file main.c.

Referenced by BackIntel(), Bd(), DispNum(), DrawBudget(), DrawNText(), DrawRevText(), DrawVText(), FailureMode(), FutureCheck(), MisReq(), MissionName(), Prefs(), PrintAt(), PrintAtKey(), PrintHist(), PrintOne(), SetRush(), and ShowUnit().

void DispMB ( int  x,
int  y,
int  val 
)

Definition at line 767 of file main.c.

Referenced by Admin(), DrawBudget(), DrawHPurc(), DrawRD(), DrawSpaceport(), Intel(), Museum(), and ShowUnit().

void DispNum ( int  xx,
int  yy,
int  num 
)

Definition at line 735 of file main.c.

Referenced by Admin(), AI_Begin(), AstLevel(), AstStats(), BackIntel(), BarSkill(), ChangeStat(), ClearRecord(), DispEight(), DispEight2(), DisplAst(), DisplAstData(), DispMB(), DispWts(), DPrest(), Draw_Mis_Stats(), DrawAstCheck(), DrawAstSel(), DrawBudget(), DrawHard(), DrawHardef(), DrawIStat(), DrawPastExp(), DrawProgs(), DrawRank(), DrawReview(), DrawSpaceport(), DrawStats(), DrawViewing(), Drec(), EndGame(), FailureMode(), FakeWin(), FileText(), First(), FutAstList(), FutureCheck(), GetMinus(), HInfo(), IInfo(), Intel(), LimboText(), LMBld(), MisAnn(), MisOrd(), Missions(), Moon(), Museum(), NextTurn(), OnHand(), PadDraw(), PInfo(), PlanText(), Programs(), RDButTxt(), Records(), RetFile(), SatText(), Second(), SetRush(), ShowRkt(), ShowUnit(), ShowVA(), and TrainText().

void DNArrow ( int  x1,
int  y1 
)

Definition at line 815 of file main.c.

Referenced by DrawAstSel(), DrawBottomNewsBox(), DrawBre(), DrawFuture(), DrawLimbo(), DrawNews(), DrawProgs(), DrawTrain(), DrawViewing(), EditAst(), FileAccess(), Help(), Hospital(), Records(), and ShowPrest().

void DockingKludge ( void   ) 

Definition at line 530 of file main.c.

Referenced by MainLoop().

void DrawLED ( int  x,
int  y,
char  st 
)

Definition at line 692 of file main.c.

void DV ( GXHEADER obj  ) 

Definition at line 597 of file main.c.

Referenced by AstFaces(), AstLevel(), BadFileType(), BChoice(), BigHardMe(), BudPict(), CloseAnim(), Del_RD_BUT(), DispBaby(), DispIt(), Display_ARROW(), DispRck(), DispVA(), DoPack(), DrawSpaceport(), DrawStatistics(), EndPict(), Future(), GetBlockName(), GetMse(), HardCrewAssign(), HDispIt(), Help(), HModel(), LMove(), LMPict(), Load_LenFlag(), LoserPict(), MChoice(), MisReq(), Moon(), NewEnd(), PadPict(), PatchMe(), PlaceEquip(), PortPlace(), Prefs(), PresPict(), Request(), RequestX(), SatDraw(), ShowAstrosHist(), SmHardMe(), SMove(), SpotCrap(), TopSecret(), and WaveFlagDel().

void Flag ( int  x,
int  y,
char  plr 
)

Definition at line 903 of file main.c.

Referenced by DamProb(), DrawBudget(), DrawStatistics(), and MisAnn().

void FlagSm ( char  plr,
int  xm,
int  ym 
)

Definition at line 868 of file main.c.

Referenced by DispVAB(), DPrest(), DrawAstCheck(), DrawAstSel(), DrawBre(), DrawFuture(), DrawHardef(), DrawHPurc(), DrawIStat(), DrawLimbo(), DrawProgs(), DrawRank(), DrawRD(), DrawReview(), DrawRush(), DrawTrain(), DrawViewing(), Drec(), EditAst(), EndGame(), FailureMode(), FakeWin(), Hospital(), LMDraw(), MisOrd(), MisRev(), Moon(), PadDraw(), SatDraw(), ShowAstrosHist(), ShowSpHist(), and SpecialEnd().

void FreePadMen ( char  plr,
struct MissionType XMis 
)

Definition at line 542 of file main.c.

Referenced by DestroyPad().

void GetMisType ( char  mcode  ) 

Opens "MISSION.DAT" to find mission data.

Parameters:
mcode Code of the mission - works as index for the file
Todo:
This is highly coupled to game logic and size of internal structures.

Todo:
Missing assert for opening file?

Definition at line 1071 of file main.c.

Referenced by AIFuture(), AIVabCheck(), AllotPrest(), BuildVAB(), DisplAstData(), DispVAB(), Draw_Mis_Stats(), DrawHard(), DrawRush(), DrawViewing(), FutureCheck(), HardRequest(), Master(), MisAnn(), MissionCodes(), MissionName(), MissionSetup(), NewAI(), REvent(), Rush(), Scheduler(), SecondHard(), U_AllotPrest(), and XSpec().

void GetMouse ( void   ) 

Definition at line 604 of file main.c.

Referenced by AsnCrew(), AstLevel(), AstSel(), Bre(), Budget(), Burst(), ChangeStat(), Credits(), CrewProb(), DamProb(), Draw_Mis_Stats(), EditAst(), EndGame(), FailureMode(), FakeWin(), FileAccess(), FutBad(), Future(), FutureCheck(), HardRequest(), Help(), Hospital(), HPurc(), IStat(), Limbo(), LMBld(), MainLoop(), MChoice(), MisAnn(), MisReq(), Moon(), NewEnd(), PauseMouse(), Prefs(), Programs(), RankMe(), RD(), Records(), Request(), RequestX(), Review(), Rush(), SatBld(), SecondHard(), ShowAstrosHist(), ShowHard(), ShowPad(), ShowPrest(), ShowSpHist(), SpecialEnd(), Stat(), Train(), VAB(), Viewing(), WaitForKeyOrMouseDown(), and WaitForMouseUp().

void GetMouse_fast ( void   ) 

Definition at line 612 of file main.c.

Referenced by Burst(), GetMouse(), GetMse(), and News().

void Gl ( int  x1,
int  x2,
int  y,
char  t 
)

Definition at line 775 of file main.c.

void GradRect ( int  x1,
int  y1,
int  x2,
int  y2,
char  plr 
)

Definition at line 856 of file main.c.

Referenced by DisplAst(), DrawBudget(), DrawHardef(), DrawIStat(), DrawReview(), HInfo(), IInfo(), PInfo(), and ShowHard().

void GV ( GXHEADER obj,
int  w,
int  h 
)

Definition at line 592 of file main.c.

Referenced by AstFaces(), AstLevel(), BadFileType(), BChoice(), BigHardMe(), BudPict(), DispBaby(), DispIt(), Display_ARROW(), DispRck(), DispVA(), DoPack(), DrawSpaceport(), DrawStatistics(), EndPict(), Future(), GetBlockName(), GetMse(), HardCrewAssign(), HDispIt(), Help(), HModel(), LMove(), LMPict(), Load_LenFlag(), Load_RD_BUT(), LoserPict(), MChoice(), MisReq(), Moon(), NewEnd(), OpenAnim(), OpenEmUp(), PadPict(), PatchMe(), PlaceEquip(), PortPlace(), Prefs(), PresPict(), Request(), RequestX(), SatDraw(), ShowAstrosHist(), SmHardMe(), SMove(), SpotCrap(), TopSecret(), and WaveFlagSetup().

void InBox ( int  x1,
int  y1,
int  x2,
int  y2 
)

Definition at line 822 of file main.c.

Referenced by AsnCrew(), AstLevel(), AstSel(), Bad(), BadFileType(), BButs(), BChoice(), Bre(), Budget(), ChangeStat(), CrewProb(), DamProb(), DispVAB(), Draw_Mis_Stats(), Draw_NewEnd(), DrawAstCheck(), DrawAstSel(), DrawBottomNewsBox(), DrawBre(), DrawBudget(), DrawFuture(), DrawHard(), DrawHardef(), DrawHPurc(), DrawIStat(), DrawLimbo(), DrawNews(), DrawPastExp(), DrawPrefs(), DrawProgs(), DrawRank(), DrawRD(), DrawReview(), DrawRush(), DrawStatistics(), DrawTopNewsBox(), DrawTrain(), DrawViewing(), Drec(), EditAst(), EndGame(), FailureMode(), FakeWin(), FileAccess(), Flts(), FutBad(), Future(), FutureCheck(), GetBlockName(), HardRequest(), Help(), Hospital(), HPurc(), InRFBox(), IOBox(), IStat(), Limbo(), LMBld(), LMDraw(), ManSel(), MChoice(), MisAnn(), MisOrd(), MisReq(), MisRev(), Moon(), NewEnd(), News(), NFrame(), PadDraw(), PlayFirst(), Prefs(), Programs(), QUnit(), RD(), ReButs(), Records(), Request(), RequestX(), Review(), Rush(), SatBld(), SatDraw(), SecondHard(), SetRush(), ShowAstrosHist(), ShowHard(), ShowPad(), ShowPrest(), ShowSpHist(), SpecialEnd(), Stat(), Train(), VAB(), and Viewing().

void InitData ( void   ) 

Definition at line 324 of file main.c.

Referenced by main().

void IOBox ( int  x1,
int  y1,
int  x2,
int  y2 
)

Definition at line 836 of file main.c.

Referenced by AsnCrew(), ChangeStat(), CrewProb(), DamProb(), DispVAB(), Draw_Mis_Stats(), Draw_NewEnd(), DrawAstCheck(), DrawAstSel(), DrawBre(), DrawBudget(), DrawFuture(), DrawHard(), DrawHardef(), DrawHPurc(), DrawIStat(), DrawLimbo(), DrawNews(), DrawPrefs(), DrawProgs(), DrawRD(), DrawReview(), DrawRush(), DrawStatistics(), DrawTopNewsBox(), DrawTrain(), DrawViewing(), EditAst(), EndGame(), FailureMode(), FakeWin(), FileAccess(), FutBad(), FutureCheck(), HardRequest(), Help(), Hospital(), LMDraw(), MisAnn(), MisReq(), MisRev(), Moon(), News(), PadDraw(), Programs(), Records(), Request(), RequestX(), SatDraw(), SecondHard(), ShowPrest(), ShowSpHist(), and SpecialEnd().

LOG_DEFAULT_CATEGORY ( LOG_ROOT_CAT   ) 

void LTArrow ( int  x1,
int  y1 
)

Definition at line 808 of file main.c.

Referenced by DrawHPurc(), DrawRD(), and DrawViewing().

int main ( int  argc,
char *  argv[] 
)

Definition at line 116 of file main.c.

void MainLoop ( void   ) 

Definition at line 336 of file main.c.

Referenced by main().

int MisRandom ( void   ) 

Definition at line 1082 of file main.c.

Referenced by MisCheck(), and MissionSteps().

void OutBox ( int  x1,
int  y1,
int  x2,
int  y2 
)

Definition at line 829 of file main.c.

Referenced by AsnCrew(), AstSel(), BButs(), Bre(), Budget(), ChangeStat(), Draw_Mis_Stats(), DrawFuture(), DrawHPurc(), DrawLimbo(), DrawNews(), DrawPrefs(), DrawRD(), DrawRush(), DrawStatistics(), DrawTopNewsBox(), EditAst(), EndGame(), FailureMode(), FakeWin(), FileAccess(), Flts(), Future(), Help(), Hospital(), HPurc(), IOBox(), IStat(), Limbo(), ManSel(), MisAnn(), NewEnd(), News(), NFrame(), Prefs(), Programs(), QUnit(), RD(), ReButs(), Records(), ResetRush(), Rush(), SatBld(), ShBox(), ShowAstrosHist(), ShowHard(), ShowPad(), ShowPrest(), ShowSpHist(), Stat(), Train(), VAB(), and Viewing().

void PauseMouse ( void   ) 

Definition at line 661 of file main.c.

Referenced by BadFileType(), Introd(), and PlayFirst().

void PrintAt ( int  x,
int  y,
char *  s 
)

Definition at line 672 of file main.c.

Referenced by Admin(), AI_Begin(), AsnCrew(), AstLevel(), AstNames(), AstStats(), BackIntel(), Bad(), BadFileType(), BarSkill(), ChangeStat(), Credits(), CrewProb(), DamProb(), DispEight(), DispEight2(), DispHelp(), DisplAst(), DisplAstData(), DispLeft(), DispLoc(), DispMB(), DispNum(), DispVAB(), DispWts(), DPrest(), Draw_Mis_Stats(), Draw_NewEnd(), DrawAstCheck(), DrawAstSel(), DrawBre(), DrawBudget(), DrawFiles(), DrawFuture(), DrawHard(), DrawHardef(), DrawHPurc(), DrawIStat(), DrawLimbo(), DrawMisHist(), DrawNews(), DrawPastExp(), DrawPosition(), DrawPrefs(), DrawProgs(), DrawRank(), DrawRD(), DrawReview(), DrawRush(), DrawSpaceport(), DrawStatistics(), DrawStats(), DrawTopNewsBox(), DrawTrain(), DrawViewing(), Drec(), DurPri(), EditAst(), EndGame(), FailureMode(), FakeWin(), FileAccess(), FileText(), First(), FltsTxt(), FutAstList(), FutBad(), FutFltsTxt(), FutSt2(), FutureCheck(), GetBlockName(), GetMinus(), GuyDisp(), Help(), HModel(), Hospital(), IInfo(), Intel(), Limbo(), LimboText(), LMBld(), LMDraw(), MisAnn(), MisCheck(), MisOrd(), MisReq(), MisRev(), Missions(), Moon(), Museum(), News(), NextTurn(), OnHand(), PadDraw(), PlanText(), PlayFirst(), PortText(), Prefs(), PrintAtKey(), Programs(), RankMe(), RDButTxt(), Records(), Request(), RequestX(), RetFile(), Rush(), SatDraw(), SatText(), Second(), SetRush(), ShowAstrosHist(), ShowHard(), ShowPrest(), ShowRkt(), ShowSpHist(), ShowUnit(), ShowVA(), Special(), SpecialEnd(), SRPrintAt(), TrainText(), and XSpec().

void PrintAtKey ( int  x,
int  y,
char *  s,
char  val 
)

Definition at line 683 of file main.c.

Referenced by FileAccess().

void RectFill ( int  x1,
int  y1,
int  x2,
int  y2,
char  col 
)

Definition at line 843 of file main.c.

Referenced by Admin(), AsnCrew(), AstLevel(), AstNames(), AstSel(), BadFileType(), Bd(), Bre(), ChangeStat(), Clear(), ClearIt(), ClearRecord(), ClearRX(), CrewProb(), DispEight(), DispEight2(), DispHelp(), DisplAst(), DisplAstData(), DispRck(), DispVA(), DispVAB(), DispWts(), DPrest(), Draw_Mis_Stats(), DrawAstCheck(), DrawAstSel(), DrawBottomNewsBox(), DrawBre(), DrawBudget(), DrawFuture(), DrawHard(), DrawHardef(), DrawHPurc(), DrawLimbo(), DrawMisHist(), DrawNews(), DrawNText(), DrawPastExp(), DrawPrefs(), DrawProgs(), DrawRD(), DrawReview(), DrawStats(), DrawTopNewsBox(), DrawTrain(), DrawViewing(), DrawVText(), Drec(), EditAst(), EndGame(), FakeWin(), FileAccess(), FileText(), Flag(), FlagSm(), FutAstList(), FutSt2(), FutureCheck(), GetBlockName(), GetMinus(), GradRect(), GradRect2(), Help(), HInfo(), HModel(), Hospital(), IInfo(), InRFBox(), Intel(), Limbo(), LimboText(), LMDraw(), MCGraph(), MisCheck(), Missions(), Moon(), Museum(), NewAstList(), NewEnd(), News(), PadDraw(), PInfo(), PlaceRX(), PlanText(), PlayFirst(), PortText(), Prefs(), Programs(), RankMe(), RDButTxt(), Records(), RetFile(), Rush(), SatDraw(), SetRush(), ShBox(), ShowAstrosHist(), ShowHard(), ShowPrest(), ShowRkt(), ShowUnit(), ShowVA(), SpecialEnd(), Train(), and TrainText().

void RTArrow ( int  x1,
int  y1 
)

Definition at line 801 of file main.c.

Referenced by DrawHPurc(), DrawRD(), and DrawViewing().

void ShBox ( int  x1,
int  y1,
int  x2,
int  y2 
)

Definition at line 787 of file main.c.

Referenced by AI_Begin(), AsnCrew(), AstLevel(), AstSel(), Bad(), BadFileType(), BCDraw(), ClearRecord(), CrewProb(), DamProb(), DispVAB(), Draw_Mis_Stats(), Draw_NewEnd(), DrawAstCheck(), DrawAstSel(), DrawBottomNewsBox(), DrawBre(), DrawBudget(), DrawFuture(), DrawHard(), DrawHardef(), DrawHPurc(), DrawIStat(), DrawLimbo(), DrawNews(), DrawPrefs(), DrawProgs(), DrawRD(), DrawReview(), DrawRush(), DrawSpaceport(), DrawStatistics(), DrawTopNewsBox(), DrawTrain(), DrawViewing(), Drec(), EditAst(), EndGame(), FailureMode(), FakeWin(), FileAccess(), FutBad(), Future(), FutureCheck(), GetBlockName(), Help(), Hospital(), Limbo(), LMBld(), LMDraw(), MChoice(), MisAnn(), MisOrd(), MisReq(), MisRev(), Moon(), NewEnd(), News(), NextTurn(), PadDraw(), PlayFirst(), Programs(), RankMe(), Records(), Request(), RequestX(), SatDraw(), ShowAstrosHist(), ShowPrest(), SpecialEnd(), and Train().

void UPArrow ( int  x1,
int  y1 
)

Definition at line 794 of file main.c.

Referenced by DrawAstSel(), DrawBottomNewsBox(), DrawBre(), DrawFuture(), DrawLimbo(), DrawNews(), DrawProgs(), DrawTrain(), DrawViewing(), EditAst(), FileAccess(), Help(), Hospital(), Records(), and ShowPrest().

void VerifyCrews ( char  plr  ) 

Definition at line 1040 of file main.c.

Referenced by MainLoop().

void VerifySF ( char  plr  ) 

Definition at line 1028 of file main.c.

Referenced by FailEval(), MainLoop(), and MissionSetDown().

void WaitForKeyOrMouseDown ( void   ) 

Definition at line 653 of file main.c.

Referenced by MisOrd(), and NextTurn().

void WaitForMouseUp ( void   ) 

Definition at line 646 of file main.c.

Referenced by Admin(), AsnCrew(), AstLevel(), AstSel(), BChoice(), Bre(), Budget(), ChangeStat(), CrewProb(), DamProb(), Draw_Mis_Stats(), EditAst(), EndGame(), FailureMode(), FakeWin(), FileAccess(), FutBad(), Future(), FutureCheck(), HardRequest(), Help(), Hospital(), HPurc(), IStat(), Limbo(), LMBld(), MChoice(), MisAnn(), MisOrd(), Moon(), NewEnd(), News(), NextTurn(), Prefs(), Programs(), RankMe(), RD(), Records(), Replay(), RequestX(), Review(), Rush(), SatBld(), SecondHard(), ShowAstrosHist(), ShowHard(), ShowPad(), ShowPrest(), ShowSpHist(), SpecialEnd(), Stat(), Train(), VAB(), and Viewing().


Variable Documentation

char AI[2] = {0,0}

Definition at line 106 of file main.c.

unsigned char AL_CALL

Definition at line 47 of file main.c.

Referenced by GetMouse_fast(), and Help().

char BIG

1 for fullscreen mission playback, 0 otherwise

Definition at line 61 of file main.c.

Referenced by Launch(), MisAnn(), MisCheck(), and PlaySequence().

char* buffer

Definition at line 49 of file main.c.

unsigned char BUTLOAD

Definition at line 47 of file main.c.

Referenced by Del_RD_BUT(), Load_RD_BUT(), and main().

int cdROM

Definition at line 42 of file main.c.

struct cdtable* cdt

Definition at line 58 of file main.c.

struct Players* Data

Definition at line 45 of file main.c.

char df

Definition at line 48 of file main.c.

Referenced by main().

unsigned char FADE

Definition at line 47 of file main.c.

int FadeVal

Definition at line 55 of file main.c.

int fOFF = -1

Definition at line 55 of file main.c.

unsigned char HARD1

Definition at line 47 of file main.c.

Referenced by HPurc(), main(), and RD().

int hDISK

Definition at line 42 of file main.c.

char IDLE[2]

Definition at line 48 of file main.c.

Referenced by main(), and MainLoop().

char IDT[5]

Definition at line 48 of file main.c.

char IKEY[5]

Definition at line 48 of file main.c.

int key

Definition at line 46 of file main.c.

ui16 LetHand

Definition at line 60 of file main.c.

unsigned char LOAD

Definition at line 47 of file main.c.

char MAIL = -1

Definition at line 54 of file main.c.

struct ManPool* Men

Definition at line 31 of file aipur.c.

struct mStr Mis

Definition at line 33 of file mc.c.

int mousebuttons

Definition at line 46 of file main.c.

struct Prest_Upd MP[3]

Definition at line 29 of file pace.c.

Referenced by PrestNeg(), and Set_Goal().

char Name[20]

Definition at line 44 of file main.c.

char* oldpal

Definition at line 51 of file main.c.

int oldx

Definition at line 46 of file main.c.

Referenced by drawBspline(), and GetMouse_fast().

int oldy

Definition at line 46 of file main.c.

Referenced by drawBspline(), and GetMouse_fast().

char Option = -1

Definition at line 54 of file main.c.

struct order Order[6]

Definition at line 25 of file newmis.c.

Referenced by MainLoop(), MisOrd(), and OrderMissions().

long PalOff

Definition at line 59 of file main.c.

char plr[NUM_PLAYERS]

Definition at line 48 of file main.c.

char pNeg[NUM_PLAYERS][MAX_MISSIONS]

Definition at line 51 of file main.c.

Referenced by Launch(), Rush(), UpdAll(), and Update().

unsigned char QUIT

Definition at line 47 of file main.c.

char* S_Name[]

Definition at line 63 of file main.c.

int SEG = 15

Definition at line 55 of file main.c.

HTIMER server

Definition at line 53 of file main.c.

unsigned char UNIT1

Definition at line 47 of file main.c.

Referenced by HPurc(), main(), and RD().

GXHEADER vhptr

Definition at line 50 of file main.c.

GXHEADER vhptr2

Definition at line 50 of file main.c.

int x

Definition at line 46 of file main.c.

unsigned char XMAS

Definition at line 47 of file main.c.

long xMODE

Definition at line 52 of file main.c.

int y

Definition at line 46 of file main.c.


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