Game Development Community

Adding custom code

by Chris Sargent · in Torque 3D Professional · 08/28/2010 (7:23 pm) · 2 replies

I want to add some custom C++ code to my project. I put my code under my project - despair - source.

The note in that file says:

Your project specific source files and subfolders go into this directory.

Simply add them to this folder and then regenerate your project
Visual Studio Solution/XCode workspace with the Torque Toolbox

Does that mean after I add my files in the source directory I select clean up from the toolbox?

Thanks

#1
08/28/2010 (7:49 pm)
I missed the tooltip in the toolbox. Just in case anyone else is wondering it is the clean up button that is to be used.

Thanks!
#2
08/28/2010 (8:55 pm)
Also, when you go to package your game make sure to click the "I have changed the source code" checkbox. This will make sure your custom code gets compiled into the final package.