summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2022-08-20Merged on-demand Archive creation to constructorAki
2022-08-17Added some utility scripts I used for some datafiles inspectionsAki
2022-08-17Renamed ArchiveEx namespaceAki
2022-08-17Hid Header definition from public archive headerAki
2022-08-17Added function to create an empty archiveAki
2022-08-11Renamed block map generation methodAki
2022-08-11Renamed Insertion and Extraction methodsAki
2022-08-11Code now consistently uses unique_ptr for arraysAki
Now, I realize this is a rather interesting choice. I want them to be consistent. In case of extraction the array gets released as part of the legacy interface. Because of this std::vector is out of question. All other cases could use it, but they all have the same start and purpose. Only that one differs and I don't like making it unique (pun intended).
2022-08-11Implemented inserting entries into archiveAki
2022-08-11Fixed null-terminated extractionAki
2022-08-09Added methods to inspect blocks in the archiveAki
This actually yields predicted tendency to leave a single unused block at the start of the archive in case where directory starts to need more blocks and none of new files can fill it in. Interestingly it also shows a long sequence of unused blocks just before the directory that is right at the end of the archive. The cause for that can be pointed out in original implementation of FindDataBlocks method.
2022-08-09Cleaned-up selected parts of newly added codeAki
2022-08-08Added a functionality that enables extracting files by their pathAki
2022-08-07Added method to expand stored filesAki
2022-08-07Reimplemented part of archive formatAki
This is getting reimplemented rather than refactor mostly in order to make clear which parts are needed for backwards compatiblity (reading-wise) and which are not. The current implementation has quite a number of quirks and potential failure points despite not being large. Understanding them is not worth it.
2022-08-03Extended size of cast even moreAki
It looks that after update of mingw there were some narrowing problems again, but only for selected constants. This is worrying but not pressing at all.
2022-04-14Reformatted Pcx to match newline and indent conventionsAki
2022-04-14Renamed PCX format source to match conventionAki
2022-04-14Removed unused Reset method in loaderAki
2022-04-14Removed source groups as they didn't find their use in the endAki
2022-04-14Switched to use new Sources everywhere applicable in the LoaderAki
2022-04-13Removed unused includes of DataLoaderAki
2022-04-12DataSource now properly includes file reading functionsAki
2022-04-12Fixed leaked cwd source from loaderAki
2022-04-12Remvoed unused UseVideo of DataLoaderAki
2022-04-12Removed prefix from data sourcesAki
This to avoid any potential issues due to use of mutable state across several objects that is in the end expected to be the same. This fits well as a function parameter.
2022-04-12Added concat method to Text that does not mutate baseAki
2022-04-12Added a way to weak reference sources without any dependenciesAki
2022-04-12Changed error returning in DataLoaderAki
This is to allow meaningful return values for identification of unique sources.
2022-04-12Added simple formatting function for TextAki
2022-04-10Added groups for data sourcesAki
2022-04-10Switched to use FileSystemDataSource in DataLoaderAki
2022-04-10Fixed Text.replace in *.* caseAki
2022-04-10Added simple DataSources to replace parts of DataLoaderAki
2022-04-10Switched to C types and memory mutation functions in ArchiveAki
2022-04-10Moved archives list from static part of impl to loader memberAki
Including Archive.h in DataLoader.h created name conflicts and created an error due to missing types from Types.h in the Archive.h itself.
2022-04-10Removed unused static pointer to loader instanceAki
2022-04-10Merge branch 'magic'Aki
2022-04-10Requested texture size is now managed by Video and Video SettingsAki
2022-04-09Magic now uses updated Print from UtilsAki
2022-04-09Removed dependency on Starshatter in some dialogs and mission gensAki
2022-04-08Streamlined error message for complex modelsAki
2022-04-08Changed line endings in resource file to match rest of repoAki
2022-04-08Fixed case of include for the sake of itAki
2022-04-07Increased maximum polys and vertices fourfoldAki
2022-04-07Magic now properly initializes new ClockAki
2022-04-07Added missing resource to Magic sourcesAki
2022-04-07Removed unsued and incomplete Primitives from Magic2Aki
2022-04-07Wrapped min max calls to avoid macro that should be disabledAki
2022-04-07Removed files that were originally skipped in vcxprojAki