Ignore:
Timestamp:
06/22/23 03:33:58 (10 months ago)
Author:
Maciej Komosinski
Message:
  • reasonable field names for enabling converters
  • automatically attach converter Param to GenoConvParam?
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/defgenoconv.cpp

    r1017 r1256  
    11// This file is a part of Framsticks SDK.  http://www.framsticks.com/
    2 // Copyright (C) 1999-2020  Maciej Komosinski and Szymon Ulatowski.
     2// Copyright (C) 1999-2023  Maciej Komosinski and Szymon Ulatowski.
    33// See LICENSE.txt for details.
    44
     
    77#include GEN_CONFIG_FILE
    88
     9#ifdef USE_GENCONV_f00s
     10#include "f0s/f0s_conv.h"
     11#endif
    912#ifdef USE_GENCONV_f10
    1013#include "f1/f1_conv.h"
     
    5861void DefaultGenoConvManager::addDefaultConverters()
    5962{
     63#ifdef USE_GENCONV_f00s
     64        addConverter(new GenoConv_f00s());
     65#endif
    6066#ifdef USE_GENCONV_f10
    6167        addConverter(new GenoConv_f1());
     
    107113#endif
    108114
    109         param.updatetab();
     115        conv_enabling_param.updatetab();
    110116}
Note: See TracChangeset for help on using the changeset viewer.