UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
save_uforecovery.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_UFORECOVERY_STOREDUFOS "storedUFOs"
28 #define SAVE_UFORECOVERY_UFO "UFO"
29 #define SAVE_UFORECOVERY_UFOIDX "idx"
30 #define SAVE_UFORECOVERY_UFOID "id"
31 #define SAVE_UFORECOVERY_DATE "date"
32 #define SAVE_UFORECOVERY_STATUS "status"
33 #define SAVE_UFORECOVERY_CONDITION "condition"
34 #define SAVE_UFORECOVERY_INSTALLATIONIDX "installationIDX"
35 
36 #define SAVE_STOREDUFOSTATUS_NAMESPACE "saveStoredUFOStatus"
41  {nullptr, -1}
42 };
43 
44 /*
45 DTD:
46 
47 <!ELEMENT storedUFOs UFO*>
48 <!ELEMENT UFO date>
49 <!ATTLIST UFO
50  idx CDATA #REQUIRED
51  id CDATA #REQUIRED
52  status (recovered,
53  stored,
54  transferred) #REQUIRED
55  condition CDATA '1.0'
56  installationIDX CDATA #REQUIRED
57 >
58 
59 <!ELEMENT date EMPTY>
60 <!ATTLIST date
61  day CDATA '0'
62  sec CDATA '0'
63 >
64 */
list of script aliases to register
Definition: scripts.h:232
#define SAVE_STOREDUFOSTATUS_NAMESPACE
static const constListEntry_t saveStoredUFOConstants[]