5413 Commits

Author SHA1 Message Date
Max Lingua
263a0972a3 PS2: removed plugins cksum deps on build time 2014-01-18 13:46:50 -05:00
Max Lingua
7287448e89 PS2: commented out unused Gs2dScreen::tvMode 2014-01-18 13:41:02 -05:00
Max Lingua
623a0e7d61 PS2: use createPixelFormat for overlay format 2014-01-18 13:40:32 -05:00
Max Lingua
8e009b447b PS2: renamed animThread -> playAnim to avoid shadowing 2014-01-18 13:39:56 -05:00
Max Lingua
00b2e12897 PS2: Ps2Pad::initPad added case STAT_NONE 2014-01-18 13:39:44 -05:00
Max Lingua
e73027f2b8 PS2: fixed tabs and alignment 2014-01-18 13:39:35 -05:00
Max Lingua
b75c7f6bc4 PS2: added missing casts 2014-01-18 13:39:20 -05:00
Max Lingua
14f3a09c8c PS2: used C++ const_cast<...> where appropriate 2014-01-18 13:38:12 -05:00
Max Lingua
17e8a6f220 PS2: cleaned cast (X*) -> (X *) 2014-01-18 12:40:58 -05:00
Einar Johan Trøan Sømåen
6677a973c2 SDL: Avoid having SDL_SRCALPHA set even if we have alpha in the pixelformat. 2014-01-11 16:36:04 +01:00
Marcus Comstedt
dd84867997 ANDROID: Set correct blending function
Overlays with alpha channel in ScummVM use pre-multiplied alpha.
Thus, is it necessary to set the source blend function to ONE, not
SOURCE_ALPHA.

While there is no firm decision on the texture format to be used to
cursors, make sure to set the key color to R=G=B=A=0.0, so that it
can be used with either pre-multiplied or non-pre-multiplied blending.
2014-01-10 20:05:32 +01:00
Marcus Comstedt
66ad9e76ee DC: Silenced some stupid warnings 2014-01-10 15:56:52 +01:00
Marcus Comstedt
62828f86a1 DC: Workaround for usleep prototype mismatch 2014-01-10 15:56:51 +01:00
Johannes Schickel
0c7f795c5b SDL: Silence unused variable warning when scalers are disabled. 2014-01-07 01:47:43 +01:00
Johannes Schickel
97953ff40d SDL: Fix return value of getDefaultGraphicsMode when scalers are disabled. 2014-01-07 01:46:28 +01:00
Eugene Sandulenko
ae6efb09b7 JANITORIAL: Update copyright year 2014-01-01 12:44:08 +02:00
anotherguest
d9c8cb7118 Merge branch 'master' of github.com:scummvm/scummvm 2013-12-06 08:31:08 +01:00
anotherguest
6cc047f8eb SYMBIAN OS: Spelling correction 2013-12-06 08:30:29 +01:00
Johannes Schickel
afe56a8ea8 NULL: Fix compilation of null backend. 2013-12-06 04:23:51 +01:00
anotherguest
ccc92b2e70 SYMBIAN OS:Added help files also in the split build installation file. 2013-12-02 09:50:48 +01:00
anotherguest
41ddad534d SYMBIAN OS: Fedor created context sensitive help for ScummVM Symbian OS! 2013-12-02 08:34:07 +01:00
anotherguest
e1afc7d0d7 SYMBIAN OS: README updated with Fedors name. Removed FLAC include from base.mmp.in. 2013-11-26 16:04:08 +01:00
anotherguest
2f693bd9ec SYMBIAN OS: Add correct datafiles to installation scripts 2013-11-26 15:23:54 +01:00
anotherguest
ed357a6dfa SYMBIAN OS:Forgot to set Mpeg2Lib decoder lib. 2013-11-26 12:14:18 +01:00
anotherguest
cabbc7161b SYMBIAN OS: Add Sword25 and testbed engines. Perl script updated 2013-11-26 10:54:50 +01:00
anotherguest
f4137df940 SYMBIAN OS:Removed resolution fix from Symbian OS Backend, handle this in SDL backend instead. Add more engines for the split build. 2013-11-26 10:39:46 +01:00
anotherguest
7c3588ec2a SYMBIAN OS:Added new engines, updated resolution support. Version number changes 2013-11-25 16:43:11 +01:00
Willem Jan Palenstijn
fb05395ded OPENGL: Fix texture re-allocation check
This fixes a crash when opening the menu in the SCI Laura Bow 2 intro.
2013-11-20 21:49:07 +01:00
Johannes Schickel
2094bd31ec OPENGL: Fix >1Bpp mouse cursors which do not require format conversion. 2013-11-17 20:28:16 +01:00
D G Turner
8b9d4348f8 SDL: Fix bug where config file path could exceed maximum path length.
The fix is the change in the MAXPATHLEN check, but have also migrated
this to Common::String to make the fix easier.

Thanks to klusark for pointing out this problem.
2013-11-14 18:35:03 +00:00
Kirben
3950dad947 SDL: Remove misleading comments, based on incomplete information at MSDN. GetLocalInfo is supported on Windows 95 onwards, but MSDN fails to mention older Windows versions. 2013-11-11 23:53:53 +11:00
Johannes Schickel
919e577ba6 SDL: Fix invalid memory access in getSystemLanguage.
A call to setlocale can invalidate the string a previous setlocale call
returned. Instead of saving a pointer we copy the returned string now. This,
for example, fixes invalid memory access on my system.

See de8da01b0e8a309b9ed3f5b0f152ebbcf8f4af37 for the commit introducing the
invalid memory access.
2013-11-03 18:47:03 +01:00
D G Turner
de8da01b0e SDL: Remove side effect of setlocale() call to get Language.
This is to fix bug #3615148 -  "ALL: sscanf("%f"), atof() etc. not
portable due to Locale"

The side effect of setlocale("") is to change the active locale
from the default of "C" to the detected system locale, but this
changes the behaviour of sscanf() and several other functions
in a system dependent and non-portable way. This has caused
bugs in the ZVISION engine when running Zork Nemesis.

The solution is to restore the default "C" locale after the call
to get the language.

Thanks to criezy for working out this fix.
2013-11-03 17:10:18 +00:00
Strangerke
97d28f0e72 AMIGAOS4: Make use of updated function names (SDK53.24) and remove unused code
Courtesy of Raziel^
2013-10-25 21:11:12 +02:00
Johannes Schickel
cfa6b1b4ae SDL: Further small cleanup related to manager switching. 2013-10-24 00:09:17 +02:00
Johannes Schickel
ea6d38d5f3 SDL: Make activateManager/deactivateManager SdlGraphicsManager specific.
We can do this now that we can use virtual inheritance and dynamic_cast
because we enabled RTTI.
2013-10-24 00:06:32 +02:00
Johannes Schickel
281672e171 SDL: Let SdlGraphicsManager inherit from GraphicsManager. 2013-10-24 00:03:09 +02:00
Johannes Schickel
092d36f392 SDL: Reduce code duplication a bit.
Now instead of initializing this in OSystem_SDL::initSDL (and in subclasses
overwriting this) we simply initialize it in OSystem_SDL::init.
2013-10-23 22:59:13 +02:00
Johannes Schickel
c323dedf3c SDL: Fix default graphics mode for switchable case.
The former code (incorrectly) assumed that the getDefaultGraphicsMode returns
the index in the table returned by getSupportedGraphicsModes. Now the correct
ID is searched and then used.
2013-10-23 22:59:09 +02:00
Johannes Schickel
d34c9d5bcb SDL: Do not require a static graphics mode list in OpenGL and SurfaceSDL. 2013-10-23 22:59:06 +02:00
Johannes Schickel
a9cb67df08 SDL: Only allow switching of SurfaceSDL <-> OpenGL when no custom manager is used. 2013-10-23 22:59:02 +02:00
Johannes Schickel
38543f772c SDL: Make setupGraphicsModes non-virtual.
The logic of switching the managers is pretty much fixed at the same level
and cannot be easily overwritten.
2013-10-23 22:58:57 +02:00
Johannes Schickel
17cb26b93c SDL: Simplify initial graphics manager selection for OpenGL. 2013-10-23 22:58:53 +02:00
Johannes Schickel
4080a7a3f6 SDL: Get rid of _glModesCount. 2013-10-23 22:58:50 +02:00
Johannes Schickel
c5e2b5158c SDL: Get rid of loop in OSystem_SDL::setGraphicsMode. 2013-10-23 22:58:46 +02:00
Johannes Schickel
e91300f70c SDL: Clean up graphics mode handling for OpenGL backend.
Instead of custom memory management Common::Array is used now.
2013-10-23 22:58:42 +02:00
Johannes Schickel
1a56b521b5 SDL: Always initialize video subsystem in initSDL. 2013-10-23 22:58:38 +02:00
Johannes Schickel
6e46e9dfaf SDL: Clean up graphics manager switching slighty.
Sadly this also requires us to extend GraphicsManager for this SDL specific
feature. However, since that's only used in the SDL backend and Tizen it
should be fine for now...
2013-10-23 22:58:34 +02:00
Johannes Schickel
f20471d962 Merge pull request #408 from lordhoto/opengl-replacement
OpenGL revamp
2013-10-20 06:20:46 -07:00
Johannes Schickel
05c347fc8a OPENGL/SDL: Add screenshot support. 2013-10-19 22:18:22 +02:00