63 Commits

Author SHA1 Message Date
Ali El Gariani
51ab72860e Replace all uses of 'colour' by 'color' in code. 2010-06-03 01:47:06 +00:00
Mark de Wever
92f5f92ce5 New year copyright update. 2010-01-01 13:16:49 +00:00
Guillaume Melquiond
4ac493f378 Removed unused functions:
mp::ui::set_selected_user_changed & selected_user_changed.
2009-12-06 09:56:55 +00:00
Guillaume Melquiond
756c783182 Removed unused function mp::ui::get_selected_user_game. 2009-12-06 09:56:52 +00:00
Guillaume Melquiond
6ae566de75 Removed unused function mp::ui::set_selected_game. 2009-12-06 09:56:49 +00:00
Ali El Gariani
f891c65a3d clean some includes 2009-12-05 00:35:20 +00:00
Mark de Wever
8f8521da16 Pass parameter by const ref instead of const value.
Issue found by cppcheck.
2009-10-02 19:25:52 +00:00
Tomasz Śniatowski
f476e3cd0c extract chat_handler into it's own separate header...
...and make chat_handler not depend on game_display. This makes it
possible to include chat_handler without including half the game's
headers for no reason
2009-07-04 10:38:28 +01:00
Christian Bielert
e228111a35 bug #11106: Differentiate between MP start-of-scenario reloads...
...and midgame-reloads, leaders and recall lists are now loaded and
synchronized in MP campaign start-of-scenario saves, but loading
start-of-scenario saves can still trigger bugs regarding side control
and client-server interaction.
2009-02-08 13:02:29 +00:00
Thomas Baumhauer
bbc4f6b9c2 removing redundant variable 2009-01-06 10:08:20 +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
Thomas Baumhauer
fc61b0c40d remember selected player in the users menu. 2009-01-05 13:08:13 +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
Thomas Baumhauer
0d7a5d6e75 Making is possible to color messages sent by server moderators via /query 2008-12-23 18:11:58 +00:00
Mark de Wever
bae4703ebb Update doxygen comment style. 2008-09-19 15:30:44 +00:00
Thomas Baumhauer
5c36ef6ca8 Initial commit of client registration code 2008-08-16 10:36:09 +00:00
Pauli Nieminen
551251f978 Removed persistent from team configuration (bug: #10916)
Added support for multiple sides per client in MP start

Added support for reserving slots when reloading game
2008-06-28 19:13:15 +00:00
Mark de Wever
c22a395b28 Added constructor to initialize all members. 2008-06-22 10:33:28 +00:00
Mark de Wever
001af46e6e Updated all headers to 2008. 2008-02-16 08:47:16 +00:00
Gunter Labes
077716e3b9 partially revert 2008-02-08T08:10:07Z!soliton@wesnoth.org
(leave the sounds wired in just not used), proper way is too intrusive.
2008-02-08 08:47:12 +00:00
Gunter Labes
1be058cfce use different join/leave sounds for the game lobby 2008-02-08 08:10:07 +00:00
Gunter Labes
e56280353d apply patch #926
(Adding map name to interface when waiting for game to start) from
Anni Mäkelä with some tweaks
2008-01-08 04:11:06 +00:00
Gunter Labes
77b313a3a2 add the time to all chat messages...
...and only govern the display of the timestamp by the preferences

also display the timestamp everywhere not only in-game (fixes bug
#10572: Making the timestamp feature better)
2008-01-07 22:24:13 +00:00
Gunter Labes
1650a2a910 unify the multiplayer command handling:
most (all?) commands are now available as :command <argument> and
/command <argument>

accept lobby-style messages also in-game (construct_server_message()
can be simplified now)
2008-01-07 05:55:40 +00:00
Mark de Wever
c12f65566d Unclutter includes. 2007-12-22 16:52:49 +00:00
Gunter Labes
005bdf1e96 sanitize the [relationship] handling
add handling for some more different chat message sounds
2007-12-20 21:15:19 +00:00
uso
3b5c2d8a45 let the wesnoth server send the game id and not only the game name
if a player joins a game to avoid ambiguity
2007-08-28 16:18:19 +00:00
uso
98da233b34 align the buttons on top the game lobby...
...so that the left button is not tied to the frame border anymore and
the quit button always stays inside of the window
2007-08-25 00:03:38 +00:00
Mark de Wever
080eb69f60 Updated the headers to state GPL 2+ and a few changelog cleanups. 2007-08-15 13:41:56 +00:00
Mark de Wever
e7b801ffbc Made sure all files have a copyright header, the update to GPL 2+ will follow
in a separate commit.
2007-08-15 12:39:11 +00:00
Patrick Parker
99ad847508 move some enums into the public access level
(error C2248: 'ME' : cannot access private enumerator declared in
class 'mp::ui')
2007-08-05 03:41:43 +00:00
uso
af24c0b6eb make the user_info structure private 2007-08-05 03:25:55 +00:00
uso
45736198b2 multiplayer lobby:
highlight the names of the players which have joined the selected game;
this mechanism still has some small flaws, in particular it highlights
too many players in the (seldom) case that two games have the same name
because we only get the name of the game a player joins and not an id
2007-08-01 01:42:25 +00:00
Mark de Wever
bb01934b85 A rather large update which updates the copyright info
* Wesnoth is distributed under the terms of the GPL version 2, made
  that more explicit

* updated the copyright range to 2007

* updated Dave's email adress
2007-07-21 07:28:04 +00:00
Eric S. Raymond
43e5de9fee Huge patch pretty much all name changes.
display is now the base class and game_display the derived; code that
can use the base class because it doesn't need to grok units or teams
(like preferences.cpp and hotkeys.cpp) does so.
2007-06-28 05:32:36 +00:00
Patrick Parker
172228645f fix more struct/class conflicts 2007-02-20 04:04:01 +00:00
Patrick Parker
c1369d9ae0 show full username at bottom of MP Lobby when moused over userlist 2007-02-18 06:03:43 +00:00
Patrick Parker
e965dce832 reduce the impact of lobby lag by applying gamelist diffs at a set interval
default refresh interval set to 6 seconds, but this may need some fine-tuning
2007-02-04 06:43:03 +00:00
Jörg Hinrichs
7d7b6fd1ec Prevents nesting of replay_start element in itself for savegames.
This was causing the bug in my first try to fix this but i found it
this time. There might still be some more things broken, those are
subject to later commits.
2007-01-14 00:57:39 +00:00
Jérémy Rosen
145c33d11b multiple fixes to friendlist, including tab completion 2007-01-01 19:04:58 +00:00
Jörg Hinrichs
04f1a065dc Reverts changes from 2006-10-10T19:57:48Z!joerg.hinrichs@alice-dsl.de
(savegame patch), since it causes more problems and i can't care for
it for at least a week.
2006-10-21 19:00:08 +00:00
Jörg Hinrichs
4069a6811a [[Gamestate and replay fixes]]
- makes some use of gamestate wording more consistent

- enables (again) saving of events and variables for mp savegames

- uses the same gamestate information for mp saves, campaign saves and autosaves

- keeps replay information for mp saves so that they always start from
  the beginning

- corrects the messed up savegame WML structure

I tested this in itself but not against latest changes: If there are
any incompatibilities/problems please tell me
2006-10-10 19:57:48 +00:00
Serge Martin
53b82b3cae remove some warning 2006-09-25 18:32:20 +00:00
Karol Nowak
dc6d9d4a0a New background for tiny gui lobby, with input field removed.
Tiny gui lobby should now be usable, as well as the game creation
screen. Also, further tweaked font sizes.
2006-08-04 19:53:18 +00:00
Patrick Parker
15f1c253c2 this change shortens the width of the MP dialog on the titlescreen,
...and makes it easier to change dialog dimension measurements
generally. also moved around a few constants to avoid redefinition
conflict.
2006-07-23 11:31:37 +00:00
Patrick Parker
1cdcd04700 MP lobby gameslist now uses bluebg_style,
...also fixed an error with menu headings, loadgame dialog now uses
bluebg_style, MP lobby userlist now uses slateborder_style,
progressbars changed to blue.
2006-06-01 01:25:17 +00:00
Rusty Russell
9a2db20534 g++ 4.0 warning fixes 2006-05-10 07:33:22 +00:00
Patrick Parker
4e24eb8bd2 refactored chat commands and fixed /ignore add foo"bar 2006-05-10 01:59:17 +00:00
Dominic Bolin
2c7fe035aa Apply patch #521 2006-04-01 02:41:56 +00:00