Please help understand
by Ironbelly Studios · in Torque Game Engine · 02/17/2005 (1:55 am) · 6 replies
I am following the 5th chapter of the 3D game programming all in one and i noticed a code :
$Game::Schedule = Schedule($Game::Duration * 1000, 0, "onGameDurationEnd");
But i am unable to get to the code of onGameDurationEnd () anywahere in the project folder.
any ideas where i can find it?
$Game::Schedule = Schedule($Game::Duration * 1000, 0, "onGameDurationEnd");
But i am unable to get to the code of onGameDurationEnd () anywahere in the project folder.
any ideas where i can find it?
About the author
#2
02/17/2005 (5:29 am)
It's rather important, when working on large programs like Torque, to be able to search through your files and find things like this quickly and easily. If you mention which operating system you are using, maybe we can explain how to do that on your operating system. I work on windows. I use Tribal IDE to search through script files and windows search tool to search through c++. I can search for text within hundreds of files at once and get a list of all occurrences.
#3
02/17/2005 (2:17 pm)
The Windows Explorer "Find" tool can search for specific text strings within files in specific directories.
#4
Some google magic reveals the registry trickery to make XP less stupid:
resource.intel.com/telecom/support/tnotes/tnbyos/2000/tn037.htm
02/22/2005 (11:57 am)
...but if you're using Windows XP, it'll only search strings inside files M$ things are worth searching. So, unless the files are .txt or M$ Office extensions, it'll plain ignore them (.cs files included).Some google magic reveals the registry trickery to make XP less stupid:
resource.intel.com/telecom/support/tnotes/tnbyos/2000/tn037.htm
#5
06/16/2006 (6:22 am)
I am following the torque documentation available with the garagegames,and come know about the basic control flow and the platform layer.i want to know more about it.actually i am into the process of building an online game, and want to build a prototype first .just a terrain and a few players moving around in it.i want to compile the tge without its networking and audio features.anybody who has gone through the process, please help.
#6
06/16/2006 (6:32 am)
Nice link Manoel!
Torque Owner Jeremy Alessi
C:\Torque\SDK\example\starter.fps\server\scripts\game.cs
It's a little less than mid way down the file in notepad.
function onGameDurationEnd() { // This "redirect" is here so that we can abort the game cycle if // the $Game::Duration variable has been cleared, without having // to have a function to cancel the schedule. if ($Game::Duration && !isObject(EditorGui)) cycleGame(); }