[Gtkradiant] Fw: Re: Fw: Re: [gimpwin-dev] modal windows

Timothee Besset gtkradiant@zerowing.idsoftware.com
Sat, 4 Aug 2001 17:20:04 +0200

Replying on the list .. might be of some interest:

The standard way if you want to expose something from Radiant's core is to extend an existing API with the function calls, or to add a new API etc. We have several places where you can put stuff:

- qerplugin.h and _QERFuncTable
This is the "legacy" function table. If you want to expose a function that is implemented by the core, it is the quick and dirty way.

- existing include/i*.h APIs
The big advantage of these against _QERFuncTable is that they work on an "on request" basis. Those APIs are also C++ based, instead of exposing function tables you can also expose objects (behind interfaces / i.e. pure virtual class declaration)
if what you want to expose is extending some APIs already exposed (such as texture code, map entities manipulation etc.), then you should add stuff there

- add your own include/i*.h
in some cases, if you want to expose a new category of things, it might be good creating your own include/i*.h files


On Sat, 4 Aug 2001 14:59:27 +0100
"djbob" <dj_bob@ntlworld.com> wrote:

> i hadnt even begun to do the stuff on that, well, unless you count my
> original attempt based on the sub second timers, which basically doesnt
> work, the system i had in place should work pretty much the same, so it
> shouldnt be tooo hard to bring over, i just need to find out how to expose
> the main loop, since im not an expert on gtk.
> -djbob
> ----- Original Message -----
> From: "Timothee Besset" <timo@qeradiant.com>
> To: <gbiggans@uglab.eee.strath.ac.uk>
> Sent: Saturday, August 04, 2001 2:45 PM
> Subject: Re: Fw: Re: [gimpwin-dev] modal windows
> > On Sat, 4 Aug 2001 14:43:57 +0100 (BST)
> > djbob <dj_bob_82@yahoo.com> wrote:
> >
> > > indeed.... ill look into it, altho my initial work
> > > lead to only dead ends
> > >
> >
> > I told you the minimize stuff would be a pain
> >
> > What news on the free look / quake3 physics movement in camera?
> > I think working on that would be of greater interest..
> >
> > TTimo