Changeset 1258 for cpp/frams/genetics/f1/f1_conv.h
- Timestamp:
- 06/22/23 03:50:59 (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/f1/f1_conv.h
r779 r1258 1 1 // This file is a part of Framsticks SDK. http://www.framsticks.com/ 2 // Copyright (C) 1999-20 18Maciej Komosinski and Szymon Ulatowski.2 // Copyright (C) 1999-2023 Maciej Komosinski and Szymon Ulatowski. 3 3 // See LICENSE.txt for details. 4 4 … … 51 51 52 52 */ 53 54 struct GenoConv_f1_Settings 55 { 56 paInt modifier_compatibility, cq_mod_influence, branch_muscle_range; 57 58 static constexpr int MODIF_COMPAT_LEGACY = 0; 59 static constexpr int MODIF_COMPAT_ALL_CHANGE_05 = 1; 60 61 static constexpr int CQ_INFLUENCE_OLD = 0; 62 static constexpr int CQ_INFLUENCE_NEW = 1; 63 64 static constexpr int MUSCLE_RANGE_ORIGINAL = 0; 65 static constexpr int MUSCLE_RANGE_STRICT = 1; 66 static constexpr int MUSCLE_RANGE_UNLIMITED = 2; 67 }; 68 53 69 class GenoConv_f1 : public GenoConverter 54 70 { 55 71 public: 56 GenoConv_f1() 57 { 58 name = "Recursive encoding"; 59 in_format = '1'; 60 mapsupport = 1; 61 } 72 GenoConv_f1(); 62 73 SString convert(SString &i, MultiMap *map, bool using_checkpoints); 63 74 ~GenoConv_f1() {} 75 76 GenoConv_f1_Settings settings; 77 78 Param param; 79 ParamInterface* getParam() { return ¶m; } 64 80 }; 65 81
Note: See TracChangeset
for help on using the changeset viewer.