|
|
@ -126,7 +126,7 @@ int getCreatedMetalBars (int32_t idx)
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void selectWord (const df::world_raws::T_language::T_word_table &table, int32_t &word, df::enum_field<df::part_of_speech,int16_t> &part, int mode)
|
|
|
|
void selectWord (const df::language_word_table &table, int32_t &word, df::enum_field<df::part_of_speech,int16_t> &part, int mode)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (table.parts[mode].size())
|
|
|
|
if (table.parts[mode].size())
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -142,7 +142,7 @@ void selectWord (const df::world_raws::T_language::T_word_table &table, int32_t
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void generateName(df::language_name &output, int language, int mode, const df::world_raws::T_language::T_word_table &table1, const df::world_raws::T_language::T_word_table &table2)
|
|
|
|
void generateName(df::language_name &output, int language, int mode, const df::language_word_table &table1, const df::language_word_table &table2)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
for (int i = 0; i < 100; i++)
|
|
|
|
for (int i = 0; i < 100; i++)
|
|
|
|
{
|
|
|
|
{
|
|
|
|