Changeset 972 for cpp/frams/vm/classes/genoobj.cpp
- Timestamp:
- 07/03/20 00:32:23 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/vm/classes/genoobj.cpp
r955 r972 1 1 // This file is a part of Framsticks SDK. http://www.framsticks.com/ 2 // Copyright (C) 1999-20 18Maciej Komosinski and Szymon Ulatowski.2 // Copyright (C) 1999-2020 Maciej Komosinski and Szymon Ulatowski. 3 3 // See LICENSE.txt for details. 4 4 … … 64 64 void GenoObj::get_autoname(ExtValue *ret) 65 65 { 66 Model m(*this );66 Model m(*this, Model::SHAPE_UNKNOWN); 67 67 ret->setString(AutoName::makeName(m)); 68 68 } … … 97 97 void GenoObj::get_f0genotype(ExtValue *ret) 98 98 { 99 ret->setString(getConverted( '0').getGenes());99 ret->setString(getConverted(Geno::F0_FORMAT_LIST).getGenes()); 100 100 } 101 101 … … 105 105 { 106 106 char ch = v.getInt(); 107 return SString(&ch, 1);107 return SString(&ch, 1); 108 108 } 109 109 if (v.getType() == TString) … … 144 144 #ifdef __CODEGUARD__ 145 145 static GenoObj static_genoobj; 146 static Param static_genoparam(geno_paramtab, &static_genoobj);146 static Param static_genoparam(geno_paramtab, &static_genoobj); 147 147 #else 148 148 static Param static_genoparam(geno_paramtab);
Note: See TracChangeset
for help on using the changeset viewer.