76 if (face >= 0 && face <= 7)
78 else if ((face > 7 && face < 12) || face == 13)
96 for (choice = 0; choice < 7; choice++) {
296 "VID-COM SYSTEM\n\nTo: ");
302 }
else if (rating < 8) {
479 while ((marker =
DosStrchr(text,
'$')) != 0) {
481 while (marker != text)
482 *destination++ = *text++;
560 sprintf(text,
"%s: %Fs",
566 sprintf(text,
"%s: %Fs",
571 sprintf(text,
"%s: %Fs",
static const char * apszCommMenuText[13]
static signed char cPendingCommMenuAction
unsigned char cYellowColour
signed char acShipRating[16]
short anShipMissionShips[16]
TextContext stRightVduTxtContext
unsigned char bCommVideoEnabled
struct Shape * pConfedCommBackground
Viewport stRightVduViewport
struct Shape * pCommMenuPointerShape
ObjectTypeData aObjectTypeData[OBJECT_TYPE_COUNT]
char szHudMessageBuf[0x60]
ShortVector stRotationInput
char szTxtWorkspaceBuffer[256]
signed char acShipIonDriveDmg[16]
short asShipWpnEnergyList[10]
char * pszPendingHudMessage
unsigned char bVideoImagesSuppressed
enum ShipObjective aeShipObjectiveList[12]
enum ObjectClass aeObjectClass[SPACE_OBJECT_COUNT]
short aasShipArmor[10][4]
signed char acFormationMemberLists[16]
signed char abCommMenuChoiceCommands[7]
short asCannedCommands[16]
char szCommMenuHeadingBuf[0x40]
const char * apszKilrathiAceNames[4]
struct Shape * pCommStaticShape
PilotRecord * apWingmanPilotsList[8]
short asShipWingLeaderArray[16]
CampaignState stCampaignState
unsigned char bLandingAuthorized
short nCommMenuChoiceCount
struct Shape * apObjShapeArray[SPACE_OBJECT_COUNT]
struct Shape * pKilrathiCommBackground
const char * pszCommMenuHeading
enum ObjectType aeObjectTypeList[SPACE_OBJECT_COUNT]
unsigned char bMessageSpeed
signed char cCommMenuRecipient
unsigned char bRadioSilence
const char * apszCommMenuChoiceTextTable[7]
signed char acShipTargetTable[16]
struct Shape * apCommunicationPortraitShapesTable[16]
const char * apszPilotRankNames[5]
char * aapszPilotSpeeches[14][11]
PilotRecord * currentPilot
Umbrella header for the game core.
void show_communications_disp(void)
char *__stdcall DosStrchr(const char *s, short c)
short GetPendingMenuAction(void)
void SendCommMenuChoice(short i)
void malf_noise(short vdu, int effect, unsigned short colour, short sound, short refresh)
void ResetCommMenuChoices(short reuse)
void * FetchDiskPacketRetrying(short logicalFile, short section, short flags)
void BuildCommunicationCommandMenu(void)
short evaluate_damage(short obj)
short IsCommMenuIdle(void)
void DrawSpriteDefault(Viewport *viewport, short x, short y, struct Shape *shape, short frame)
short IsCommChoiceMenuOpen(void)
void InvalidateVduMode(short i)
void RefreshCommunicationMenu(void)
char *__stdcall DosStrcat(char *destination, const char *source)
void CockpitMessage(const char *text, unsigned short colour, int flashCount)
void real_vid_transmit(short obj, short message)
void OpenCommRecipientMenu(void)
void CloseCommChoiceMenu(void)
void EndCommSessionWithWingman(void)
void ShowCentredPrompt(char *text, unsigned short arg)
char * ExpandCommMessageTokens(const char *text)
void clear_message_time(void)
char *__stdcall DosStrcpy(char *dst, const char *src)
void AppendCommMenuChoice(const char *text, short command)
void HandleCommunicationMenuRequest(void)
void LoadCommPortraitShape(short face, signed char alternate)
unsigned int Chosen_communicate_option(short choice)
void OpenCommMenuForTarget(const char *heading, const char *message)
void SetPendingMenuAction(unsigned char v)
int any_enemy(short obj, short range)
short MeasureMessageWidth(const char *text)
void SelectCommRecipient(short recipient)
void exit_squadron(const char *msg)
unsigned short CanOpenCommMenu(void)
void SetHudMessageText(char *text, unsigned short colour, unsigned short duration)
void push_mode(short i, int state)
void set_new_vdu(short vdu)
void PlaySfxWaveFileByNumber()
short get_face(short rating, unsigned int side)
unsigned int DrawTextAt(TextContext *context, short x, short y, const char *text, unsigned char alignment)
void request(short requester, short ship, short command)
void FreePacketAndClear(void *slot, unsigned short releaseFlags)
short __stdcall DosStrlen(const char *s)
void FreeCommDisplayResources(void)
void DrawFormattedText(const char *format,...)
unsigned int unactive(short ship)
void BuildCommunicationRecipientMenu(void)
void ShutdownEventManager(void)
short LoadCommDisplayResources(short rating, enum Side side)
short message_showing(void)
@ OBJECT_TYPE_TIGERS_CLAW
@ OBJECTIVE_HOLD_FORMATION
#define SPACE_OBJECT_COUNT