Changeset 736 for cpp/frams/genetics/f9


Ignore:
Timestamp:
02/17/18 19:02:07 (6 years ago)
Author:
Maciej Komosinski
Message:

Added the new "using_checkpoints" argument to genetic converters so they can now call Model.checkpoint() when desired, see conv_f1.cpp for an example

Location:
cpp/frams/genetics/f9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/f9/conv_f9.cpp

    r664 r736  
    11// This file is a part of Framsticks SDK.  http://www.framsticks.com/
    2 // Copyright (C) 1999-2017  Maciej Komosinski and Szymon Ulatowski.
     2// Copyright (C) 1999-2018  Maciej Komosinski and Szymon Ulatowski.
    33// See LICENSE.txt for details.
    44
     
    2525//const char* turtle_commandsZ_f9="0000-+";
    2626
    27 SString GenoConv_f90::convert(SString &in, MultiMap *map)
     27SString GenoConv_f90::convert(SString &in, MultiMap *map, bool using_checkpoints)
    2828{
    2929        vector<XYZ_LOC> vertices;
  • cpp/frams/genetics/f9/conv_f9.h

    r664 r736  
    11// This file is a part of Framsticks SDK.  http://www.framsticks.com/
    2 // Copyright (C) 1999-2017  Maciej Komosinski and Szymon Ulatowski.
     2// Copyright (C) 1999-2018  Maciej Komosinski and Szymon Ulatowski.
    33// See LICENSE.txt for details.
    44
     
    3535
    3636        //implementation of the GenoConverter method
    37         SString convert(SString &in, MultiMap *map);
     37        SString convert(SString &in, MultiMap *map, bool using_checkpoints);
    3838
    3939protected:
Note: See TracChangeset for help on using the changeset viewer.