载入中...
搜索中...
未找到
Species.cpp 文件参考
#include "growth/Species.h"
#include "common/Diagnostic.h"
#include "common/Value.h"
#include <cctype>
#include <cmath>

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::growth
 

函数

Result< OrganismKind > eve::growth::parseOrganismKind (std::string_view text)
 Parses kind text: plant/animal/custom or any free-form tag → Custom.
 
Result< ReproductionMode > eve::growth::parseReproductionMode (std::string_view text)
 Parses reproduction.mode text.
 
Result< void > eve::growth::normalizeSpeciesDef (SpeciesDef &def)
 Fills needs/reproduction from legacy plant/animal fields when authors omit the new schema. @cost Cheap: copies a handful of meter/reproduction fields.