Author: shadowmaster
Date: Thu Jun 12 23:59:58 2008
New Revision: 27134
URL: http://svn.gna.org/viewcvs/wesnoth?rev=27134&view=rev
Log:
* Revert removal of support for <user pref. dir>/data/units
Modified:
trunk/RELEASE_NOTES
trunk/changelog
trunk/data/core/units.cfg
trunk/src/filesystem.cpp
Modified: trunk/RELEASE_NOTES
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/RELEASE_NOTES?rev=27134&r1=27133&r2=27134&view=diff
==============================================================================
--- trunk/RELEASE_NOTES (original)
+++ trunk/RELEASE_NOTES Thu Jun 12 23:59:58 2008
@@ -19,10 +19,6 @@
Users of Wesnoth 1.5.0 are encouraged to upgrade since Wesnoth 1.5.0 won't be
compatible with recent changes to the addon server.
-Support for keeping unit WML in <user preferences dir>/data/units for testing
-has been removed. Content authors are encouraged to use the UMC directory
-for such purpose.
-
Now content authors can specify the type of their addons. See the documentation
updates at http://www.wesnoth.org/wiki/PblWML for details.
Modified: trunk/changelog
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/changelog?rev=27134&r1=27133&r2=27134&view=diff
==============================================================================
--- trunk/changelog (original)
+++ trunk/changelog Thu Jun 12 23:59:58 2008
@@ -112,7 +112,8 @@
(patch #1066)
* Fixed unstoned units not having their attacks at their first turn
* Prevent steadfast ability from lowering resistance if already over 50%
- * <user data dir>/data/campaigns directory is created on first run
+ * <user data dir>/data/campaigns and <user data dir>/data/units
+ directories are npw created on first run
* added command line parameter --config-path, which prints the path to the
config directory and exits
* fix a bug with variable substitution time of [event]-within-[event]
Modified: trunk/data/core/units.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/units.cfg?rev=27134&r1=27133&r2=27134&view=diff
==============================================================================
--- trunk/data/core/units.cfg (original)
+++ trunk/data/core/units.cfg Thu Jun 12 23:59:58 2008
@@ -9,6 +9,7 @@
[+units]
{core/units}
+ {~units}
# subfolders for units
{core/units/bats/}
{core/units/boats/}
Modified: trunk/src/filesystem.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/filesystem.cpp?rev=27134&r1=27133&r2=27134&view=diff
==============================================================================
--- trunk/src/filesystem.cpp (original)
+++ trunk/src/filesystem.cpp Thu Jun 12 23:59:58 2008
@@ -420,6 +420,7 @@
_mkdir("userdata/data/multiplayer");
_mkdir("userdata/data/maps");
_mkdir("userdata/data/maps/multiplayer");
+ _mkdir("userdata/data/units");
_mkdir("userdata/saves");
inited_dirs = true;
}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits