Re: Using Torcs Championship Server in text mode

Tambet Matiisen <[email protected]> Fri, 8 Apr 2016 14:45:37 +0300
Newsgroups gmane.games.torcs.general
Message-ID <[email protected]>
On 6.04.2016 14:33, Tambet Matiisen wrote:
> src/libs/raceengineclient/racestate.cpp line 117 comment out following 
> line:
>
> //GfuiScreenActivate(ReInfo->_reGameScreen);

Actually better check for console mode explicitly:

if (ReInfo->_displayMode != RM_DISP_MODE_CONSOLE)
{
   GfuiScreenActivate(ReInfo->_reGameScreen);
}

Then the graphical mode works as well and you can easily switch between two.

   Tambet

------------------------------------------------------------------------------

_______________________________________________
Torcs-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/torcs-users