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).
This commit is contained in:
Ignacio R. Morelle 2009-03-23 13:27:13 +00:00
parent 762ae57dc2
commit 0e5adf7b9c
4 changed files with 15 additions and 6 deletions

View file

@ -13,7 +13,10 @@ The release team should empty this file after each release.
***
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.
***

View file

@ -2,7 +2,10 @@ Version 1.7.0-svn:
* 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

View file

@ -3,6 +3,9 @@ changes may be omitted). For a complete list of changes, see the main
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

View file

@ -278,7 +278,7 @@ std::string get_cache_dir()
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 @@ static std::string setup_user_data_dir()
_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 @@ static std::string setup_user_data_dir()
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 @@ static std::string setup_user_data_dir()
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");