summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorpnda <43609023+ThePNDA@users.noreply.github.com>2019-04-29 16:58:15 +0200
committerCharles Pigott <charlespigott@googlemail.com>2020-01-01 10:19:12 +0000
commite558aa8ff461ddf660240c9ed209e7d2823f0b2b (patch)
treefb61aff1c36a34234f64db428575d104652dca48 /projects
parent90f4abe03f7c1e1abeae3b2a2b4a37dd6086ded6 (diff)
downloadopenttd-e558aa8ff461ddf660240c9ed209e7d2823f0b2b.tar.xz
Feature: Screenshot window
Diffstat (limited to 'projects')
-rw-r--r--projects/openttd_vs140.vcxproj6
-rw-r--r--projects/openttd_vs140.vcxproj.filters18
-rw-r--r--projects/openttd_vs141.vcxproj6
-rw-r--r--projects/openttd_vs141.vcxproj.filters18
-rw-r--r--projects/openttd_vs142.vcxproj6
-rw-r--r--projects/openttd_vs142.vcxproj.filters18
6 files changed, 72 insertions, 0 deletions
diff --git a/projects/openttd_vs140.vcxproj b/projects/openttd_vs140.vcxproj
index 070a3a144..6c4bef5ce 100644
--- a/projects/openttd_vs140.vcxproj
+++ b/projects/openttd_vs140.vcxproj
@@ -409,6 +409,7 @@
<ClCompile Include="..\src\rev.cpp" />
<ClCompile Include="..\src\road.cpp" />
<ClCompile Include="..\src\roadstop.cpp" />
+ <ClCompile Include="..\src\screenshot_gui.cpp" />
<ClCompile Include="..\src\screenshot.cpp" />
<ClCompile Include="..\src\settings.cpp" />
<ClCompile Include="..\src\signal.cpp" />
@@ -625,8 +626,10 @@
<ClInclude Include="..\src\roadveh.h" />
<ClInclude Include="..\src\safeguards.h" />
<ClInclude Include="..\src\screenshot.h" />
+ <ClInclude Include="..\src\screenshot_gui.h" />
<ClInclude Include="..\src\sound\sdl_s.h" />
<ClInclude Include="..\src\video\sdl_v.h" />
+ <ClInclude Include="..\src\video\sdl2_v.h" />
<ClInclude Include="..\src\settings_func.h" />
<ClInclude Include="..\src\settings_gui.h" />
<ClInclude Include="..\src\settings_internal.h" />
@@ -845,6 +848,7 @@
<ClInclude Include="..\src\widgets\osk_widget.h" />
<ClInclude Include="..\src\widgets\rail_widget.h" />
<ClInclude Include="..\src\widgets\road_widget.h" />
+ <ClInclude Include="..\src\widgets\screenshot_widget.h" />
<ClInclude Include="..\src\widgets\settings_widget.h" />
<ClInclude Include="..\src\widgets\sign_widget.h" />
<ClInclude Include="..\src\widgets\smallmap_widget.h" />
@@ -1326,6 +1330,7 @@
<ClCompile Include="..\src\video\dedicated_v.cpp" />
<ClCompile Include="..\src\video\null_v.cpp" />
<ClCompile Include="..\src\video\sdl_v.cpp" />
+ <ClCompile Include="..\src\video\sdl2_v.cpp" />
<ClCompile Include="..\src\video\win32_v.cpp" />
<ClCompile Include="..\src\music\dmusic.cpp" />
<ClCompile Include="..\src\music\null_m.cpp" />
@@ -1333,6 +1338,7 @@
<ClCompile Include="..\src\music\win32_m.cpp" />
<ClCompile Include="..\src\sound\null_s.cpp" />
<ClCompile Include="..\src\sound\sdl_s.cpp" />
+ <ClCompile Include="..\src\sound\sdl2_s.cpp" />
<ClCompile Include="..\src\sound\win32_s.cpp" />
<ClCompile Include="..\src\sound\xaudio2_s.cpp" />
<ClCompile Include="..\src\os\windows\crashlog_win.cpp" />
diff --git a/projects/openttd_vs140.vcxproj.filters b/projects/openttd_vs140.vcxproj.filters
index 5476d40f8..45753b1b6 100644
--- a/projects/openttd_vs140.vcxproj.filters
+++ b/projects/openttd_vs140.vcxproj.filters
@@ -315,6 +315,9 @@
<ClCompile Include="..\src\roadstop.cpp">
<Filter>Source Files</Filter>
</ClCompile>
+ <ClCompile Include="..\src\screenshot_gui.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
<ClCompile Include="..\src\screenshot.cpp">
<Filter>Source Files</Filter>
</ClCompile>
@@ -963,12 +966,18 @@
<ClInclude Include="..\src\screenshot.h">
<Filter>Header Files</Filter>
</ClInclude>
+ <ClInclude Include="..\src\screenshot_gui.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
<ClInclude Include="..\src\sound\sdl_s.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\video\sdl_v.h">
<Filter>Header Files</Filter>
</ClInclude>
+ <ClInclude Include="..\src\video\sdl2_v.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
<ClInclude Include="..\src\settings_func.h">
<Filter>Header Files</Filter>
</ClInclude>
@@ -1623,6 +1632,9 @@
<ClInclude Include="..\src\widgets\road_widget.h">
<Filter>Widgets</Filter>
</ClInclude>
+ <ClInclude Include="..\src\widgets\screenshot_widget.h">
+ <Filter>Widgets</Filter>
+ </ClInclude>
<ClInclude Include="..\src\widgets\settings_widget.h">
<Filter>Widgets</Filter>
</ClInclude>
@@ -3066,6 +3078,9 @@
<ClCompile Include="..\src\video\sdl_v.cpp">
<Filter>Video</Filter>
</ClCompile>
+ <ClCompile Include="..\src\video\sdl2_v.cpp">
+ <Filter>Video</Filter>
+ </ClCompile>
<ClCompile Include="..\src\video\win32_v.cpp">
<Filter>Video</Filter>
</ClCompile>
@@ -3087,6 +3102,9 @@
<ClCompile Include="..\src\sound\sdl_s.cpp">
<Filter>Sound</Filter>
</ClCompile>
+ <ClCompile Include="..\src\sound\sdl2_s.cpp">
+ <Filter>Sound</Filter>
+ </ClCompile>
<ClCompile Include="..\src\sound\win32_s.cpp">
<Filter>Sound</Filter>
</ClCompile>
diff --git a/projects/openttd_vs141.vcxproj b/projects/openttd_vs141.vcxproj
index 6fd1388c9..a59eec0c6 100644
--- a/projects/openttd_vs141.vcxproj
+++ b/projects/openttd_vs141.vcxproj
@@ -409,6 +409,7 @@
<ClCompile Include="..\src\rev.cpp" />
<ClCompile Include="..\src\road.cpp" />
<ClCompile Include="..\src\roadstop.cpp" />
+ <ClCompile Include="..\src\screenshot_gui.cpp" />
<ClCompile Include="..\src\screenshot.cpp" />
<ClCompile Include="..\src\settings.cpp" />
<ClCompile Include="..\src\signal.cpp" />
@@ -625,8 +626,10 @@
<ClInclude Include="..\src\roadveh.h" />
<ClInclude Include="..\src\safeguards.h" />
<ClInclude Include="..\src\screenshot.h" />
+ <ClInclude Include="..\src\screenshot_gui.h" />
<ClInclude Include="..\src\sound\sdl_s.h" />
<ClInclude Include="..\src\video\sdl_v.h" />
+ <ClInclude Include="..\src\video\sdl2_v.h" />
<ClInclude Include="..\src\settings_func.h" />
<ClInclude Include="..\src\settings_gui.h" />
<ClInclude Include="..\src\settings_internal.h" />
@@ -845,6 +848,7 @@
<ClInclude Include="..\src\widgets\osk_widget.h" />
<ClInclude Include="..\src\widgets\rail_widget.h" />
<ClInclude Include="..\src\widgets\road_widget.h" />
+ <ClInclude Include="..\src\widgets\screenshot_widget.h" />
<ClInclude Include="..\src\widgets\settings_widget.h" />
<ClInclude Include="..\src\widgets\sign_widget.h" />
<ClInclude Include="..\src\widgets\smallmap_widget.h" />
@@ -1326,6 +1330,7 @@
<ClCompile Include="..\src\video\dedicated_v.cpp" />
<ClCompile Include="..\src\video\null_v.cpp" />
<ClCompile Include="..\src\video\sdl_v.cpp" />
+ <ClCompile Include="..\src\video\sdl2_v.cpp" />
<ClCompile Include="..\src\video\win32_v.cpp" />
<ClCompile Include="..\src\music\dmusic.cpp" />
<ClCompile Include="..\src\music\null_m.cpp" />
@@ -1333,6 +1338,7 @@
<ClCompile Include="..\src\music\win32_m.cpp" />
<ClCompile Include="..\src\sound\null_s.cpp" />
<ClCompile Include="..\src\sound\sdl_s.cpp" />
+ <ClCompile Include="..\src\sound\sdl2_s.cpp" />
<ClCompile Include="..\src\sound\win32_s.cpp" />
<ClCompile Include="..\src\sound\xaudio2_s.cpp" />
<ClCompile Include="..\src\os\windows\crashlog_win.cpp" />
diff --git a/projects/openttd_vs141.vcxproj.filters b/projects/openttd_vs141.vcxproj.filters
index 5476d40f8..45753b1b6 100644
--- a/projects/openttd_vs141.vcxproj.filters
+++ b/projects/openttd_vs141.vcxproj.filters
@@ -315,6 +315,9 @@
<ClCompile Include="..\src\roadstop.cpp">
<Filter>Source Files</Filter>
</ClCompile>
+ <ClCompile Include="..\src\screenshot_gui.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
<ClCompile Include="..\src\screenshot.cpp">
<Filter>Source Files</Filter>
</ClCompile>
@@ -963,12 +966,18 @@
<ClInclude Include="..\src\screenshot.h">
<Filter>Header Files</Filter>
</ClInclude>
+ <ClInclude Include="..\src\screenshot_gui.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
<ClInclude Include="..\src\sound\sdl_s.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\video\sdl_v.h">
<Filter>Header Files</Filter>
</ClInclude>
+ <ClInclude Include="..\src\video\sdl2_v.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
<ClInclude Include="..\src\settings_func.h">
<Filter>Header Files</Filter>
</ClInclude>
@@ -1623,6 +1632,9 @@
<ClInclude Include="..\src\widgets\road_widget.h">
<Filter>Widgets</Filter>
</ClInclude>
+ <ClInclude Include="..\src\widgets\screenshot_widget.h">
+ <Filter>Widgets</Filter>
+ </ClInclude>
<ClInclude Include="..\src\widgets\settings_widget.h">
<Filter>Widgets</Filter>
</ClInclude>
@@ -3066,6 +3078,9 @@
<ClCompile Include="..\src\video\sdl_v.cpp">
<Filter>Video</Filter>
</ClCompile>
+ <ClCompile Include="..\src\video\sdl2_v.cpp">
+ <Filter>Video</Filter>
+ </ClCompile>
<ClCompile Include="..\src\video\win32_v.cpp">
<Filter>Video</Filter>
</ClCompile>
@@ -3087,6 +3102,9 @@
<ClCompile Include="..\src\sound\sdl_s.cpp">
<Filter>Sound</Filter>
</ClCompile>
+ <ClCompile Include="..\src\sound\sdl2_s.cpp">
+ <Filter>Sound</Filter>
+ </ClCompile>
<ClCompile Include="..\src\sound\win32_s.cpp">
<Filter>Sound</Filter>
</ClCompile>
diff --git a/projects/openttd_vs142.vcxproj b/projects/openttd_vs142.vcxproj
index a591a9dc3..ce5244eb9 100644
--- a/projects/openttd_vs142.vcxproj
+++ b/projects/openttd_vs142.vcxproj
@@ -409,6 +409,7 @@
<ClCompile Include="..\src\rev.cpp" />
<ClCompile Include="..\src\road.cpp" />
<ClCompile Include="..\src\roadstop.cpp" />
+ <ClCompile Include="..\src\screenshot_gui.cpp" />
<ClCompile Include="..\src\screenshot.cpp" />
<ClCompile Include="..\src\settings.cpp" />
<ClCompile Include="..\src\signal.cpp" />
@@ -625,8 +626,10 @@
<ClInclude Include="..\src\roadveh.h" />
<ClInclude Include="..\src\safeguards.h" />
<ClInclude Include="..\src\screenshot.h" />
+ <ClInclude Include="..\src\screenshot_gui.h" />
<ClInclude Include="..\src\sound\sdl_s.h" />
<ClInclude Include="..\src\video\sdl_v.h" />
+ <ClInclude Include="..\src\video\sdl2_v.h" />
<ClInclude Include="..\src\settings_func.h" />
<ClInclude Include="..\src\settings_gui.h" />
<ClInclude Include="..\src\settings_internal.h" />
@@ -845,6 +848,7 @@
<ClInclude Include="..\src\widgets\osk_widget.h" />
<ClInclude Include="..\src\widgets\rail_widget.h" />
<ClInclude Include="..\src\widgets\road_widget.h" />
+ <ClInclude Include="..\src\widgets\screenshot_widget.h" />
<ClInclude Include="..\src\widgets\settings_widget.h" />
<ClInclude Include="..\src\widgets\sign_widget.h" />
<ClInclude Include="..\src\widgets\smallmap_widget.h" />
@@ -1326,6 +1330,7 @@
<ClCompile Include="..\src\video\dedicated_v.cpp" />
<ClCompile Include="..\src\video\null_v.cpp" />
<ClCompile Include="..\src\video\sdl_v.cpp" />
+ <ClCompile Include="..\src\video\sdl2_v.cpp" />
<ClCompile Include="..\src\video\win32_v.cpp" />
<ClCompile Include="..\src\music\dmusic.cpp" />
<ClCompile Include="..\src\music\null_m.cpp" />
@@ -1333,6 +1338,7 @@
<ClCompile Include="..\src\music\win32_m.cpp" />
<ClCompile Include="..\src\sound\null_s.cpp" />
<ClCompile Include="..\src\sound\sdl_s.cpp" />
+ <ClCompile Include="..\src\sound\sdl2_s.cpp" />
<ClCompile Include="..\src\sound\win32_s.cpp" />
<ClCompile Include="..\src\sound\xaudio2_s.cpp" />
<ClCompile Include="..\src\os\windows\crashlog_win.cpp" />
diff --git a/projects/openttd_vs142.vcxproj.filters b/projects/openttd_vs142.vcxproj.filters
index 5476d40f8..45753b1b6 100644
--- a/projects/openttd_vs142.vcxproj.filters
+++ b/projects/openttd_vs142.vcxproj.filters
@@ -315,6 +315,9 @@
<ClCompile Include="..\src\roadstop.cpp">
<Filter>Source Files</Filter>
</ClCompile>
+ <ClCompile Include="..\src\screenshot_gui.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
<ClCompile Include="..\src\screenshot.cpp">
<Filter>Source Files</Filter>
</ClCompile>
@@ -963,12 +966,18 @@
<ClInclude Include="..\src\screenshot.h">
<Filter>Header Files</Filter>
</ClInclude>
+ <ClInclude Include="..\src\screenshot_gui.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
<ClInclude Include="..\src\sound\sdl_s.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\video\sdl_v.h">
<Filter>Header Files</Filter>
</ClInclude>
+ <ClInclude Include="..\src\video\sdl2_v.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
<ClInclude Include="..\src\settings_func.h">
<Filter>Header Files</Filter>
</ClInclude>
@@ -1623,6 +1632,9 @@
<ClInclude Include="..\src\widgets\road_widget.h">
<Filter>Widgets</Filter>
</ClInclude>
+ <ClInclude Include="..\src\widgets\screenshot_widget.h">
+ <Filter>Widgets</Filter>
+ </ClInclude>
<ClInclude Include="..\src\widgets\settings_widget.h">
<Filter>Widgets</Filter>
</ClInclude>
@@ -3066,6 +3078,9 @@
<ClCompile Include="..\src\video\sdl_v.cpp">
<Filter>Video</Filter>
</ClCompile>
+ <ClCompile Include="..\src\video\sdl2_v.cpp">
+ <Filter>Video</Filter>
+ </ClCompile>
<ClCompile Include="..\src\video\win32_v.cpp">
<Filter>Video</Filter>
</ClCompile>
@@ -3087,6 +3102,9 @@
<ClCompile Include="..\src\sound\sdl_s.cpp">
<Filter>Sound</Filter>
</ClCompile>
+ <ClCompile Include="..\src\sound\sdl2_s.cpp">
+ <Filter>Sound</Filter>
+ </ClCompile>
<ClCompile Include="..\src\sound\win32_s.cpp">
<Filter>Sound</Filter>
</ClCompile>