Game Development Community

Quick technical ( code ) question

by Bryan "daerid" Ross · in Torque Game Engine · 08/26/2001 (1:55 am) · 5 replies

where is the entry point for the engine?

Is there a main() function or WinMain() function?

#1
08/26/2001 (10:41 am)
Well the technically correct answer to this is...there are both.

You can find WinMain in engine/PlatformWin32/winWindow.cc which makes a call to run which in turn calls the game's main() function, which is found in engine/game/main.cc. You can also find main() in engine/platformX86UNIX/x86UNIXWindow.cc, and that also makes a call to the main() in engine/game/main.cc.

So in answer to the question properly, the main main() is found in engine/game/main.cc. WinMain() and the main() in the x86UNIXWindow.cc are just there to call the main() in engine/game/main.cc.
#2
04/03/2002 (10:32 am)
Hi,
where can I find intensive documentation about the coding of the Torgue engine...

Is there any real API reference documentation ??? And if so, can you please tell where to find it...

I look thru the docs I have and the tutorials, there's not much to learn you know...


thanks,
#3
04/03/2002 (1:25 pm)
Reading Pat's post outloud is confusing :)

-There are some who call me...Tim... and Spock
#4
04/03/2002 (1:30 pm)
tx for the help bud...

Anyone who knows where to find EXTENSIVE DOCUMENTATION ON THE TORGUE ENGINE OR COMPONENTS?
#5
04/03/2002 (6:20 pm)
The source code would be about the most extensive documentation we've got.