Game Development Community

Patch for guiBitmapCtrl.cpp

by Tom Spilman · in Torque Game Engine Advanced · 05/08/2005 (4:05 pm) · 2 replies

This tiny patch fixes a crash bug when the bitmap file cannot be found and adds the optional 'resize' parameter into the console function for SetBitmap. It may partially be applicable to TGE... i'm not sure as the texture stuff changed.

Ummm... hang on.... updating to patch to include one more fix.

About the author

Tom is a programmer and co-owner of Sickhead Games, LLC.


#1
05/08/2005 (5:16 pm)
Ok... along with the fixes posted above it also passes the filename thru Con::expandScriptFilename() in the setBitmap console member function.

The patch.
#2
05/09/2005 (3:28 pm)
Checked it up, thanks Tom.