Game Development Community

A GUI code question

by Jacob · in Torque Game Engine Advanced · 07/14/2005 (9:43 am) · 6 replies

I was porting the DragDropGui resource found here and upon compiling, it reminds me that two includes (dgl.h and gTexManager.h) are not to be found. Could someone take a look at the resource and let me know if there is a way around having those files or are they going to be put in when OGL is implemented. Thank You - this resource is one of my most important features :)

#1
07/14/2005 (9:53 am)
Hi jacob, you need to port the code to use the TSE GFX object to render instead of
the dgl stuff.
It is api agnostic so it would work on D3D and OGL (when its added).
Also you need to change it to use tse materials.

Rewrite the render stuff to use the corresponding GFX object methods

~neo
#2
07/14/2005 (11:36 am)
Thanks for the reply...it sounds a bit beyond my knowledge for now though. :)
#3
07/14/2005 (12:03 pm)
I'm checking it out further and will port it quick when i have minute.

Will keep you posted.


~neo
#4
07/15/2005 (5:13 pm)
Thank You Neo, I appreciate your effort! I would like to learn how to port this kind of code as I have implemented many other GUI additions in TGE that I would like to have work in TSE.
#5
07/25/2006 (8:18 pm)
What do you change this to for TSE?
#include "dgl/dgl.h"
#6
07/26/2006 (2:20 am)
#include "gfx/gfxDevice.h"

Although a quick scan of any of the source would have told you that ;p

~neo