mail[Wesnoth-commits] r34064 - in /trunk: RELEASE_NOTES changelog players_changelog src/filesystem.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by shadowm2006 on March 23, 2009 - 14:27:
Author: shadowmaster
Date: Mon Mar 23 14:27:13 2009
New Revision: 34064

URL: http://svn.gna.org/viewcvs/wesnoth?rev=34064&view=rev
Log:
The add-ons directory, <preferences>/data/campaigns, has been renamed
to <preferences>/data/add-ons in order to better reflect its current
purpose: holding not only singleplayer campaigns, but also any other
kinds of single or multiplayer add-ons.

(Per mailing list thread,
https://mail.gna.org/public/wesnoth-dev/2009-03/msg00068.html).

Modified:
    trunk/RELEASE_NOTES
    trunk/changelog
    trunk/players_changelog
    trunk/src/filesystem.cpp

Modified: trunk/RELEASE_NOTES
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/RELEASE_NOTES?rev=34064&r1=34063&r2=34064&view=diff
==============================================================================
--- trunk/RELEASE_NOTES (original)
+++ trunk/RELEASE_NOTES Mon Mar 23 14:27:13 2009
@@ -13,7 +13,10 @@
 
 ***
 
-REPLACE ME WITH CONTENT...
+The add-ons directory, <preferences>/data/campaigns, has been renamed
+to <preferences>/data/add-ons in order to better reflect its current
+purpose: holding not only singleplayer campaigns, but also any other
+kinds of single or multiplayer add-ons.
 
 ***
 

Modified: trunk/changelog
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/changelog?rev=34064&r1=34063&r2=34064&view=diff
==============================================================================
--- trunk/changelog (original)
+++ trunk/changelog Mon Mar 23 14:27:13 2009
@@ -2,7 +2,10 @@
  * Editor2:
    * New feature: exporting of selection coordinates to system clipboard
    * Made auto terrain transition mode tri-state: on (editor2's on), partial
-     (1.4 editor's on / editor2's off) and off (1.4's off). 
+     (1.4 editor's on / editor2's off) and off (1.4's off).
+ * General:
+   * The add-ons directory, <preferences>/data/campaigns, has been renamed
+     and it is now <preferences>/data/add-ons
  * Graphics:
    * The ~RC() image functor does not accept the special palette switch
      ~RC(palette1=palette2) syntax anymore. ~PAL(palette1>palette2) should

Modified: trunk/players_changelog
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/players_changelog?rev=34064&r1=34063&r2=34064&view=diff
==============================================================================
--- trunk/players_changelog (original)
+++ trunk/players_changelog Mon Mar 23 14:27:13 2009
@@ -3,6 +3,9 @@
 changelog: http://svn.gna.org/viewcvs/*checkout*/wesnoth/trunk/changelog
 
 Version 1.7.0-svn:
+  * General:
+    * The add-ons directory, <preferences>/data/campaigns, has been renamed
+      and it is now <preferences>/data/add-ons.
   * Graphics:
     * New portrait for Orc Grunt, Dwarf Fighter (alternative)
   * Language and translations

Modified: trunk/src/filesystem.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/filesystem.cpp?rev=34064&r1=34063&r2=34064&view=diff
==============================================================================
--- trunk/src/filesystem.cpp (original)
+++ trunk/src/filesystem.cpp Mon Mar 23 14:27:13 2009
@@ -278,7 +278,7 @@
 
 std::string get_addon_campaigns_dir()
 {
-       const std::string dir_path = get_user_data_dir() + "/data/campaigns";
+       const std::string dir_path = get_user_data_dir() + "/data/add-ons";
        return get_dir(dir_path);
 }
 
@@ -532,7 +532,7 @@
        _mkdir((game_config::preferences_dir + "/editor/maps").c_str());
        _mkdir((game_config::preferences_dir + "/data").c_str());
        _mkdir((game_config::preferences_dir + "/data/ais").c_str());
-       _mkdir((game_config::preferences_dir + "/data/campaigns").c_str());
+       _mkdir((game_config::preferences_dir + "/data/add-ons").c_str());
        _mkdir((game_config::preferences_dir + "/data/multiplayer").c_str());
        _mkdir((game_config::preferences_dir + "/data/maps").c_str());
        _mkdir((game_config::preferences_dir + 
"/data/maps/multiplayer").c_str());
@@ -557,7 +557,7 @@
                BEOS_CREATE_PREFERENCES_SUBDIR("editor/maps");
                BEOS_CREATE_PREFERENCES_SUBDIR("data");
                BEOS_CREATE_PREFERENCES_SUBDIR("data/ais");
-               BEOS_CREATE_PREFERENCES_SUBDIR("data/campaigns");
+               BEOS_CREATE_PREFERENCES_SUBDIR("data/add-ons");
                BEOS_CREATE_PREFERENCES_SUBDIR("data/multiplayer");
                BEOS_CREATE_PREFERENCES_SUBDIR("data/maps");
                BEOS_CREATE_PREFERENCES_SUBDIR("data/maps/multiplayer");
@@ -583,7 +583,7 @@
        create_directory_if_missing(dir_path + "/editor/maps");
        create_directory_if_missing(dir_path + "/data");
        create_directory_if_missing(dir_path + "/data/ais");
-       create_directory_if_missing(dir_path + "/data/campaigns");
+       create_directory_if_missing(dir_path + "/data/add-ons");
        create_directory_if_missing(dir_path + "/data/multiplayer");
        create_directory_if_missing(dir_path + "/data/maps");
        create_directory_if_missing(dir_path + "/data/maps/multiplayer");




Related Messages


Powered by MHonArc, Updated Mon Mar 23 16:00:44 2009