Go to the source code of this file.
Functions | |
void | tech_repairs (dbref player, MECH *mech, char *buffer) |
Definition at line 144 of file mech.tech.repairs.c.
References addline, c, cent, describe_repairs(), DOCHECK, figure_latest_tech_event(), FIRST_TECH_EVENT, GetMechID(), IsDS, KillCoolMenu(), LAST_TECH_EVENT, muxevent_gothru_type_data(), ShowCoolMenu(), TECHCOMMANDD, tprintf(), and vsi.
00145 { 00146 int i, isds = IsDS(mech); 00147 00148 TECHCOMMANDD; 00149 00150 DOCHECK(!figure_latest_tech_event(mech), 00151 "This 'mech has no repairs pending!"); 00152 c = NULL; 00153 addline(); 00154 cent(tprintf("Repairs/Scrapping in progress (%s)", GetMechID(mech))); 00155 vsi(tprintf("%-5s %-4s %s", "Plr", "Time", "Location + Description")); 00156 addline(); 00157 for(i = FIRST_TECH_EVENT; i <= LAST_TECH_EVENT; i++) 00158 muxevent_gothru_type_data(i, (void *) mech, describe_repairs); 00159 addline(); 00160 vsi("Note: Time = Time remaining in minutes. Plr = Tech's dbref"); 00161 addline(); 00162 ShowCoolMenu(player, c); 00163 KillCoolMenu(c); 00164 }