Game Development Community

porting from tge to tgea 1.8.1 -> dgl.h & audio.h

by Mike Rowley · in Torque Game Engine Advanced · 02/15/2009 (11:22 am) · 4 replies

I'm trying to find the replacements for these files. Thus far, my search of the files hasn't resulted in any luck.
Does anyone know what these changed too?

Edit: found gameBase.h added audio.h (missed that one)



#1
02/16/2009 (1:01 am)
Those have been swallowed up by the GFX and SFX systems now so the functions you'll need will be in the GFX and SFX folders somewhere, some will have direct replacements and others you'll need to dig a little to find out how to accomplish the same thing in the new engine.
#2
02/16/2009 (4:45 am)
Thanks Andy. That's what I've already been finding.
#3
02/16/2009 (6:03 am)
A good portion of the dgl specifics can be found in gfxDrawUtil.

There was more than just a port to DirectX that happened to the graphics and rendering section of TGEa. Some things have changed, some bits and pieces aren't there any longer, and some portions are much better now. I still occasionally have to do some digging to find all of the previous functionality from TGE.

The audio subsystem changes are much harder to track down though.
#4
02/16/2009 (10:40 am)
Both are hard to track down, but I found most of the gfx changes with only a few hours searching. You are correct about the audio. I'm going to be looking thru the code to find the generic code so I don't have to use a bunch of if statements.
Thanks for the responses. They cemented what I was already thinking. :-)