![]() |
Conquer Chess
Chess and Starcraft combined
|
#include "ccfwd.h"#include "screen_coordinate.h"#include "starting_position_type.h"#include "volume.h"#include "game_speed.h"#include <iosfwd>

Go to the source code of this file.
Classes | |
| class | game_options |
| Options for the game. More... | |
Functions | |
| void | decrease_game_speed (game_options &g) noexcept |
| Decrease the game speed. | |
| void | decrease_music_volume (game_options &g) noexcept |
| Decrease the music volume. | |
| void | decrease_sound_effects_volume (game_options &g) noexcept |
| Decrease the sound effects volume. | |
| void | decrease_starting_position (game_options &g) noexcept |
| Decrease the sound effects volume. | |
| bool | do_show_selected (const game_options &g) noexcept |
| Are selected squares shown on-screen? | |
| constexpr double | get_default_click_distance () noexcept |
| The default pixels distance for the mouse for a click to connect to a piece. | |
| constexpr double | get_default_message_display_time_secs () noexcept |
| How long log messages are displayed. | |
| volume | get_default_music_volume () noexcept |
| The default music volume. | |
| volume | get_default_sound_effects_volume () noexcept |
| The default sound effects volume. | |
| const volume & | get_music_volume (const game_options &g) noexcept |
| Get the music volume. | |
| double | get_music_volume_as_percentage (const game_options &g) noexcept |
| Get the music volume as a percentage. | |
| const volume & | get_sound_effects_volume (const game_options &g) noexcept |
| Get the sound effects volume. | |
| starting_position_type | get_starting_position (const game_options &g) noexcept |
| Get the starting position. | |
| void | increase_game_speed (game_options &g) noexcept |
| Increase the game speed. | |
| void | increase_music_volume (game_options &g) noexcept |
| Increase the music volume. | |
| void | increase_sound_effects_volume (game_options &g) noexcept |
| Increase the sound effects volume. | |
| void | increase_starting_position (game_options &g) noexcept |
| Increase the starting position. | |
| void | test_game_options () |
| Test this class and its free functions. | |
| bool | operator== (const game_options &lhs, const game_options &rhs) noexcept |
| bool | operator!= (const game_options &lhs, const game_options &rhs) noexcept |
| std::ostream & | operator<< (std::ostream &os, const game_options &options) noexcept |
|
noexcept |
Decrease the game speed.
|
noexcept |
Decrease the music volume.
|
noexcept |
Decrease the sound effects volume.
|
noexcept |
Decrease the sound effects volume.
|
noexcept |
Are selected squares shown on-screen?
|
constexprnoexcept |
The default pixels distance for the mouse for a click to connect to a piece.
|
constexprnoexcept |
How long log messages are displayed.
|
noexcept |
The default music volume.
In percent, i.e. 20 denotes 20% of the maximum.
|
noexcept |
The default sound effects volume.
In percent, i.e. 20 denotes 20% of the maximum.
|
noexcept |
Get the music volume.
|
noexcept |
Get the music volume as a percentage.
|
noexcept |
Get the sound effects volume.
|
noexcept |
Get the starting position.
|
noexcept |
Increase the game speed.
|
noexcept |
Increase the music volume.
|
noexcept |
Increase the sound effects volume.
|
noexcept |
Increase the starting position.
|
noexcept |
|
noexcept |
|
noexcept |
| void test_game_options | ( | ) |
Test this class and its free functions.