Commit graph

609 commits

Author SHA1 Message Date
Matthew Hoops
47a82f2d1b BACKENDS: Add a custom Mac OS X CD audio manager
Since Mac OS X Carbon/Cocoa API isn't stable (in that it's changed multiple times over the years). Maintaining two versions of the same code (one in some foreign language with overly long names) isn't very appealing to me.
2016-03-13 13:53:55 +01:00
Matthew Hoops
55a87c59b6 BACKENDS: Use a virtual function for creating the SDL audio CD manager 2016-03-13 13:53:40 +01:00
Johannes Schickel
4ee3623f5d SDL: Fix compilation with SDL2 and MSVC2015. 2016-03-09 22:03:47 +01:00
Johannes Schickel
4145109937 AMIGAOS: Fix native build breakage caused by indented comments in amigaos.mk.
As pointed out by Raziel^.
2016-02-17 12:37:36 +01:00
Hubert Maier
89e9a36af5 AMIGAOS: Fix 'amigaosdist' for in-tree builds on AmigaOS.
AmigaOS's Rexx interpreter seems to have problems with './' in the path to the
Rexx script. We work around this by copying it to the cwd and using it from
there.

Manual merge of PR #669 "AMIGAOS: Fix amigaos.mk to make the rexx script work
on local builds".
2016-02-17 11:58:48 +01:00
Alexandre Detiste
6c298e964f JANITORIAL: Typos detected with lintian & grep 2016-02-15 18:27:02 +01:00
Johannes Schickel
655f4dfedb WIN32: Fix compilation with MinGW-w64 based Win32 compiler. 2016-02-12 19:22:47 +01:00
Johannes Schickel
1b21b8b906 AMIGAOS: Fix 'amigaosdist' target for out-of-tree builds. 2016-02-06 17:46:05 +01:00
Johannes Schickel
2622cded72 POSIX: Move assureDirectoryExists to posix-fs{.h,.cpp}. 2016-02-02 09:16:40 +01:00
Johannes Schickel
dde89c36f5 POSIX: Move default config file location to '$XDG_CONFIG_HOME/scummvm/scummvm.ini'.
This is what the XDG Base Directory Specification suggests to use. We still
use the old location of '~/.scummvmrc' in case that is present.

This tackles an aspect of bug #6036 "POSIX: Use XDG dirs instead of HOME".
2016-02-02 09:16:40 +01:00
Johannes Schickel
79acfd28e9 POSIX: Use modern path for log file.
This makes use use the XDG Base Directory Specification for the log file path.
This tackles one part of bug #6036 "POSIX: Use XDG dirs instead of HOME".
2016-02-02 09:16:40 +01:00
Johannes Schickel
b4e360188f POSIX: Restructure code in OSystem_POSIX::createLogFile. 2016-02-02 09:16:40 +01:00
Johannes Schickel
589c3046aa POSIX: Make assureDirectoryExists create full path if needed.
This is kind of like 'mkdir -p' now. But the permissions are different from
standard POSIX behavior.
2016-02-02 08:45:58 +01:00
Johannes Schickel
d8394d3f77 POSIX: Factor directory creation code into its own function. 2016-02-02 08:45:58 +01:00
Hubert Maier
1c1d3f35eb AMIGAOS: amigaos.mk - Revert rx command line
rx doesn't find the program if "./" or 	${srcdir} is kept in front.
Probably a limitation of abc-shell...or rx
2016-01-30 01:14:28 +02:00
Hubert Maier
171a39d698 AMIGAOS: amigaos.mk path fixes 2016-01-30 00:33:17 +02:00
Hubert Maier
30094b9d9a AMIGAOS: Fix the exe paths and delete the guide after installing 2016-01-29 19:00:31 +02:00
Hubert Maier
2893d28700 AMIGAOS: Update amigaos.mk to automatically create an AmigaGuide file from README 2016-01-29 18:17:42 +02:00
Thierry Crozat
ef62422e59 OSX: Fix menus when using SDL2
We remove the menus added by SDL before inserting our own menus,
but the code assumed that there were two SDL generated menus. SDL2
actually adds three menus. So the new code makes no assumptions on
the number of menus so that it works with both SDL1.2 and SDL2.

Also fix an issue on OS X 10.4 and earlier that caused the app menu
to be nameless.
2015-12-16 20:42:11 +00:00
Bastien Bouclet
aa9191c4c4 PS3: Remove the SDL2 mixer manager.
It was only used by the PS3 backend, and the standard SDL mixer was fixed
to work in the PS3 case.
2015-12-15 20:10:19 +01:00
Bastien Bouclet
b9a1074999 PS3: Make use of an updated SDL2 version
This version, available at https://bitbucket.org/bgK/sdl_psl1ght, is based on SDL 2.0.3.
2015-12-15 20:10:19 +01:00
vanfanel
66dbb7f485 SDL/DISPMANX: Remove dispmanx graphics output. 2015-12-08 21:41:40 +01:00
vanfanel
9d831d0c42 SDL/DISPMANX Fixed small issues with merging: Use append_var, fix spacing issues and changed SurfaceSdlGraphicsManager constructor call parameters on DispmanXSdlGraphicsManager constructor. 2015-11-12 14:03:14 +01:00
vanfanel
99739a13fe Merge branch 'master' into dispmanx 2015-11-11 17:56:12 +01:00
vanfanel
37e157a11c SDL/DISPMANX Make additional notes on README.RASPBERRYPI telling users to manually disable some features that are sub-optimal on the Pi when they don't pass a host parameter 2015-10-20 21:15:26 +02:00
vanfanel
c2c95cc95b SDL/DISPMANX Fixed dispmanx activation parameter on README.RASPBERRYPI 2015-10-19 12:12:54 +02:00
vanfanel
c362119572 SDL/DISPMANX Renamed the RASBERRYPI define to the less confusing name of DISPMANX because it controls whether dispmanx rendering backend is enabled or not on the Raspberry Pi. 2015-10-18 20:25:53 +02:00
Kirben
8f9245cfce WIN: Fix mingw64 compilation, by limiting last hack. 2015-10-08 11:02:40 +11:00
Kirben
7e81052150 WIN: Add hack for command line display in Windows versions built with MinGW. 2015-10-08 10:46:05 +11:00
vanfanel
b706ca36f1 SDL/DISPMANX: Updated class member names, configure script and asociated files and docs to conform to fingolfin's corrections. 2015-07-22 13:00:45 +02:00
vanfanel
bf68de9aa7 RASPBERRYPI: Changed the RGB code for the game screen surface and added RaspberryPi information file. 2015-07-20 17:13:19 +02:00
vanfanel
08a3376ba7 RASPBERRYPI: Added Raspberry Pi native 2D API support (dispmanx) 2015-03-29 21:52:53 +02:00
Filippos Karapetis
6cb0a4c1b0 SDL: Fix compilation with SDL 2.0 under MSVC
In SDL 2.0, intrin.h is now included in SDL_cpuinfo.h, which includes
setjmp.h. SDL_cpuinfo.h is included from SDL.h and SDL_syswm.h.
Thus, we remove the exceptions for setjmp and longjmp before these two
includes.
2015-03-06 02:57:09 +02:00
Matthew Hoops
5936f7c9d1 MACOSX: Fix compilation
Broken by 3f22c12
2015-03-05 08:02:54 -05:00
Johannes Schickel
066e71f61a SDL: Call setupIcon for each window creation with SDL2.
This should make sure that the logo is properly set on Win32 with SDL2.
2015-03-01 16:21:53 +01:00
Johannes Schickel
71cc9e41e8 WINCE: Fix compilation. 2015-02-18 05:24:45 +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
627d766325 SDL: Add basic abstraction class for the SDL window. 2015-02-16 01:03:29 +01:00
Johannes Schickel
8d57b766a9 SDL: Fix typo. 2015-01-25 21:11:18 +01:00
Johannes Schickel
8530997fff SDL: Add experimental support for SDL2.
This is based upon skristiansson's change set to make ScummVM work with SDL2.
2015-01-25 20:23:25 +01:00
Johannes Schickel
d97889cea7 SDL: Cleanup graphics manager switching a bit. 2015-01-25 19:26:15 +01:00
Johannes Schickel
3a2db0135d SDL: Refactor WM specific functionality into SdlGraphicsManager. 2015-01-25 18:57:38 +01:00
Filippos Karapetis
d2c69a79fe BACKENDS: Remove trailing whitespace 2014-10-28 15:38:51 +02:00
raziel-
01dc551e87 AMIGAOS: Make use of the new drawer icon
On AmigaOS the user can customize every icon including drawers.

This is a customized drawer icon for ScummVM with the original "S"
scaled on top of it.

This icon may change with further revisions of AmigaOS4 (if the
default icon images change).
2014-09-07 10:09:05 +01:00
raziel-
cbae401a79 AMIGAOS: Add a stack cookie
Setting up a static stack to avoid crashes from a stack set too low.
2014-08-08 13:43:59 +01:00
raziel-
38f7a9bc70 AMIGAOS: Cleanup of the AmigaOS version number 2014-08-08 14:05:23 +03:00
D G Turner
469eecb9ee BUILD: Add port specific makefile for AmigaOS4.
This moves the AmigaOS4 specific packaging rules from the global
ports.mk to a port specific makefile in the AmigaOS subdirectory of
the SDL backend (used for AmigaOS).

Previously, port specific makefiles were only used for cross compiling
builds and thus had a single entry in the cross compiling section of
the configure. Since AmigaOS4 is a desktop system supporting native
build, this required a second entry for when the host system is detected
as ppc-amigaos to support native builds.

However, currently this does break packaging of cross compiled builds
for Win32, OSX and Unix when done on AmigaOS4... but this is not likely
and has limited impact. To fix this, default _port_mk lines would need
to be added to the sections of the cross compiling switch for mingw32
etc. to override the AmigaOS4 OS setting of _port_mk.
2014-07-20 04:18:46 +01:00
Bastien Bouclet
bf90ad0467 BUILD: Move the PS3 make targets to a separate file 2014-06-28 17:12:43 +02:00
Matthew Hoops
7af36e9724 BACKENDS: Fix invalid buffer size in CFStringGetCString call 2014-06-01 17:02:18 -04:00