source:
cpp/frams/genetics/defgenoconv.cpp
@
918
Last change on this file since 918 was 788, checked in by , 6 years ago | |
---|---|
|
|
File size: 2.2 KB |
Rev | Line | |
---|---|---|
[286] | 1 | // This file is a part of Framsticks SDK. http://www.framsticks.com/ |
2 | // Copyright (C) 1999-2015 Maciej Komosinski and Szymon Ulatowski. | |
3 | // See LICENSE.txt for details. | |
[121] | 4 | |
[109] | 5 | #include "defgenoconv.h" |
6 | ||
7 | #include GEN_CONFIG_FILE | |
8 | ||
[139] | 9 | #ifdef USE_GENCONV_f10 |
[779] | 10 | #include "f1/f1_conv.h" |
[109] | 11 | #endif |
[139] | 12 | #ifdef USE_GENCONV_f20 |
[779] | 13 | #include "f2/f2_conv.h" |
[109] | 14 | #endif |
[139] | 15 | #ifdef USE_GENCONV_f32 |
[779] | 16 | #include "f3/f3_conv.h" |
[109] | 17 | #endif |
[139] | 18 | #ifdef USE_GENCONV_f40 |
[779] | 19 | #include "f4/f4_conv.h" |
[109] | 20 | #endif |
[139] | 21 | #ifdef USE_GENCONV_f41_TEST |
[779] | 22 | #include "f4/f4_conv.h" |
[109] | 23 | #endif |
[139] | 24 | #ifdef USE_GENCONV_f50 |
[779] | 25 | #include "f5/f5_conv.h" |
[109] | 26 | #endif |
[139] | 27 | #ifdef USE_GENCONV_f60 |
[779] | 28 | #include "f6/f6_geno.h" |
[109] | 29 | #endif |
[139] | 30 | #ifdef USE_GENCONV_f70 |
[779] | 31 | #include "f7/f7_conv.h" |
[109] | 32 | #endif |
[228] | 33 | #ifdef USE_GENCONV_f81 |
[788] | 34 | #include "f8/f8_conv.h" |
[109] | 35 | #endif |
[139] | 36 | #ifdef USE_GENCONV_f90 |
[779] | 37 | #include "f9/f9_conv.h" |
[109] | 38 | #endif |
[139] | 39 | #ifdef USE_GENCONV_fF0 |
[779] | 40 | #include "fF/fF_conv.h" |
[139] | 41 | #endif |
[748] | 42 | #ifdef USE_GENCONV_fn0 |
[779] | 43 | #include "fn/fn_conv.h" |
[748] | 44 | #endif |
[780] | 45 | #ifdef USE_GENCONV_fBH |
46 | #include "fB/fB_conv.h" | |
47 | #endif | |
48 | #ifdef USE_GENCONV_fH0 | |
49 | #include "fH/fH_conv.h" | |
50 | #endif | |
51 | #ifdef USE_GENCONV_fL0 | |
52 | #include "fL/fL_conv.h" | |
53 | #endif | |
[109] | 54 | |
[145] | 55 | void DefaultGenoConvManager::addDefaultConverters() |
[109] | 56 | { |
[139] | 57 | #ifdef USE_GENCONV_f10 |
58 | addConverter(new GenoConv_f1()); | |
[109] | 59 | #endif |
[139] | 60 | #ifdef USE_GENCONV_f20 |
61 | addConverter(new GenoConv_f20()); | |
[109] | 62 | #endif |
[139] | 63 | #ifdef USE_GENCONV_f32 |
64 | addConverter(new GenoConv_f32()); | |
[109] | 65 | #endif |
[139] | 66 | #ifdef USE_GENCONV_f40 |
67 | addConverter(new GenoConv_f40()); | |
[109] | 68 | #endif |
[139] | 69 | #ifdef USE_GENCONV_f41_TEST |
70 | addConverter(new GenoConv_f41_TestOnly()); | |
[109] | 71 | #endif |
[139] | 72 | #ifdef USE_GENCONV_f50 |
73 | addConverter(new GenoConv_f50); | |
[109] | 74 | #endif |
[139] | 75 | #ifdef USE_GENCONV_f60 |
76 | addConverter(new GenoConv_f60); | |
[109] | 77 | #endif |
[139] | 78 | #ifdef USE_GENCONV_f70 |
79 | addConverter(new GenoConv_f70); | |
[109] | 80 | #endif |
[139] | 81 | #ifdef USE_GENCONV_f81 |
[228] | 82 | addConverter(new GenoConv_F8ToF1()); //uncompilable for now... needs lemon, and still borland complains for a hundred of unknown reasons with all kinds of nonsense messages :/ |
[109] | 83 | #endif |
[139] | 84 | #ifdef USE_GENCONV_f90 |
85 | addConverter(new GenoConv_f90); | |
[109] | 86 | #endif |
[139] | 87 | #ifdef USE_GENCONV_fF0 |
88 | addConverter(new GenoConv_fF0); | |
89 | #endif | |
[748] | 90 | #ifdef USE_GENCONV_fn0 |
91 | addConverter(new GenoConv_fn0); | |
92 | #endif | |
[780] | 93 | #ifdef USE_GENCONV_fBH |
94 | addConverter(new GenoConv_fBH); | |
95 | #endif | |
96 | #ifdef USE_GENCONV_fH0 | |
97 | addConverter(new GenoConv_fH0); | |
98 | #endif | |
99 | #ifdef USE_GENCONV_fL0 | |
100 | addConverter(new GenoConv_fL0); | |
101 | #endif | |
[109] | 102 | |
[139] | 103 | param.updatetab(); |
[109] | 104 | } |
Note: See TracBrowser
for help on using the repository browser.