[SDL] SDL and Win32 processes
mrlachatte at gmail.com
Mon Oct 1 13:30:09 PDT 2007
For a game I'm writing, I created a simple console emulator that draws
text on screen and allows user input, and I have it running in a
separate thread from the main game. It's rather simple, and just
requires a single mutex to keep the game from writing to the log at
the same time as it's being read.
On 10/1/07, Roger <roger.levy at gmail.com> wrote:
> I want to create an application where a piece of code associated with the SDL
> window runs continually, drawing the frame and processing input, whether it is
> the top window or not. (Kind of like the way a game or emulator will continue
> running in the background, but in this I want it to be part of the same
> I have a console window that I want to still be able to type into and debug the
> program with while it runs. I'd like to be able to treat the background process
> like a callback that is executed once each new frame.
> Does anyone have any advice on how it might be possible to do this?
> SDL mailing list
> SDL at lists.libsdl.org
More information about the SDL