search results

  1. SDL Event Loop. If your game doesn’t read input from the player, ... break; case SDL_QUIT: done = true; break; default ...
    www.meandmark.com/sdlopenglpart6.html - Cached
  2. I am making an RTS in C++ using SDL for graphics. Every time I run the game, it crashes without errors or anything in the compiler debug window.
    stackoverflow.com/questions/15272089/​sdl-event-loop-quitting - Cached
  3. Stack Overflow is a question and answer site for professional and enthusiast programmers. It\'s 100% free, no registration required.
    stackoverflow.com/.../sdl-app-quitting-​in-event-loop - Cached
  4. The program then calls SDL_Quit to shut down the SDL system and to clean up, ... The lines of code that implement the event loop are as follows:
    friedspace.com/cprogramming/​sdlmainloop.php - Cached
  5. Welcome to SDL Keyboard Input using an Event Loop, ... If the event is of type SDL_QUIT, the running integer will be set to zero, and the outer while loop will finish.
    content.gpwiki.org/.../​SDL:Tutorials:Keyboard...Event_Loop - Cached
  6. SDL_Event. Name. SDL_Event ... Application window expose event (see SDL_ExposeEvent) quit: ... We use a while loop to process each event in turn.
    sdl.beuc.net/sdl.wiki/SDL_Event - Cached
  7. Quick event reference, by example. void main_loop() { int quit = 0; SDL_Event event; while (!quit) { while(SDL_PollEvent(&event ...
    sdl.beuc.net/sdl.wiki/Quick_event_​reference - Cached
  8. ... SDL_QuitEvent quit; SDL ... We use a while loop to process each event in ... The SDL_PollEvent function take a pointer to an SDL_Event structure that is to be ...
    www.libsdl.org/docs/html/sdlevent.html - Cached
  9. We read events using SDL_PollEvent in a while() loop and check for SDL_KEYUP and SDL_KEYDOWN events using a switch statement, ... /* SDL_QUIT event (window close) ...
    www.libsdl.org/docs/html/​guideinputkeyboard.html - Cached
  10. case SDL_QUIT: running = false; break; } DrawGLScene(); SDL_GL_SwapBuffers ... [SDL] Why is my event loop only looping when I have an event?
    forums.libsdl.org/viewtopic.php?t=7546 - Cached