- fixed vc++ project files for mods download menu

This commit is contained in:
Mark Vejvoda
2011-03-25 11:15:21 +00:00
parent 51eca5610e
commit 9096449919
3 changed files with 16 additions and 0 deletions

View File

@@ -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"
> >

View File

@@ -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" />

View File

@@ -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);