save_employee.h

Go to the documentation of this file.
00001 
00006 /*
00007 Copyright (C) 2002-2010 UFO: Alien Invasion.
00008 
00009 This program is free software; you can redistribute it and/or
00010 modify it under the terms of the GNU General Public License
00011 as published by the Free Software Foundation; either version 2
00012 of the License, or (at your option) any later version.
00013 
00014 This program is distributed in the hope that it will be useful,
00015 but WITHOUT ANY WARRANTY; without even the implied warranty of
00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00017 
00018 See the GNU General Public License for more details.
00019 
00020 You should have received a copy of the GNU General Public License
00021 along with this program; if not, write to the Free Software
00022 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00023 */
00024 
00025 #ifndef SAVE_EMPLOYEE_H
00026 #define SAVE_EMPLOYEE_H
00027 
00028 #define SAVE_EMPLOYEE_EMPLOYEES "employees"
00029 #define SAVE_EMPLOYEE_TYPE "type"
00030 #define SAVE_EMPLOYEE_EMPLOYEE "employee"
00031 #define SAVE_EMPLOYEE_IDX "IDX"
00032 #define SAVE_EMPLOYEE_BASEHIRED "baseHired"
00033 #define SAVE_EMPLOYEE_BUILDING "building"
00034 #define SAVE_EMPLOYEE_NATION "nation"
00035 #define SAVE_EMPLOYEE_UGV "UGV"
00036 #define SAVE_EMPLOYEE_CHR "character"
00037 
00038 #define SAVE_EMPLOYEETYPE_NAMESPACE "saveEmployeeType"
00039 static const constListEntry_t saveEmployeeConstants[] = {
00040     {SAVE_EMPLOYEETYPE_NAMESPACE"::soldier", EMPL_SOLDIER},
00041     {SAVE_EMPLOYEETYPE_NAMESPACE"::scientist", EMPL_SCIENTIST},
00042     {SAVE_EMPLOYEETYPE_NAMESPACE"::worker", EMPL_WORKER},
00043     {SAVE_EMPLOYEETYPE_NAMESPACE"::pilot", EMPL_PILOT},
00044     {SAVE_EMPLOYEETYPE_NAMESPACE"::robot", EMPL_ROBOT},
00045     {NULL, -1}
00046 };
00047 
00048 #endif
00049 
00050 /*
00051 DTD:
00052 
00053 <!ELEMENT employees employee*>
00054 <!ATTLIST employees
00055     type        soldier|
00056                 scientist|
00057                 worker|
00058                 pilot|robot #REQUIRED
00059 >
00060 
00061 <!ELEMENT employee character>
00062 <!ATTLIST employee
00063     IDX         CDATA       #REQUIRED
00064     baseHired   CDATA       #IMPLIED
00065     building    CDATA       #IMPLIED
00066     nation      CDATA       #REQUIRED
00067     UGV         CDATA       #IMPLIED
00068 >
00069 
00070 ** for <character> check save_character.h
00071 
00072 */
00073 

Generated by  doxygen 1.6.2