save_character.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_CHARACTER_H
00026 #define SAVE_CHARACTER_H
00027
00028 #define SAVE_CHARACTER_NAME "name"
00029 #define SAVE_CHARACTER_BODY "body"
00030 #define SAVE_CHARACTER_PATH "path"
00031 #define SAVE_CHARACTER_HEAD "head"
00032 #define SAVE_CHARACTER_SKIN "skin"
00033 #define SAVE_CHARACTER_TEAMDEF "teamdef"
00034 #define SAVE_CHARACTER_GENDER "gender"
00035 #define SAVE_CHARACTER_UCN "ucn"
00036 #define SAVE_CHARACTER_MAXHP "maxHp"
00037 #define SAVE_CHARACTER_HP "hp"
00038 #define SAVE_CHARACTER_STUN "stun"
00039 #define SAVE_CHARACTER_MORALE "morale"
00040 #define SAVE_CHARACTER_FIELDSIZE "fieldSize"
00041 #define SAVE_CHARACTER_STATE "state"
00042
00043 #define SAVE_CHARACTER_SCORES "scores"
00044
00045 #define SAVE_CHARACTER_SKILLS "skill"
00046 #define SAVE_CHARACTER_SKILLTYPE "type"
00047 #define SAVE_CHARACTER_INITSKILL "initial"
00048 #define SAVE_CHARACTER_EXPERIENCE "experience"
00049 #define SAVE_CHARACTER_SKILLIMPROVE "improve"
00050
00051 #define SAVE_CHARACTER_KILLS "kill"
00052 #define SAVE_CHARACTER_KILLTYPE "type"
00053 #define SAVE_CHARACTER_KILLED "killed"
00054 #define SAVE_CHARACTER_STUNNED "stunned"
00055
00056 #define SAVE_CHARACTER_SCORE_ASSIGNEDMISSIONS "missions"
00057 #define SAVE_CHARACTER_SCORE_RANK "rank"
00058
00059 #define SAVE_CHARACTER_SKILLTYPE_NAMESPACE "saveCharacterSkillType"
00060 #define SAVE_CHARACTER_KILLTYPE_NAMESPACE "saveCharacterKillType"
00061 static const constListEntry_t saveCharacterConstants[] = {
00062 {SAVE_CHARACTER_SKILLTYPE_NAMESPACE"::power", ABILITY_POWER},
00063 {SAVE_CHARACTER_SKILLTYPE_NAMESPACE"::speed", ABILITY_SPEED},
00064 {SAVE_CHARACTER_SKILLTYPE_NAMESPACE"::accuracy", ABILITY_ACCURACY},
00065 {SAVE_CHARACTER_SKILLTYPE_NAMESPACE"::mind", ABILITY_MIND},
00066 {SAVE_CHARACTER_SKILLTYPE_NAMESPACE"::close", SKILL_CLOSE},
00067 {SAVE_CHARACTER_SKILLTYPE_NAMESPACE"::heavy", SKILL_HEAVY},
00068 {SAVE_CHARACTER_SKILLTYPE_NAMESPACE"::assault", SKILL_ASSAULT},
00069 {SAVE_CHARACTER_SKILLTYPE_NAMESPACE"::sniper", SKILL_SNIPER},
00070 {SAVE_CHARACTER_SKILLTYPE_NAMESPACE"::explosive", SKILL_EXPLOSIVE},
00071 {SAVE_CHARACTER_SKILLTYPE_NAMESPACE"::hp", SKILL_NUM_TYPES},
00072
00073 {SAVE_CHARACTER_KILLTYPE_NAMESPACE"::enemy", KILLED_ENEMIES},
00074 {SAVE_CHARACTER_KILLTYPE_NAMESPACE"::civilian", KILLED_CIVILIANS},
00075 {SAVE_CHARACTER_KILLTYPE_NAMESPACE"::team", KILLED_TEAM},
00076
00077 {NULL, -1}
00078 };
00079
00080 #endif
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