Adding code new TGE code.
by Ritchey "Hawk" Mulhollem · in Torque Game Engine · 10/17/2004 (12:12 pm) · 2 replies
I'm trying to add a simple piece of C code to the engine. Since I am not familar with C, it's proving to be a challange for me. I want it as a console function of "encode64" and "decode64". I know it needs to go into ResManager.cc, but I just can't get it to work.
The code is very small: http://www.ruffboy.com/code/Base64.zip
Any pointers on how to get started would be great.
Thanks!
The code is very small: http://www.ruffboy.com/code/Base64.zip
Any pointers on how to get started would be great.
Thanks!
#2
Now your resource is exactly what I needed! It's all set up, ready to go! Exactly what I was looking for. Thanks!
10/18/2004 (5:46 am)
Yeah, I saw the stuff in the Torque docs. That tells me where it interfaces, but not HOW to interface it. A lot of good that does me. Useless! (most likely because I am not a C coder I imagine.)Now your resource is exactly what I needed! It's all set up, ready to go! Exactly what I was looking for. Thanks!
Torque Owner Dan -
I hope that will get you well on the path to adding your own console functions.