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

Added SDL.Events.Events.Wait (cf Poll). #28

Merged
merged 2 commits into from
Apr 7, 2018

Conversation

simonjwright
Copy link
Contributor

I needed a Wait equivalent of Poll, since I have nothing else to do in the main loop.
I see I re-formatted the comment on Poll - OK? (I’m using Emacs with 79-column lines :-)
I realise this would need to be folded into Issue #13, hope that won’t conflict.

  • src/sdl-events-events.ads (Event_Error): new exception.
    (Wait): new.
  • src/sdl-events-events.adb (Wait): new. Raises Event_Error on error.

  * src/sdl-events-events.ads (Event_Error): new exception.
    (Wait): new.
  * src/sdl-events-events.adb (Wait): new. Raises Event_Error on error.
@Lucretia
Copy link
Collaborator

Lucretia commented Apr 6, 2018

I'm not changing the line length to 79-80 characters. I think it's about time people stopped with this, 120 is fine, especially on 16:9 monitors.

@simonjwright
Copy link
Contributor Author

OK, I’ll undo that format and resubmit then.

  * src/sdl-events-events.ads (Poll): revert comment.
@Lucretia Lucretia merged commit ab9d8a8 into ada-game-framework:master Apr 7, 2018
@simonjwright simonjwright deleted the sdl_wait_event branch April 8, 2018 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants