Skip to content
This repository was archived by the owner on May 31, 2022. It is now read-only.

Commit e3efa89

Browse files
author
Allen Webster
committed
get rid of the dumb startup sound
1 parent 50b2bbb commit e3efa89

File tree

3 files changed

+3
-15
lines changed

3 files changed

+3
-15
lines changed

bin/itchio_push_win.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ butler push %flags% %dir%\super_x86\4coder-%fv%-super-win-x86.zip 4coder/4coder
2222

2323
popd
2424

25-
:END
25+
:END

custom/4coder_default_hooks.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,6 @@ CUSTOM_DOC("Default command for responding to a startup event")
2222

2323
{
2424
def_audio_init();
25-
26-
Scratch_Block scratch(app);
27-
FILE *file = def_search_normal_fopen(scratch, "audio_test/raygun_zap.wav", "rb");
28-
if (file != 0){
29-
Audio_Clip test_clip = audio_clip_from_wav_FILE(&global_permanent_arena, file);
30-
fclose(file);
31-
32-
local_persist Audio_Control test_control = {};
33-
test_control.channel_volume[0] = 1.f;
34-
test_control.channel_volume[1] = 1.f;
35-
def_audio_play_clip(test_clip, &test_control);
36-
}
3725
}
3826

3927
{

custom/generated/command_metadata.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,8 @@ static Command_Metadata fcoder_metacmd_table[252] = {
311311
{ PROC_LINKS(decrease_face_size, 0), false, "decrease_face_size", 18, "Decrease the size of the face used by the current buffer.", 57, "W:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 757 },
312312
{ PROC_LINKS(default_file_externally_modified, 0), false, "default_file_externally_modified", 32, "Notes the external modification of attached files by printing a message.", 72, "W:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 2065 },
313313
{ PROC_LINKS(default_startup, 0), false, "default_startup", 15, "Default command for responding to a startup event", 49, "W:\\4ed\\code\\custom\\4coder_default_hooks.cpp", 43, 7 },
314-
{ PROC_LINKS(default_try_exit, 0), false, "default_try_exit", 16, "Default command for responding to a try-exit event", 50, "W:\\4ed\\code\\custom\\4coder_default_hooks.cpp", 43, 45 },
315-
{ PROC_LINKS(default_view_input_handler, 0), false, "default_view_input_handler", 26, "Input consumption loop for default view behavior", 48, "W:\\4ed\\code\\custom\\4coder_default_hooks.cpp", 43, 89 },
314+
{ PROC_LINKS(default_try_exit, 0), false, "default_try_exit", 16, "Default command for responding to a try-exit event", 50, "W:\\4ed\\code\\custom\\4coder_default_hooks.cpp", 43, 33 },
315+
{ PROC_LINKS(default_view_input_handler, 0), false, "default_view_input_handler", 26, "Input consumption loop for default view behavior", 48, "W:\\4ed\\code\\custom\\4coder_default_hooks.cpp", 43, 77 },
316316
{ PROC_LINKS(delete_alpha_numeric_boundary, 0), false, "delete_alpha_numeric_boundary", 29, "Delete characters between the cursor position and the first alphanumeric boundary to the right.", 95, "W:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 161 },
317317
{ PROC_LINKS(delete_char, 0), false, "delete_char", 11, "Deletes the character to the right of the cursor.", 49, "W:\\4ed\\code\\custom\\4coder_base_commands.cpp", 43, 79 },
318318
{ PROC_LINKS(delete_current_scope, 0), false, "delete_current_scope", 20, "Deletes the braces surrounding the currently selected scope. Leaves the contents within the scope.", 99, "W:\\4ed\\code\\custom\\4coder_scope_commands.cpp", 44, 112 },

0 commit comments

Comments
 (0)