Update 'enigma_types.h'
This commit is contained in:
parent
7f4aa0f9a9
commit
83ae194e72
|
@ -49,13 +49,12 @@ size_t key_shifts[WHEELS_AMOUNT] =
|
|||
|
||||
struct Mutation
|
||||
{
|
||||
size_t from = 0;
|
||||
size_t to = 0;
|
||||
int from;
|
||||
int to;
|
||||
};
|
||||
|
||||
const Mutation mutations[WHEELS_AMOUNT + 1][ALPHABET_SIZE] =
|
||||
const Mutation mutations1[ALPHABET_SIZE] =
|
||||
{
|
||||
{
|
||||
{0, 15 },
|
||||
{1, 4 },
|
||||
{2, 25 },
|
||||
|
@ -82,8 +81,10 @@ const Mutation mutations[WHEELS_AMOUNT + 1][ALPHABET_SIZE] =
|
|||
{23, 24 },
|
||||
{24, 3 },
|
||||
{25, 10 }
|
||||
},
|
||||
{
|
||||
};
|
||||
|
||||
const Mutation mutations2[ALPHABET_SIZE] =
|
||||
{
|
||||
{0, 25 },
|
||||
{1, 14 },
|
||||
{2, 20 },
|
||||
|
@ -110,8 +111,10 @@ const Mutation mutations[WHEELS_AMOUNT + 1][ALPHABET_SIZE] =
|
|||
{23, 17 },
|
||||
{24, 0 },
|
||||
{25, 19 }
|
||||
},
|
||||
{
|
||||
};
|
||||
|
||||
const Mutation mutations3[ALPHABET_SIZE] =
|
||||
{
|
||||
{0, 4 },
|
||||
{1, 7 },
|
||||
{2, 17 },
|
||||
|
@ -138,8 +141,10 @@ const Mutation mutations[WHEELS_AMOUNT + 1][ALPHABET_SIZE] =
|
|||
{23, 3 },
|
||||
{24, 9 },
|
||||
{25, 2 }
|
||||
},
|
||||
{
|
||||
};
|
||||
|
||||
const Mutation mutations4[ALPHABET_SIZE] =
|
||||
{
|
||||
{0, 21},
|
||||
{1, 10},
|
||||
{2, 22},
|
||||
|
@ -166,5 +171,4 @@ const Mutation mutations[WHEELS_AMOUNT + 1][ALPHABET_SIZE] =
|
|||
{23, 24},
|
||||
{24, 23},
|
||||
{25, 9}
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue