less ../../../

git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1355 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
(no author)
2007-07-26 08:20:39 +00:00
parent 87ab32acc8
commit cd70038a3c
9 changed files with 20 additions and 27 deletions

View File

@@ -8,14 +8,12 @@ namespace OpenRa.FileFormats
{
public class Walkability
{
const string src = "../../../templates.ini";
Dictionary<string, Dictionary<int, int>> walkability =
new Dictionary<string, Dictionary<int, int>>();
public Walkability()
{
IniFile file = new IniFile(File.OpenRead(src));
IniFile file = new IniFile( FileSystem.Open( "templates.ini" ) );
Regex pattern = new Regex(@"tiletype(\d+)");
foreach (IniSection section in file.Sections)