paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [paragui-users] Making ParaGUI play nice with other SDL libraries


From: Eric Ross
Subject: Re: [paragui-users] Making ParaGUI play nice with other SDL libraries
Date: Tue, 2 Jul 2002 02:23:46 -0400
User-agent: Internet Messaging Program (IMP) 3.1

Mensaje citado por Andrew Ford <address@hidden>:

> If you're going to do this, check out the
> double-buffer example.  What you want to do is set up
> the screen context outside of paragui, and instead of
> using PG_Application::run, you'll want to pass events
> into paragui.

> > What I'm wondering, is what I need to do for paraGUI
> > to get this working. I
> > would imagine that I would not use PGApplication's
> > Run() function as well
> > (??), and I would need some kind of master game loop

But you could rewrite your own subclass of PG_App, and overload the Run method.
This way, Run() could be your global loop, and control Paragui and Kyra from 
there.

This is just an idea, i havent tried it by myself.

Have fun
Eric



reply via email to

[Prev in Thread] Current Thread [Next in Thread]