UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
save_transfer.h
Go to the documentation of this file.
1 
6 /*
7 Copyright (C) 2002-2020 UFO: Alien Invasion.
8 
9 This program is free software; you can redistribute it and/or
10 modify it under the terms of the GNU General Public License
11 as published by the Free Software Foundation; either version 2
12 of the License, or (at your option) any later version.
13 
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17 
18 See the GNU General Public License for more details.
19 
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 */
24 
25 #pragma once
26 
27 #define SAVE_TRANSFER_TRANSFERS "transfers"
28 #define SAVE_TRANSFER_TRANSFER "transfer"
29 #define SAVE_TRANSFER_DESTBASE "destBase"
30 #define SAVE_TRANSFER_SRCBASE "srcBase"
31 #define SAVE_TRANSFER_DAY "day"
32 #define SAVE_TRANSFER_SEC "sec"
33 
35 #define SAVE_TRANSFER_ITEM "item"
36 #define SAVE_TRANSFER_ITEMID "itemid"
37 #define SAVE_TRANSFER_AMOUNT "amount"
38 
39 #define SAVE_TRANSFER_ALIENCARGO "alienCargo"
40 #define SAVE_TRANSFER_ITEMCARGO "itemCargo"
41 
42 #define SAVE_TRANSFER_EMPLOYEE "employee"
43 #define SAVE_TRANSFER_UCN "UCN"
44 
45 #define SAVE_TRANSFER_AIRCRAFT "aircraft"
46 #define SAVE_TRANSFER_ID "id"
47 
48 /*
49 DTD:
50 
51 <!ELEMENT transfers transfer*>
52 
53 <!ELEMENT transfer item* alien* employee* aircraft*>
54 <!ATTLIST transfer
55  destBase CDATA #REQUIRED
56  srcBase CDATA #REQUIRED
57  day CDATA '0'
58  sec CDATA '0'
59 >
60 
61 <!ELEMENT item EMPTY>
62 <!ATTLIST item
63  itemid CDATA #REQUIRED
64  amount CDATA '1'
65 >
66 
67 <!ELEMENT alien EMPTY>
68 <!ATTLIST alien
69  alienid CDATA #REQUIRED
70  aliveAmount CDATA '0'
71  deadAmount CDATA '0'
72 >
73 
74 <!ELEMENT employee EMPTY>
75 <!ATTLIST employee
76  UCN CDATA #REQUIRED
77 >
78 
79 <!ELEMENT aircraft EMPTY>
80 <!ATTLIST aircraft
81  id CDATA #REQUIRED
82 >
83 
84 */