| 175 | |
| 176 | = Script Library = |
| 177 | |
| 178 | These 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) |