wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth src/game.cpp ./changelog


From: Yann Dirson
Subject: [Wesnoth-cvs-commits] wesnoth src/game.cpp ./changelog
Date: Thu, 27 Jan 2005 17:19:26 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Yann Dirson <address@hidden>    05/01/27 22:19:26

Modified files:
        src            : game.cpp 
        .              : changelog 

Log message:
        fixed zipios support to honor path to data given on command-line

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/game.cpp.diff?tr1=1.183&tr2=1.184&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/changelog.diff?tr1=1.465&tr2=1.466&r1=text&r2=text

Patches:
Index: wesnoth/changelog
diff -u wesnoth/changelog:1.465 wesnoth/changelog:1.466
--- wesnoth/changelog:1.465     Thu Jan 27 20:14:13 2005
+++ wesnoth/changelog   Thu Jan 27 22:19:25 2005
@@ -5,6 +5,7 @@
   * updated manpages
  * language fixes and polishing (English)
  * fixed editor to work with zipios support enabled
+ * fixed zipios support to honor path to data given on command-line
  * new cmd line option --fps to display frames/second refresh in game
  * fixed bugs when replacing player with observer in mp
  * code cleanups
Index: wesnoth/src/game.cpp
diff -u wesnoth/src/game.cpp:1.183 wesnoth/src/game.cpp:1.184
--- wesnoth/src/game.cpp:1.183  Thu Jan 27 03:45:00 2005
+++ wesnoth/src/game.cpp        Thu Jan 27 22:19:24 2005
@@ -1,4 +1,4 @@
-/* $Id: game.cpp,v 1.183 2005/01/27 03:45:00 Sirp Exp $ */
+/* $Id: game.cpp,v 1.184 2005/01/27 22:19:24 ydirson Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -1473,16 +1473,15 @@
                }
        }
 
+       srand(time(NULL));
+
+       game_controller game(argc,argv,use_sound);
+
        if (!filesystem_init()) {
                std::cerr << "cannot init filesystem code\n";
                return 1;
        }
 
-
-       srand(time(NULL));
-
-       game_controller game(argc,argv,use_sound);
-
        // I would prefer to setup locale first so that early error
        // messages can get localized, but we need the game_controller
        // initialized to have get_intl_dir() to work.  Note: this




reply via email to

[Prev in Thread] Current Thread [Next in Thread]