Game Development Community

1.1 Alpha) FX renaming holdover?

by Jason Cahill · in Torque Game Builder · 11/25/2005 (5:13 pm) · 2 replies

I'm in the process of porting Matthew Kee's NeHe Font resource to 1.1 and found an interested holder that you--perhaps?--missed in the big rename, Melv?

from t2dBaseDatablock.h
template<class T> bool checkFXDatablock2D( T* pDatablock, t2dBaseDatablock::eT2DDatablockID checkID )
 
template<class T> bool checkFXDatablock2D( T pDatablock, t2dBaseDatablock::eT2DDatablockID checkID )

Shouldn't these now be:
checkT2DDatablock(...)

Anyway, everything works and it's a easy work-around to use the old parlance... just curious if there's a reason this didn't get changed?

#1
11/26/2005 (10:23 am)
Jason,

This wasn't missed as such because it's being removed completely. This is one of the things that was due to be removed for the final as we'll use RTTI instead of this convoluted method to validate the datablock type. It'll also mean you won't have to mess around with the datablock_id stuff that is real nasty.

- Melv.
#2
11/26/2005 (1:55 pm)
Awesome. OK, I'll forward to this change in a future build. As I said, I'm running smoothly, so there's no issue.