summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2010-07-11 20:12:47 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2010-07-11 20:15:13 +0200
commitf5dd1c2e1378e7b1572c3a48887c7e3403eb95fe (patch)
tree426fcf41ac491fee1542a5a82ae97f706ca1d9dc
parentdfd1701bb918969fc80ef3902dc0da5d6b353770 (diff)
downloadclientdata-f5dd1c2e1378e7b1572c3a48887c7e3403eb95fe.tar.gz
clientdata-f5dd1c2e1378e7b1572c3a48887c7e3403eb95fe.tar.bz2
clientdata-f5dd1c2e1378e7b1572c3a48887c7e3403eb95fe.tar.xz
clientdata-f5dd1c2e1378e7b1572c3a48887c7e3403eb95fe.zip
Added a sample paths.xml usable along with new configurable paths support.
Currently, the given paths are equivalent to the one set before.
-rw-r--r--paths.xml54
1 files changed, 54 insertions, 0 deletions
diff --git a/paths.xml b/paths.xml
new file mode 100644
index 00000000..537bc400
--- /dev/null
+++ b/paths.xml
@@ -0,0 +1,54 @@
+<?xml version="1.0"?>
+<!-- Use this file to override default data paths used by the system
+If this file is not used, the hard-coded defaults are the following:
+
+Files: Default paths:
+============= ===============
+(All folders listed below are relative to the data/ directory.)
+
+Default wallpaper: graphics/images/
+Default error path: graphics/images/
+
+Default items path: graphics/items/
+Default minimaps path: graphics/minimaps/
+Default particles path: graphics/particles/
+Default sprite path: graphics/sprites/
+Default maps path: maps/
+Default sfx path: sfx/
+
+Hard-coded reference files (Some could be handled differently later):
+
+Files: Default paths:
+============= ===============
+Error handling for missing sprites files: graphics/sprites/error.xml
+Level Up particle XML file: graphics/particles/levelup.particle.xml
+Warp/Portal effect XML file: graphics/particles/warparea.particle.xml
+Player unarmed attack sound effect: sfx/fist-swish.ogg
+
+You can also have a look the client data handling reference page, here:
+http://doc.manasource.org/client_data_handling
+
+Also, don't forget to add the '/' path separator at the end of folder values.
+-->
+
+<configuration>
+ <!-- Required data paths -->
+ <option name="itemIcons" value="graphics/items/" />
+ <option name="unknownItemFile" value="unknown-item.png" />
+ <option name="sprites" value="graphics/sprites/" />
+ <option name="spriteErrorFile" value="error.xml" />
+
+ <option name="particles" value="graphics/particles/" />
+ <option name="levelUpEffectFile" value="levelup.particle.xml" />
+ <option name="portalEffectFile" value="warparea.particle.xml" />
+
+ <option name="minimaps" value="graphics/minimaps/" />
+ <option name="maps" value="maps/" />
+
+ <option name="sfx" value="sfx/" />
+ <option name="attackSfxFile" value="fist-swish.ogg" />
+ <option name="music" value="music/" />
+
+ <option name="wallpapers" value="graphics/images/" />
+ <option name="wallpaperFile" value="login_wallpaper.png" />
+</configuration> \ No newline at end of file