Public Member Functions | |
void | SetHead (C4Group &rByGrp) |
bool | HeadIdentical (C4Group &rByGrp, bool fLax) |
void | SaveEntryCore (C4Group &rByGrp, const char *szEntry) |
void | SetSavedEntryCore (const char *szEntry) |
void | SetNoSort (const char *szEntry) |
bool | Close (bool fHeaderUpdate) |
bool | Open (const char *group_name, bool do_create=false) |
bool | Close () |
bool | Save (bool reopen) |
bool | OpenAsChild (C4Group *mother, const char *entry_name, bool is_exclusive=false, bool do_create=false) |
bool | OpenChild (const char *entry_name) |
bool | OpenMother () |
bool | Add (const char *filename, const char *entry_name) |
bool | Add (const char *entry_name, void *buffer, int size, bool add_as_child=false, bool hold_buffer=false, bool is_executable=false) |
bool | Add (const char *entry_name, StdBuf &buffer, bool add_as_child=false, bool hold_buffer=false, bool is_executable=false) |
bool | Add (const char *entry_name, StdStrBuf &buffer, bool add_as_child=false, bool hold_buffer=false, bool is_executable=false) |
bool | Merge (const char *folders) |
bool | Move (const char *filename, const char *entry_name) |
bool | Extract (const char *files, const char *destination=nullptr, const char *exclude=nullptr) |
bool | ExtractEntry (const char *filename, const char *destination=nullptr) |
bool | Delete (const char *files, bool recursive=false) |
bool | DeleteEntry (const char *filename, bool do_recycle=false) |
bool | Rename (const char *filename, const char *new_name) |
bool | Sort (const char *list) |
bool | SortByList (const char **list, const char *filename=nullptr) |
bool | AccessEntry (const char *wildcard, size_t *size=nullptr, char *filename=nullptr, bool needs_to_be_a_group=false) |
bool | AccessNextEntry (const char *wildcard, size_t *size=nullptr, char *filename=nullptr, bool start_at_filename=false) |
bool | LoadEntry (const char *entry_name, char **buffer, size_t *size_info=nullptr, int zeros_to_append=0) |
bool | LoadEntry (const char *entry_name, StdBuf *buffer) |
bool | LoadEntry (const StdStrBuf &name, StdBuf *buffer) |
bool | LoadEntryString (const char *entry_name, StdStrBuf *buffer) |
bool | LoadEntryString (const StdStrBuf &name, StdStrBuf *buffer) |
bool | FindEntry (const char *wildcard, StdStrBuf *filename=nullptr, size_t *size=nullptr) |
bool | FindEntry (const char *wildcard, char *filename) |
bool | FindNextEntry (const char *wildcard, StdStrBuf *filename=nullptr, size_t *size=nullptr, bool start_at_filename=false) |
bool | FindNextEntry (const char *wildcard, char *filename, size_t *size=nullptr, bool start_at_filename=false) |
bool | Read (void *buffer, size_t size) override |
bool | Advance (int offset) override |
void | SetStdOutput (bool log_status) |
void | ResetSearch (bool reload_contents=false) |
const char * | GetError () |
const char * | GetName () const |
StdStrBuf | GetFullName () const |
int | EntryCount (const char *wildcard=nullptr) |
size_t | EntrySize (const char *wildcard=nullptr) |
size_t | AccessedEntrySize () const override |
unsigned int | EntryCRC32 (const char *wildcard=nullptr) |
bool | IsOpen () const |
C4Group * | GetMother () |
bool | IsPacked () const |
bool | HasPackedMother () const |
bool | SetNoSort (bool no_sorting) |
int | PreCacheEntries (const char *search_pattern, bool cache_previous=false) |
const C4GroupHeader & | GetHeader () const |
const C4GroupEntry * | GetFirstEntry () const |
Public Attributes | |
C4GroupEntryCore | SavedCore |
Protected Member Functions | |
C4GroupEntry * | GetEntry (const char *entry_name) |
void | Clear () |
Protected Attributes | |
C4GroupHeader | Head |
Definition at line 165 of file C4Update.cpp.
|
overridevirtualinherited |
Implements CStdStream.
Definition at line 2352 of file C4Group.cpp.
|
inherited |
Definition at line 2104 of file C4Group.cpp.
References C4Group::FindEntry(), StdStrBuf::getData(), C4Group::GetFullName(), StdStrBuf::getMData(), LogF(), and SCopy().
Referenced by C4Group_ReadFile(), C4Landscape::P::CreateMapS2(), C4MassMoverSet::Load(), C4PXSSystem::Load(), C4Surface::Load(), C4PlayerInfo::LoadBigIcon(), C4Group::LoadEntry(), C4Group::LoadEntryString(), C4DefAdditionalResourcesLoader::LoadTexture(), and C4MCParser::ParseFile().
|
inherited |
Definition at line 2140 of file C4Group.cpp.
References _MAX_FNAME_LEN, C4Group::FindNextEntry(), and SCopy().
Referenced by C4TextureMap::LoadTextures().
|
inherited |
Definition at line 2262 of file C4Group.cpp.
References C4GroupEntry::C4GRES_InMemory, StdBuf::getMData(), StdBuf::getSize(), and StdBuf::GrabPointer().
|
inherited |
Definition at line 2285 of file C4Group.cpp.
References C4GroupEntry::C4GRES_InMemory, StdStrBuf::getLength(), StdStrBuf::getMData(), and StdStrBuf::GrabPointer().
|
inherited |
|
inherited |
Definition at line 1621 of file C4Group.cpp.
References GetFilename().
Referenced by C4Record::AddFile(), C4ControlReInitScenario::C4ControlReInitScenario(), C4Group_CopyEntry(), C4Group_PackDirectoryTo(), C4UpdatePackage::MkUp(), C4UpdatePackageCore::Save(), C4TeamList::Save(), C4MassMoverSet::Save(), C4Def::Save(), C4PlayerInfoCore::Save(), C4Scenario::Save(), C4GameParameters::Save(), C4ObjectInfoCore::Save(), C4PlayerControlFile::Save(), C4RoundResults::Save(), C4PlayerInfoList::Save(), C4Game::SaveData(), C4GameSave::SaveDesc(), C4MaterialMap::SaveEnumeration(), C4Game::SaveGameTitle(), C4TextureMap::SaveMap(), C4ScenarioListLoader::Entry::SetTitleInGroup(), and C4Playback::StreamToRecord().
|
overridevirtualinherited |
Implements CStdStream.
Definition at line 1410 of file C4Group.cpp.
References C4Group::Read(), and C4Group::P::ST_Unpacked.
|
protectedinherited |
Definition at line 1173 of file C4Group.cpp.
Referenced by C4Group::Close(), Close(), C4Group::Open(), C4Group::OpenAsChild(), C4Group::OpenMother(), C4Group::Save(), and C4Group::~C4Group().
|
inherited |
Definition at line 971 of file C4Group.cpp.
References C4GroupEntry::C4GRES_InGroup, C4Group_SortList, C4GroupFileVer1, C4GroupFileVer2, C4Group::Clear(), C4Group::Head, C4Group::Save(), C4Group::SortByList(), C4Group::P::ST_None, C4Group::P::ST_Unpacked, C4GroupHeader::Ver1, and C4GroupHeader::Ver2.
Referenced by C4MainMenu::ActivateNewPlayer(), C4Group_ApplyUpdate(), C4Group_CopyItem(), C4Group_DeleteItem(), C4Group_IsGroup(), C4Group_MoveItem(), C4Group_PackDirectoryTo(), C4Group_ReadFile(), C4Group_UnpackDirectory(), C4UpdatePackage::Check(), C4Language::Clear(), C4SoundSystem::Clear(), C4Application::Clear(), C4GameSave::Close(), Close(), C4Game::CloseScenario(), C4Application::CloseSystemGroup(), DefFileGetID(), C4Group::Delete(), C4ScenarioSection::EnsureTempStore(), C4LoaderScreen::Init(), C4DefList::Load(), C4ObjectInfo::Load(), C4Player::Load(), C4StartupPlrSelDlg::PlayerListItem::Load(), C4Game::LoadAdditionalSystemGroup(), C4GameResList::LoadFoldersWithLocalDefs(), C4Game::LoadScenarioSection(), C4StartupPlrPropertiesDlg::OnClosed(), C4Network2Res::OptimizeStandalone(), ProcessGroup(), C4Shader::Refresh(), C4DefList::Reload(), C4ScenarioListLoader::Entry::RenameTo(), C4Network2::RetrieveScenario(), C4Player::Save(), C4ObjectInfo::Save(), C4PlayerList::Save(), C4Console::SaveScenario(), C4Landscape::SaveTextures(), C4Record::Stop(), C4Playback::StreamToRecord(), C4ControlJoinPlayer::Strip(), C4Player::Strip(), and C4StartupPlrSelDlg::PlayerListItem::UpdateCore().
|
inline |
Definition at line 222 of file C4Update.cpp.
References C4Group::Clear(), C4Group::Close(), and C4Group::Save().
Referenced by C4UpdatePackage::DoUpdate(), C4UpdatePackage::Execute(), C4UpdatePackage::MakeUpdate(), C4UpdatePackage::MkUp(), and C4UpdatePackage::Optimize().
|
inherited |
Definition at line 1645 of file C4Group.cpp.
References _MAX_FNAME, _MAX_FNAME_LEN, C4GroupEntryCore::ChildGroup, C4Group::Close(), C4Group::Delete(), C4Group::DeleteEntry(), C4GroupEntryCore::FileName, C4Group::OpenAsChild(), C4Group::ResetSearch(), SCharCount(), SCopySegment(), and C4Group::SetStdOutput().
Referenced by C4Group::Delete(), C4ScenarioSection::EnsureTempStore(), C4StartupPlrPropertiesDlg::OnClosed(), C4Network2Res::OptimizeStandalone(), C4ScenarioListLoader::Entry::RenameTo(), C4MassMoverSet::Save(), C4PXSSystem::Save(), C4PlayerInfoCore::Save(), C4ObjectInfo::Save(), C4GameSave::Save(), C4Game::SaveData(), C4ControlJoinPlayer::Strip(), and C4Player::Strip().
|
inherited |
Definition at line 1695 of file C4Group.cpp.
References _MAX_FNAME_LEN, C4GroupEntry::C4GRES_Deleted, C4GroupEntry::C4GRES_OnDisk, C4GroupEntry::DeleteOnDisk, DirectorySeparator, C4GroupEntry::DiskPath, C4GroupHeader::Entries, EraseItem(), EraseItemSafe(), C4Group::GetEntry(), C4Group::GetName(), C4Group::Head, C4Group::ResetSearch(), sprintf, C4Group::P::ST_Packed, C4Group::P::ST_Unpacked, and C4GroupEntry::Status.
Referenced by C4Group_DeleteItem(), C4Group_MoveItem(), C4Group::Delete(), C4UpdatePackage::DoGrpUpdate(), C4TeamList::Save(), C4RoundResults::Save(), and C4PlayerInfoList::Save().
|
inherited |
Definition at line 2314 of file C4Group.cpp.
References C4Group::ResetSearch().
Referenced by C4Group_ApplyUpdate(), C4MaterialMap::HasMaterials(), C4TextureMap::HasTextures(), C4MaterialMap::Load(), C4Game::LoadScenarioComponents(), and C4UpdatePackage::MkUp().
|
inherited |
Definition at line 2354 of file C4Group.cpp.
References C4Group::ResetSearch().
Referenced by DisplayGroup(), C4UpdatePackage::MkUp(), and C4Network2Res::SetByGroup().
|
inherited |
Definition at line 2333 of file C4Group.cpp.
References C4Group::ResetSearch(), and C4GroupEntryCore::Size.
Referenced by C4Group::Extract(), and C4UpdatePackage::MkUp().
|
inherited |
Definition at line 1808 of file C4Group.cpp.
References _MAX_PATH_LEN, C4Group_IsExcluded(), C4Group::EntrySize(), C4Group::ExtractEntry(), C4GroupEntryCore::FileName, C4Group::ResetSearch(), SCharCount(), SCopySegment(), and C4GroupEntryCore::Size.
Referenced by C4Group_ApplyUpdate(), C4Group_CopyItem(), C4Group_MoveItem(), C4Group_UnpackDirectory(), and C4PlayerInfoList::RecreatePlayerFiles().
|
inherited |
Definition at line 1870 of file C4Group.cpp.
References _MAX_FNAME, _MAX_FNAME_LEN, AppendBackslash(), C4GroupEntryCore::ChildGroup, CStdFile::Close(), CopyItem(), CStdFile::Create(), DirectoryExists(), DirectorySeparator, EraseItem(), C4GroupEntryCore::Executable, C4Group::GetEntry(), C4Group::GetName(), MakeTempFilename(), RenameItem(), SAppend(), SCopy(), sprintf, C4Group::P::ST_Packed, C4Group::P::ST_Unpacked, and CStdFile::Write().
Referenced by C4ScenarioSection::EnsureTempStore(), and C4Group::Extract().
|
inlineinherited |
Definition at line 190 of file C4Group.h.
References C4Group::FindEntry(), StdStrBuf::getData(), and SCopy().
|
inherited |
Definition at line 2211 of file C4Group.cpp.
References C4Group::FindNextEntry(), and C4Group::ResetSearch().
Referenced by C4Group::AccessEntry(), C4Group_ApplyUpdate(), C4GroupSet::CheckGroupContents(), C4ScenarioListLoader::SubFolder::DoLoadContents(), C4Group::FindEntry(), C4Group::FindNextEntry(), C4ComponentHost::FinishLoad(), C4MusicSystem::GrpContainsMusic(), C4Game::InitMaterialTexture(), C4GameParameters::Load(), C4Surface::Load(), C4FacetSurface::Load(), C4ScenarioListLoader::Entry::Load(), C4Player::Load(), C4StartupPlrSelDlg::PlayerListItem::Load(), C4Game::LoadAdditionalSystemGroup(), C4Surface::LoadAny(), C4Extra::LoadDef(), C4SoundSystem::LoadEffects(), C4Game::LoadScenarioSection(), C4StartupPlrPropertiesDlg::OnClosed(), C4Playback::Open(), C4Network2Res::OptimizeStandalone(), C4PlayerInfoList::RecreatePlayerFiles(), C4ObjectInfo::Save(), C4Game::SaveGameTitle(), C4Landscape::SaveTextures(), C4ScenarioSection::ScenarioLoad(), C4LoaderScreen::SeekLoaderScreens(), C4ControlJoinPlayer::Strip(), and C4Player::Strip().
|
inlineinherited |
Definition at line 204 of file C4Group.h.
References C4Group::FindNextEntry(), StdStrBuf::getData(), and SCopy().
|
inherited |
Definition at line 2217 of file C4Group.cpp.
References StdStrBuf::Copy(), C4GroupEntryCore::FileName, C4Group::FindEntry(), StdStrBuf::getData(), and C4GroupEntryCore::Size.
Referenced by C4Group::AccessNextEntry(), c4_mapgen_handle_new(), C4Group_ApplyUpdate(), C4UpdatePackage::DoGrpUpdate(), C4ScenarioListLoader::SubFolder::DoLoadContents(), C4UpdatePackage::DoUpdate(), C4ScenarioSection::EnsureTempStore(), C4UpdatePackage::Execute(), C4Group::FindEntry(), C4Group::FindNextEntry(), C4Language::Init(), C4AchievementGraphics::Init(), C4Game::InitScriptEngine(), C4MaterialMap::Load(), C4ObjectInfoList::Load(), C4Surface::Load(), C4DefList::Load(), C4DefGraphics::Load(), C4Game::LoadAdditionalSystemGroup(), C4MusicSystem::LoadDir(), C4SoundSystem::LoadEffects(), C4Game::LoadScenarioComponents(), C4UpdatePackage::MkUp(), C4UpdatePackage::Optimize(), and C4LoaderScreen::SeekLoaderScreens().
|
protectedinherited |
Definition at line 954 of file C4Group.cpp.
References C4GroupEntry::C4GRES_Deleted, C4Group::P::ST_Unpacked, and WildcardMatch().
Referenced by C4Group::DeleteEntry(), C4Group::ExtractEntry(), C4Group::Rename(), SetNoSort(), and SetSavedEntryCore().
|
inherited |
Definition at line 650 of file C4Group.cpp.
Referenced by c4_mapgen_handle_new(), C4LoaderScreen::Init(), C4StartupPlrSelDlg::PlayerListItem::Load(), C4StartupPlrPropertiesDlg::OnClosed(), C4Group::Open(), ProcessGroup(), C4ScenarioListLoader::Entry::RenameTo(), and C4ScenarioListLoader::Entry::SetTitleInGroup().
|
inherited |
Definition at line 2863 of file C4Group.cpp.
Referenced by DisplayGroup(), and PrintGroupInternals().
|
inherited |
Definition at line 2638 of file C4Group.cpp.
References _MAX_PATH, _MAX_PATH_LEN, StdStrBuf::Copy(), DirectorySeparator, SInsert(), and C4Group::P::ST_Unpacked.
Referenced by C4Group::AccessEntry(), C4GameSaveSavegame::AdjustCore(), C4Language::CloseGroup(), C4ComponentHost::CopyFilePathFromGroup(), DisplayGroup(), C4ScenarioListLoader::SubFolder::DoLoadContents(), C4UpdatePackage::DoUpdate(), C4UpdatePackage::Execute(), C4Language::GetPackGroups(), C4MusicSystem::InitForScenario(), C4Game::InitScriptEngine(), C4ParticleDef::Load(), C4PlayerInfoCore::Load(), C4GameParameters::Load(), C4GameResList::Load(), C4MaterialCore::Load(), C4Surface::Load(), C4DefList::Load(), C4ScenarioListLoader::Entry::Load(), C4UpdatePackage::Load(), C4Player::Load(), C4Game::LoadAdditionalSystemGroup(), C4DefGraphics::LoadBitmap(), C4ScenarioListLoader::Scenario::LoadCustomPre(), C4ScenarioListLoader::Folder::LoadCustomPre(), C4Def::LoadDefCore(), C4TextureMap::LoadTextures(), C4UpdatePackage::MkUp(), C4Playback::Open(), C4Group::OpenAsChild(), C4Game::OpenScenario(), C4MessageInput::ProcessCommand(), C4PlayerInfoCore::Save(), C4ObjectInfo::Save(), and C4Network2Res::SetByGroup().
|
inherited |
Definition at line 2861 of file C4Group.cpp.
References C4Group::Head.
Referenced by DisplayGroup(), and PrintGroupInternals().
|
inherited |
Definition at line 2536 of file C4Group.cpp.
Referenced by C4Console::SaveScenario().
|
inherited |
Definition at line 2309 of file C4Group.cpp.
Referenced by C4MainMenu::ActivateSavegame(), C4Group::DeleteEntry(), C4Group::ExtractEntry(), C4Console::FileSaveAs(), C4ObjectInfo::Load(), C4MapFolderData::Load(), C4DefList::Load(), C4Extra::LoadDef(), C4DefGraphics::LoadMesh(), C4DefGraphics::LoadSkeleton(), C4UpdatePackage::MkUp(), C4Group::OpenAsChild(), C4GroupSet::RegisterParentFolders(), C4DefList::Reload(), C4Group::Rename(), C4Group::ResetSearch(), C4Group::Save(), C4Console::SaveScenario(), and C4Group::SortByList().
|
inherited |
Definition at line 2543 of file C4Group.cpp.
Referenced by C4UpdatePackage::MakeUpdate().
|
inline |
Definition at line 184 of file C4Update.cpp.
References C4GroupHeader::Entries, and C4Group::Head.
Referenced by C4UpdatePackage::Optimize().
|
inherited |
Definition at line 2373 of file C4Group.cpp.
References C4Group::P::ST_None.
Referenced by c4_group_handle_is_folder(), C4SoundSystem::Init(), C4Game::LoadScenarioSection(), C4Application::OpenSystemGroup(), C4MessageInput::ProcessCommand(), and C4Landscape::SaveTextures().
|
inherited |
Definition at line 2541 of file C4Group.cpp.
References C4Group::P::ST_Packed.
Referenced by c4_group_handle_is_folder(), C4UpdatePackage::Check(), C4UpdatePackage::Execute(), C4Game::InitScriptEngine(), C4Game::LoadAdditionalSystemGroup(), C4UpdatePackage::MakeUpdate(), C4Playback::Open(), C4Game::OpenScenario(), C4UpdatePackage::Optimize(), C4MessageInput::ProcessCommand(), C4Console::SaveScenario(), and C4ScenarioSection::ScenarioLoad().
|
inherited |
Definition at line 2375 of file C4Group.cpp.
References C4Group::AccessEntry(), C4Group::Read(), and ZeroMem().
Referenced by C4ControlReInitScenario::C4ControlReInitScenario(), C4Group_CopyEntry(), C4UpdatePackage::DoGrpUpdate(), C4FontLoader::InitFont(), C4ParticleDef::Load(), C4TextureShape::Load(), C4Folder::Load(), C4SoundEffect::Load(), C4KeyboardInput::LoadCustomConfig(), C4GroupSet::LoadEntry(), C4TextureMap::LoadMap(), C4SolidMask::LoadMaskFromFile(), C4DefGraphics::LoadMesh(), C4DefGraphics::LoadSkeleton(), C4Playback::Open(), and C4Game::SaveGameTitle().
|
inherited |
Definition at line 2410 of file C4Group.cpp.
References C4Group::AccessEntry(), StdBuf::Clear(), StdBuf::getMData(), StdBuf::New(), and C4Group::Read().
Definition at line 184 of file C4Group.h.
References StdStrBuf::getData(), and C4Group::LoadEntry().
Referenced by C4Group::LoadEntry().
|
inherited |
Definition at line 2430 of file C4Group.cpp.
References C4Group::AccessEntry(), StdStrBuf::Clear(), StdStrBuf::getMData(), C4Group::Read(), and StdStrBuf::SetLength().
Referenced by C4UpdatePackageCore::Load(), C4ObjectInfoCore::Load(), C4PlayerInfoCore::Load(), C4Scenario::Load(), C4GameParameters::Load(), C4MapFolderData::Load(), C4ScenarioParameterDefs::Load(), C4TeamList::Load(), C4MaterialCore::Load(), C4PlayerControlFile::Load(), C4ComponentHost::Load(), C4RoundResults::Load(), C4PlayerInfoList::Load(), C4ScenarioListLoader::Entry::Load(), C4UpdatePackage::Load(), C4ScenarioListLoader::Scenario::LoadCustomPre(), C4ScenarioListLoader::Folder::LoadCustomPre(), C4Def::LoadDefCore(), C4GroupSet::LoadEntryString(), C4MaterialMap::LoadEnumeration(), C4TextureMap::LoadFlags(), C4DefAdditionalResourcesLoader::LoadShaderCode(), C4Playback::Open(), and C4Shader::Refresh().
Definition at line 186 of file C4Group.h.
References StdStrBuf::getData(), and C4Group::LoadEntryString().
Referenced by C4Group::LoadEntryString().
|
inherited |
Definition at line 1534 of file C4Group.cpp.
References _MAX_FNAME_LEN, GetFilename(), DirectoryIterator::Reset(), SCharCount(), and SCopySegment().
Referenced by C4Network2::RetrieveScenario(), and C4Playback::StreamToRecord().
|
inherited |
Definition at line 1633 of file C4Group.cpp.
References GetFilename().
Referenced by C4Record::AddFile(), C4Group_CopyItem(), C4Group_MoveItem(), C4Group_PackDirectoryTo(), C4UpdatePackage::DoUpdate(), C4UpdatePackage::MkUp(), C4PXSSystem::Save(), C4PlayerList::Save(), C4Landscape::P::SaveDiffInternal(), C4Game::SaveGameTitle(), C4Landscape::P::SaveInternal(), C4Landscape::SaveMap(), C4Surface::SavePNG(), C4Landscape::SaveTextures(), and C4Playback::StreamToRecord().
|
inherited |
Definition at line 660 of file C4Group.cpp.
References _MAX_FNAME, AltDirectorySeparator, C4Group::C4Group(), C4Group::Clear(), CStdFile::Close(), CStdFile::Create(), DirectorySeparator, FileExists(), FormatString(), C4Group::GetError(), C4Group::Open(), C4Group::OpenAsChild(), SCopy(), C4Group::SetStdOutput(), SLen(), SReplaceChar(), C4Group::P::ST_Packed, and TruncatePath().
Referenced by C4MainMenu::ActivateNewPlayer(), c4_mapgen_handle_new(), C4ControlReInitScenario::C4ControlReInitScenario(), C4Group_CopyItem(), C4Group_DeleteItem(), C4Group_IsGroup(), C4Group_MoveItem(), C4Group_PackDirectoryTo(), C4Group_ReadFile(), C4Group_UnpackDirectory(), C4UpdatePackage::Check(), DefFileGetID(), C4ScenarioListLoader::SubFolder::DoLoadContents(), C4ScenarioSection::EnsureTempStore(), C4UpdatePackage::Execute(), C4ScenarioSection::GetGroupfile(), C4Language::Init(), C4ScenarioListLoader::Entry::Load(), C4StartupPlrSelDlg::PlayerListItem::Load(), C4PlayerInfo::LoadBigIcon(), C4KeyboardInput::LoadCustomConfig(), C4MusicSystem::LoadDir(), C4UpdatePackage::MakeUpdate(), C4UpdatePackage::MkUp(), C4StartupPlrPropertiesDlg::OnClosed(), C4Reloc::Open(), C4Group::Open(), C4Network2Res::OpenAsGrp(), C4Application::OpenSystemGroup(), C4UpdatePackage::Optimize(), C4Network2Res::OptimizeStandalone(), ProcessGroup(), C4Shader::Refresh(), C4ParticleDef::Reload(), C4DefList::Reload(), C4ScriptHost::ReloadScript(), C4ScenarioListLoader::Entry::RenameTo(), C4Network2::RetrieveScenario(), C4Player::Save(), C4PlayerList::Save(), C4Console::SaveScenario(), C4Landscape::SaveTextures(), C4Record::Start(), C4Playback::StreamToRecord(), C4ControlJoinPlayer::Strip(), C4Player::Strip(), and C4StartupPlrSelDlg::PlayerListItem::UpdateCore().
|
inherited |
Definition at line 1952 of file C4Group.cpp.
References _MAX_FNAME, _MAX_FNAME_LEN, C4GroupEntry::C4GRES_InGroup, C4Group::C4Group(), C4GroupFileID, C4GroupFileVer1, C4GroupFileVer2, C4GroupEntryCore::ChildGroup, C4Group::Clear(), DirectoryExists(), DirectorySeparator, C4GroupHeader::Entries, C4GroupEntryCore::Executable, C4GroupEntryCore::FileName, C4Group::GetFullName(), C4Group::GetName(), C4Group::Head, C4GroupHeader::Id, MemScramble(), C4GroupEntryCore::Offset, C4Group::OpenAsChild(), C4Group::ResetSearch(), SCharCount(), SCopy(), SCopyUntil(), SEqual(), C4Group::SetStdOutput(), C4GroupEntryCore::Size, SLen(), C4Group::P::ST_Packed, C4Group::P::ST_Unpacked, C4GroupHeader::Ver1, and C4GroupHeader::Ver2.
Referenced by C4Group_ApplyUpdate(), C4Group::Delete(), C4ScenarioListLoader::SubFolder::DoLoadContents(), C4UpdatePackage::DoUpdate(), C4ScenarioSection::GetGroupfile(), C4Game::InitMaterialTexture(), C4ObjectInfoList::Load(), C4DefList::Load(), C4ObjectInfo::Load(), C4ScenarioListLoader::Entry::Load(), C4Game::LoadAdditionalSystemGroup(), C4Extra::LoadDef(), C4SoundSystem::LoadEffects(), C4UpdatePackage::MkUp(), C4Group::Open(), C4Group::OpenAsChild(), C4Group::OpenChild(), C4Game::OpenScenario(), C4UpdatePackage::Optimize(), PrintGroupInternals(), C4GroupSet::RegisterGroups(), C4GroupSet::RegisterParentFolders(), C4ObjectInfo::Save(), and C4Landscape::SaveTextures().
|
inherited |
Definition at line 2765 of file C4Group.cpp.
References C4Group::C4Group(), and C4Group::OpenAsChild().
|
inherited |
Definition at line 2803 of file C4Group.cpp.
References C4Group::Clear().
|
inherited |
Definition at line 2831 of file C4Group.cpp.
References C4GroupEntryCore::FileName, C4GroupEntry::Next, C4Group::P::ST_Packed, and WildcardListMatch().
Referenced by C4Game::InitMaterialTexture(), and C4ScenarioListLoader::Scenario::LoadCustomPre().
|
overridevirtualinherited |
Implements CStdStream.
Definition at line 1430 of file C4Group.cpp.
References C4Group::P::ST_Packed, and C4Group::P::ST_Unpacked.
Referenced by C4Group::Advance(), C4Group_ReadFile(), C4MassMoverSet::Load(), C4PXSSystem::Load(), C4Group::LoadEntry(), C4Group::LoadEntryString(), and C4MCParser::ParseFile().
|
inherited |
Definition at line 1735 of file C4Group.cpp.
References _MAX_FNAME, _MAX_FNAME_LEN, _MAX_PATH, AppendBackslash(), C4GroupEntryCore::FileName, C4Group::GetEntry(), C4Group::GetName(), RenameFile(), C4Group::ResetSearch(), SAppend(), SCopy(), SEqualNoCase(), C4Group::P::ST_Packed, and C4Group::P::ST_Unpacked.
Referenced by C4ObjectInfo::Save().
|
inherited |
Definition at line 1316 of file C4Group.cpp.
References C4Group::GetName(), C4Group::P::ST_Packed, and C4Group::P::ST_Unpacked.
Referenced by c4_mapgen_handle_new(), C4Group_ApplyUpdate(), C4Group::Delete(), C4Group::DeleteEntry(), C4UpdatePackage::DoGrpUpdate(), C4ScenarioListLoader::SubFolder::DoLoadContents(), C4UpdatePackage::DoUpdate(), C4ScenarioSection::EnsureTempStore(), C4Group::EntryCount(), C4Group::EntryCRC32(), C4Group::EntrySize(), C4UpdatePackage::Execute(), C4Group::Extract(), C4Group::FindEntry(), C4AchievementGraphics::Init(), C4Game::InitScriptEngine(), C4MaterialMap::Load(), C4ObjectInfoList::Load(), C4DefList::Load(), C4DefGraphics::Load(), C4Game::LoadAdditionalSystemGroup(), C4MusicSystem::LoadDir(), C4SoundSystem::LoadEffects(), C4Game::LoadScenarioComponents(), C4TextureMap::LoadTextures(), C4UpdatePackage::MkUp(), C4Group::OpenAsChild(), C4UpdatePackage::Optimize(), and C4Group::Rename().
|
inherited |
Definition at line 1031 of file C4Group.cpp.
References _MAX_FNAME, C4GroupEntry::C4GRES_Deleted, C4Group_TempPath, C4GroupSwapThreshold, C4Group::Clear(), CStdFile::Close(), CStdFile::Create(), C4GroupHeader::Entries, EraseFile(), GetFilename(), C4Group::GetName(), C4Group::Head, MakeTempFilename(), MemScramble(), C4GroupEntryCore::Offset, RenameFile(), SAppend(), SCopy(), SEqual(), C4GroupEntryCore::Size, and CStdFile::Write().
Referenced by C4ControlReInitScenario::C4ControlReInitScenario(), C4Group::Close(), and Close().
|
inline |
Definition at line 202 of file C4Update.cpp.
References C4GroupEntryCore::Executable, and SavedCore.
Referenced by C4UpdatePackage::DoUpdate(), C4UpdatePackage::MkUp(), and C4UpdatePackage::Optimize().
|
inline |
Definition at line 172 of file C4Update.cpp.
References C4GroupHeader::Entries, and C4Group::Head.
Referenced by C4UpdatePackage::DoGrpUpdate(), C4UpdatePackage::MkUp(), and C4UpdatePackage::Optimize().
|
inherited |
Definition at line 2552 of file C4Group.cpp.
Referenced by C4Group_CopyItem(), and C4Group_MoveItem().
|
inline |
Definition at line 215 of file C4Update.cpp.
References C4Group::GetEntry(), and C4GroupEntry::NoSort.
Referenced by C4UpdatePackage::DoUpdate().
|
inline |
Definition at line 208 of file C4Update.cpp.
References C4GroupEntryCore::Executable, C4Group::GetEntry(), and SavedCore.
Referenced by C4UpdatePackage::DoUpdate(), C4UpdatePackage::MkUp(), and C4UpdatePackage::Optimize().
|
inherited |
Definition at line 655 of file C4Group.cpp.
Referenced by C4Group::Delete(), C4Group::Open(), C4Group::OpenAsChild(), and ProcessGroup().
|
inherited |
Definition at line 2470 of file C4Group.cpp.
References C4GroupEntryCore::FileName, C4GroupEntry::Next, SortRank(), and stricmp().
Referenced by C4GameSave::Close(), C4UpdatePackage::DoGrpUpdate(), ProcessGroup(), C4Player::Save(), and C4Group::SortByList().
|
inherited |
Definition at line 2566 of file C4Group.cpp.
References GetFilename(), C4Group::GetName(), C4Group::Sort(), and WildcardMatch().
Referenced by C4Group_PackDirectoryTo(), C4Group::Close(), and C4UpdatePackage::MkUp().
|
protectedinherited |
Definition at line 147 of file C4Group.h.
Referenced by C4Group::Close(), C4Group::DeleteEntry(), C4Group::GetHeader(), HeadIdentical(), C4Group::OpenAsChild(), C4Group::Save(), and SetHead().
C4GroupEntryCore C4GroupEx::SavedCore |
Definition at line 201 of file C4Update.cpp.
Referenced by SaveEntryCore(), and SetSavedEntryCore().