Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 12, 2009, 8:20:07 PM (15 years ago)
Author:
rgrieder
Message:

Merged core5 branch back to the trunk.
Key features include clean level unloading and an extended XML event system.

Two important notes:
Delete your keybindings.ini files! * or you will still get parser errors when loading the key bindings.
Delete build_dir/lib/modules/libgamestates.module! * or orxonox won't start.
Best thing to do is to delete the build folder ;)

Location:
code/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk

  • code/trunk/src/libraries/core/MemoryArchive.cc

    r5781 r5929  
    6868                continue;
    6969            if (bDirs)
    70                 file = file.parent_path();
     70                file = file.branch_path();
    7171            if (file.empty())
    7272                continue;
    73             if (file.has_parent_path() && !bRecursive)
     73            if (file.has_branch_path() && !bRecursive)
    7474                continue;
    7575            if (simpleList)
     
    8080                fi.archive = this;
    8181                fi.filename = file.string();
    82                 fi.basename = file.filename();
    83                 fi.path = file.parent_path().string();
     82                fi.basename = file.leaf();
     83                fi.path = file.branch_path().string();
    8484                fi.compressedSize = it->second.second;
    8585                fi.uncompressedSize = it->second.second;
     
    119119
    120120    bool MemoryArchive::exists(const String& filename)
    121         {
     121    {
    122122        const FileMap& files = archives_s[this->getName()];
    123123        return files.find(filename) != files.end();
    124         }
     124    }
    125125
    126126    const Ogre::String& MemoryArchiveFactory::getType(void) const
Note: See TracChangeset for help on using the changeset viewer.