Commit graph

54 commits

Author SHA1 Message Date
Thierry Crozat
56d1305f9d COMMON: Rename enum variable for native browser feature
There was a typo in the name (missing 'r' in browser).
2018-12-17 23:06:07 +00:00
SupSuper
d0512db25c WIN32: Move all ARRAYSIZE undefs to util.h
Instead of trying to undefine ARRAYSIZE everywhere we use a Windows header, let's just do it before we define our own
2018-12-17 12:28:33 +02:00
Thierry Crozat
319b90fb21 BACKENDS: Add kFeatureNativeFileBowserDialog 2018-12-16 15:58:43 +00:00
Cameron Cawley
1de8f1e529 WIN32: Use SHGetFolderPath to get the location of the Application Data folder (#1449) 2018-12-16 17:04:24 +02:00
SupSuper
61070f6ce0 WIN32: Add DialogManager with system file browser support 2018-12-16 10:48:13 +00:00
SupSuper
2f2555f728 WIN32: Move utility functions to a common wrapper 2018-12-16 10:48:13 +00:00
SupSuper
c2d5b35062 WIN32: Restore Windows 98 compatibility (bug #10613)
Replace calls to GetUserDefaultUILanguage and SHGetFolderPath which aren't supported in older Windows.
2018-12-13 06:34:12 +00:00
Cameron Cawley
478d7b2ee7 WIN32: Fix fallback in getSystemLanguage 2018-06-03 17:43:30 +01:00
Cameron Cawley
ada05fd726 WIN32: Move Windows-specific implementation of logMessage out of OSystem_SDL 2018-06-03 17:43:30 +01:00
Cameron Cawley
e1c83f8e87 WIN32: Move Windows-specific implementation of getSystemLanguage out of OSystem_SDL 2018-06-03 17:43:30 +01:00
Kirben
ec0b1dec9d WINDOWS: Fix warning under mingw-w64. 2017-04-24 11:22:44 +10:00
Kirben
b46a1b688d WINDOWS: Hopefully fix mingw compilation. 2017-04-24 10:57:02 +10:00
Thierry Crozat
a1dab31c08 WIN32: Fix compilation of getScreenshotPath (missing parenthesis) 2017-04-24 01:28:50 +01:00
Thierry Crozat
23987cc724 WIN32: Comment out code that gets the user My Pictures directory
This broke compilation on buildbot as ShlObj.h cannot be found.
A developer that has access to Windows should take a look to
properly fix this.
2017-04-24 01:21:36 +01:00
Thierry Crozat
e96c057c3d SDL: Allow specifying the screenshot directory in the config file
There is no GUI option to set the screenshot directory, but this
allows power users to set it if they don't want to use the default.
2017-04-24 01:07:05 +01:00
Pala
3849a3e90e WINDOWS: Change location where screenshot are saved
This fixes bug #9701: WINDOWS: Flow of taking screenshots
on Windows is broken
2017-04-24 01:06:29 +01:00
Thierry Crozat
1f2a50bcd3 CLOUD: Move openUrl to OSystem 2016-09-10 01:12:42 +01:00
Filippos Karapetis
8b3a08047c UPDATES: Add support for WinSparkle 2016-05-22 18:52:33 +03:00
Matthew Hoops
2aa2a6b56c BACKENDS: Add a Win32 audio CD player 2016-03-13 13:56:51 +01:00
Johannes Schickel
3745ddbefd WIN32: Add experimental SDL2 support.
Based on changes by aquadran.
2015-02-16 02:13:11 +01:00
Johannes Schickel
3f22c12c56 SDL: Handle icon setup in SdlWindow. 2015-02-16 01:25:22 +01:00
Johannes Schickel
63304ee9ec SDL: Make GPL headers consistent in themselves. 2014-02-18 02:39:38 +01:00
Travis Howell
8701e0a382 WINDOWS: Add default save paths for Windows NT4 onwards 2012-01-23 23:18:21 +11:00
Filippos Karapetis
5eb592a1c9 WIN32: Fix build by adapting to the latest Archive changes 2011-12-13 22:47:46 +02:00
Johannes Schickel
d085f4f4e2 WIN32: (Hopefully) fix compilation by adapting to latest Archive changes. 2011-12-13 18:29:40 +01:00
Littleboy
da60ff3ded JANITORIAL: Fix MSVC warnings
- Conversion from double to float
 - Unary minus operator applied to unsigned type
 - ARRAYSIZE redefinition
2011-07-19 14:12:07 -04:00
Travis Howell
eae06884b6 WIN32: Add option to disable the console window, keeping the current default of enabling the console window. 2011-06-30 11:17:58 +10:00
Littleboy
7983b1cce3 BACKENDS: Add special Win32 path to set SDL window icon
We bypass SDL_WM_SetIcon and setup the window icon using the embedded icon, with the default path as a fallback.
This allows us to use an antialised icon with alpha transparency (which the default included icon doesn't have) on Windows XP and later
2011-06-26 20:13:35 -04:00
Julien
7fa3a8bbff BACKENDS: Add better error handling to OSystem_Win32::getDefaultConfigFileName() 2011-06-23 15:11:38 +08:00
Eugene Sandulenko
33ce6e60fd Merge pull request #26 from Littleboy/taskbar
Taskbar integration
2011-06-22 13:35:37 -07:00
Johannes Schickel
2cc721760f WIN32: Properly setup priority in Win32 resource archive code. 2011-06-20 17:00:36 +02:00
Littleboy
5649ddaf10 BACKENDS: Move Win32TaskbarManager init code to constructor 2011-06-16 14:23:14 -04:00
Littleboy
c3d9c6afa5 BACKENDS: Add use flag for taskbar integration 2011-06-16 10:38:34 -04:00
Littleboy
c0ec09ac66 BACKENDS: Implement Win32 taskbar progress state and recent list 2011-06-16 10:30:06 -04:00
Littleboy
f67975a487 BACKENDS: Add win32 stubs for taskbar integration 2011-06-16 10:29:47 -04:00
Littleboy
b15a5c8e13 BACKENDS: Fix compilation on mingw64 (take 2) 2011-06-04 15:23:21 -04:00
Littleboy
5317837e69 BACKENDS: Cast ShellExecute return value to long instead of int
This should fix compilation on mingw64
2011-06-04 14:45:17 -04:00
Littleboy
3a90d7bf3e BACKENDS: Fix compilation with mingw 2011-06-04 14:38:31 -04:00
Littleboy
1dec501ac7 BACKENDS: Implement Win32 version of OSystem::displayLogFile interface 2011-06-04 14:27:20 -04:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Johannes Schickel
297834017a WIN32: Embed engine data files and theme files into executable.
This embeds all the engine data files from dists/engine-data into the
executable in case the engines using them are included statically.

Furthermore it includes the theme dist files in the executable.
2011-05-05 20:22:37 +02:00
Paul Gilbert
c6fa23a3d1 JANITORIAL: Add in necessary include files to fix compilation in MSVC 2011-04-28 22:32:12 +10:00
Johannes Schickel
39aad6ece7 SDL: Move createLogFile implementions to the OSystem_SDL subclasses.
svn-id: r54581
2010-11-29 18:30:23 +00:00
Max Horn
4bed2b3ff5 SDL: Trying to cleanup the FORBIDDEN_SYMBOL situation
svn-id: r54575
2010-11-29 16:35:29 +00:00
Max Horn
df05ed1a46 BACKENDS: Include scummsys.h at top of all .cpp files, *before* any #ifdefs
svn-id: r54573
2010-11-29 16:18:43 +00:00
Filippos Karapetis
39e5973a41 COMMON: Applied patch #3121969 - "WIN32_LEAN_AND_MEAN in incorrect place"
svn-id: r54567
2010-11-29 07:52:38 +00:00
Filippos Karapetis
96f7c2e225 SDL: Added missing #define FORBIDDEN_SYMBOL_ALLOW_ALL for the Win32 SDL backend
svn-id: r54527
2010-11-28 15:47:54 +00:00
Max Horn
7760077cf5 Merging the gsoc2010-opengl branch
svn-id: r54518
2010-11-28 14:56:31 +00:00
Alejandro Marzini
f9c3a4547c Cleanup and documentation.
svn-id: r50589
2010-07-02 06:44:42 +00:00
Alejandro Marzini
936f558579 Improved getDefaultConfigFileName(). Code cleanup.
svn-id: r50364
2010-06-27 05:12:37 +00:00