save_missions.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_MISSIONS_H
00026 #define SAVE_MISSIONS_H
00027
00028 #define SAVE_MISSIONS "missions"
00029 #define SAVE_MISSIONS_MISSION "mission"
00030 #define SAVE_MISSIONS_MISSION_IDX "IDX"
00031 #define SAVE_MISSIONS_ID "id"
00032 #define SAVE_MISSIONS_MAPDEF_ID "mapDefId"
00033 #define SAVE_MISSIONS_MAPDEFTIMES "mapDefTimes"
00034 #define SAVE_MISSIONS_ACTIVE "active"
00035 #define SAVE_MISSIONS_POSASSIGNED "posAssigned"
00036 #define SAVE_MISSIONS_CRASHED "crashed"
00037 #define SAVE_MISSIONS_ONWIN "onWin"
00038 #define SAVE_MISSIONS_ONLOSE "onLose"
00039 #define SAVE_MISSIONS_CATEGORY "category"
00040 #define SAVE_MISSIONS_STAGE "stage"
00041 #define SAVE_MISSIONS_BASEINDEX "baseIDX"
00042 #define SAVE_MISSIONS_INSTALLATIONINDEX "installationIDX"
00043 #define SAVE_MISSIONS_ALIENBASEINDEX "alienbaseIDX"
00044 #define SAVE_MISSIONS_LOCATION "location"
00045 #define SAVE_MISSIONS_INITIALOVERALLINTEREST "initialOverallInterest"
00046 #define SAVE_MISSIONS_INITIALINDIVIDUALINTEREST "initialIndividualInterest"
00047 #define SAVE_MISSIONS_STARTDATE "startDate"
00048 #define SAVE_MISSIONS_FINALDATE "finalDate"
00049 #define SAVE_MISSIONS_POS "pos"
00050 #define SAVE_MISSIONS_UFO "UFO"
00051 #define SAVE_MISSIONS_CRASHED_AIRCRAFT "crashedAircraft"
00052 #define SAVE_MISSIONS_ONGEOSCAPE "onGeoscape"
00053
00054 #define SAVE_MISSIONSTAGE_NAMESPACE "saveMissionStage"
00055 static const constListEntry_t saveMissionConstants[] = {
00056 {SAVE_MISSIONSTAGE_NAMESPACE"::notActive", STAGE_NOT_ACTIVE},
00057 {SAVE_MISSIONSTAGE_NAMESPACE"::comeFromOrbit", STAGE_COME_FROM_ORBIT},
00058 {SAVE_MISSIONSTAGE_NAMESPACE"::reconAir", STAGE_RECON_AIR},
00059 {SAVE_MISSIONSTAGE_NAMESPACE"::missionGoTo", STAGE_MISSION_GOTO},
00060 {SAVE_MISSIONSTAGE_NAMESPACE"::reconGround", STAGE_RECON_GROUND},
00061 {SAVE_MISSIONSTAGE_NAMESPACE"::terrorMission", STAGE_TERROR_MISSION},
00062 {SAVE_MISSIONSTAGE_NAMESPACE"::buildBase", STAGE_BUILD_BASE},
00063 {SAVE_MISSIONSTAGE_NAMESPACE"::baseAttack", STAGE_BASE_ATTACK},
00064 {SAVE_MISSIONSTAGE_NAMESPACE"::subvertGov", STAGE_SUBVERT_GOV},
00065 {SAVE_MISSIONSTAGE_NAMESPACE"::supply", STAGE_SUPPLY},
00066 {SAVE_MISSIONSTAGE_NAMESPACE"::spreadXVI", STAGE_SPREAD_XVI},
00067 {SAVE_MISSIONSTAGE_NAMESPACE"::intercept", STAGE_INTERCEPT},
00068 {SAVE_MISSIONSTAGE_NAMESPACE"::baseDiscovered", STAGE_BASE_DISCOVERED},
00069 {SAVE_MISSIONSTAGE_NAMESPACE"::harvest", STAGE_HARVEST},
00070 {SAVE_MISSIONSTAGE_NAMESPACE"::returnToOrbit", STAGE_RETURN_TO_ORBIT},
00071 {SAVE_MISSIONSTAGE_NAMESPACE"::missionOver", STAGE_OVER},
00072 {NULL, -1}
00073 };
00074
00075 #endif
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126
00127
00128
00129
00130