Skip to content

Commit c34c37b

Browse files
author
Ladislav Zezula
committed
+ StormLib 9.0 BETA
1 parent ff0c259 commit c34c37b

35 files changed

+5598
-5607
lines changed

CMakeLists.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ set(SRC_FILES
2222
src/SFileCreateArchive.cpp
2323
src/SFileExtractFile.cpp
2424
src/SFileFindFile.cpp
25+
src/SFileGetFileInfo.cpp
2526
src/SFileListFile.cpp
2627
src/SFileOpenArchive.cpp
2728
src/SFileOpenFileEx.cpp
@@ -292,8 +293,8 @@ if(APPLE)
292293
endif()
293294

294295
if(UNIX)
295-
set_target_properties(storm PROPERTIES VERSION 8.21.0)
296-
set_target_properties(storm PROPERTIES SOVERSION 8)
296+
set_target_properties(storm PROPERTIES VERSION 9.0.0)
297+
set_target_properties(storm PROPERTIES SOVERSION 9)
297298
endif()
298299

299300
# On Win32, build StormLib.dll since we don't want to clash with Storm.dll

Makefile.linux

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ OBJS = src/adpcm/adpcm.o \
4040
src/SFileCreateArchive.o \
4141
src/SFileExtractFile.o \
4242
src/SFileFindFile.o \
43+
src/SFileGetFileInfo.o \
4344
src/SFileListFile.o \
4445
src/SFileOpenArchive.o \
4546
src/SFileOpenFileEx.o \

Makefile.mac

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ OBJS_CPP = src/adpcm/adpcm.obj \
3333
src/SFileCreateArchive.obj \
3434
src/SFileExtractFile.obj \
3535
src/SFileFindFile.obj \
36+
src/SFileGetFileInfo.obj \
3637
src/SFileListFile.obj \
3738
src/SFileOpenArchive.obj \
3839
src/SFileOpenFileEx.obj \

StormLib.vcproj

+164
Original file line numberDiff line numberDiff line change
@@ -2710,6 +2710,170 @@
27102710
/>
27112711
</FileConfiguration>
27122712
</File>
2713+
<File
2714+
RelativePath=".\src\SFileGetFileInfo.cpp"
2715+
>
2716+
<FileConfiguration
2717+
Name="DebugAD|Win32"
2718+
>
2719+
<Tool
2720+
Name="VCCLCompilerTool"
2721+
UsePrecompiledHeader="2"
2722+
PrecompiledHeaderThrough="StormCommon.h"
2723+
WarningLevel="4"
2724+
/>
2725+
</FileConfiguration>
2726+
<FileConfiguration
2727+
Name="DebugAD|x64"
2728+
>
2729+
<Tool
2730+
Name="VCCLCompilerTool"
2731+
UsePrecompiledHeader="2"
2732+
PrecompiledHeaderThrough="StormCommon.h"
2733+
WarningLevel="4"
2734+
/>
2735+
</FileConfiguration>
2736+
<FileConfiguration
2737+
Name="DebugAS|Win32"
2738+
>
2739+
<Tool
2740+
Name="VCCLCompilerTool"
2741+
UsePrecompiledHeader="2"
2742+
PrecompiledHeaderThrough="StormCommon.h"
2743+
WarningLevel="4"
2744+
/>
2745+
</FileConfiguration>
2746+
<FileConfiguration
2747+
Name="DebugAS|x64"
2748+
>
2749+
<Tool
2750+
Name="VCCLCompilerTool"
2751+
UsePrecompiledHeader="2"
2752+
PrecompiledHeaderThrough="StormCommon.h"
2753+
WarningLevel="4"
2754+
/>
2755+
</FileConfiguration>
2756+
<FileConfiguration
2757+
Name="ReleaseAD|Win32"
2758+
>
2759+
<Tool
2760+
Name="VCCLCompilerTool"
2761+
UsePrecompiledHeader="2"
2762+
PrecompiledHeaderThrough="StormCommon.h"
2763+
WarningLevel="4"
2764+
/>
2765+
</FileConfiguration>
2766+
<FileConfiguration
2767+
Name="ReleaseAD|x64"
2768+
>
2769+
<Tool
2770+
Name="VCCLCompilerTool"
2771+
UsePrecompiledHeader="2"
2772+
PrecompiledHeaderThrough="StormCommon.h"
2773+
WarningLevel="4"
2774+
/>
2775+
</FileConfiguration>
2776+
<FileConfiguration
2777+
Name="ReleaseAS|Win32"
2778+
>
2779+
<Tool
2780+
Name="VCCLCompilerTool"
2781+
UsePrecompiledHeader="2"
2782+
PrecompiledHeaderThrough="StormCommon.h"
2783+
WarningLevel="4"
2784+
/>
2785+
</FileConfiguration>
2786+
<FileConfiguration
2787+
Name="ReleaseAS|x64"
2788+
>
2789+
<Tool
2790+
Name="VCCLCompilerTool"
2791+
UsePrecompiledHeader="2"
2792+
PrecompiledHeaderThrough="StormCommon.h"
2793+
WarningLevel="4"
2794+
/>
2795+
</FileConfiguration>
2796+
<FileConfiguration
2797+
Name="DebugUD|Win32"
2798+
>
2799+
<Tool
2800+
Name="VCCLCompilerTool"
2801+
UsePrecompiledHeader="2"
2802+
PrecompiledHeaderThrough="StormCommon.h"
2803+
WarningLevel="4"
2804+
/>
2805+
</FileConfiguration>
2806+
<FileConfiguration
2807+
Name="DebugUD|x64"
2808+
>
2809+
<Tool
2810+
Name="VCCLCompilerTool"
2811+
UsePrecompiledHeader="2"
2812+
PrecompiledHeaderThrough="StormCommon.h"
2813+
WarningLevel="4"
2814+
/>
2815+
</FileConfiguration>
2816+
<FileConfiguration
2817+
Name="DebugUS|Win32"
2818+
>
2819+
<Tool
2820+
Name="VCCLCompilerTool"
2821+
UsePrecompiledHeader="2"
2822+
PrecompiledHeaderThrough="StormCommon.h"
2823+
WarningLevel="4"
2824+
/>
2825+
</FileConfiguration>
2826+
<FileConfiguration
2827+
Name="DebugUS|x64"
2828+
>
2829+
<Tool
2830+
Name="VCCLCompilerTool"
2831+
UsePrecompiledHeader="2"
2832+
PrecompiledHeaderThrough="StormCommon.h"
2833+
WarningLevel="4"
2834+
/>
2835+
</FileConfiguration>
2836+
<FileConfiguration
2837+
Name="ReleaseUD|Win32"
2838+
>
2839+
<Tool
2840+
Name="VCCLCompilerTool"
2841+
UsePrecompiledHeader="2"
2842+
PrecompiledHeaderThrough="StormCommon.h"
2843+
WarningLevel="4"
2844+
/>
2845+
</FileConfiguration>
2846+
<FileConfiguration
2847+
Name="ReleaseUD|x64"
2848+
>
2849+
<Tool
2850+
Name="VCCLCompilerTool"
2851+
UsePrecompiledHeader="2"
2852+
PrecompiledHeaderThrough="StormCommon.h"
2853+
WarningLevel="4"
2854+
/>
2855+
</FileConfiguration>
2856+
<FileConfiguration
2857+
Name="ReleaseUS|Win32"
2858+
>
2859+
<Tool
2860+
Name="VCCLCompilerTool"
2861+
UsePrecompiledHeader="2"
2862+
PrecompiledHeaderThrough="StormCommon.h"
2863+
WarningLevel="4"
2864+
/>
2865+
</FileConfiguration>
2866+
<FileConfiguration
2867+
Name="ReleaseUS|x64"
2868+
>
2869+
<Tool
2870+
Name="VCCLCompilerTool"
2871+
UsePrecompiledHeader="2"
2872+
PrecompiledHeaderThrough="StormCommon.h"
2873+
WarningLevel="4"
2874+
/>
2875+
</FileConfiguration>
2876+
</File>
27132877
<File
27142878
RelativePath=".\src\SFileListFile.cpp"
27152879
>

StormLib.vcxproj

+5
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,11 @@
666666
<PrecompiledHeaderFile>StormCommon.h</PrecompiledHeaderFile>
667667
<WarningLevel>Level4</WarningLevel>
668668
</ClCompile>
669+
<ClCompile Include="src\SFileGetFileInfo.cpp">
670+
<PrecompiledHeader>Create</PrecompiledHeader>
671+
<PrecompiledHeaderFile>StormCommon.h</PrecompiledHeaderFile>
672+
<WarningLevel>Level4</WarningLevel>
673+
</ClCompile>
669674
<ClCompile Include="src\SFileListFile.cpp">
670675
<PrecompiledHeader>Create</PrecompiledHeader>
671676
<PrecompiledHeaderFile>StormCommon.h</PrecompiledHeaderFile>

StormLib.vcxproj.filters

+3
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@
133133
<ClCompile Include="src\SFileFindFile.cpp">
134134
<Filter>Source Files</Filter>
135135
</ClCompile>
136+
<ClCompile Include="src\SFileGetFileInfo.cpp">
137+
<Filter>Source Files</Filter>
138+
</ClCompile>
136139
<ClCompile Include="src\SFileListFile.cpp">
137140
<Filter>Source Files</Filter>
138141
</ClCompile>

StormLib_dll.vcproj

+84
Original file line numberDiff line numberDiff line change
@@ -1144,6 +1144,90 @@
11441144
/>
11451145
</FileConfiguration>
11461146
</File>
1147+
<File
1148+
RelativePath=".\src\SFileGetFileInfo.cpp"
1149+
>
1150+
<FileConfiguration
1151+
Name="Debug|Win32"
1152+
>
1153+
<Tool
1154+
Name="VCCLCompilerTool"
1155+
WarningLevel="4"
1156+
/>
1157+
</FileConfiguration>
1158+
<FileConfiguration
1159+
Name="Debug|x64"
1160+
>
1161+
<Tool
1162+
Name="VCCLCompilerTool"
1163+
WarningLevel="4"
1164+
/>
1165+
</FileConfiguration>
1166+
<FileConfiguration
1167+
Name="Release|Win32"
1168+
>
1169+
<Tool
1170+
Name="VCCLCompilerTool"
1171+
WarningLevel="4"
1172+
/>
1173+
</FileConfiguration>
1174+
<FileConfiguration
1175+
Name="Release|x64"
1176+
>
1177+
<Tool
1178+
Name="VCCLCompilerTool"
1179+
WarningLevel="4"
1180+
/>
1181+
</FileConfiguration>
1182+
<FileConfiguration
1183+
Name="DebugAD|Win32"
1184+
>
1185+
<Tool
1186+
Name="VCCLCompilerTool"
1187+
WarningLevel="4"
1188+
/>
1189+
</FileConfiguration>
1190+
<FileConfiguration
1191+
Name="DebugAD|x64"
1192+
>
1193+
<Tool
1194+
Name="VCCLCompilerTool"
1195+
WarningLevel="4"
1196+
/>
1197+
</FileConfiguration>
1198+
<FileConfiguration
1199+
Name="ReleaseAD|Win32"
1200+
>
1201+
<Tool
1202+
Name="VCCLCompilerTool"
1203+
WarningLevel="4"
1204+
/>
1205+
</FileConfiguration>
1206+
<FileConfiguration
1207+
Name="ReleaseAD|x64"
1208+
>
1209+
<Tool
1210+
Name="VCCLCompilerTool"
1211+
WarningLevel="4"
1212+
/>
1213+
</FileConfiguration>
1214+
<FileConfiguration
1215+
Name="ReleaseAS|Win32"
1216+
>
1217+
<Tool
1218+
Name="VCCLCompilerTool"
1219+
WarningLevel="4"
1220+
/>
1221+
</FileConfiguration>
1222+
<FileConfiguration
1223+
Name="ReleaseAS|x64"
1224+
>
1225+
<Tool
1226+
Name="VCCLCompilerTool"
1227+
WarningLevel="4"
1228+
/>
1229+
</FileConfiguration>
1230+
</File>
11471231
<File
11481232
RelativePath=".\src\SFileListFile.cpp"
11491233
>

StormLib_dll.vcxproj

+6
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,12 @@
260260
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Level4</WarningLevel>
261261
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Level4</WarningLevel>
262262
</ClCompile>
263+
<ClCompile Include="src\SFileGetFileInfo.cpp">
264+
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Level4</WarningLevel>
265+
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Level4</WarningLevel>
266+
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Level4</WarningLevel>
267+
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Level4</WarningLevel>
268+
</ClCompile>
263269
<ClCompile Include="src\SFileListFile.cpp">
264270
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Level4</WarningLevel>
265271
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Level4</WarningLevel>

StormLib_dll.vcxproj.filters

+3
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@
136136
<ClCompile Include="src\SFileFindFile.cpp">
137137
<Filter>Source Files</Filter>
138138
</ClCompile>
139+
<ClCompile Include="src\SFileGetFileInfo.cpp">
140+
<Filter>Source Files</Filter>
141+
</ClCompile>
139142
<ClCompile Include="src\SFileListFile.cpp">
140143
<Filter>Source Files</Filter>
141144
</ClCompile>

StormLib_test.vcproj

+36
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,42 @@
778778
/>
779779
</FileConfiguration>
780780
</File>
781+
<File
782+
RelativePath=".\src\SFileGetFileInfo.cpp"
783+
>
784+
<FileConfiguration
785+
Name="Debug|Win32"
786+
>
787+
<Tool
788+
Name="VCCLCompilerTool"
789+
WarningLevel="4"
790+
/>
791+
</FileConfiguration>
792+
<FileConfiguration
793+
Name="Debug|x64"
794+
>
795+
<Tool
796+
Name="VCCLCompilerTool"
797+
WarningLevel="4"
798+
/>
799+
</FileConfiguration>
800+
<FileConfiguration
801+
Name="Release|Win32"
802+
>
803+
<Tool
804+
Name="VCCLCompilerTool"
805+
WarningLevel="4"
806+
/>
807+
</FileConfiguration>
808+
<FileConfiguration
809+
Name="Release|x64"
810+
>
811+
<Tool
812+
Name="VCCLCompilerTool"
813+
WarningLevel="4"
814+
/>
815+
</FileConfiguration>
816+
</File>
781817
<File
782818
RelativePath=".\src\SFileListFile.cpp"
783819
>

StormLib_test.vcxproj

+6
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,12 @@
265265
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Level4</WarningLevel>
266266
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Level4</WarningLevel>
267267
</ClCompile>
268+
<ClCompile Include="src\SFileGetFileInfo.cpp">
269+
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Level4</WarningLevel>
270+
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Level4</WarningLevel>
271+
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Level4</WarningLevel>
272+
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Level4</WarningLevel>
273+
</ClCompile>
268274
<ClCompile Include="src\SFileListFile.cpp">
269275
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Level4</WarningLevel>
270276
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Level4</WarningLevel>

0 commit comments

Comments
 (0)