Last change
on this file since 968 was
958,
checked in by Maciej Komosinski, 4 years ago
|
Added the fS genetic encoding (for solids)
|
-
Property svn:eol-style set to
native
|
File size:
2.3 KB
|
Line | |
---|
1 | // This file is a part of Framsticks SDK. http://www.framsticks.com/ |
---|
2 | // Copyright (C) 1999-2020 Maciej Komosinski and Szymon Ulatowski. |
---|
3 | // See LICENSE.txt for details. |
---|
4 | |
---|
5 | #include "defgenoconv.h" |
---|
6 | |
---|
7 | #include GEN_CONFIG_FILE |
---|
8 | |
---|
9 | #ifdef USE_GENCONV_f10 |
---|
10 | #include "f1/f1_conv.h" |
---|
11 | #endif |
---|
12 | #ifdef USE_GENCONV_f20 |
---|
13 | #include "f2/f2_conv.h" |
---|
14 | #endif |
---|
15 | #ifdef USE_GENCONV_f32 |
---|
16 | #include "f3/f3_conv.h" |
---|
17 | #endif |
---|
18 | #ifdef USE_GENCONV_f40 |
---|
19 | #include "f4/f4_conv.h" |
---|
20 | #endif |
---|
21 | #ifdef USE_GENCONV_f41_TEST |
---|
22 | #include "f4/f4_conv.h" |
---|
23 | #endif |
---|
24 | #ifdef USE_GENCONV_f50 |
---|
25 | #include "f5/f5_conv.h" |
---|
26 | #endif |
---|
27 | #ifdef USE_GENCONV_f60 |
---|
28 | #include "f6/f6_geno.h" |
---|
29 | #endif |
---|
30 | #ifdef USE_GENCONV_f70 |
---|
31 | #include "f7/f7_conv.h" |
---|
32 | #endif |
---|
33 | #ifdef USE_GENCONV_f81 |
---|
34 | #include "f8/f8_conv.h" |
---|
35 | #endif |
---|
36 | #ifdef USE_GENCONV_f90 |
---|
37 | #include "f9/f9_conv.h" |
---|
38 | #endif |
---|
39 | #ifdef USE_GENCONV_fF0 |
---|
40 | #include "fF/fF_conv.h" |
---|
41 | #endif |
---|
42 | #ifdef USE_GENCONV_fn0 |
---|
43 | #include "fn/fn_conv.h" |
---|
44 | #endif |
---|
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 |
---|
54 | #ifdef USE_GENCONV_fS0 |
---|
55 | #include "fS/fS_conv.h" //solids |
---|
56 | #endif |
---|
57 | |
---|
58 | void DefaultGenoConvManager::addDefaultConverters() |
---|
59 | { |
---|
60 | #ifdef USE_GENCONV_f10 |
---|
61 | addConverter(new GenoConv_f1()); |
---|
62 | #endif |
---|
63 | #ifdef USE_GENCONV_f20 |
---|
64 | addConverter(new GenoConv_f20()); |
---|
65 | #endif |
---|
66 | #ifdef USE_GENCONV_f32 |
---|
67 | addConverter(new GenoConv_f32()); |
---|
68 | #endif |
---|
69 | #ifdef USE_GENCONV_f40 |
---|
70 | addConverter(new GenoConv_f40()); |
---|
71 | #endif |
---|
72 | #ifdef USE_GENCONV_f41_TEST |
---|
73 | addConverter(new GenoConv_f41_TestOnly()); |
---|
74 | #endif |
---|
75 | #ifdef USE_GENCONV_f50 |
---|
76 | addConverter(new GenoConv_f50); |
---|
77 | #endif |
---|
78 | #ifdef USE_GENCONV_f60 |
---|
79 | addConverter(new GenoConv_f60); |
---|
80 | #endif |
---|
81 | #ifdef USE_GENCONV_f70 |
---|
82 | addConverter(new GenoConv_f70); |
---|
83 | #endif |
---|
84 | #ifdef USE_GENCONV_f81 |
---|
85 | 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 :/ |
---|
86 | #endif |
---|
87 | #ifdef USE_GENCONV_f90 |
---|
88 | addConverter(new GenoConv_f90); |
---|
89 | #endif |
---|
90 | #ifdef USE_GENCONV_fF0 |
---|
91 | addConverter(new GenoConv_fF0); |
---|
92 | #endif |
---|
93 | #ifdef USE_GENCONV_fn0 |
---|
94 | addConverter(new GenoConv_fn0); |
---|
95 | #endif |
---|
96 | #ifdef USE_GENCONV_fBH |
---|
97 | addConverter(new GenoConv_fBH); |
---|
98 | #endif |
---|
99 | #ifdef USE_GENCONV_fH0 |
---|
100 | addConverter(new GenoConv_fH0); |
---|
101 | #endif |
---|
102 | #ifdef USE_GENCONV_fL0 |
---|
103 | addConverter(new GenoConv_fL0); |
---|
104 | #endif |
---|
105 | #ifdef USE_GENCONV_fS0 |
---|
106 | addConverter(new GenoConv_fS0); //solids |
---|
107 | #endif |
---|
108 | |
---|
109 | param.updatetab(); |
---|
110 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.