mirror of
https://github.com/glest/glest-source.git
synced 2025-08-30 03:09:49 +02:00
- fixed vc++ project files for mods download menu
This commit is contained in:
@@ -695,6 +695,14 @@
|
|||||||
RelativePath="..\..\source\glest_game\menu\menu_state_masterserver.h"
|
RelativePath="..\..\source\glest_game\menu\menu_state_masterserver.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\source\glest_game\menu\menu_state_mods.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\source\glest_game\menu\menu_state_mods.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\source\glest_game\menu\menu_state_new_game.cpp"
|
RelativePath="..\..\source\glest_game\menu\menu_state_new_game.cpp"
|
||||||
>
|
>
|
||||||
|
@@ -223,6 +223,7 @@
|
|||||||
<ClCompile Include="..\..\source\glest_game\menu\menu_state_join_game.cpp" />
|
<ClCompile Include="..\..\source\glest_game\menu\menu_state_join_game.cpp" />
|
||||||
<ClCompile Include="..\..\source\glest_game\menu\menu_state_keysetup.cpp" />
|
<ClCompile Include="..\..\source\glest_game\menu\menu_state_keysetup.cpp" />
|
||||||
<ClCompile Include="..\..\source\glest_game\menu\menu_state_masterserver.cpp" />
|
<ClCompile Include="..\..\source\glest_game\menu\menu_state_masterserver.cpp" />
|
||||||
|
<ClCompile Include="..\..\source\glest_game\menu\menu_state_mods.cpp" />
|
||||||
<ClCompile Include="..\..\source\glest_game\menu\menu_state_new_game.cpp" />
|
<ClCompile Include="..\..\source\glest_game\menu\menu_state_new_game.cpp" />
|
||||||
<ClCompile Include="..\..\source\glest_game\menu\menu_state_options.cpp" />
|
<ClCompile Include="..\..\source\glest_game\menu\menu_state_options.cpp" />
|
||||||
<ClCompile Include="..\..\source\glest_game\menu\menu_state_root.cpp" />
|
<ClCompile Include="..\..\source\glest_game\menu\menu_state_root.cpp" />
|
||||||
@@ -311,6 +312,7 @@
|
|||||||
<ClInclude Include="..\..\source\glest_game\menu\menu_state_graphic_info.h" />
|
<ClInclude Include="..\..\source\glest_game\menu\menu_state_graphic_info.h" />
|
||||||
<ClInclude Include="..\..\source\glest_game\menu\menu_state_join_game.h" />
|
<ClInclude Include="..\..\source\glest_game\menu\menu_state_join_game.h" />
|
||||||
<ClInclude Include="..\..\source\glest_game\menu\menu_state_masterserver.h" />
|
<ClInclude Include="..\..\source\glest_game\menu\menu_state_masterserver.h" />
|
||||||
|
<ClInclude Include="..\..\source\glest_game\menu\menu_state_mods.h" />
|
||||||
<ClInclude Include="..\..\source\glest_game\menu\menu_state_new_game.h" />
|
<ClInclude Include="..\..\source\glest_game\menu\menu_state_new_game.h" />
|
||||||
<ClInclude Include="..\..\source\glest_game\menu\menu_state_options.h" />
|
<ClInclude Include="..\..\source\glest_game\menu\menu_state_options.h" />
|
||||||
<ClInclude Include="..\..\source\glest_game\menu\menu_state_root.h" />
|
<ClInclude Include="..\..\source\glest_game\menu\menu_state_root.h" />
|
||||||
|
@@ -896,7 +896,13 @@ vector<string> getFolderTreeContentsListRecursively(const string &path, const st
|
|||||||
|
|
||||||
int globFlags = 0;
|
int globFlags = 0;
|
||||||
if(EndsWith(mypath,"{,.}*") == true) {
|
if(EndsWith(mypath,"{,.}*") == true) {
|
||||||
|
#ifndef WIN32
|
||||||
globFlags = GLOB_BRACE;
|
globFlags = GLOB_BRACE;
|
||||||
|
#else
|
||||||
|
// Windows glob source cannot handle GLOB_BRACE
|
||||||
|
// but that should be ok for win32 platform
|
||||||
|
replaceAll(mypath,"{,.}*","*");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
int res = glob(mypath.c_str(), globFlags, 0, &globbuf);
|
int res = glob(mypath.c_str(), globFlags, 0, &globbuf);
|
||||||
|
Reference in New Issue
Block a user