Moved initFromScenario LOAD_* constants to rmlibrary.js

This was SVN commit r2434.
This commit is contained in:
Matei 2005-06-24 06:44:21 +00:00
parent 816293ff36
commit 470681a287
2 changed files with 7 additions and 8 deletions

View File

@ -1,12 +1,5 @@
//TODO: Move to some library file?
//const LOAD_NOTHING = 0;
const LOAD_TERRAIN = 1
const LOAD_INTERACTIVES = 2;
const LOAD_NON_INTERACTIVES = 4;
const LOAD_ALL = LOAD_TERRAIN | LOAD_INTERACTIVES | LOAD_NON_INTERACTIVES;
initFromScenario("mediterannean", LOAD_TERRAIN);
initFromScenario("mediterannean", LOAD_ALL);

View File

@ -10,6 +10,12 @@ TYPE_CLUMPPLACER = 6,
TYPE_AVOIDTEXTURECONSTRAINT = 7,
TYPE_ELEVATIONPAINTER = 8;
const LOAD_NOTHING = 0;
const LOAD_TERRAIN = 1
const LOAD_INTERACTIVES = 2;
const LOAD_NON_INTERACTIVES = 4;
const LOAD_ALL = LOAD_TERRAIN | LOAD_INTERACTIVES | LOAD_NON_INTERACTIVES;
// Utility functions
function println(x) {