Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 1, 2007, 7:48:48 PM (16 years ago)
Author:
rgrieder
Message:

RunManager.cpp completely commented in Doxygen style.
One or two comments are yet inappropriate since a few changes to the code have to be made anyway. coming soon.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/main_reto/src/OgreControl.cpp

    r123 r141  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *
     4 *
     5 *   License notice:
     6 *
     7 *   This program is free software: you can redistribute it and/or modify
     8 *   it under the terms of the GNU General Public License as published by
     9 *   the Free Software Foundation, either version 3 of the License, or
     10 *   (at your option) any later version.
     11 *
     12 *   This program is distributed in the hope that it will be useful,
     13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 *   GNU General Public License for more details.
     16 *
     17 *   You should have received a copy of the GNU General Public License
     18 *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
     19 *
     20 *
     21 *   Author:
     22 *      Reto Grieder
     23 *   Co-authors:
     24 *      ...
     25 *
     26 */
     27
    128#include "OgreControl.h"
    229
     
    1441        assert(mainBundleURL);
    1542
    16         CFStringRef cfStringRef = CFURLCopyFileSystemPath( mainBundleURL, kCFURLPOSIXPathStyle);
     43        CFStringRef cfStringRef =
     44        CFURLCopyFileSystemPath( mainBundleURL, kCFURLPOSIXPathStyle);
    1745        assert(cfStringRef);
    1846
     
    3058{
    3159        mRoot = 0;
    32         // Provide a nice cross platform solution for locating the configuration files
    33         // On windows files are searched for in the current working directory, on OS X however
    34         // you must provide the full path, the helper function macBundlePath does this for us.
     60        // Provide a nice cross platform solution for locating the configuration
     61        // files. On windows files are searched for in the current working
     62  // directory, on OS X however you must provide the full path, the helper
     63  // function macBundlePath does this for us.
    3564#if OGRE_PLATFORM == OGRE_PLATFORM_APPLE
    3665        mResourcePath = macBundlePath() + "/Contents/Resources/";
     
    71100
    72101
    73 /// Method which will define the source of resources (other than current folder)
     102// Method which will define the source of resources
     103// (other than current folder)
    74104void OgreControl::setupResources(void)
    75105{
     
    115145
    116146        // user clicked OK so initialise
    117         // Here we choose to let the system create a default rendering window by passing 'true'
     147        // Here we choose to let the system create a default
     148  // rendering window by passing 'true'
    118149        mWindow = mRoot->initialise(true);
    119150        mRoot->saveConfig();
Note: See TracChangeset for help on using the changeset viewer.