1.8.2 GuiTheoraCtrl
by Eric Thomas Patton · in Torque Game Engine Advanced · 11/12/2009 (1:13 pm) · 1 replies
I couldn't find this in the Gui Editor on the control palette so I went to the engine and tried manually typing a theora control into a mission to see if it was working, but it doesn't show up.
I noticed in the engine that the code doesn't seem to be compiling because of an If statement looking for something at the beginning. Is there something I need to do before I can use the control in game?
Sorry if this is a noob question lol
I noticed in the engine that the code doesn't seem to be compiling because of an If statement looking for something at the beginning. Is there something I need to do before I can use the control in game?
Sorry if this is a noob question lol
Associate Rene Damm
Your project configuration probably isn't including the Theora module and thus not compiling the code in. If this is based on the 1.8.2 template project, then it's my fault because even though sync'ing all the GameExamples projects, I plainly forgot to sync the template project, too.
The easiest solution is to do a quick merge from the T3D project configuration into your project configuration and snag the relevant lines from there.
There's basically three things that needed.
The library must be included
Then the project must include the Theora module
And a dependency to the Theora library must be added
Also, on Windows, the libtheora project must be included in the solution