The Battle for Wesnoth  1.19.0-dev
lobby.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2009 - 2024
3  by Tomasz Sniatowski <kailoran@gmail.com>
4  Part of the Battle for Wesnoth Project https://www.wesnoth.org/
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2 of the License, or
9  (at your option) any later version.
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY.
12 
13  See the COPYING file for more details.
14 */
15 
16 #pragma once
17 
18 
19 namespace preferences
20 {
22 void set_whisper_friends_only(bool v);
23 
26 
27 bool fi_invert();
28 void set_fi_invert(bool value);
29 
30 bool fi_vacant_slots();
31 void set_fi_vacant_slots(bool value);
32 
33 bool fi_friends_in_game();
34 void set_fi_friends_in_game(bool value);
35 
36 bool fi_blocked_in_game();
37 void set_fi_blocked_in_game(bool value);
38 } // end namespace preferences
Modify, read and display user preferences.
void set_fi_friends_in_game(bool value)
Definition: lobby.cpp:61
bool whisper_friends_only()
Definition: lobby.cpp:21
bool fi_blocked_in_game()
Definition: lobby.cpp:66
bool fi_invert()
Definition: lobby.cpp:36
void set_fi_vacant_slots(bool value)
Definition: lobby.cpp:51
void set_auto_open_whisper_windows(bool v)
bool fi_friends_in_game()
Definition: lobby.cpp:56
bool fi_vacant_slots()
Definition: lobby.cpp:46
void set_fi_blocked_in_game(bool value)
Definition: lobby.cpp:71
void set_fi_invert(bool value)
Definition: lobby.cpp:41
void set_whisper_friends_only(bool v)
Definition: lobby.cpp:26
bool auto_open_whisper_windows()
Definition: lobby.cpp:31