Update of /cvsroot/csp/APPLICATIONS/CSPSim/Tools/Terrain/tile
In directory sc8-pr-cvs1:/tmp/cvs-serv29790/Tools/Terrain/tile
Added Files:
tile.cpp tile.ini
Log Message:
--- NEW FILE: tile.cpp ---
// Combat Simulator Project - Terrain Tools
// Copyright (C) 2002, 2003 The Combat Simulator Project
// http://csp.sourceforge.net
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
/**
[...1316 lines suppressed...]
help();
::exit(0);
}
usage();
} else {
ini = arg;
}
}
if (ini == 0) {
help();
::exit(0);
}
Tiler tiler;
if (tiler.initialize(ini)) {
tiler.run();
}
if (LOG != 0) fclose(LOG);
}
--- NEW FILE: tile.ini ---
center_latitude = 38.5
center_longitude = -118.5
width = 70000.0
height = 70000.0
x_tiles = 1
y_tiles = 1
tile_width = 512
tile_height = 512
prefix = nevada
|