Commit f5dd1c2e1378e7b1572c3a48887c7e3403eb95fe

  • avatar
  • Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>
  • Sun Jul 11 20:15:13 CEST 2010
Added a sample paths.xml usable along with new configurable paths support.

Currently, the given paths are equivalent to the one set before.
paths.xml
(54 / 0)
  
1<?xml version="1.0"?>
2<!-- Use this file to override default data paths used by the system
3If this file is not used, the hard-coded defaults are the following:
4
5Files: Default paths:
6============= ===============
7(All folders listed below are relative to the data/ directory.)
8
9Default wallpaper: graphics/images/
10Default error path: graphics/images/
11
12Default items path: graphics/items/
13Default minimaps path: graphics/minimaps/
14Default particles path: graphics/particles/
15Default sprite path: graphics/sprites/
16Default maps path: maps/
17Default sfx path: sfx/
18
19Hard-coded reference files (Some could be handled differently later):
20
21Files: Default paths:
22============= ===============
23Error handling for missing sprites files: graphics/sprites/error.xml
24Level Up particle XML file: graphics/particles/levelup.particle.xml
25Warp/Portal effect XML file: graphics/particles/warparea.particle.xml
26Player unarmed attack sound effect: sfx/fist-swish.ogg
27
28You can also have a look the client data handling reference page, here:
29http://doc.manasource.org/client_data_handling
30
31Also, don't forget to add the '/' path separator at the end of folder values.
32-->
33
34<configuration>
35 <!-- Required data paths -->
36 <option name="itemIcons" value="graphics/items/" />
37 <option name="unknownItemFile" value="unknown-item.png" />
38 <option name="sprites" value="graphics/sprites/" />
39 <option name="spriteErrorFile" value="error.xml" />
40
41 <option name="particles" value="graphics/particles/" />
42 <option name="levelUpEffectFile" value="levelup.particle.xml" />
43 <option name="portalEffectFile" value="warparea.particle.xml" />
44
45 <option name="minimaps" value="graphics/minimaps/" />
46 <option name="maps" value="maps/" />
47
48 <option name="sfx" value="sfx/" />
49 <option name="attackSfxFile" value="fist-swish.ogg" />
50 <option name="music" value="music/" />
51
52 <option name="wallpapers" value="graphics/images/" />
53 <option name="wallpaperFile" value="login_wallpaper.png" />
54</configuration>