Changes between Version 36 and Version 37 of Rmgen_Library


Ignore:
Timestamp:
Jun 12, 2017, 9:13:59 PM (7 years ago)
Author:
bb
Comment:

Nuke references to old random generator functions

Legend:

Unmodified
Added
Removed
Modified
  • Rmgen_Library

    v36 v37  
    224224== Miscellaneous Helpers ==
    225225
    226 The following utility functions are available to scripts. Especially useful are the randomization functions for when you want parameters like terrains or area sizes to vary.
    227  * `randInt(maxValue)`: Returns a random integer between 0 (inclusive) and `maxValue - 1` (inclusive).
    228  * `randInt(minValue, maxValue)`: Returns a random integer between `minValue` (inclusive) and `maxValue - 1` (inclusive).
    229  * `randFloat()`: Returns a random floating-point number between 0.0 (inclusive) and 1.0 (exclusive).
    230  * `randFloat(minValue, maxValue)`: Returns a random floating-point number between `minValue` (inclusive) and `maxValue` (exclusive).
    231  * `chooseRand(...)`: Returns one of its arguments at random (takes any number of arguments).
     226The following utility function is available to scripts.
    232227 * `getDistance(x1, z1, x2, z2)`: Function to get the distance between 2 points
    233228
     
    297292 * '''placer.js''': Defines area and object placers
    298293 * '''point.js''': Defines 2D point data structure
    299  * '''random.js''': Defines helpers for random numbers
    300294 * '''randombiome.js''': Defines random biome system's functions
    301295 * '''terrain.js''': Defines terrain placers