1 /**
2  * @file
3  * @brief XML tag constants for savegame.
4  */
5 
6 /*
7 Copyright (C) 2002-2012 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_AIRFIGHT_PROJECTILE "projectile"
28 
29 #define SAVE_AIRFIGHT_ITEMID "itemid"
30 #define SAVE_AIRFIGHT_POS "pos"
31 #define SAVE_AIRFIGHT_IDLETARGET "idleTarget"
32 #define SAVE_AIRFIGHT_TIME "time"
33 #define SAVE_AIRFIGHT_ANGLE "angle"
34 #define SAVE_AIRFIGHT_BULLET "bullet"
35 #define SAVE_AIRFIGHT_BEAM "beam"
36 
37 #define SAVE_AIRFIGHT_ATTACKERPOS "attackerPos"
38 
39 #define SAVE_AIRFIGHT_ATTACKINGAIRCRAFT "attackingAircraft"
40 #define SAVE_AIRFIGHT_AIMEDAIRCRAFT "aimedAircraft"
41 
42 #define SAVE_AIRFIGHT_AIRCRAFTIDX "idx"
43 #define SAVE_AIRFIGHT_ISUFO "isUFO"
44 
45 /*
46 DTD:
47 
48 <!ELEMENT projectile (pos* idleTarget attackingAircraft? aimedAircraft? attackerPos?)>
49 <!ATTLIST projectile
50 	itemid			CDATA	#REQUIRED
51 	time			CDATA	'0'
52 	angle			CDATA	'0.0'
53 	bullet			CDATA	'false'
54 	beam			CDATA	'false'
55 >
56 
57 <!ELEMENT attackingAircraft EMPTY>
58 <!ATTLIST attackingAircraft
59 	idx				CDATA	#REQUIRED
60 	isUFO			CDATA	'false'
61 >
62 <!ELEMENT aimedAircraft EMPTY>
63 <!ATTLIST aimedAircraft
64 	idx				CDATA	#REQUIRED
65 	isUFO			CDATA	'false'
66 >
67 
68 <!ELEMENT attackerPos EMPTY>
69 <!ATTLIST attackerPos
70 	x				CDATA	'0'
71 	y				CDATA	'0'
72 	z				CDATA	'0'
73 >
74 
75 <!ELEMENT pos EMPTY>
76 <!ATTLIST pos
77 	x				CDATA	'0'
78 	y				CDATA	'0'
79 >
80 
81 <!ELEMENT idleTarget EMPTY>
82 <!ATTLIST idleTarget
83 	x				CDATA	'0'
84 	y				CDATA	'0'
85 	z				CDATA	'0'
86 >
87 */
88