41 Commits

Author SHA1 Message Date
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
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
92f5f92ce5 New year copyright update. 2010-01-01 13:16:49 +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
Gunter Labes
2c7234d680 give server moderators the option to observe any game...
...(server still needs to allow it)
2009-02-25 01:45:48 +00:00
Ignacio R. Morelle
8287823446 Renamed mp::start_server() to mp::start_local_game(),
...and removed a few references to the 1.0.x internal server code.
2009-01-21 00:28:58 +00:00
Thomas Baumhauer
40125bf122 grey out the moderation buttons in the command wrapper dialog...
...if the client is not authenticated as a mod
2009-01-10 19:19:21 +00:00
Mark de Wever
a5d1d2e969 New year copyright update. 2009-01-01 10:27:41 +00:00
Mark de Wever
8c202d9f8d Fix a few doxygen warnings. 2008-05-03 13:51:13 +00:00
Jörg Hinrichs
95bf75315f Lazy loading for unit_types Step 2:
Rename game_data to unit_type_data and make it a singleton to prevent
passing the same instance throughout the whole code and make
subsequent optimization less painful.
2008-03-30 13:49:03 +00:00
Mark de Wever
001af46e6e Updated all headers to 2008. 2008-02-16 08:47:16 +00:00
Mark de Wever
22b23d4a93 Fixes another compiler warning. 2007-08-15 17:46:53 +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
uso
7ce4277fd3 put the definition of the max. length of a player name in one place 2007-08-02 03:55:38 +00:00
Patrick Parker
4cbe69fb85 FR #9558 Need "base_type" tag and derivation in [unit] declarations 2007-07-24 05:45:50 +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
Jörg Hinrichs
2a8b65d0d1 The end of multiplayer "quick replay" is now determined...
...from the current turn of the selected game on entering it as
observer. If that turn is reached, quick replay is turned off and
normal gameplay continues.
2006-07-03 18:52:20 +00:00
Jörg Hinrichs
cb0392a6f3 implements feature to skip mp replays for observer
(actually they are not really skipped but accelerated quite a lot)
2006-03-04 20:56:24 +00:00
Jon Daniel
32624f706b #13783 fixes. 2005-08-01 23:45:10 +00:00
Jon Daniel
23d11f1145 Fix bug where players are allowed to join a game with all controllers...
..set to computers, if they've clicked it while there was a vacant slot.
2005-08-01 23:00:54 +00:00
Jon Daniel
a560fba6c1 Fixed bug #13783
which caused players not to be able to stay in lobby after a non
critical error.
2005-08-01 21:12:30 +00:00
András Salamon
8bd9bc98a5 ran codeclean against files 2005-06-04 19:16:06 +00:00
Philippe Plantier
eccc1c65a7 Added support for the "next_scenario" WML value in multiplayer games.
(This means that now, we only need a few UI polishing fixes to have decent
support for multiplayer campaigns)

This is possibly buggy and needs polishing anyway.
2005-04-27 21:11:44 +00:00
Yann Dirson
456eaa6e11 moved mp:controller defn into multiplayer_connect, to cleanup mp deps a bit 2005-03-09 09:32:11 +00:00
Philippe Plantier
9283ba2423 Completely rewrote "multiplayer lobby" and "multiplayer game creation" code,
...and modified the associated server code.

Added the ability to kick users in the "game creation" screen
Added the ability for users to switch sides in the "game creation" screen
Added the name of the previous user for each position, on the "game creation" screen, when loading saves.
Fixed several bugs.
Certainly introduced several more.
2005-02-20 22:30:29 +00:00
Philippe Plantier
6d26c0333e Fixed bugs #10829 and #9868.
#10829 is "multiplayer setup screen broken in low resolutions" and 
#9868 is "resizing in multiplayer lobby creates some glitches."

Added 2 new widgets:
* The scrollpane, which contains other widgets and makes them scroll
* The label, a basic text label

Added a "clip box" parameter to widgets.
Factored the hidden(), dirty() checks, and background restoration in the widget
system. Now, draw() is implemented in widgets.cpp, and widgets implement
draw_contents();
2004-11-01 18:06:37 +00:00
Dave White
f78e028f59 added scrollbar to map selection in multiplayer 2004-10-09 21:14:47 +00:00
Dave White
bb90f34fdd added 'help strings' feature 2004-06-08 22:36:39 +00:00
Dave White
87c95d303f added in facility to play maps in multiplayer that don't have scenario data...
...specified for them
2004-05-24 16:27:18 +00:00
John B. Messerly
aed47f10d9 /tmp/cvs55Zujl 2004-05-24 04:13:20 +00:00
John B. Messerly
283370720d Added a "shared vision" option to multiplayer games...
...(and single-player games, via the scenario cfg file). It causes all
allied players to be able to see the same fog and shroud.

Notable changes by file:

* data/translations/english.cfg = added a "Shared Vision" string

* src/multiplayer.[ch]pp = added a "Shared Vision" checkbox

* src/multiplayer_connect.[ch]pp = added a shared_vision parameter to
load_game

* src/playlevel.cpp = clear shroud for each team once up front, before
the first player's turn

* src/replay.cpp = fixed several commands not clearing fog/shroud
or refreshing the minimap properly

* src/team.[ch]pp = changed shrouded(x,y) and fogged(x,y) methods to
return true only if the square is shrouded/fogged for every allied
player, if and only if shared vision is turned on for this team.
2004-05-09 05:14:50 +00:00
Dave White
0d9d0ccf7c restructure of lobby system...
...which allows chatting to lobby members during the first step of
creating a game, and chatting with other game members during the
second step
2004-04-27 21:55:13 +00:00
Dave White
fc0c48f9a3 [[Miscellaneous fixes to graphics, lobby, and gameplay]]
- added new status image for illuminated underground

- made Li'sar start at level 2 and be upgradeable to level 3

- made it so users in lobby can see minimap of non-shroud games being played

- made it so the 'observer' setting is respected for multiplayer games

- made it so that the number of available positions in a game is shown
  in the lobby

- made it so the current turn of a game underway is shown in the lobby

- made the 'eye of the observer' work, allowing players to see who is
  observing their game. (only updates when it's a network player's
  turn)
2004-03-29 23:43:47 +00:00
Justin Zaun
97689acdd0 New game creation dialog 2003-11-15 23:38:07 +00:00
Dave White
d64e04a5ca added some comments 2003-11-12 18:37:30 +00:00
Dave White
df23cfa795 made it so quitting from a networked multiplayer game on a server...
...takes the player back to the lobby
2003-10-27 05:24:13 +00:00
Dave White
3a7d0ad85f fixed problem where restarting a network game...
...after already playing one doesn't work properly
2003-10-12 09:23:59 +00:00
Dave White
8a8b84b4da added basic multiplayer capabilities 2003-10-04 22:38:42 +00:00
zas
ffa8b0bf4e Step1 of source move. 2003-09-19 10:21:25 +00:00