Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
ForestGeneratorEntity.c File Reference

Go to the source code of this file.

Classes

class  ForestGeneratorEntityClass

Enumerations

enum  SCR_ETreeType {
  TOP , BOTTOM , MIDDLE_OUTLINE , SMALL_OUTLINE ,
  CLUSTER
}

Functions

ForestGeneratorEntityClass SCR_AreaGeneratorBaseEntityClass Attribute (defvalue:"1", category:"Generation", desc:"Allow partial forest regeneration, regenerates the whole forest otherwise")] protected bool m_bAllowPartialRegeneration

Variables

bool m_bRegenerateEntireForest
 not saved to layer (see _WB_OnKeyChanged), used as a button
bool m_bPrintArea
bool m_bPrintEntitiesCount
bool m_bPrintPerformanceDetails
bool m_bDrawDebugShapes
bool m_bDrawDebugShapesObstacles
bool m_bDrawDebugShapesRectangulation
bool m_bDrawDebugShapesRegeneration
bool m_bEntitiesFollowTerrainOnShapeMove
ref array< ref ForestGeneratorLevelm_aLevels
ref array< ref ForestGeneratorClusterm_aClusters
ref Curve m_aGlobalOutlineScaleCurve
float m_fGlobalOutlineScaleCurveDistance

Enumeration Type Documentation

◆ SCR_ETreeType

enum SCR_ETreeType
protected
Enumerator
TOP 
BOTTOM 
MIDDLE_OUTLINE 
SMALL_OUTLINE 
CLUSTER 

Definition at line 2522 of file ForestGeneratorEntity.c.

Function Documentation

◆ Attribute()

ForestGeneratorEntityClass SCR_AreaGeneratorBaseEntityClass Attribute ( defvalue:"1" ,
category:"Generation" ,
desc:"Allow partial forest regeneration,
regenerates the whole forest otherwise"  )

A Forest Generator uses the following data:

  • Levels (Top trees, Middle trees, Outlines)
  • Clusters (Circles, Strips) These are loaded, processed (data check) Then trees are "generated" in a grid, managed C++ side Finally, the grid is used to create entities

Variable Documentation

◆ m_aClusters

ref array<ref ForestGeneratorCluster> m_aClusters
protected

Definition at line 60 of file ForestGeneratorEntity.c.

◆ m_aGlobalOutlineScaleCurve

ref Curve m_aGlobalOutlineScaleCurve
protected

Definition at line 63 of file ForestGeneratorEntity.c.

◆ m_aLevels

ref array<ref ForestGeneratorLevel> m_aLevels
protected

Definition at line 57 of file ForestGeneratorEntity.c.

◆ m_bDrawDebugShapes

bool m_bDrawDebugShapes
protected

Definition at line 38 of file ForestGeneratorEntity.c.

◆ m_bDrawDebugShapesObstacles

bool m_bDrawDebugShapesObstacles
protected

Definition at line 41 of file ForestGeneratorEntity.c.

◆ m_bDrawDebugShapesRectangulation

bool m_bDrawDebugShapesRectangulation
protected

Definition at line 44 of file ForestGeneratorEntity.c.

◆ m_bDrawDebugShapesRegeneration

bool m_bDrawDebugShapesRegeneration
protected

Definition at line 47 of file ForestGeneratorEntity.c.

◆ m_bEntitiesFollowTerrainOnShapeMove

bool m_bEntitiesFollowTerrainOnShapeMove
protected

Definition at line 50 of file ForestGeneratorEntity.c.

◆ m_bPrintArea

bool m_bPrintArea
protected

Definition at line 29 of file ForestGeneratorEntity.c.

◆ m_bPrintEntitiesCount

bool m_bPrintEntitiesCount
protected

Definition at line 32 of file ForestGeneratorEntity.c.

◆ m_bPrintPerformanceDetails

bool m_bPrintPerformanceDetails
protected

Definition at line 35 of file ForestGeneratorEntity.c.

◆ m_bRegenerateEntireForest

bool m_bRegenerateEntireForest
protected

not saved to layer (see _WB_OnKeyChanged), used as a button

Definition at line 22 of file ForestGeneratorEntity.c.

◆ m_fGlobalOutlineScaleCurveDistance

float m_fGlobalOutlineScaleCurveDistance
protected

Definition at line 66 of file ForestGeneratorEntity.c.