Menu

SDL_Event question

Kurgusov
2007-12-23
2012-09-26
  • Kurgusov

    Kurgusov - 2007-12-23

    A nearly merry Christmas to Clifford, Wayne, Butch and the rest of you sorry bastards that have to put up with the likes of me,
    and I've asked this question at two previous programming forums with no replies.

    So I'll ask it here,

    "Is it possable to create an SDL_Event loop with-in an SDL_Event loop".

    SDL_Event is stored as a union.
    Is it possable to create more than one instance of a union like you can with a structure/class?
    That sounds contradictory to the idea of having a union in the first place.

    Any ideas

    Im fresh out.

     
    • Kurgusov

      Kurgusov - 2007-12-24

      Merry Christmas Butch.

      Peace and love brother, peace 'n' luv.

       
    • Kurgusov

      Kurgusov - 2007-12-23

      I'll just add that I've look even up buggerys skirt to find an SDL help forum that is at least useful,there is'nt one and I dont think you'll find one either, though I wont pay you if you do.

       
    • Kurgusov

      Kurgusov - 2007-12-24

      Found the answer thanks to WorkMad3 at gpwiki.

      You can nest event loops but soon as one ends they all end.

      I guess its 'cause SDL_Event is stored as a union?

       
      • S. Thomas Bradley

        Kurgusov:

        Glad to hear that you have found a solution.

        So I'll just wish you and everyone else a Merry Christmas.

        See Ya
        Butch

         

Log in to post a comment.