Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 30, 2011, 9:31:02 PM (13 years ago)
Author:
rgrieder
Message:

Renamed PathConfig::isDevelopmentRun() to PathConfig::buildDirectoryRun() because that fits better and there is no confusion with Core::inDevMode().
Also used isDevelopmentRun() as default value for Core::inDevMode() instead of ORXONOX_RELEASE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/core/PathConfig.h

    r8351 r8366  
    114114
    115115            //! Return true for runs in the build directory (not installed)
    116             static bool isDevelopmentRun() { return getInstance().bDevRun_; }
     116            static bool buildDirectoryRun() { return getInstance().bBuildDirectoryRun_; }
    117117
    118118        private:
     
    129129            std::vector<std::string> getModulePaths();
    130130
    131             //! Path to the parent directory of the ones above if program was installed with relativ paths
     131            //! Path to the parent directory of the ones above if program was installed with relative paths
    132132            boost::filesystem::path& rootPath_;
    133133            boost::filesystem::path& executablePath_;        //!< Path to the executable
     
    138138            boost::filesystem::path& logPath_;               //!< Path to the log files folder
    139139
    140             bool                     bDevRun_;               //!< True for runs in the build directory (not installed)
     140            bool                     bBuildDirectoryRun_;    //!< True for runs in the build directory (not installed)
    141141            static PathConfig* singletonPtr_s;
    142142    }; //tolua_export
Note: See TracChangeset for help on using the changeset viewer.