4
Copyright (C) 2005-2010 Julien Jorge, Sebastien Angibaud
6
This program is free software; you can redistribute it and/or modify it
7
under the terms of the GNU General Public License as published by the
8
Free Software Foundation; either version 2 of the License, or (at your
9
option) any later version.
11
This program is distributed in the hope that it will be useful, but WITHOUT
12
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16
You should have received a copy of the GNU General Public License along
17
with this program; if not, write to the Free Software Foundation, Inc.,
18
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
contact: plee-the-bear@gamned.org
22
Please add the tag [PTB] in the subject of your mails.
25
* \file game_settings.hpp
26
* \brief An item to set parameters of game.
27
* \author Angibaud Sebastien
29
#ifndef __PTB_GAME_SETTINGS_HPP__
30
#define __PTB_GAME_SETTINGS_HPP__
32
#include "engine/base_item.hpp"
33
#include "engine/export.hpp"
38
* \brief An item to set parameters of game.
40
* The valid fields for this item are
41
* - \a corrupting_bonus_count:
42
* \c (unsigned integer) The number of corrupting bonus.
43
* - \a corrupting_bonus_animation_name:
44
* \c (string) The path of corrupting bonus animation.
45
* - any field supported by the parent classes.
47
* \author Sebastien Angibaud
50
public bear::engine::base_item
52
DECLARE_BASE_ITEM(game_settings);
55
/** \brief The type of the parent class. */
56
typedef bear::engine::base_item super;
63
virtual bool set_u_integer_field
64
( const std::string& name, unsigned int value );
65
virtual bool set_string_field
66
( const std::string& name, const std::string& value );
67
}; // class game_settings
70
#endif // __PTB_GAME_SETTINGS_HPP__