Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 31, 2015, 10:56:32 AM (9 years ago)
Author:
landauf
Message:

load modules AFTER core was initialized. load each module with a separate ModuleInstance. unloading is not yet implemented…

File:
1 edited

Legend:

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

    r10479 r10518  
    110110        orxout(internal_info) << "creating Core object:" << endl;
    111111        this->core_ = new Core(cmdLine);
     112        this->core_->loadModules();
    112113
    113114        // Do this after the Core creation!
     
    141142        GameStateFactory::getFactories().clear();
    142143        safeObjectDelete(&config_);
     144//        if (this->core_)
     145//            this->core_->unloadModules();
    143146        safeObjectDelete(&core_);
    144147        safeObjectDelete(&gameClock_);
Note: See TracChangeset for help on using the changeset viewer.