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

On skip split, transfer segment hits to new current split #100

Open
AlexKnauth opened this issue Sep 19, 2024 · 0 comments
Open

On skip split, transfer segment hits to new current split #100

AlexKnauth opened this issue Sep 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@AlexKnauth
Copy link
Owner

AlexKnauth commented Sep 19, 2024

For example:

  • It's on split A.
  • There's a hit.
  • Manual skip to split B.
  • The hit during "A" should get transferred to the segment hits for split B.

This would require having a way to distinguish between a manual split vs a manual skip:

I'm thinking, an event_listener_new function that the autosplitter can call. It returns an integer handle which the autosplitter can pass to an event_listener_get_event function.
The event_listener_get_event function returns either 0 for "no events in the queue" or a non-zero integer handle which the autosplitter can pass to functions like event_get_type, similarly to how settings values work with settings_value_get_type. Event types could include ManualSplit, ManualSkipSplit, and ManualUndoSplit, but it would be non-exhaustive to leave room to add more event types later.

Or just Split, SkipSplit, UndoSplit, Reset, etc. Events which trigger whether it's manual or from the autosplitter itself.

@AlexKnauth AlexKnauth added the enhancement New feature or request label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant