ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra/res2pm
(Generate patch)

Comparing deliantra/Deliantra/res2pm (file contents):
Revision 1.12 by root, Wed Dec 26 18:26:15 2007 UTC vs.
Revision 1.13 by elmex, Fri Mar 19 21:38:14 2010 UTC

130 } elsif ($e->{Name} eq "ignore") { 130 } elsif ($e->{Name} eq "ignore") {
131 for my $i (grep $_->isa ('XML::Grove::Element'), @{$e->{Contents}}) { 131 for my $i (grep $_->isa ('XML::Grove::Element'), @{$e->{Contents}}) {
132 if ($i->{Name} eq "ignore_list") { 132 if ($i->{Name} eq "ignore_list") {
133 push @{$type->{ignore}}, $ignore_list{$i->{Attributes}->{name}} ||= []; 133 push @{$type->{ignore}}, $ignore_list{$i->{Attributes}->{name}} ||= [];
134 } elsif ($i->{Name} eq "attribute") { 134 } elsif ($i->{Name} eq "attribute") {
135 warn "ACDD $i->{Attributes}->{arch}\n";
135 push @{$type->{ignore}}, $i->{Attributes}->{arch}; 136 push @{$type->{ignore}}, [$i->{Attributes}->{arch}];
136 } 137 }
137 } 138 }
138 } elsif ($e->{Name} eq "import_type") { 139 } elsif ($e->{Name} eq "import_type") {
139 #push @{$type->{import}}, $type{$e->{Attributes}->{name}} ||= {}; 140 #push @{$type->{import}}, $type{$e->{Attributes}->{name}} ||= {};
140 push @{$type->{import}}, $e->{Attributes}->{name}; 141 push @{$type->{import}}, $e->{Attributes}->{name};

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines