Code: Select all
int main(int argc, const char **argv)
{
#ifdef TORQUE_DEBUG
LIBRARY_HANDLE hGame = openLibrary("Torque6_DEBUG");
#else
LIBRARY_HANDLE hGame = openLibrary("Torque6");
#endif
mainFunc enter = (mainFunc)getLibraryFunc(hGame, "winmain");
if (enter != 0)
//What I should write here?
return enter(0, NULL);
return 0;
}