UFO: Alien Invasion
Loading...
Searching...
No Matches
save_research.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_RESEARCH_RESEARCH "research"
28#define SAVE_RESEARCH_TECH "tech"
29#define SAVE_RESEARCH_ID "id"
30#define SAVE_RESEARCH_STATUSCOLLECTED "statusCollected"
31#define SAVE_RESEARCH_TIME "time"
32#define SAVE_RESEARCH_STATUSRESEARCH "statusResearch"
33#define SAVE_RESEARCH_BASE "baseIDX"
34#define SAVE_RESEARCH_SCIENTISTS "scientists"
35#define SAVE_RESEARCH_STATUSRESEARCHABLE "statusResearchable"
36#define SAVE_RESEARCH_PREDATE "preDate"
37#define SAVE_RESEARCH_DATE "date"
38#define SAVE_RESEARCH_MAILSENT "mailSent"
39#define SAVE_RESEARCH_MAIL "mail"
40#define SAVE_RESEARCH_MAIL_ID "id"
41
42#define SAVE_RESEARCHSTATUS_NAMESPACE "saveResearchStatus"
50
51/*
52DTD:
53
54<!ELEMENT research tech*>
55<!ELEMENT tech mail* preDate date>
56<!ATTLIST tech
57 id CDATA #REQUIRED
58 statusCollected CDATA #IMPLIED
59 time CDATA #IMPLIED
60 statusResearch CDATA #REQUIRED
61 baseIDX CDATA #IMPLIED
62 scientists CDATA #IMPLIED
63 statusResearchable CDATA #IMPLIED
64 mailSent CDATA #IMPLIED
65>
66
67<!ELEMENT preDate EMPTY>
68<!ATTLIST preDate
69 day CDATA '0'
70 sec CDATA '0'
71>
72
73<!ELEMENT date EMPTY>
74<!ATTLIST date
75 day CDATA '0'
76 sec CDATA '0'
77>
78
79<!ELEMENT mail EMPTY>
80<!ATTLIST mail
81 id CDATA #REQUIRED
82>
83
84*/
@ RS_FINISH
Definition cp_research.h:44
@ RS_NONE
Definition cp_research.h:41
@ RS_RUNNING
Definition cp_research.h:42
@ RS_PAUSED
Definition cp_research.h:43
static const constListEntry_t saveResearchConstants[]
#define SAVE_RESEARCHSTATUS_NAMESPACE
list of script aliases to register
Definition scripts.h:231