--- /dev/null
+// Copyright (C) 2007, 2008, 2009 Ben Asselstine
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Library General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+// 02110-1301, USA.
+
+#ifndef GAME_OPTIONS_DIALOG_H
+#define GAME_OPTIONS_DIALOG_H
+
+#include <memory>
+#include <vector>
+#include <sigc++/trackable.h>
+#include <gtkmm.h>
+#include <sigc++/signal.h>
+#include <gtkmm.h>
+
+#include "game-parameters.h"
+
+#include "decorated.h"
+// dialog for setting game options before the game starts
+class GameOptionsDialog: public Decorated
+{
+ public:
+ GameOptionsDialog(bool readonly);
+ ~GameOptionsDialog();
+
+ void set_parent_window(Gtk::Window &parent);
+
+ bool run();
+ void hide();
+
+ sigc::signal<void> difficulty_option_changed;
+
+ private:
+ Gtk::Dialog* dialog;
+ Gtk::Table *difficultoptionstable;
+ Gtk::Table *notdifficultoptionstable;
+ Gtk::ComboBox *quests_combobox;
+ Gtk::CheckButton *view_enemies_checkbutton;
+ Gtk::CheckButton *view_production_checkbutton;
+ Gtk::CheckButton *hidden_map_checkbutton;
+ Gtk::ComboBox *neutral_cities_combobox;
+ Gtk::ComboBox *razing_cities_combobox;
+ Gtk::CheckButton *diplomacy_checkbutton;
+ Gtk::CheckButton *intense_combat_checkbutton;
+ Gtk::CheckButton *military_advisor_checkbutton;
+ Gtk::CheckButton *random_turns_checkbutton;
+ Gtk::ComboBox *quick_start_combobox;
+ Gtk::CheckButton *cusp_of_war_checkbutton;
+ void fill_in_options();
+ void on_view_enemies_checkbutton_clicked();
+ void on_view_production_checkbutton_clicked();
+ void on_quests_combobox_changed();
+ void on_hidden_map_checkbutton_clicked();
+ void on_neutral_cities_combobox_changed();
+ void on_razing_cities_combobox_changed();
+ void on_diplomacy_checkbutton_clicked();
+ void on_cusp_of_war_checkbutton_clicked();
+ void on_random_turns_checkbutton_clicked();
+ void on_quick_start_combobox_changed();
+ void on_intense_combat_checkbutton_clicked();
+ void on_military_advisor_checkbutton_clicked();
+ bool d_readonly;
+};
+
+#endif