UFO: Alien Invasion
Loading...
Searching...
No Matches
save_transfer.h
Go to the documentation of this file.
1
5
6/*
7Copyright (C) 2002-2025 UFO: Alien Invasion.
8
9This program is free software; you can redistribute it and/or
10modify it under the terms of the GNU General Public License
11as published by the Free Software Foundation; either version 2
12of the License, or (at your option) any later version.
13
14This program is distributed in the hope that it will be useful,
15but WITHOUT ANY WARRANTY; without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17
18See the GNU General Public License for more details.
19
20You should have received a copy of the GNU General Public License
21along with this program; if not, write to the Free Software
22Foundation, 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#define SAVE_TRANSFER_ANTIMATTER "antimatter"
49#define SAVE_TRANSFER_ANTIMATTER_AMOUNT "amount"
50
51/*
52DTD:
53
54<!ELEMENT transfers transfer*>
55
56<!ELEMENT transfer item* alien* employee* aircraft* antimatter*>
57<!ATTLIST transfer
58 destBase CDATA #REQUIRED
59 srcBase CDATA #REQUIRED
60 day CDATA '0'
61 sec CDATA '0'
62>
63
64<!ELEMENT item EMPTY>
65<!ATTLIST item
66 itemid CDATA #REQUIRED
67 amount CDATA '1'
68>
69
70<!ELEMENT alien EMPTY>
71<!ATTLIST alien
72 alienid CDATA #REQUIRED
73 aliveAmount CDATA '0'
74 deadAmount CDATA '0'
75>
76
77<!ELEMENT employee EMPTY>
78<!ATTLIST employee
79 UCN CDATA #REQUIRED
80>
81
82<!ELEMENT aircraft EMPTY>
83<!ATTLIST aircraft
84 id CDATA #REQUIRED
85>
86
87<!ATTLIST antimatter
88 amount CDATA #REQUIRED
89>
90
91*/