Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 14, 2013, 6:42:28 PM (11 years ago)
Author:
landauf
Message:

added ability to set the root-context explicitly (and also to destroy it before the class-hierarchy is destroyed).
currently it's not possible to set the root context explicitly during startup of the game because it is already used by static initialization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core6/src/libraries/core/object/Context.h

    r9629 r9649  
    4646    {
    4747        public:
     48            static void setRootContext(Context* context);
    4849            static Context* getRootContext();
    4950
     
    7273            Context* parentContext_;
    7374            std::vector<ObjectListBase*> objectLists_;
     75
     76            static Context* rootContext_s;
    7477    };
    7578}
Note: See TracChangeset for help on using the changeset viewer.