Loading [MathJax]/extensions/ams.js
ALMaSS  1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Plants.cpp File Reference
#include <cstdio>
#include <iostream>
#include <fstream>
#include <math.h>
#include <stdlib.h>
#include "Configurator.h"
#include "MapErrorMsg.h"
#include "ls.h"

Macros

#define _CRT_SECURE_NO_DEPRECATE
 

Functions

PlantGrowthDataCreatePlantGrowthData ()
 

Variables

class PlantGrowthDatag_crops
 
class PollenNectarDevelopmentDatag_nectarpollen
 
static CfgStr l_map_cropcurves_file ("MAP_CROPCURVES_FILE", CFG_CUSTOM, "curves.pre")
 

Macro Definition Documentation

◆ _CRT_SECURE_NO_DEPRECATE

#define _CRT_SECURE_NO_DEPRECATE

Function Documentation

◆ CreatePlantGrowthData()

PlantGrowthData* CreatePlantGrowthData ( )
843 {
844  if (g_crops == NULL)
845  {
846  g_crops = new PlantGrowthData;
847  }
848 
849  return g_crops;
850 }

References g_crops.

Referenced by main().

Variable Documentation

◆ g_crops

◆ g_nectarpollen

◆ l_map_cropcurves_file

CfgStr l_map_cropcurves_file("MAP_CROPCURVES_FILE", CFG_CUSTOM, "curves.pre")
static
PlantGrowthData
Definition: Plants.h:79
g_crops
class PlantGrowthData * g_crops
Definition: Plants.cpp:40