Changes between Version 1 and Version 2 of Rmgen_Library


Ignore:
Timestamp:
Mar 24, 2011, 11:39:17 PM (13 years ago)
Author:
historic_bruno
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Rmgen_Library

    v1 v2  
    173173 * `randFloat(minValue, maxValue)`: Returns a random floating-point number between `minValue` (inclusive) and `maxValue` (exclusive).
    174174 * `chooseRand(...)`: Returns one of its arguments at random (takes any number of arguments).
     175
     176= Script Library =
     177
     178These are the scripts that are part of the rmgen library:
     179 * '''area.js''': Defines area data structure
     180 * '''constraint.js''': Defines constraints
     181 * '''entity.js''': Defines the structure of an entity/object
     182 * '''environment.js''': Defines environment helper functions
     183 * '''library.js''': Defines various constants and helper functions
     184 * '''map.js''': Defines the map data structure
     185 * '''mapgen.js''': Defines settings and functions for all map scripts
     186 * '''noise.js''': Defines 2D and 3D noise maps
     187 * '''painter.js''': Defines area painters
     188 * '''placer.js''': Defines area and object placers
     189 * '''point.js''': Defines 2D point data structure
     190 * '''random.js''': Defines helpers for random numbers
     191 * '''terrain.js''': Defines terrain placers
     192 * '''tileclass.js''': Defines tile class data structure and rangeOp (see [http://www.wildfiregames.com/forum/index.php?showtopic=13709&view=findpost&p=212950 here] for details)
     193 * '''vector.js''': Defines 2D and 3D vector data structures (used for noise)