1
// $Id: pingus_options.hpp 3231 2007-09-22 15:46:31Z grumbel $
3
// Pingus - A free Lemmings clone
4
// Copyright (C) 2007 Ingo Ruhnke <grumbel@gmx.de>
6
// This program is free software; you can redistribute it and/or
7
// modify it under the terms of the GNU General Public License
8
// as published by the Free Software Foundation; either version 2
9
// of the License, or (at your option) any later version.
11
// This program is distributed in the hope that it will be useful,
12
// but WITHOUT ANY WARRANTY; without even the implied warranty of
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
// GNU General Public License for more details.
16
// You should have received a copy of the GNU General Public License
17
// along with this program; if not, write to the Free Software
18
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20
#ifndef HEADER_OPTIONS_HPP
21
#define HEADER_OPTIONS_HPP
24
#include "math/size.hpp"
25
#include "pathname.hpp"
45
const T& get() const {
49
void set(const T& v) {
61
Value<std::string> rest;
64
Value<bool> list_languages;
70
Value<bool> fullscreen;
76
Value<bool> disable_sound;
77
Value<bool> disable_music;
80
Value<std::string> language;
81
Value<std::string> datadir;
83
Value<bool> auto_scrolling;
84
Value<bool> no_config_file;
85
Value<std::string> config_file;
86
Value<std::string> controller;
88
Value<bool> maintainer_mode;
89
Value<unsigned int> debug;
91
Value<int> min_frame_skip;
92
Value<int> max_frame_skip;
95
Value<bool> fast_mode;