Definition in file rdplex.c.
#include "Buzz_inc.h"
#include "externs.h"
Go to the source code of this file.
Functions | |
void | BButs (char old, char nw) |
void | BuyUnit (char hw2, char un2, char plr) |
void | Del_RD_BUT (void) |
void | DrawHPurc (char plr) |
void | DrawRD (char plr) |
char | HPurc (char plr) |
void | Load_RD_BUT (char plr) |
void | ManSel (int mm) |
char | MaxChk (char hwx, char unx, char plr) |
void | OnHand (char qty) |
char | QUnit (char hwx, char unx, char plr) |
char | RD (char plr) |
void | RDButTxt (int v1, int val, char plr) |
char | RDUnit (char rhard, char runit, char r, char plr) |
void | ShowUnit (char hw, char un, char plr) |
void | SRPrintAt (int x, int y, char *text, char fgd, char bck) |
Variables | |
GXHEADER | but |
char | BUTLOAD |
int | call |
char | HARD1 |
GXHEADER | mans |
char | UNIT1 |
int | wh |
void BButs | ( | char | old, | |
char | nw | |||
) |
void BuyUnit | ( | char | hw2, | |
char | un2, | |||
char | plr | |||
) |
Definition at line 811 of file rdplex.c.
References Equipment::Base, BuzzData::Cash, Data, Equipment::InitCost, BuzzData::Manned, maxx, BuzzData::Misc, Equipment::Num, Players::P, BuzzData::Probe, BuzzData::Rocket, Equipment::Safety, ShowUnit(), BuzzData::Spend, BuzzData::TurnOnly, and Equipment::UnitCost.
void DrawHPurc | ( | char | plr | ) |
Definition at line 589 of file rdplex.c.
References BuzzData::Cash, Data, DispBig(), DispMB(), FadeOut(), fin, FlagSm(), grSetColor(), gxClearDisplay(), gxVirtualDisplay(), IDT, IKEY, InBox(), IOBox(), Load_RD_BUT(), LTArrow(), OutBox(), Players::P, pal, PrintAt(), RectFill(), RTArrow(), ShBox(), ShowUnit(), and sOpen().
void DrawRD | ( | char | plr | ) |
Definition at line 79 of file rdplex.c.
References BuzzData::Cash, Data, DispBig(), DispMB(), FadeOut(), fin, FlagSm(), grLineTo(), grMoveTo(), grSetColor(), gxClearDisplay(), gxVirtualDisplay(), IDT, IKEY, InBox(), IOBox(), Load_RD_BUT(), LTArrow(), OutBox(), Players::P, pal, PrintAt(), QUnit(), RectFill(), RTArrow(), ShBox(), ShowUnit(), and sOpen().
char HPurc | ( | char | plr | ) |
Definition at line 645 of file rdplex.c.
References BButs(), BuyUnit(), call, Data, Del_RD_BUT(), Equipment::Delay, delay(), DrawHPurc(), FadeIn(), GetMouse(), HARD1, Help(), IDT, IKEY, InBox(), K_ENTER, key, LT_ARROW, M_FILLER, BuzzData::Manned, BuzzData::Misc, music_start, music_stop(), OutBox(), Players::P, pal, BuzzData::Probe, RD(), remove_savedat(), BuzzData::Rocket, RT_ARROW, ShowUnit(), sOpen(), UNIT1, WaitForMouseUp(), wh, x, and y.
void Load_RD_BUT | ( | char | plr | ) |
Definition at line 43 of file rdplex.c.
References buffer, BUTLOAD, fin, GV(), GXHEADER::h, RLED_img(), sOpen(), Swap32bit, GXHEADER::vptr, and GXHEADER::w.
void ManSel | ( | int | mm | ) |
char MaxChk | ( | char | hwx, | |
char | unx, | |||
char | plr | |||
) |
Definition at line 443 of file rdplex.c.
References Data, BuzzData::Manned, Equipment::MaxRD, BuzzData::Misc, Players::P, BuzzData::Probe, BuzzData::Rocket, and Equipment::Safety.
void OnHand | ( | char | qty | ) |
char QUnit | ( | char | hwx, | |
char | unx, | |||
char | plr | |||
) |
Definition at line 428 of file rdplex.c.
References Data, InBox(), BuzzData::Manned, BuzzData::Misc, Equipment::Num, OutBox(), Players::P, BuzzData::Probe, and BuzzData::Rocket.
char RD | ( | char | plr | ) |
Definition at line 199 of file rdplex.c.
References BButs(), BuzzData::Buy, call, BuzzData::Cash, Data, Del_RD_BUT(), DrawRD(), FadeIn(), GetMouse(), gr_maybe_sync(), HARD1, HPurc(), IDT, IKEY, InBox(), K_ENTER, key, LT_ARROW, M_HARDWARE, BuzzData::Manned, ManSel(), MaxChk(), BuzzData::Misc, mousebuttons, music_start, music_stop(), OutBox(), Players::P, pal, BuzzData::Probe, QUnit(), RDButTxt(), Equipment::RDCost, RDUnit(), BuzzData::Rocket, RT_ARROW, ShowUnit(), BuzzData::Spend, UNIT1, WaitForMouseUp(), wh, x, and y.
void RDButTxt | ( | int | v1, | |
int | val, | |||
char | plr | |||
) |
Definition at line 180 of file rdplex.c.
References Data, DispNum(), grSetColor(), Players::P, PrintAt(), BuzzData::RDMods, and RectFill().
char RDUnit | ( | char | rhard, | |
char | runit, | |||
char | r, | |||
char | plr | |||
) |
Definition at line 452 of file rdplex.c.
References Data, BuzzData::Manned, Equipment::MaxRD, BuzzData::Misc, Players::P, BuzzData::Probe, BuzzData::RDMods, BuzzData::Rocket, and Equipment::Safety.
void ShowUnit | ( | char | hw, | |
char | un, | |||
char | plr | |||
) |
Definition at line 481 of file rdplex.c.
References BigHardMe(), BuzzData::Cash, Data, DispChr(), DispMB(), DispNum(), grSetColor(), Equipment::InitCost, BuzzData::Manned, Equipment::MaxPay, Equipment::MaxRD, Equipment::MaxSafety, maxx, BuzzData::Misc, Equipment::Name, Equipment::Num, OnHand(), Players::P, PrintAt(), BuzzData::Probe, Equipment::RDCost, RectFill(), BuzzData::Rocket, Equipment::Safety, BuzzData::TurnOnly, Equipment::UnitCost, and Equipment::UnitWeight.
void SRPrintAt | ( | int | x, | |
int | y, | |||
char * | text, | |||
char | fgd, | |||
char | bck | |||
) |