script_hide_label_double_jump 1033.862549 -862.224976 215.969864 569.733276 d35f5f 1 label_double_jump
hide_wasd_script 260.383636 24.900909 125.925934 209.259262 a1e764 1 label_wasd
hide_space_to_jump 1449.166626 -122.291687 104.166626 165.000015 1ae5a0 1 label_space_to_jump
-
&level_editor->undo_history) < 0) {
return -1;
}
+ } else {
+ level_editor->click = 1;
}
fclose(RELEASE_LT(level_editor->lt, filedump));
fading_wiggly_text_reset(&level_editor->notice);
+ level_editor->save = 1;
return 0;
}
void level_editor_sound(LevelEditor *level_editor, Sound_samples *sound_samples)
{
- // trace_assert(level_editor);
trace_assert(sound_samples);
- if (level_editor && level_editor->bell) {
- level_editor->bell = 0;
- sound_samples_play_sound(sound_samples, 2);
+ if (level_editor) {
+ if (level_editor->bell) {
+ level_editor->bell = 0;
+ sound_samples_play_sound(sound_samples, 2);
+ }
+
+ if (level_editor->click) {
+ level_editor->click = 0;
+ sound_samples_play_sound(sound_samples, 3);
+ }
+
+ if (level_editor->save) {
+ level_editor->save = 0;
+ sound_samples_play_sound(sound_samples, 4);
+ }
}
}
"./sounds/nothing.wav",
"./sounds/something.wav",
"./sounds/dev/ding.wav",
+ "./sounds/dev/click.wav",
+ "./sounds/dev/save.wav"
};
const size_t sound_sample_files_count = sizeof(sound_sample_files) / sizeof(char*);