-
Notifications
You must be signed in to change notification settings - Fork 0
/
stats.c
232 lines (223 loc) · 5.01 KB
/
stats.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
#if 0
*(
* 'cfg' => {
* 'Define' => [],
* 'StdCVersion' => 199901,
* 'ByteOrder' => 'LittleEndian',
* 'LongSize' => 4,
* 'IntSize' => 4,
* 'Cache' => 'C:\\Inetpub\\wwwroot\\build\\AllegSkill\\stats.c',
* 'HostedC' => 1,
* 'ShortSize' => 2,
* 'HasMacroVAARGS' => 1,
* 'Assert' => [],
* 'UnsignedChars' => 0,
* 'DoubleSize' => 8,
* 'CharSize' => 1,
* 'EnumType' => 'Integer',
* 'PointerSize' => 4,
* 'EnumSize' => 4,
* 'DisabledKeywords' => [],
* 'FloatSize' => 4,
* 'Alignment' => 8,
* 'LongLongSize' => 8,
* 'LongDoubleSize' => 12,
* 'KeywordMap' => {},
* 'Include' => [],
* 'HasCPPComments' => 1,
* 'Bitfields' => {
* 'Engine' => 'Generic'
* },
* 'UnsignedBitfields' => 0,
* 'Warnings' => 0,
* 'CompoundAlignment' => 1,
* 'OrderMembers' => 0
* },
* 'files' => {
* 'C:\\Inetpub\\wwwroot\\build\\AllegSkill\\stats.h' => {
* 'ctime' => 1283271950,
* 'mtime' => 1284679736,
* 'size' => 9945
* }
* },
* 'file' => 'C:\\Inetpub\\wwwroot\\build\\AllegSkill\\stats.h'
*);
#endif
/* typedef predeclarations */
typedef unsigned char bool;
typedef int Money;
typedef long Time;
typedef short CivID;
typedef short MapMakerID;
/* typedefs */
typedef
#line 7 "C:\Inetpub\wwwroot\build\AllegSkill\stats.h"
struct
{
char strGameName[65];
char szIGCStaticFile[13];
char szCustomMapFile[13];
char strGamePassword[17];
bool bEjectPods:1;
bool bInvulnerableStations:1;
bool bShowMap:1;
bool bAllowPrivateTeams:1;
bool bAllowEmptyTeams:1;
bool bAllowAlliedRip:1;
bool bAllowAlliedViz:1;
bool bAllowDevelopments:1;
bool bAllowShipyardPath:1;
bool bAllowTacticalPath:1;
bool bAllowSupremacyPath:1;
bool bAllowExpansionPath:1;
bool bPowerUps:1;
bool bAllowDefections:1;
bool bAllowJoiners:1;
bool bLockLobby:1;
bool bLockSides:1;
bool bLockTeamSettings:1;
bool bLockGameOpen:1;
bool bStations:1;
bool bScoresCount:1;
bool bSquadGame:1;
bool bDrones:1;
bool iResources:1;
bool bResourceAmountsVisible:1;
bool bRandomWormholes:1;
bool bNoTeams:1;
bool bShowHomeSector:1;
bool bAllowFriendlyFire:1;
bool bObjectModelCreated:1;
bool bLobbiedGame:1;
bool bClubGame:1;
bool bAutoStart:1;
bool bAutoRestart:1;
bool bAllowRestart:1;
bool bExperimental:1;
float fGoalTeamMoney;
int verIGCcore;
float nPlayerSectorTreasureRate;
float nNeutralSectorTreasureRate;
float dtGameLength;
float fHe3Density;
Money m_killPenalty;
Money m_killReward;
Money m_ejectPenalty;
Money m_ejectReward;
Time timeStart;
float fStartCountdown;
float fRestartCountdown;
CivID rgCivID[6];
short iGoalConquestPercentage;
short iGoalTerritoryPercentage;
short iGoalArtifactsPercentage;
short nGoalFlagsCount;
short nGoalArtifactsCount;
short nGoalTeamKills;
short tsiPlayerStart;
short tsiNeutralStart;
short tsiPlayerRegenerate;
short tsiNeutralRegenerate;
float fStartingMoney;
short iLives;
MapMakerID mmMapType;
short iMapSize;
short iRandomEncounters;
short bNeutralSectors;
short iAlephPositioning;
short iAlephsPerSector;
short nTeams;
short iMinRank;
short iMaxRank;
int nInvitationListID;
short iMaxImbalance;
short nPlayerSectorAsteroids;
short nNeutralSectorAsteroids;
short nPlayerSectorTreasures;
short nNeutralSectorTreasures;
short nPlayerSectorMineableAsteroids;
short nNeutralSectorMineableAsteroids;
short nPlayerSectorSpecialAsteroids;
short nNeutralSectorSpecialAsteroids;
unsigned char nMinPlayersPerTeam;
unsigned char nMaxPlayersPerTeam;
char nInitialMinersPerTeam;
char nMaxMinersPerTeam;
short nTotalMaxPlayersPerGame;
} MissionParams;
typedef
#line 111 "C:\Inetpub\wwwroot\build\AllegSkill\stats.h"
struct
{
char szGameID[18];
char szName[65];
char szWinningTeam[25];
short nWinningTeamID;
char bIsGoalConquest;
char bIsGoalCountdown;
char bIsGoalTeamKills;
char bIsGoalProsperity;
char bIsGoalArtifacts;
char bIsGoalFlags;
short nGoalConquest;
long nGoalCountdown;
short nGoalTeamKills;
float fGoalProsperity;
short nGoalArtifacts;
short nGoalFlags;
long nDuration;
} GameResults;
typedef
#line 132 "C:\Inetpub\wwwroot\build\AllegSkill\stats.h"
struct
{
char szGameID[18];
short nTeamID;
char szName[25];
char szTechs[100];
short nCivID;
short cPlayerKills;
short cBaseKills;
short cBaseCaptures;
short cDeaths;
short cEjections;
short cFlags;
short cArtifacts;
short nConquestPercent;
short nProsperityPercentBought;
short nProsperityPercentComplete;
long nTimeEndured;
} TeamResults;
typedef
#line 151 "C:\Inetpub\wwwroot\build\AllegSkill\stats.h"
struct
{
char szGameID[18];
short nTeamID;
char szName[32];
short cPlayerKills;
short cBuilderKills;
short cLayerKills;
short cMinerKills;
short cBaseKills;
short cBaseCaptures;
short cPilotBaseKills;
short cPilotBaseCaptures;
short cDeaths;
short cEjections;
short cRescues;
short cFlags;
short cArtifacts;
short cTechsRecovered;
short cAlephsSpotted;
short cAsteroidsSpotted;
float fCombatRating;
float fScore;
long nTimePlayed;
long nTimeCmd;
char bWin;
char bLose;
char bWinCmd;
char bLoseCmd;
int CharacterID;
} PlayerResults;