File tree Expand file tree Collapse file tree 13 files changed +59
-9
lines changed Expand file tree Collapse file tree 13 files changed +59
-9
lines changed Original file line number Diff line number Diff line change
1
+ [submodule "submodules/falltergeist/vfs-memory "]
2
+ path = submodules/falltergeist/vfs-memory
3
+ url = https://github.com/falltergeist/vfs-memory.git
1
4
[submodule "submodules/falltergeist/vfs "]
2
- path = submodules/falltergeist/vfs
3
- url = https://github.com/falltergeist/vfs.git
4
- tag = 0 .2.0
5
+ path = submodules/falltergeist/vfs
6
+ url = https://github.com/falltergeist/vfs.git
Original file line number Diff line number Diff line change 1
1
Under development
2
2
-----------------
3
-
3
+ - [ feature] Update vfs dependency. Use vfs-memory module (alexeevdv)
4
+
4
5
0.1.1 (2022-05-13)
5
6
-----------------
6
7
- [ bug] Can not use this module and vfs at the same time in the top level CMake file (alexeevdv)
Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ if(NOT TARGET falltergeist::vfs)
24
24
add_subdirectory (submodules/falltergeist/vfs)
25
25
endif ()
26
26
27
+ if (NOT TARGET falltergeist::vfs::memory)
28
+ add_subdirectory (submodules/falltergeist/vfs-memory)
29
+ endif ()
30
+
31
+
27
32
find_package (ZLIB REQUIRED)
28
33
if (NOT ZLIB_FOUND)
29
34
message (FATAL_ERROR "zlib library not found" )
@@ -63,4 +68,5 @@ target_link_libraries(
63
68
${PROJECT_NAME}
64
69
${ZLIB_LIBRARIES}
65
70
falltergeist::vfs
71
+ falltergeist::vfs::memory
66
72
)
Original file line number Diff line number Diff line change 1
1
# vfs-dat2
2
2
Fallout 2 DAT archive VFS module
3
+
4
+ ## Dependencies
5
+ - [ vfs] ( https://github.com/falltergeist/vfs ) ^0.4.0
6
+ - [ vfs-memory] ( https://github.com/falltergeist/vfs-memory ) ^0.1.0
Original file line number Diff line number Diff line change 1
1
#pragma once
2
2
3
- #include " DatArchiveEntry.h"
4
- #include " DatArchiveStreamWrapper.h"
3
+ // Project includes
4
+ #include " falltergeist/vfs/DatArchiveEntry.h"
5
+ #include " falltergeist/vfs/DatArchiveStreamWrapper.h"
6
+
7
+ // Third party includes
5
8
#include " falltergeist/vfs/IDriver.h"
9
+
10
+ // stdlib
6
11
#include < map>
7
12
#include < memory>
8
13
Original file line number Diff line number Diff line change 1
1
#pragma once
2
2
3
+ // Project includes
4
+
5
+ // Third party includes
6
+
7
+ // stdlib
8
+
3
9
namespace Falltergeist ::VFS {
4
10
struct DatArchiveEntry {
5
11
unsigned int packedSize = 0 ;
Original file line number Diff line number Diff line change 1
1
#pragma once
2
2
3
- #include " DatArchiveEntry.h"
3
+ // Project includes
4
+ #include " falltergeist/vfs/DatArchiveEntry.h"
5
+
6
+ // Third party includes
4
7
#include " falltergeist/vfs/IFile.h"
8
+
9
+ // stdlib
5
10
#include < functional>
6
11
7
12
namespace Falltergeist ::VFS {
Original file line number Diff line number Diff line change 1
1
#pragma once
2
2
3
+ // Project includes
4
+ #include " falltergeist/vfs/DatArchiveEntry.h"
5
+
6
+ // Third party includes
7
+
8
+ // stdlib
3
9
#include < fstream>
4
10
#include < cstdint>
5
11
#include < map>
6
- #include " DatArchiveEntry.h"
7
12
8
13
namespace Falltergeist ::VFS {
9
14
class DatArchiveStreamWrapper final {
Original file line number Diff line number Diff line change
1
+ // Project includes
1
2
#include " falltergeist/vfs/DatArchiveDriver.h"
2
3
#include " falltergeist/vfs/DatArchiveFile.h"
4
+
5
+ // Third party includes
3
6
#include " falltergeist/vfs/MemoryFile.h"
4
7
#include " zlib.h"
8
+
9
+ // stdlib
5
10
#include < algorithm>
6
11
7
12
namespace Falltergeist ::VFS {
Original file line number Diff line number Diff line change
1
+ // Project includes
1
2
#include " falltergeist/vfs/DatArchiveFile.h"
3
+
4
+ // Third party includes
5
+
6
+ // stdlib
2
7
#include < algorithm>
3
8
4
9
namespace Falltergeist ::VFS {
You can’t perform that action at this time.
0 commit comments