save_base.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_BASES_H
00026 #define SAVE_BASES_H
00027
00028 #define SAVE_BASES_BASES "bases"
00029
00030 #define SAVE_BASES_BASE "base"
00031 #define SAVE_BASES_NAME "name"
00032 #define SAVE_BASES_POS "pos"
00033 #define SAVE_BASES_BASESTATUS "baseStatus"
00034 #define SAVE_BASES_ALIENINTEREST "alienInterest"
00035 #define SAVE_BASES_CURRENTAIRCRAFTIDX "currentAircraftIDX"
00036
00037 #define SAVE_BASES_BUILDINGSPACE "buildingSpace"
00038 #define SAVE_BASES_BUILDING "building"
00039 #define SAVE_BASES_X "x"
00040 #define SAVE_BASES_Y "y"
00041 #define SAVE_BASES_BUILDINGINDEX "buildingIDX"
00042 #define SAVE_BASES_BLOCKED "blocked"
00043
00044 #define SAVE_BASES_BUILDINGS "buildings"
00045 #define SAVE_BASES_BUILDINGTYPE "buildingType"
00046 #define SAVE_BASES_BUILDING_PLACE "buildingPlace"
00047 #define SAVE_BASES_BUILDINGSTATUS "buildingStatus"
00048 #define SAVE_BASES_BUILDINGTIMESTART "buildingTimeStart"
00049 #define SAVE_BASES_BUILDINGBUILDTIME "buildingBuildTime"
00050 #define SAVE_BASES_BUILDINGLEVEL "buildingLevel"
00051
00052 #define SAVE_BASES_BATTERIES "batteries"
00053 #define SAVE_BASES_LASERS "lasers"
00054 #define SAVE_BASES_WEAPON "weapon"
00055 #define SAVE_BASES_AUTOFIRE "autoFire"
00056 #define SAVE_BASES_TARGET "target"
00057
00058 #define SAVE_BASES_STORAGE "storage"
00059 #define SAVE_BASES_ITEM "item"
00060 #define SAVE_BASES_ODS_ID "id"
00061 #define SAVE_BASES_NUM "num"
00062 #define SAVE_BASES_NUMLOOSE "numLoose"
00063
00064 #define SAVE_BASES_RADARRANGE "radarRange"
00065 #define SAVE_BASES_TRACKINGRANGE "trackingRange"
00066
00067 #define SAVE_BASESTATUS_NAMESPACE "savebaseStatus"
00068 #define SAVE_BUILDINGSTATUS_NAMESPACE "savebuildingStatus"
00069 static const constListEntry_t saveBaseConstants[] = {
00070 {SAVE_BASESTATUS_NAMESPACE"::underattack", BASE_UNDER_ATTACK},
00071 {SAVE_BASESTATUS_NAMESPACE"::working", BASE_WORKING},
00072
00073 {SAVE_BUILDINGSTATUS_NAMESPACE"::construction", B_STATUS_UNDER_CONSTRUCTION},
00074 {SAVE_BUILDINGSTATUS_NAMESPACE"::built", B_STATUS_CONSTRUCTION_FINISHED},
00075 {SAVE_BUILDINGSTATUS_NAMESPACE"::working", B_STATUS_WORKING},
00076 {SAVE_BUILDINGSTATUS_NAMESPACE"::down", B_STATUS_DOWN},
00077
00078 {NULL, -1}
00079 };
00080
00081 #endif
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
00131
00132
00133
00134
00135
00136
00137
00138
00139
00140
00141
00142
00143
00144
00145
00146
00147