(svn r21160) -Codechange: reuse the strgen LanguageHeader to store some metadata about a language, and keep the language metadata in memory instead of loading it several times from disk

This commit is contained in:
rubidium
2010-11-13 11:11:02 +00:00
parent 239fcc8ccd
commit f195920695
9 changed files with 41 additions and 56 deletions

View File

@@ -453,6 +453,7 @@
<ClInclude Include="..\src\ini_type.h" />
<ClInclude Include="..\src\landscape.h" />
<ClInclude Include="..\src\landscape_type.h" />
<ClInclude Include="..\src\language.h" />
<ClInclude Include="..\src\livery.h" />
<ClInclude Include="..\src\map_func.h" />
<ClInclude Include="..\src\map_type.h" />
@@ -551,7 +552,6 @@
<ClInclude Include="..\src\station_type.h" />
<ClInclude Include="..\src\statusbar_gui.h" />
<ClInclude Include="..\src\stdafx.h" />
<ClInclude Include="..\src\strgen\strgen.h" />
<ClInclude Include="..\src\string_func.h" />
<ClInclude Include="..\src\string_type.h" />
<ClInclude Include="..\src\strings_func.h" />

View File

@@ -579,6 +579,9 @@
<ClInclude Include="..\src\landscape_type.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\language.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\livery.h">
<Filter>Header Files</Filter>
</ClInclude>
@@ -873,9 +876,6 @@
<ClInclude Include="..\src\stdafx.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\strgen\strgen.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\string_func.h">
<Filter>Header Files</Filter>
</ClInclude>

View File

@@ -1086,6 +1086,10 @@
RelativePath=".\..\src\landscape_type.h"
>
</File>
<File
RelativePath=".\..\src\language.h"
>
</File>
<File
RelativePath=".\..\src\livery.h"
>
@@ -1478,10 +1482,6 @@
RelativePath=".\..\src\stdafx.h"
>
</File>
<File
RelativePath=".\..\src\strgen\strgen.h"
>
</File>
<File
RelativePath=".\..\src\string_func.h"
>

View File

@@ -1083,6 +1083,10 @@
RelativePath=".\..\src\landscape_type.h"
>
</File>
<File
RelativePath=".\..\src\language.h"
>
</File>
<File
RelativePath=".\..\src\livery.h"
>
@@ -1475,10 +1479,6 @@
RelativePath=".\..\src\stdafx.h"
>
</File>
<File
RelativePath=".\..\src\strgen\strgen.h"
>
</File>
<File
RelativePath=".\..\src\string_func.h"
>