Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 25, 2015, 12:13:34 AM (9 years ago)
Author:
landauf
Message:

define ScopeID as integer constants instead of an enum. this allows to extend it and add new scopes outside of core.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/libraries/core/Core.cc

    r10462 r10464  
    225225        // Create singletons that always exist (in other libraries)
    226226        orxout(internal_info) << "creating root scope:" << endl;
    227         this->rootScope_ = new Scope<ScopeID::Root>();
     227        this->rootScope_ = new Scope<ScopeID::ROOT>();
    228228
    229229        // Generate documentation instead of normal run?
     
    398398        // Create singletons associated with graphics (in other libraries)
    399399        orxout(internal_info) << "creating graphics scope:" << endl;
    400         graphicsScope_ = new Scope<ScopeID::Graphics>();
     400        graphicsScope_ = new Scope<ScopeID::GRAPHICS>();
    401401
    402402        unloader.Dismiss();
Note: See TracChangeset for help on using the changeset viewer.