![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <pregameoptions.h>
Inheritance diagram for pregame_options:
Collaboration diagram for pregame_options:Public Member Functions | |
| pregame_options (QWidget *parent) | |
| Pregame options contructor. More... | |
| void | set_rulesets (int num_rulesets, QStringList rulesets) |
| Update the ruleset list. More... | |
| void | set_aifill (int aifill) |
| Sets the value of the "aifill" option. More... | |
| void | update_ai_level () |
| Updates the AI skill level control. More... | |
| void | update_buttons () |
| Updates the buttons whenever the game state has changed. More... | |
Private Slots | |
| void | max_players_change (int i) |
| Slot for changing aifill value. More... | |
| void | ailevel_change (int i) |
| Slot for changing level of AI. More... | |
| void | ruleset_change (int i) |
| Slot for changing ruleset. More... | |
| void | pick_nation () |
| Slot for picking a nation. More... | |
Private Attributes | |
| Ui::FormPregameOptions | ui |
Definition at line 21 of file pregameoptions.h.
| pregame_options::pregame_options | ( | QWidget * | parent | ) |
Pregame options contructor.
Definition at line 38 of file pregameoptions.cpp.
|
privateslot |
Slot for changing level of AI.
Definition at line 162 of file pregameoptions.cpp.
Referenced by pregame_options().
|
privateslot |
Slot for changing aifill value.
Definition at line 154 of file pregameoptions.cpp.
Referenced by pregame_options().
|
privateslot |
Slot for picking a nation.
Definition at line 196 of file pregameoptions.cpp.
Referenced by pregame_options().
|
privateslot |
Slot for changing ruleset.
Definition at line 182 of file pregameoptions.cpp.
Referenced by pregame_options().
| void pregame_options::set_aifill | ( | int | aifill | ) |
Sets the value of the "aifill" option.
Doesn't send the new value to the server
Definition at line 103 of file pregameoptions.cpp.
| void pregame_options::set_rulesets | ( | int | num_rulesets, |
| QStringList | rulesets | ||
| ) |
Update the ruleset list.
Definition at line 78 of file pregameoptions.cpp.
| void pregame_options::update_ai_level | ( | ) |
Updates the AI skill level control.
Definition at line 138 of file pregameoptions.cpp.
| void pregame_options::update_buttons | ( | ) |
Updates the buttons whenever the game state has changed.
Definition at line 113 of file pregameoptions.cpp.
Referenced by pregame_options().
|
private |
Definition at line 38 of file pregameoptions.h.
Referenced by ailevel_change(), pregame_options(), ruleset_change(), set_aifill(), set_rulesets(), update_ai_level(), and update_buttons().