UFO: Alien Invasion
Loading...
Searching...
No Matches
save_uforecovery.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_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"
43
44/*
45DTD:
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*/
@ SUFO_STORED
@ SUFO_RECOVERED
@ SUFO_TRANSFERED
static const constListEntry_t saveStoredUFOConstants[]
#define SAVE_STOREDUFOSTATUS_NAMESPACE
list of script aliases to register
Definition scripts.h:231