… | |
… | |
579 | |
579 | |
580 | } elsif ($dir =~ /^res(?:\/|$)/) { |
580 | } elsif ($dir =~ /^res(?:\/|$)/) { |
581 | if ($file =~ /\.(jpg|png)$/) { |
581 | if ($file =~ /\.(jpg|png)$/) { |
582 | $c_res->put ([$path, $file, 0]) # FT_FACE |
582 | $c_res->put ([$path, $file, 0]) # FT_FACE |
583 | } elsif ($file =~ /\.(res)$/) { |
583 | } elsif ($file =~ /\.(res)$/) { |
584 | $c_res->put ([$path, $file, 7]) # FT_RSRC |
584 | $c_res->put ([$path, $file, 6]) # FT_RSRC |
585 | } else { |
585 | } else { |
586 | $c_res->put ([$path, $file, undef]); |
586 | $c_res->put ([$path, $file, undef]); |
587 | } |
587 | } |
588 | |
588 | |
589 | } elsif ($file =~ /\.png$/) { |
589 | } elsif ($file =~ /\.png$/) { |