UFO: Alien Invasion
Doxygen documentation generating
Loading...
Searching...
No Matches
save_campaign.h
Go to the documentation of this file.
1
6
/*
7
Copyright (C) 2002-2023 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_CAMPAIGN_CAMPAIGN "campaign"
28
29
#define SAVE_CAMPAIGN_ID "id"
30
#define SAVE_CAMPAIGN_CREDITS "credits"
31
#define SAVE_CAMPAIGN_PAID "paid"
32
#define SAVE_CAMPAIGN_NEXTUNIQUECHARACTERNUMBER "nextUniqueCharacterNumber"
33
#define SAVE_CAMPAIGN_DATE "date"
34
#define SAVE_CAMPAIGN_CIVILIANSKILLED "civiliansKilled"
35
#define SAVE_CAMPAIGN_ALIENSKILLED "aliensKilled"
36
37
#define SAVE_CAMPAIGN_MAP "map"
38
39
/* Compatibility for savegames */
40
#define SAVE_CAMPAIGN_CL_GEOSCAPE_OVERLAY "r_geoscape_overlay"
41
42
#define SAVE_CAMPAIGN_GEO_OVERLAY_RADAR "geoRadarOverlay"
43
#define SAVE_CAMPAIGN_GEO_OVERLAY_NATION "geoNationOverlay"
44
#define SAVE_CAMPAIGN_GEO_OVERLAY_XVI "geoXviOverlay"
45
#define SAVE_CAMPAIGN_RADAROVERLAYWASSET "radarOverlayWasSet"
46
#define SAVE_CAMPAIGN_XVISTARTED "XVIShowmap"
47
48
#define SAVE_CAMPAIGN_MAPDEFSTAT "mapDefStat"
49
#define SAVE_CAMPAIGN_MAPDEF "mapDef"
50
#define SAVE_CAMPAIGN_MAPDEF_ID "id"
51
#define SAVE_CAMPAIGN_MAPDEF_COUNT "count"
52
53
54
/*
55
DTD:
56
57
<!ELEMENT campaign (map date mapDefStat)>
58
<!ATTLIST campaign
59
id CDATA #REQUIRED
60
credits CDATA '0'
61
paid CDATA 'false'
62
nextUniqueCharacterNumber CDATA '0'
63
civiliansKilled CDATA '0'
64
aliensKilled CDATA '0'
65
>
66
67
<!ELEMENT map EMPTY>
68
<!ATTLIST map
69
center0 CDATA '0'
70
center1 CDATA '0'
71
angles0 CDATA '0'
72
angles1 CDATA '0'
73
zoom CDATA '0'
74
r_geoscape_overlay CDATA '0'
75
geoRadarOverlay CDATA '0'
76
geoNationOverlay CDATA '0'
77
geoXviOverlay CDATA '0'
78
radarOverlayWasSet CDATA 'false'
79
XVIShowmap CDATA 'false'
80
>
81
82
<!ELEMENT date EMPTY>
83
<!ATTLIST date
84
day CDATA '0'
85
sec CDATA '0'
86
>
87
88
<!ELEMENT mapDefStat mapDef*>
89
90
<!ELEMENT mapDef EMPTY>
91
<!ATTLIST mapDef
92
id CDATA #RQEUIRED
93
count CDATA '0'
94
>
95
96
*/
client
cgame
campaign
save
save_campaign.h
Generated on __DATE__ __TIME__ for UFO: Alien Invasion by
1.9.6