~laney/ubuntu/vivid/0ad/test

« back to all changes in this revision

Viewing changes to source/tools/entity/checkrefs.pl

  • Committer: Package Import Robot
  • Author(s): Vincent Cheng
  • Date: 2014-05-17 16:30:39 UTC
  • mfrom: (5.1.11 sid)
  • Revision ID: package-import@ubuntu.com-20140517163039-whlz3xf64hbmi8x1
Tags: 0.0.16-1
* New upstream release.
  - Drop debian/patches/fix-kfreebsd-ftbfs.patch; applied upstream.
* Avoid repacking tarball by including missing jquery sources in Debian diff,
  see debian/missing-sources/jquery-1.8.{0,3}.js. Alternative way of fixing
  #735349.
  - Update debian/copyright to include missing license entries for the
    various javascript libraries contained in the source tarball.
  - Revert changes made to debian/control in 0ad/0.0.15+dfsg-3, i.e.:
    revert: debian/control: Hardcode versions of 0ad-data{,-common} to
            depend on to workaround the fact that 0.0.15+dfsg is strictly
            greater than 0.0.15.
* Build-dep on libgloox-dev (>= 1.0.9) to ensure that 0ad is built with
  newer enough gloox to avoid lobby connectivity issues.
* Add new build-deps: libicu-dev, libmozjs-24-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
use Entity;
9
9
 
10
 
use constant CHECK_SCENARIOS_XML => 0;
 
10
use constant CHECK_MAPS_XML => 0;
11
11
use constant ROOT_ACTORS => 1;
12
12
 
13
13
my @files;
171
171
    }
172
172
}
173
173
 
174
 
sub add_scenarios_xml
 
174
sub add_maps_xml
175
175
{
176
 
    print "Loading scenario XML...\n";
 
176
    print "Loading maps XML...\n";
177
177
    my @mapfiles = find_files('maps/scenarios', 'xml');
 
178
        push @mapfiles, find_files('maps/skirmishes', 'xml');
178
179
    for my $f (sort @mapfiles)
179
180
    {
180
181
        print "  $f\n";
215
216
    }
216
217
}
217
218
 
218
 
sub add_scenarios_pmp
 
219
sub add_maps_pmp
219
220
{
220
 
    print "Loading scenario PMP...\n";
 
221
    print "Loading maps PMP...\n";
221
222
 
222
223
    # Need to generate terrain texture filename=>path lookup first
223
224
    my %terrains;
234
235
    }
235
236
 
236
237
    my @mapfiles = find_files('maps/scenarios', 'pmp');
 
238
        push @mapfiles, find_files('maps/skirmishes', 'pmp');
237
239
    for my $f (sort @mapfiles)
238
240
    {
239
241
        push @files, $f;
510
512
}
511
513
 
512
514
 
513
 
add_scenarios_xml() if CHECK_SCENARIOS_XML;
 
515
add_maps_xml() if CHECK_MAPS_XML;
514
516
 
515
 
add_scenarios_pmp();
 
517
add_maps_pmp();
516
518
 
517
519
add_entities();
518
520