Author: mordante
Date: Thu Jul 10 18:48:55 2008
New Revision: 27895
URL: http://svn.gna.org/viewcvs/wesnoth?rev=27895&view=rev
Log:
Make the wesnothd startable from the game on a Mac (patch by anakayub).
Modified:
trunk/src/game.cpp
Modified: trunk/src/game.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game.cpp?rev=27895&r1=27894&r2=27895&view=diff
==============================================================================
--- trunk/src/game.cpp (original)
+++ trunk/src/game.cpp Thu Jul 10 18:48:55 2008
@@ -1768,11 +1768,9 @@
host_or_join.push_back(pre + "serverother.png"
+ sep1 + _("Connect to Server")
+ sep2 + _("Join a different server"));
-#ifndef __APPLE__
host_or_join.push_back(pre + "hostgame.png"
+ sep1 + _("Host Networked Game")
+ sep2 + _("Host a game using dedicated
server 'wesnothd'"));
-#endif
host_or_join.push_back(pre + "hotseat.png"
+ sep1 + _("Local Game")
+ sep2 + _("Play a multiplayer game
with the AI or humans sharing the same machine"));
@@ -1786,13 +1784,7 @@
d.set_menu(host_or_join);
d.set_textbox(_("Login: "), login,
mp::max_login_size, font::relative_size(250));
res = d.show();
-#ifdef __APPLE__
- // hack to make hotseat to have res number 3 in
mac
- if (res == 2)
- {
- res = 3;
- }
-#endif
+
login = d.textbox_text();
if (res == 2 &&
preferences::mp_server_warning_disabled() < 2)
{
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits