whre is the cegui path of config and cegui's log?

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

yaxinhoo
Just popping in
Just popping in
Posts: 5
Joined: Wed Jun 23, 2010 13:39

whre is the cegui path of config and cegui's log?

Postby yaxinhoo » Sun Jun 27, 2010 07:17

whre is the cegui path of config and cegui's log? i can't find it in the code.

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Re: whre is the cegui path of config and cegui's log?

Postby scriptkid » Sun Jun 27, 2010 17:18

Hi,

Config files are read from a resource group, by default the 'datafiles/configs' directory. The log file is just taken as a path, relative from the startup folder.

To see this in action, follow the debugger from the System::System method into the calls into "d_xmlParser->parseXMLFile(config, configFile," and "config.initialiseLogger(logFile);".

HTH :)
Check out my released snake game using Cegui!


Return to “Help”

Who is online

Users browsing this forum: No registered users and 6 guests