1 // Copyright 2008 Brian Caine
3 // This file is part of Potpourri.
5 // Potpourri is free software: you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation, either version 3 of the License, or
8 // (at your option) any later version.
10 // Potpourri is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTIBILITY of FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with Potpourri. If not, see <http://www.gnu.org/licenses/>.
20 // Autogenerated header
25 #include <libxml++/libxml++.h>
37 std::string m_version
;
38 std::vector
<std::string
> m_author
;
59 std::string m_default
;
64 std::vector
<event
> m_event
;
69 std::string m_graphics
;
73 std::vector
<std::string
> m_extra
;
80 std::string m_filename
;
86 std::string m_filename
;
91 std::vector
<dgraphics
> m_graphics
;
92 std::vector
<audio
> m_audio
;
98 std::vector
<presentation
> m_presentation
;
102 std::vector
<std::string
> m_actor
;
103 std::vector
<std::string
> m_level
;
106 game
parsegameFromBuffer(std::string
);
108 controls
parsecontrolsFromBuffer(std::string
);
109 std::map
<std::string
, std::string
> controlsTomap(controls
);
111 game
parsegame(xmlpp::Node
*);
112 std::string
parsename(xmlpp::Node
*);
113 audio
parseaudio(xmlpp::Node
*);
114 std::string
parseplugin(xmlpp::Node
*);
115 std::string
parsefilename(xmlpp::Node
*);
116 graphics
parsegraphics(xmlpp::Node
*);
117 dgraphics
parsedgraphics(xmlpp::Node
*);
118 audio
parseaudio(xmlpp::Node
*);
119 media
parsemedia(xmlpp::Node
*);
120 std::string
parsegraphicsplugin(xmlpp::Node
*);
121 std::string
parseinput(xmlpp::Node
*);
122 std::string
parseaudioplugin(xmlpp::Node
*);
123 std::string
parsescript(xmlpp::Node
*);
124 std::string
parseextra(xmlpp::Node
*);
125 plugins
parseplugins(xmlpp::Node
*);
126 std::string
parsedefault(xmlpp::Node
*);
127 event
parseevent(xmlpp::Node
*);
128 event
parseevent(xmlpp::Node
*);
129 controls
parsecontrols(xmlpp::Node
*);
130 int parsewidth(xmlpp::Node
*);
131 int parseheight(xmlpp::Node
*);
132 std::string
parsename(xmlpp::Node
*);
133 bool parsenet(xmlpp::Node
*);
134 presentation
parsepresentation(xmlpp::Node
*);
135 std::string
parsetitle(xmlpp::Node
*);
136 std::string
parseversion(xmlpp::Node
*);
137 std::string
parseauthor(xmlpp::Node
*);
138 std::string
parseabout(xmlpp::Node
*);
139 std::string
parseicon(xmlpp::Node
*);
140 meta
parsemeta(xmlpp::Node
*);
141 std::string
parseactor(xmlpp::Node
*);
142 std::string
parselevel(xmlpp::Node
*);