296 Commits

Author SHA1 Message Date
Tommy Schmitz
7ac027d06f Fixed a unit::underlying_id_ OOS. 2011-07-09 07:56:44 +00:00
Ignacio R. Morelle
65f8d716bf Remove placeholder string that leaked into 2011-06-24T08:48:15Z!shadowm@wesnoth.org 2011-06-24 21:33:05 +00:00
Ignacio R. Morelle
76342ff9ae Support client localization of the inactive account login warning 2011-06-24 08:48:15 +00:00
Ignacio R. Morelle
bf906de800 wesnothd: Add support for sending login warnings that the client can dismiss 2011-06-24 08:47:33 +00:00
Iurii Chernyi
3b9020f696 Patch #2600 by Zaroth: improved multiplayer logging 2011-03-29 21:50:07 +00:00
Mark de Wever
36022c9cb2 Move tmp_login to its own files. 2011-03-06 08:39:35 +00:00
Mark de Wever
ecbabea838 New year copyright update. 2011-01-01 15:57:50 +00:00
Ignacio R. Morelle
3487ab1a23 Set wesnothd and wesnoth client MP username length limit to 20 (was 18) 2010-12-05 21:12:23 +00:00
Ignacio R. Morelle
da24fec21a GUI2: Convert the MP server message confirmation dialog 2010-11-29 12:13:25 +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
Ali El Gariani
3a085f75b6 Move all calls to SDL_FillRect into one place (sdl_fill_rect) 2010-09-24 18:45:19 +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
eeb047de55 Fixed file headers so that they match the content of the COPYING file. 2010-09-01 21:12:38 +00:00
Mark de Wever
1aac317bf5 Remove an unneeded include in a header. 2010-08-29 10:48:31 +00:00
Mark de Wever
7a27f99716 Removed the statitics upload code. 2010-08-27 18:07:55 +00:00
Guillaume Melquiond
4a9c477f9a Avoided costly roundtrip through strings. 2010-07-17 13:17:44 +00:00
Mark de Wever
ef8228309d Make Wesnoth more compatible with C++0x (g++-4.5). 2010-06-12 16:02:48 +00:00
Ali El Gariani
51ab72860e Replace all uses of 'colour' by 'color' in code. 2010-06-03 01:47:06 +00:00
Guillaume Melquiond
b42bf8c5a0 Avoided costly roundtrip through strings. 2010-05-29 09:21:30 +00:00
Guillaume Melquiond
76c34a23d3 Modified WML attributes so that they are stored with...
...smaller effective types when they are not translatable.

This patch considerably reduces the memory footprint of WML and speeds it up.

It should not change any WML behavior, except for a few corner cases
detailled below:

- "off" is no longer a synonym for "no" (it wasn't used anyway),

- _"42" is no longer an integer,

- untranslatable "true" and "false" are stored as booleans, hence
  displayed as "yes" and "no",

- "042" is now understood as octal notation (hence 34) rather than decimal,

- hexadecimal notation "0x42" is now recognized.
2010-05-24 08:01:31 +00:00
Mark de Wever
aecd53092f Avoid parts of the previous game show in the lobby.
Fixes bug #15768.
2010-04-05 18:43:58 +00:00
Guillaume Melquiond
ab21de1ef1 Added conversions from config::proxy_string to int. 2010-04-05 06:02:01 +00:00
Mark de Wever
3cb506e173 Enabled the --new-widgets MP create dialog again. 2010-03-26 15:34:54 +00:00
Tomasz Śniatowski
1b50bc4e33 gettextify an error message 2010-03-25 23:08:11 +01:00
Tomasz Śniatowski
2069817fe7 make the lobby play music defined in a [lobby_music] wml tag...
...and set it to default_playlist + main menu theme. Fixes bug #15668.
2010-03-22 21:26:39 +01:00
Tomasz Śniatowski
b009a68796 Reset the lobby info object between lobby dialog startups...
...persistance here is not handled correctly and often results in a
crash. This fixes bug #15161.
2010-03-18 01:36:20 +01:00
Mark de Wever
92f5f92ce5 New year copyright update. 2010-01-01 13:16:49 +00:00
Tomasz Śniatowski
035c84b67d do not trust the server-returned salt string to be 12 or more chars,
...avoiding a crash when a 1.7 client connects to a 1.6 server
2009-12-12 17:56:16 +01:00
Guillaume Melquiond
f2de3e0aef Removed unused classes mp::gamebrowser and mp::lobby. 2009-12-06 09:56:00 +00:00
Mark de Wever
27bbe4cac7 Remove an unneeded include. 2009-12-05 21:25:23 +00:00
Mark de Wever
b0b8708869 Fix the resizing of the lobby with the preferences.
Now it always forces an update when the dialog is closed, might not be
needed but this a simple work-around.
2009-11-22 19:11:59 +00:00
Mark de Wever
4c7c8d84de Switch to the new MP lobby.
The lobby still needs more testing and polishing, enabled now to get
some feedback before the next release.
2009-10-26 21:22:35 +00:00
Jörg Hinrichs
5b21114d6d Removes num_turns from mp_game_settings,
...as that information is not unique to multiplayer. Also fixes
num_turns not being displayed for replays.
2009-10-15 21:59:43 +00:00
Mark de Wever
83abc62e0b Pass parameter by const ref instead of const value.
Issue found by cppcheck.
2009-10-02 19:25:56 +00:00
Jörg Hinrichs
c04b40db46 Fixes bug #14241...
...(mp campaigns: timer settings do not carry over to next
scenario). This (again) breaks mp savegame compatibility with all
previous releases. Campaigns shouldn't be affected.
2009-09-22 17:52:33 +00:00
Tomasz Śniatowski
c503f92a83 support for passworded games in new lobby 2009-08-01 00:26:51 +01:00
Tomasz Śniatowski
59a04d94a7 another bit of the new lobby.
Shows the minimap, more useful info in the gamelist and also fixed
preferences dialog display glitch
2009-07-07 19:49:35 +01:00
Tomasz Śniatowski
a44ebce1e9 Yet another new lobby WIP, this time with crude but working create/join game. 2009-07-05 18:49:11 +01:00
Tomasz Śniatowski
5c380490ef more new lobby WIP 2009-07-04 17:24:35 +01:00
Tomasz Śniatowski
714b2c60fb Reapply "show the not-functional-yet lobby dialog when --new-widgets is used" 2009-07-01 10:30:42 +01:00
Tomasz Śniatowski
c04bf21eb5 Revert "show the not-functional-yet lobby dialog...
...when --new-widgets is used" for 1.7.1
2009-06-28 16:27:24 +01:00
Tomasz Śniatowski
4e414301b5 show the not-functional-yet lobby dialog when --new-widgets is used 2009-06-28 01:11:21 +01:00
Gunter Labes
b825474ddc process network data first...
...so user actions work on as uptodate data as possible

should fix some rare race conditions (as far as is possible)
2009-06-21 01:36:27 +00:00
Mark de Wever
7d5b7f8da9 Convert show_error_message calls form gui to gui2. 2009-05-22 14:59:19 +00:00
Thomas Baumhauer
9f02a2724b fix bug #13478 introduced in 2009-04-04T17:51:20Z!guillaume.melquiond@gmail.com 2009-05-06 11:42:49 +00:00
Tomasz Śniatowski
a84b04ff90 fix some msvc warnings 2009-05-01 23:30:21 +01: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
Guillaume Melquiond
8065d803d2 Removed unused variable. 2009-04-05 18:03:03 +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
Thomas Baumhauer
c6590bc850 cleanup of the password hashing code and the login protocol...
...(thus breaks compatibility)
2009-03-29 16:53:42 +00:00