save_aircraft.h
Go to the documentation of this file.00001
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef SAVE_AIRCRAFT_H
00026 #define SAVE_AIRCRAFT_H
00027
00028 #define SAVE_AIRCRAFT_UFOS "UFOs"
00029 #define SAVE_AIRCRAFT_PHALANX "aircraft"
00030 #define SAVE_AIRCRAFT_NUMAIRCRAFT "numAircraft"
00031
00032 #define SAVE_AIRCRAFT_AIRCRAFT "craft"
00033 #define SAVE_AIRCRAFT_ID "id"
00034 #define SAVE_AIRCRAFT_NAME "name"
00035 #define SAVE_AIRCRAFT_IDX "idx"
00036
00037 #define SAVE_AIRCRAFT_STATUS "status"
00038 #define SAVE_AIRCRAFT_HOMEBASE "homebase"
00039
00040 #define SAVE_AIRCRAFT_FUEL "fuel"
00041 #define SAVE_AIRCRAFT_DAMAGE "damage"
00042 #define SAVE_AIRCRAFT_POS "pos"
00043 #define SAVE_AIRCRAFT_DIRECTION "direction"
00044 #define SAVE_AIRCRAFT_POINT "point"
00045 #define SAVE_AIRCRAFT_TIME "time"
00046
00047 #define SAVE_AIRCRAFT_MISSIONID "missionid"
00048 #define SAVE_AIRCRAFT_DETECTIONIDX "detectionIDX"
00049 #define SAVE_AIRCRAFT_LASTSPOTTED_DATE "lastSpottedDate"
00050
00051 #define SAVE_AIRCRAFT_AIRCRAFTTARGET "aircraftTarget"
00052
00053 #define SAVE_AIRCRAFT_AIRSTATS "airstats"
00054 #define SAVE_AIRCRAFT_AIRSTAT "stat"
00055 #define SAVE_AIRCRAFT_AIRSTATID "id"
00056 #define SAVE_AIRCRAFT_VAL "val"
00057
00058 #define SAVE_AIRCRAFT_DETECTED "detected"
00059 #define SAVE_AIRCRAFT_LANDED "landed"
00060 #define SAVE_AIRCRAFT_HANGAR "hangar"
00061
00062 #define SAVE_AIRCRAFT_AIRCRAFTTEAM "aircraftTeam"
00063 #define SAVE_AIRCRAFT_MEMBER "member"
00064 #define SAVE_AIRCRAFT_TEAM_UCN "ucn"
00065
00066 #define SAVE_AIRCRAFT_PILOTUCN "pilotUCN"
00067
00068 #define SAVE_AIRCRAFT_RADAR_RANGE "radarRange"
00069 #define SAVE_AIRCRAFT_RADAR_TRACKINGRANGE "radarTrackingrange"
00070
00071 #define SAVE_AIRCRAFT_CARGO "cargo"
00072
00073 #define SAVE_AIRCRAFT_ITEM "item"
00074 #define SAVE_AIRCRAFT_ITEMID "itemid"
00075 #define SAVE_AIRCRAFT_AMOUNT "amount"
00076
00077 #define SAVE_AIRCRAFT_ALIENCARGO "alienCargo"
00078
00079 #define SAVE_AIRCRAFT_TEAMDEFID "teamdefid"
00080 #define SAVE_AIRCRAFT_ALIVE "alive"
00081 #define SAVE_AIRCRAFT_DEAD "dead"
00082
00083 #define SAVE_AIRCRAFT_ROUTE "route"
00084 #define SAVE_AIRCRAFT_ROUTE_DISTANCE "distance"
00085 #define SAVE_AIRCRAFT_ROUTE_POINT "point"
00086
00087 #define SAVE_AIRCRAFT_WEAPONS "weapons"
00088 #define SAVE_AIRCRAFT_SHIELDS "shields"
00089 #define SAVE_AIRCRAFT_ELECTRONICS "electronics"
00090 #define SAVE_AIRCRAFT_SLOT "slot"
00091
00092 #define SAVE_AIRCRAFT_PROJECTILES "projectiles"
00093
00094 #define SAVE_AIRCRAFTSTATUS_NAMESPACE "saveAircraftStatus"
00095 #define SAVE_AIRCRAFTSTAT_NAMESPACE "saveAircraftStat"
00096 static const constListEntry_t saveAircraftConstants[] = {
00097 {SAVE_AIRCRAFTSTATUS_NAMESPACE"::none", AIR_NONE},
00098 {SAVE_AIRCRAFTSTATUS_NAMESPACE"::refuel", AIR_REFUEL},
00099 {SAVE_AIRCRAFTSTATUS_NAMESPACE"::home", AIR_HOME},
00100 {SAVE_AIRCRAFTSTATUS_NAMESPACE"::idle", AIR_IDLE},
00101 {SAVE_AIRCRAFTSTATUS_NAMESPACE"::transit", AIR_TRANSIT},
00102 {SAVE_AIRCRAFTSTATUS_NAMESPACE"::mission", AIR_MISSION},
00103 {SAVE_AIRCRAFTSTATUS_NAMESPACE"::ufo", AIR_UFO},
00104 {SAVE_AIRCRAFTSTATUS_NAMESPACE"::drop", AIR_DROP},
00105 {SAVE_AIRCRAFTSTATUS_NAMESPACE"::intercept", AIR_INTERCEPT},
00106 {SAVE_AIRCRAFTSTATUS_NAMESPACE"::transfer", AIR_TRANSFER},
00107 {SAVE_AIRCRAFTSTATUS_NAMESPACE"::returning", AIR_RETURNING},
00108 {SAVE_AIRCRAFTSTATUS_NAMESPACE"::crashed", AIR_CRASHED},
00109
00110 {SAVE_AIRCRAFTSTAT_NAMESPACE"::speed", AIR_STATS_SPEED},
00111 {SAVE_AIRCRAFTSTAT_NAMESPACE"::maxspeed", AIR_STATS_MAXSPEED},
00112 {SAVE_AIRCRAFTSTAT_NAMESPACE"::shield", AIR_STATS_SHIELD},
00113 {SAVE_AIRCRAFTSTAT_NAMESPACE"::ecm", AIR_STATS_ECM},
00114 {SAVE_AIRCRAFTSTAT_NAMESPACE"::damage", AIR_STATS_DAMAGE},
00115 {SAVE_AIRCRAFTSTAT_NAMESPACE"::accuracy", AIR_STATS_ACCURACY},
00116 {SAVE_AIRCRAFTSTAT_NAMESPACE"::fuelsize", AIR_STATS_FUELSIZE},
00117 {SAVE_AIRCRAFTSTAT_NAMESPACE"::weaponrange", AIR_STATS_WRANGE},
00118 {SAVE_AIRCRAFTSTAT_NAMESPACE"::antimatter", AIR_STATS_ANTIMATTER},
00119
00120 {NULL, -1}
00121 };
00122
00123 #endif
00124
00125
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135
00136
00137
00138
00139
00140
00141
00142
00143
00144
00145
00146
00147
00148
00149
00150
00151
00152
00153
00154
00155
00156
00157
00158
00159
00160
00161
00162
00163
00164
00165
00166
00167
00168
00169
00170
00171
00172
00173
00174
00175
00176
00177
00178
00179
00180
00181
00182
00183
00184
00185
00186
00187
00188
00189
00190
00191
00192
00193
00194
00195
00196
00197
00198
00199
00200
00201
00202
00203
00204
00205
00206
00207
00208
00209
00210
00211
00212
00213
00214
00215
00216
00217
00218
00219
00220
00221
00222
00223
00224
00225
00226
00227
00228
00229
00230