231 Commits

Author SHA1 Message Date
Jérémy Rosen
c6857d289d apply patch #2659 : Correctly display XP setting in lobby. 2011-08-01 14:35:37 +00:00
Anonymissimus
865537a4c7 fixed an MSVC warning about unreachable code 2011-06-03 21:33:57 +00:00
Lukasz Dobrogowski
22243cb1ba patch #1937 by Quetzalcoatl: Randomizing starting positions in mp games 2011-05-12 17:22:20 +00:00
Mark de Wever
b06e17931a Strip trailing whitespace. 2011-03-06 18:27:54 +00:00
Nils Kneuper
a9c341e278 "tiny gui support"-removal part 1:
removed all the if(n)defs from the sources (please review that I got
everything right!)

TODO: remove from build systems and data/
2011-02-12 16:20:24 +00:00
Bartek Waresiak
90d79f9d6a Fixed bug with filter textbox not being properly set up...
...while loading the MP lobby view
2011-02-08 23:35:38 +00:00
Guillaume Melquiond
939eb12553 Disabled debug mode when entering the multiplayer lobby,
...but allowed to enable it later if wesnoth was started in mp_debug
mode. (Fix for bug #17412.)
2010-12-29 20:25:51 +00:00
Alexander van Gessel
9a508b5730 Remove the 'gzipped' parameters from the network API.
ANA did not even implement binary WML.
2010-11-17 00:28:08 +01:00
Guillaume Melquiond
072a13a5c8 Fixed copyright wording. 2010-11-07 08:22:55 +00:00
Mark de Wever
25b1b149c6 Make Wesnoth more compatible with C++0x (g++-4.5). 2010-09-08 19:15:43 +00:00
Guillaume Melquiond
9002e4fbdc Ported 2010-04-23T13:57:22Z!kailoran@gmail.com and 2010-04-23T13:57:31Z!kailoran@gmail.com from 1.8. 2010-09-07 07:45:11 +00:00
Guillaume Melquiond
f2de3e0aef Removed unused classes mp::gamebrowser and mp::lobby. 2009-12-06 09:56:00 +00:00
Mark de Wever
c1e4afab57 Pass parameter by const ref instead of const value.
Issue found by cppcheck.
2009-10-02 19:26:27 +00:00
Gunter Labes
db6d69ec41 typo fix 2009-08-18 11:56:56 +00:00
Tomasz Śniatowski
b46169639a moved lobby-specific preferences...
...to a new lobby_preferences.hpp/cpp pair toreduce rebuild burden
when adding new preferences

renamed admin_authentication to parse_admin_athentication

renamed show_lobby_join to parse_should_show_lobby_join
2009-08-03 22:48:48 +01:00
Gunter Labes
930ccfb49e mark unobservable games with missing eras red rather than grey 2009-07-07 13:37:40 +00:00
Eric S. Raymond
789d7f2ac4 Fix a typo in multiplayer messages,
...and tweak opfix & translation templates to match.
2009-06-28 20:57:49 +00:00
Guillaume Melquiond
789736ac91 Removed specialized domains from log.hpp,
...so that adding a new domain no longer forces to recompile the whole
game.
2009-04-24 23:18:31 +00:00
Jörg Hinrichs
3af17d6ae5 Savegame reorganization Step 1: a simpler interface to saving and loading.
Move save_index stuff to savegame.cpp and do some dependency cleanup.
2009-04-16 18:24:01 +00:00
Guillaume Melquiond
60808a88ba Got rid of pointers to config objects. Removed code duplication along the way. 2009-04-04 17:51:20 +00:00
Mark de Wever
f8a6144809 Converted the old style casts to c++ style casts. 2009-03-29 20:30:31 +00:00
Thomas Baumhauer
d73715042e Added some basic filtering for games in the mp lobby. Options so far are:
- show only games that are played or observed by at least one friend

- only show games that have vacant slots

- simple searching of game title and description

- inversion of the filter (e.g. you can search for 'Isar' and then use
  this to show all games that are not Isar's cross)

For now filtering is completely disabled for the tiny gui.
2009-03-21 09:59:03 +00:00
Mark de Wever
38cbf2cc87 Fix a compiler warning. 2009-03-20 18:34:09 +00:00
Guillaume Melquiond
a6dae1b493 Removed config::get_children. 2009-03-20 07:08:46 +00:00
Guillaume Melquiond
cf8325c20c Replaced field config::values by function...
...config::attribute_range which returns opaque iterators.
2009-03-20 07:08:43 +00:00
Guillaume Melquiond
bee7ad1385 Modified config::child_range so that it returns opaque iterators. 2009-03-20 07:06:27 +00:00
Gunter Labes
5c3d279ea3 Grey game titles out when we're missing the era. 2009-03-17 03:35:09 +00:00
Thomas Baumhauer
f11d02ebc6 fixing indentation to tabs in various places 2009-01-06 16:59:02 +00:00
Thomas Baumhauer
bb77568ac7 when clicking on a name in the user list...
...automatically select the game the user is in
2009-01-05 21:48:12 +00:00
Mark de Wever
973a0a7d5c Remove trailing whitespace. 2009-01-01 10:28:26 +00:00
Mark de Wever
a5d1d2e969 New year copyright update. 2009-01-01 10:27:41 +00:00
Sergey Popov
495f481fdf Split off formula_string_utils from string_utils.
Break the dependency of string_utils.cpp on formula ai since it pulls
in practically everything else as result. Since servers use
string_utils.cpp this is unacceptable.
2008-12-21 15:26:11 +00:00
Gunter Labes
7e30707d22 again just use red game titles for unobservable games 2008-11-30 21:02:53 +00:00
Eric S. Raymond
9223460daa Remove unused headers. 2008-11-09 04:35:13 +00:00
Tomasz Śniatowski
01e504ede6 remove some map.hpp dependencies,
...also separated viewpoint and map_exception classes from map.hpp
into separate headers (no cpp files)
2008-10-17 17:53:08 +01:00
Mark de Wever
81c6a850ab MSVC 6 cleanup.
Now that MSVC 6 is no longer supported start to remove some helper code
to work around problems in that compiler. The first step is to comment
out the code and replace it with new helper code that uses the standard.
The second step is to remove the helper code and fix all callers.

Patch 2/3 for step 2: Remove minimum and maximum and fix all callers.
2008-08-24 16:12:13 +00:00
Mark de Wever
96e9f02259 Initialize all members. 2008-08-13 18:49:39 +00:00
Piotr Cychowski
50b0897485 Reintroduce require_era= key in more restrictive form...
...assuming true by default. Will allow to declare some eras safe to
play without both players having them.
2008-06-24 07:19:03 +00:00
Piotr Cychowski
7d0c5a4a02 Fix an earlier bug causing all game names to show in red
Disable a check causing have_era attribute not not be set in most
cases making selection_is_joinable and selection_is_obsevable not to
function properly

Fix bug introduced in my previous commit causing all games getting
Unknown Era suffix regardless of need.
2008-06-23 08:25:45 +00:00
Piotr Cychowski
20b2d655bc Make names of MP games using era player doesn't have display in red...
...with (Unknown Era) suffix
2008-06-23 07:51:26 +00:00
David White
e7a5e57055 added a 'require_era' attribute for eras.
If set, players will have to have the era to be able to join the game
2008-04-13 02:22:17 +00:00
Martin Renold
d269092fe5 fixed the minimap cache...
...(it was recalculating all minimaps in the lobby every time)
2008-03-23 09:27:23 +00:00
Bruno Wolff III
854d3adcb7 Silence gcc 4.3 warning by adding parens around && clause near ||. 2008-03-19 17:30:53 +00:00
Gunter Labes
835fa34b1f make a separate entry for lobby music and assign it silence.ogg for now
remove the obsolete anonymous_music entry
2008-02-27 00:07:32 +00:00
Gunter Labes
97319e6045 remove the music from the lobby until we find a less annoying solution
(note: objection by gryzwacz)
2008-02-26 22:59:25 +00:00
Patrick Parker
75e22ec7f1 add set_message_private(false) to a few more locations 2008-02-25 00:06:47 +00:00
Mark de Wever
001af46e6e Updated all headers to 2008. 2008-02-16 08:47:16 +00:00
uso
afd59ccebc display a reloaded game correctly in the game list...
...when the scenario is unknown (not locally installed)
2008-02-12 21:54:23 +00:00
uso
47e4eae779 always initialize game.reloaded properly 2008-02-09 00:31:03 +00:00
uso
57933f31a0 display "Reloaded game" for a reloaded game in the game list 2008-02-03 14:46:36 +00:00