//********************************************************************************//
// //
// - "Talk to me like I'm a 3 year old!" Programming Lessons - //
// //
// $Author: DigiBen digiben@gametutorials.com //
// //
// $Program: GT Loader Part 2 //
// //
// $Description: Loads the GT Skeletal Animation format .GTF //
// //
//********************************************************************************//
#include "main.h"
#include "gtf.h"
//////////// *** NEW *** ////////// *** NEW *** ///////////// *** NEW *** ////////////////////
// Most of the changes appear in this file. If you scroll down you can find
// all the * NEW * blocks where we added little things here and there.
// The main changes are in the loading and the rendering functions. Have a look.
///////////////////////////////// CMODEL GTF \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*
/////
///// This is our CModelGTF constructor
/////
///////////////////////////////// CMODEL GTF \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*
CModelGTF::CModelGTF()
{
}
///////////////////////////////// ~CMODEL GTF \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*
/////
///// This is our CModelGTF deconstructor
/////
///////////////////////////////// ~CMODEL GTF \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*
CModelGTF::~CModelGTF()
{
// Free all the model data
DestroyModel();
}