in coinrun/coinrun.cpp [960:986]
void load_enemy_themes(const char **ethemes, std::vector<int> &type_theme_idxs, bool is_flying_type, bool is_walking_type) {
for (const char **theme=ethemes; *theme; ++theme) {
int curr_idx = enemy_themel.size();
type_theme_idxs.push_back(curr_idx);
QString dir = "kenney/Enemies/";
EnemyTheme e1;
e1.enemy_name = QString::fromUtf8(*theme);
if (is_walking_type)
e1.anim_freq = 5;
e1.walk1 = load_resource(dir + e1.enemy_name + ".png");
e1.walk2 = load_resource(dir + e1.enemy_name + "_move.png");
enemy_themel.push_back(e1);
EnemyTheme e1d = e1;
EnemyTheme e2 = e1;
e2.walk1 = e2.walk1.mirrored(true, false);
e2.walk2 = e2.walk2.mirrored(true, false);
EnemyTheme e2d = e2;
enemy_themer.push_back(e2);
enemy_theme_downsample(&e1, &e1d);
enemy_theme_downsample(&e2, &e2d);
enemy_themel_down.push_back(e1d);
enemy_themer_down.push_back(e2d);
}
}