Changeset 732 for cpp/frams/genetics/genoconv.cpp
- Timestamp:
- 02/15/18 00:42:07 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/genoconv.cpp
r534 r732 1 1 // This file is a part of Framsticks SDK. http://www.framsticks.com/ 2 // Copyright (C) 1999-201 5Maciej Komosinski and Szymon Ulatowski.2 // Copyright (C) 1999-2018 Maciej Komosinski and Szymon Ulatowski. 3 3 // See LICENSE.txt for details. 4 4 … … 81 81 82 82 GenoConvManager::GenoConvManager() 83 :param(this)83 :param(this) 84 84 { 85 85 } … … 166 166 } 167 167 168 Geno GenoConvManager::convert(Geno &in, char format, MultiMap *map, bool *converter_missing)168 Geno GenoConvManager::convert(Geno &in, char format, MultiMap *map, bool using_checkpoints, bool *converter_missing) 169 169 { 170 170 if (in.getFormat() == format) { if (converter_missing) *converter_missing = false; return in; } … … 187 187 { 188 188 GenoConverter *gk = (GenoConverter*)converters(*t); 189 tmp = gk->convert(tmp, mapavail ? &tmpmap : 0 );189 tmp = gk->convert(tmp, mapavail ? &tmpmap : 0, using_checkpoints); 190 190 if (!tmp.len()) 191 191 { 192 string t =ssprintf("f%c->f%c conversion failed (%s)", gk->in_format, gk->out_format, gk->name);192 string t = ssprintf("f%c->f%c conversion failed (%s)", gk->in_format, gk->out_format, gk->name); 193 193 return Geno(0, 0, 0, t.c_str()); 194 194 }
Note: See TracChangeset
for help on using the changeset viewer.