summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-01-04 15:32:25 +0000
committersmatz <smatz@openttd.org>2009-01-04 15:32:25 +0000
commit7368c740a646c958797b5dff90d6c5b51236e2a4 (patch)
tree56e0ff1f4048e467cf123e92ca788c3c4bbc0f94 /projects
parentc9e8fd307e36b3d35f5bf7d01cffe64b1e75b846 (diff)
downloadopenttd-7368c740a646c958797b5dff90d6c5b51236e2a4.tar.xz
(svn r14828) -Codechange: move most of save/load-specific code to separate files
Diffstat (limited to 'projects')
-rw-r--r--projects/openttd_vs80.vcproj132
-rw-r--r--projects/openttd_vs90.vcproj132
2 files changed, 240 insertions, 24 deletions
diff --git a/projects/openttd_vs80.vcproj b/projects/openttd_vs80.vcproj
index 5a5d75014..6dc649a8c 100644
--- a/projects/openttd_vs80.vcproj
+++ b/projects/openttd_vs80.vcproj
@@ -648,10 +648,6 @@
>
</File>
<File
- RelativePath=".\..\src\oldloader.cpp"
- >
- </File>
- <File
RelativePath=".\..\src\oldpool.cpp"
>
</File>
@@ -692,10 +688,6 @@
>
</File>
<File
- RelativePath=".\..\src\saveload.cpp"
- >
- </File>
- <File
RelativePath=".\..\src\screenshot.cpp"
>
</File>
@@ -1044,6 +1036,10 @@
>
</File>
<File
+ RelativePath=".\..\src\gamelog_internal.h"
+ >
+ </File>
+ <File
RelativePath=".\..\src\genworld.h"
>
</File>
@@ -1360,10 +1356,6 @@
>
</File>
<File
- RelativePath=".\..\src\saveload.h"
- >
- </File>
- <File
RelativePath=".\..\src\screenshot.h"
>
</File>
@@ -2009,6 +2001,122 @@
</File>
</Filter>
<Filter
+ Name="Save/Load handlers"
+ >
+ <File
+ RelativePath=".\..\src\saveload\afterload.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\ai_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\animated_tile_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\autoreplace_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\cargopacket_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\cheat_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\company_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\depot_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\economy_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\engine_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\gamelog_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\group_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\industry_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\map_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\misc_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\newgrf_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\oldloader.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\order_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\saveload.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\saveload.h"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\saveload_internal.h"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\signs_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\station_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\strings_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\subsidy_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\town_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\vehicle_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\waypoint_sl.cpp"
+ >
+ </File>
+ </Filter>
+ <Filter
Name="Tables"
>
<File
diff --git a/projects/openttd_vs90.vcproj b/projects/openttd_vs90.vcproj
index 91e051306..898410e4b 100644
--- a/projects/openttd_vs90.vcproj
+++ b/projects/openttd_vs90.vcproj
@@ -645,10 +645,6 @@
>
</File>
<File
- RelativePath=".\..\src\oldloader.cpp"
- >
- </File>
- <File
RelativePath=".\..\src\oldpool.cpp"
>
</File>
@@ -689,10 +685,6 @@
>
</File>
<File
- RelativePath=".\..\src\saveload.cpp"
- >
- </File>
- <File
RelativePath=".\..\src\screenshot.cpp"
>
</File>
@@ -1041,6 +1033,10 @@
>
</File>
<File
+ RelativePath=".\..\src\gamelog_internal.h"
+ >
+ </File>
+ <File
RelativePath=".\..\src\genworld.h"
>
</File>
@@ -1357,10 +1353,6 @@
>
</File>
<File
- RelativePath=".\..\src\saveload.h"
- >
- </File>
- <File
RelativePath=".\..\src\screenshot.h"
>
</File>
@@ -2006,6 +1998,122 @@
</File>
</Filter>
<Filter
+ Name="Save/Load handlers"
+ >
+ <File
+ RelativePath=".\..\src\saveload\afterload.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\ai_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\animated_tile_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\autoreplace_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\cargopacket_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\cheat_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\company_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\depot_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\economy_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\engine_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\gamelog_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\group_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\industry_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\map_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\misc_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\newgrf_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\oldloader.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\order_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\saveload.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\saveload.h"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\saveload_internal.h"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\signs_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\station_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\strings_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\subsidy_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\town_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\vehicle_sl.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\..\src\saveload\waypoint_sl.cpp"
+ >
+ </File>
+ </Filter>
+ <Filter
Name="Tables"
>
<File