Computer Science Canada

Chess Graphics

Author:  crossley7 [ Wed Dec 08, 2010 3:52 pm ]
Post subject:  Chess Graphics

Recently I have been working on creating a chess game in Dev C++ using SDL graphics. The game works perfectly fine with my version that i created that just have text input/output and the board displayed with text. But In the process of converting output to SDL my program now freezes without getting the movement.

Any suggestions on how to make it not freeze? Earlier today I made a slight modification that just made it infinitely loop and made the window uncloseable, so that wasn't the solution, and i can't see any problems with the code.

I believe the problem is in the main function but i can't figure it out.

Author:  crossley7 [ Thu Dec 09, 2010 9:40 pm ]
Post subject:  RE:Chess Graphics

( have been debugging small variations of this code for the last week, but nothing seems to work. Im thinking I might not be closing something that should be closed or my loop isn't quite what it should be, and is infinite looping without reading input

Author:  crossley7 [ Sun Dec 12, 2010 3:49 pm ]
Post subject:  RE:Chess Graphics

nevermind, i used SDL_WaitEvent and it works now


: