Changes between Initial Version and Version 1 of RMS:Surfaces


Ignore:
Timestamp:
Feb 23, 2008, 4:18:58 AM (16 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RMS:Surfaces

    v1 v1  
     1== surface(area) ==
     2This is the constructor. It recieves the area the terrain references.
     3== setTerrain(terrain) ==
     4This method defines the main terrain to apply or change within the area.
     5== addTerrainLayer(terrain, percent) ==
     6This method adds a new terrain layer which borders the area. For example, going from shallow to deep water.
     7== replaceTerrain(old, new) ==
     8This method is used when you want a certain terrain type to be replaced with another in the case of overlapping areas.
     9== setForestType(type, percent) ==
     10This method is used to set a forest type and a percentage of how much of the land it takes up.
     11== setElevation(min, max) ==
     12This method defines the variable height of the area.
     13== setDepth(min, max) ==
     14This method defines the variable depth of the water area.
     15== modifyElevation(int, blendRadius) ==
     16This method raises/lowers the elevation of each tile by the specified int.
     17== modifyDepth(int, blendRadius) ==
     18This method raises/lowers the depth of each tile by the specified int.
     19== clearDepth() ==
     20This method clears depth of area.
     21== clearElevation() ==
     22This method clears elevation of area.