Definition in file prest.c.
#include "Buzz_inc.h"
#include "externs.h"
Go to the source code of this file.
Defines | |
| #define | DNE(a, b) (Data->Prestige[b].Place==(a) || Data->Prestige[b].mPlace==(a)) |
| #define | IsGoal(a) ( (18)==18 || (a)==19 || (a)==20 || (a)==22 || (a)==27) ) |
| #define | NSTS(a) (PVal[a]==4) |
| #define | PSTS(a) (PVal[a]==1 || PVal[a]==2) |
| #define | SSTS(a) (PVal[a]==3) |
| #define | STSn(a) (PVal[a]==4) |
| #define | STSp(a) (PVal[a]==1 || PVal[a]==2) |
Functions | |
| int | AllotPrest (char plr, char mis) |
| int | Check_Dock (int limit) |
| int | Check_EVA (int limit) |
| int | Check_Lab (void) |
| int | Check_Photo (void) |
| char | Did_Fail (void) |
| Only sets negative for highest failed goal step. | |
| int | Find_MaxGoal (void) |
| char | HeroCheck (int which) |
| int | MaxFail (void) |
| char | NegGoal (char *PVal) |
| char | PosGoal (char *PVal) |
| char | PosGoal_Check (char *PVal) |
| int | PrestCheck (char plr) |
| Returns the amount of prestige added. | |
| int | PrestMap (int val) |
| char | PrestMin (char plr) |
| int | PrestNeg (char plr, int i) |
| void | Set_Dock (char plr, char total) |
| char | Set_Goal (char plr, char which, char control) |
| Sets Goal Values and Sums into Data Structure control should be always called with a value of 0 Successful Steps Only Requires MEV to be packed. | |
| void | Set_LM (char plr, char total) |
| char | SupGoal (char *PVal) |
| int | U_AllotPrest (char plr, char mis) |
| char | Was_Goal (char total, char which) |
| ??? | |
Variables | |
| char | AI [2] |
| char | bIDX |
| char | death |
| FILE * | ft |
| char | hero |
| struct MisAst | MA [2][4] |
| char | |
| char | MANNED [2] |
| struct MisEval | Mev [60] |
| struct mStr | Mis |
| struct Prest_Upd | MP [3] |
| char | Option |
| char | STEPnum |
| char | tIDX |
| char | tMo |
| char | tYr |
Referenced by AllotPrest().
| #define IsGoal | ( | a | ) | ( (18)==18 || (a)==19 || (a)==20 || (a)==22 || (a)==27) ) |
| #define PSTS | ( | a | ) | (PVal[a]==1 || PVal[a]==2) |
| #define STSn | ( | a | ) | (PVal[a]==4) |
| #define STSp | ( | a | ) | (PVal[a]==1 || PVal[a]==2) |
| int AllotPrest | ( | char | plr, | |
| char | mis | |||
| ) |
| int Check_Dock | ( | int | limit | ) |
| int Check_EVA | ( | int | limit | ) |
| int Check_Lab | ( | void | ) |
| int Check_Photo | ( | void | ) |
| char Did_Fail | ( | void | ) |
| char HeroCheck | ( | int | which | ) |
| int MaxFail | ( | void | ) |
Definition at line 501 of file prest.c.
Referenced by AllotPrest(), MissionPast(), Set_Goal(), and U_AllotPrest().
| char NegGoal | ( | char * | PVal | ) |
| char PosGoal | ( | char * | PVal | ) |
| char PosGoal_Check | ( | char * | PVal | ) |
| int PrestCheck | ( | char | plr | ) |
| int PrestMap | ( | int | val | ) |
Definition at line 97 of file prest.c.
References EORBIT, LLAND, LORBIT, LPASS, LUNFLY, MANSPACE, MILE_EORBIT, MILE_LFLY, MILE_LLAND, MILE_LORBIT, MILE_LPASS, MILE_LPL, MILE_MAN, MILE_OSAT, ORBSAT, and PROBELAND.
Referenced by PrestMin().
| char PrestMin | ( | char | plr | ) |
| int PrestNeg | ( | char | plr, | |
| int | i | |||
| ) |
| char Set_Goal | ( | char | plr, | |
| char | which, | |||
| char | control | |||
| ) |
Sets Goal Values and Sums into Data Structure control should be always called with a value of 0 Successful Steps Only Requires MEV to be packed.
Definition at line 295 of file prest.c.
Referenced by AllotPrest(), Set_Goal(), TestFMis(), and U_AllotPrest().
| void Set_LM | ( | char | plr, | |
| char | total | |||
| ) |
| char SupGoal | ( | char * | PVal | ) |
| int U_AllotPrest | ( | char | plr, | |
| char | mis | |||
| ) |
| char Was_Goal | ( | char | total, | |
| char | which | |||
| ) |
???
Definition at line 233 of file prest.c.
Referenced by Was_Goal().
| char bIDX |
| char tIDX |
| char tMo |
| char tYr |
1.5.3