Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Big signal update #1502

Merged
merged 1 commit into from
Apr 4, 2023
Merged

Big signal update #1502

merged 1 commit into from
Apr 4, 2023

Conversation

Jowan-Spooner
Copy link
Collaborator

@Jowan-Spooner Jowan-Spooner commented Apr 4, 2023

Added many signals to all the subsystems.
Most of these just give one info dictionary argument. While this is initally not as nice as giving named arguments, it means we can way more easily provide mode information in the future without breaking any code.

Added signals:

  • Voice: voiceline_started, voiceline_finished, voiceline_stopped
  • Variable: variable_changed, variable_was_set
  • TextInput: input_confirmed, input_shown
  • Text: text_finished, speaker_updated, textbox_visibility_changed
  • Style: style_changed
  • Jump: switched_timeline, jumped_to_label, returned_from_jump
  • Choices: choice_selected, choices_shown
  • Portraits: character_joined, character_left, character_portrait_changed, character_moved, position_changed
  • Background: background_changed
  • Audio: music_started, sound_started

Also:

  • removed the voice timer from the voice subsystem
  • fixed typo in Jump.resume_from_last_jump()

Fixes/Helps with:

Added many signals to all the subsystems. 
Most of these just give one info dictionary argument. While this is initally not as nice as giving named arguments, it means we can way more easily provide mode information in the future without breaking any code.

Added signals:
- Voice: voiceline_started, voiceline_finished, voiceline_stopped
- Variable: variable_changed, variable_was_set
- TextInput: input_confirmed, input_shown
- Text: text_finished, speaker_updated, textbox_visibility_changed
- Style: style_changed
- Jump: switched_timeline, jumped_to_label, returned_from_jump
- Choices: choice_selected, choices_shown
- Portraits: character_joined, character_left, character_portrait_changed, character_moved, position_changed
- Background: background_changed
- Audio: music_started, sound_started

Also:
- removed the voice timer from the voice subsystem
- fixed typo in Jump.resume_from_last_jump()
@Jowan-Spooner Jowan-Spooner merged commit a1aae81 into main Apr 4, 2023
@Jowan-Spooner Jowan-Spooner deleted the signal-update branch April 19, 2023 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant