|
|
@ -855,8 +855,7 @@ void ged_init(Ged* a, Usz undo_limit, Usz init_bpm, Usz init_seed) { |
|
|
|
susnote_list_init(&a->susnote_list); |
|
|
|
ged_cursor_init(&a->ged_cursor); |
|
|
|
a->tick_num = 0; |
|
|
|
a->ruler_spacing_y = 8; |
|
|
|
a->ruler_spacing_x = 8; |
|
|
|
a->ruler_spacing_y = a->ruler_spacing_x = 8; |
|
|
|
a->input_mode = Ged_input_mode_normal; |
|
|
|
a->bpm = init_bpm; |
|
|
|
a->clock = 0; |
|
|
@ -867,15 +866,11 @@ void ged_init(Ged* a, Usz undo_limit, Usz init_bpm, Usz init_seed) { |
|
|
|
a->midi_mode = NULL; |
|
|
|
a->activity_counter = 0; |
|
|
|
a->random_seed = init_seed; |
|
|
|
a->drag_start_y = 0; |
|
|
|
a->drag_start_x = 0; |
|
|
|
a->win_h = 0; |
|
|
|
a->win_w = 0; |
|
|
|
a->softmargin_y = 0; |
|
|
|
a->softmargin_x = 0; |
|
|
|
a->drag_start_y = a->drag_start_x = 0; |
|
|
|
a->win_h = a->win_w = 0; |
|
|
|
a->softmargin_y = a->softmargin_x = 0; |
|
|
|
a->grid_h = 0; |
|
|
|
a->grid_scroll_y = 0; |
|
|
|
a->grid_scroll_x = 0; |
|
|
|
a->grid_scroll_y = a->grid_scroll_x = 0; |
|
|
|
a->needs_remarking = true; |
|
|
|
a->is_draw_dirty = false; |
|
|
|
a->is_playing = true; |
|
|
|