diff options
author | truebrain <truebrain@openttd.org> | 2011-12-19 20:50:54 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-19 20:50:54 +0000 |
commit | 12aa5b6a583aa7ca9092ec6c77e7b12677cdd6a4 (patch) | |
tree | 7569f15cf65bf42fc1b4fff16a66cba8d0648299 /projects | |
parent | 5cda1d7c90f7ac2a1d8a851edbe426f07a032946 (diff) | |
download | openttd-12aa5b6a583aa7ca9092ec6c77e7b12677cdd6a4.tar.xz |
(svn r23604) -Add: initial support for GameScripts
Diffstat (limited to 'projects')
-rw-r--r-- | projects/openttd_vs100.vcxproj | 4 | ||||
-rw-r--r-- | projects/openttd_vs100.vcxproj.filters | 49 | ||||
-rw-r--r-- | projects/openttd_vs80.vcproj | 20 | ||||
-rw-r--r-- | projects/openttd_vs90.vcproj | 20 |
4 files changed, 76 insertions, 17 deletions
diff --git a/projects/openttd_vs100.vcxproj b/projects/openttd_vs100.vcxproj index ff0ec9a9c..44aa0247e 100644 --- a/projects/openttd_vs100.vcxproj +++ b/projects/openttd_vs100.vcxproj @@ -913,6 +913,10 @@ <ClCompile Include="..\src\ai\ai_scanner.cpp" /> <ClInclude Include="..\src\ai\ai_scanner.hpp" /> <ClInclude Include="..\src\script\api\ai_changelog.hpp" /> + <ClInclude Include="..\src\game\game.hpp" /> + <ClCompile Include="..\src\game\game_core.cpp" /> + <ClCompile Include="..\src\game\game_instance.cpp" /> + <ClInclude Include="..\src\game\game_instance.hpp" /> <ClInclude Include="..\src\script\api\script_accounting.hpp" /> <ClInclude Include="..\src\script\api\script_airport.hpp" /> <ClInclude Include="..\src\script\api\script_base.hpp" /> diff --git a/projects/openttd_vs100.vcxproj.filters b/projects/openttd_vs100.vcxproj.filters index a90e8d8d1..7a5d16e2e 100644 --- a/projects/openttd_vs100.vcxproj.filters +++ b/projects/openttd_vs100.vcxproj.filters @@ -43,57 +43,60 @@ <Filter Include="AI API"> <UniqueIdentifier>{c76ff9f1-1e62-46d8-8d55-000000000013}</UniqueIdentifier> </Filter> - <Filter Include="Script API"> + <Filter Include="Game Core"> <UniqueIdentifier>{c76ff9f1-1e62-46d8-8d55-000000000014}</UniqueIdentifier> </Filter> - <Filter Include="Script API Implementation"> + <Filter Include="Script API"> <UniqueIdentifier>{c76ff9f1-1e62-46d8-8d55-000000000015}</UniqueIdentifier> </Filter> - <Filter Include="Blitters"> + <Filter Include="Script API Implementation"> <UniqueIdentifier>{c76ff9f1-1e62-46d8-8d55-000000000016}</UniqueIdentifier> </Filter> - <Filter Include="Drivers"> + <Filter Include="Blitters"> <UniqueIdentifier>{c76ff9f1-1e62-46d8-8d55-000000000017}</UniqueIdentifier> </Filter> - <Filter Include="Sprite loaders"> + <Filter Include="Drivers"> <UniqueIdentifier>{c76ff9f1-1e62-46d8-8d55-000000000018}</UniqueIdentifier> </Filter> - <Filter Include="NewGRF"> + <Filter Include="Sprite loaders"> <UniqueIdentifier>{c76ff9f1-1e62-46d8-8d55-000000000019}</UniqueIdentifier> </Filter> - <Filter Include="Map Accessors"> + <Filter Include="NewGRF"> <UniqueIdentifier>{c76ff9f1-1e62-46d8-8d55-000000000020}</UniqueIdentifier> </Filter> - <Filter Include="Misc"> + <Filter Include="Map Accessors"> <UniqueIdentifier>{c76ff9f1-1e62-46d8-8d55-000000000021}</UniqueIdentifier> </Filter> - <Filter Include="Network Core"> + <Filter Include="Misc"> <UniqueIdentifier>{c76ff9f1-1e62-46d8-8d55-000000000022}</UniqueIdentifier> </Filter> - <Filter Include="Pathfinder"> + <Filter Include="Network Core"> <UniqueIdentifier>{c76ff9f1-1e62-46d8-8d55-000000000023}</UniqueIdentifier> </Filter> - <Filter Include="NPF"> + <Filter Include="Pathfinder"> <UniqueIdentifier>{c76ff9f1-1e62-46d8-8d55-000000000024}</UniqueIdentifier> </Filter> - <Filter Include="YAPF"> + <Filter Include="NPF"> <UniqueIdentifier>{c76ff9f1-1e62-46d8-8d55-000000000025}</UniqueIdentifier> </Filter> - <Filter Include="Video"> + <Filter Include="YAPF"> <UniqueIdentifier>{c76ff9f1-1e62-46d8-8d55-000000000026}</UniqueIdentifier> </Filter> - <Filter Include="Music"> + <Filter Include="Video"> <UniqueIdentifier>{c76ff9f1-1e62-46d8-8d55-000000000027}</UniqueIdentifier> </Filter> - <Filter Include="Sound"> + <Filter Include="Music"> <UniqueIdentifier>{c76ff9f1-1e62-46d8-8d55-000000000028}</UniqueIdentifier> </Filter> - <Filter Include="Windows files"> + <Filter Include="Sound"> <UniqueIdentifier>{c76ff9f1-1e62-46d8-8d55-000000000029}</UniqueIdentifier> </Filter> - <Filter Include="Threading"> + <Filter Include="Windows files"> <UniqueIdentifier>{c76ff9f1-1e62-46d8-8d55-000000000030}</UniqueIdentifier> </Filter> + <Filter Include="Threading"> + <UniqueIdentifier>{c76ff9f1-1e62-46d8-8d55-000000000031}</UniqueIdentifier> + </Filter> </ItemGroup> <ItemGroup> <ClCompile Include="..\src\airport.cpp"> @@ -1962,6 +1965,18 @@ <ClInclude Include="..\src\script\api\ai_changelog.hpp"> <Filter>AI API</Filter> </ClInclude> + <ClInclude Include="..\src\game\game.hpp"> + <Filter>Game Core</Filter> + </ClInclude> + <ClCompile Include="..\src\game\game_core.cpp"> + <Filter>Game Core</Filter> + </ClCompile> + <ClCompile Include="..\src\game\game_instance.cpp"> + <Filter>Game Core</Filter> + </ClCompile> + <ClInclude Include="..\src\game\game_instance.hpp"> + <Filter>Game Core</Filter> + </ClInclude> <ClInclude Include="..\src\script\api\script_accounting.hpp"> <Filter>Script API</Filter> </ClInclude> diff --git a/projects/openttd_vs80.vcproj b/projects/openttd_vs80.vcproj index f60e5fa07..5d6897dfa 100644 --- a/projects/openttd_vs80.vcproj +++ b/projects/openttd_vs80.vcproj @@ -2976,6 +2976,26 @@ </File> </Filter> <Filter + Name="Game Core" + > + <File + RelativePath=".\..\src\game\game.hpp" + > + </File> + <File + RelativePath=".\..\src\game\game_core.cpp" + > + </File> + <File + RelativePath=".\..\src\game\game_instance.cpp" + > + </File> + <File + RelativePath=".\..\src\game\game_instance.hpp" + > + </File> + </Filter> + <Filter Name="Script API" > <File diff --git a/projects/openttd_vs90.vcproj b/projects/openttd_vs90.vcproj index 636b9f131..f253d4c96 100644 --- a/projects/openttd_vs90.vcproj +++ b/projects/openttd_vs90.vcproj @@ -2973,6 +2973,26 @@ </File> </Filter> <Filter + Name="Game Core" + > + <File + RelativePath=".\..\src\game\game.hpp" + > + </File> + <File + RelativePath=".\..\src\game\game_core.cpp" + > + </File> + <File + RelativePath=".\..\src\game\game_instance.cpp" + > + </File> + <File + RelativePath=".\..\src\game\game_instance.hpp" + > + </File> + </Filter> + <Filter Name="Script API" > <File |