File tree 5 files changed +416
-1
lines changed
5 files changed +416
-1
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ set(PHYSFS_SRCS
98
98
src/physfs_archiver_slb.c
99
99
src/physfs_archiver_iso9660.c
100
100
src/physfs_archiver_vdf.c
101
+ src/physfs_archiver_lec3d.c
101
102
${PHYSFS_CPP_SRCS}
102
103
${PHYSFS_M_SRCS}
103
104
)
@@ -162,6 +163,11 @@ if(NOT PHYSFS_ARCHIVE_VDF)
162
163
add_definitions (-DPHYSFS_SUPPORTS_VDF=0)
163
164
endif ()
164
165
166
+ option (PHYSFS_ARCHIVE_LECARCHIVES "Enable LucasArts GOB/LAB/LFD Archive support" TRUE )
167
+ if (NOT PHYSFS_ARCHIVE_LECARCHIVES)
168
+ add_definitions (-DPHYSFS_SUPPORTS_LECARCHIVES=0)
169
+ endif ()
170
+
165
171
166
172
option (PHYSFS_BUILD_STATIC "Build static library" TRUE )
167
173
if (PHYSFS_BUILD_STATIC)
@@ -333,6 +339,7 @@ message_bool_option("QPAK support" PHYSFS_ARCHIVE_QPAK)
333
339
message_bool_option("SLB support" PHYSFS_ARCHIVE_SLB)
334
340
message_bool_option("VDF support" PHYSFS_ARCHIVE_VDF)
335
341
message_bool_option("ISO9660 support" PHYSFS_ARCHIVE_ISO9660)
342
+ message_bool_option("GOB/LAB/LFD support" PHYSFS_ARCHIVE_LECARCHIVES)
336
343
message_bool_option("Build static library" PHYSFS_BUILD_STATIC)
337
344
message_bool_option("Build shared library" PHYSFS_BUILD_SHARED)
338
345
message_bool_option("Build stdio test program" PHYSFS_BUILD_TEST)
Original file line number Diff line number Diff line change @@ -26,7 +26,8 @@ SRCS = physfs.c &
26
26
physfs_archiver_slb.c &
27
27
physfs_archiver_iso9660.c &
28
28
physfs_archiver_csm.c &
29
- physfs_archiver_vdf.c
29
+ physfs_archiver_vdf.c &
30
+ physfs_archiver_lec3d.c
30
31
31
32
32
33
OBJS = $(SRCS:.c=.obj)
Original file line number Diff line number Diff line change @@ -1200,6 +1200,11 @@ static int initStaticArchivers(void)
1200
1200
#if PHYSFS_SUPPORTS_VDF
1201
1201
REGISTER_STATIC_ARCHIVER (VDF )
1202
1202
#endif
1203
+ #if PHYSFS_SUPPORTS_LECARCHIVES
1204
+ REGISTER_STATIC_ARCHIVER (GOB )
1205
+ REGISTER_STATIC_ARCHIVER (LFD )
1206
+ REGISTER_STATIC_ARCHIVER (LAB )
1207
+ #endif
1203
1208
1204
1209
#undef REGISTER_STATIC_ARCHIVER
1205
1210
You can’t perform that action at this time.
0 commit comments