Hi Matt,
Unfortunately I didn't have any luck with finding something on MSDN. But do you
mean a message loop? I've used that sort of thing before and it's worked well.
But I'm not sure how it can fit in with the current way things are done since
sci0_soundserver handles all that? It's a shame the entire event queue can't
use messages so we can dump this whole polling thing but I don't think non-
Windows has that.
Regarding SDL, why not just make the SDL-xxx directory SDL\lib etc... rather
than SDL-1.2.2\lib?
Cheers,
Alex.
> On Mon, 3 Sep 2001, Alexander R Angas wrote:
>
> > Hi Matt,
> >
> > > My only suggestion would be to implement an event loop with callbacks for
> > > "polling" the event queue. This way we can eliminate the Sleep's and
> > > polling behaviour.
> >
> > Definitely sounds like a very good idea. I haven't done that at this stage
> > but will look into it. Can you give me any more detail on this?
>
> Take a look at the CALLBACK function in Sarien's win32.c:
>
> http://cvs.sourceforge.net/cgi-
bin/viewcvs.cgi/sarien/sarien/src/graphics/win32/win32.c
>
> (look at revision 1.30). MSDN has some better commented examples on how to
> use this approach if this doesn't make sense to you.
>
>
> --
> http://www.clock.org/~matt
>
>