Commit Graph

5294 Commits

Author SHA1 Message Date
Marcus Comstedt
bb39cbcba4 ANDROID: Enter main menu on middle mouse press 2013-08-08 15:16:06 +02:00
Marcus Comstedt
a50ede203b ANDROID: Add support for joystick motion 2013-08-08 14:53:36 +02:00
Marcus Comstedt
1b69f8aede ANDROID: Add gamepad button support 2013-08-08 14:08:30 +02:00
Johannes Schickel
952a119ae1 IPHONE: Fix accidental double free.
This was a copy&paste error. I also adapted the comment to be more clear.
2013-08-07 21:41:24 +02:00
Marcus Comstedt
9a888ed1c8 ANDROID: Add OUYA icon and intent 2013-08-07 17:19:24 +02:00
Johannes Schickel
911c74e82c VKEYBD: Do not access Surface::pixels anymore. 2013-08-06 03:51:12 +02:00
Johannes Schickel
c28f3baa77 N64: Do not access Surface::pixels anymore. 2013-08-06 03:51:12 +02:00
Johannes Schickel
30d2eb7a97 DC: Do not access Surface::pixels directly. 2013-08-06 03:51:12 +02:00
Johannes Schickel
d9b90d67d3 ANDROID: Do not access Surface::pixels directly. 2013-08-06 03:51:12 +02:00
Johannes Schickel
9179f0b78f PSP: Do not access Surface::pixels directly. 2013-08-06 03:51:11 +02:00
Johannes Schickel
09f7e4d5d4 IPHONE: Do not access Surface::pixels directly. 2013-08-06 03:51:11 +02:00
Johannes Schickel
6d86a66493 NDS: Do not access Surface::pixels directly. 2013-08-06 03:51:11 +02:00
Johannes Schickel
6639958d7a PS2: Do not access Surface::pixels directly. 2013-08-06 03:30:38 +02:00
Johannes Schickel
0f050fe797 WII: Do not access Surface::pixels directly. 2013-08-06 03:29:16 +02:00
Johannes Schickel
9a80fa88e0 SDL: Do not set Surface::pixels directly anymore. 2013-08-03 04:14:08 +02:00
Johannes Schickel
767f0d8ca9 BACKENDS: Take advantage of Surface::getPixels. 2013-08-03 04:02:54 +02:00
Johannes Schickel
f386e15b6f SDL: Take advantage of Surface::getPixels. 2013-08-03 04:02:54 +02:00
Johannes Schickel
79c124842b OPENGL: Take advantage of Surface::getPixels. 2013-08-03 04:02:53 +02:00
Johannes Schickel
7670680aa8 IPHONE: Take advantage of Surface::getPixels. 2013-08-03 04:02:53 +02:00
Johannes Schickel
b7706acb41 SDL: Prefer getBasePtr over direct Surface::pixels access. 2013-08-03 04:02:49 +02:00
Johannes Schickel
3169e07013 OPENGL: Prefer getBasePtr over direct Surface::pixels access. 2013-08-03 04:02:49 +02:00
Johannes Schickel
55afab4d68 BACKENDS: Prefer getBasePtr over direct Surface::pixels access. 2013-08-03 04:02:49 +02:00
Johannes Schickel
631238ac55 Merge pull request #339 from onlyjob/hurd
BACKENDS: fix FTBFS on GNU Hurd by replacing MAXHOSTNAMELEN with NI_MAXHOST
2013-08-01 19:02:08 -07:00
Eugene Sandulenko
2c812ade01 Merge pull request #353 from clone2727/eventrec_timer_fix
ALL: Don't use EventRecorder at all when not compiled in
2013-07-18 08:15:28 -07:00
Sven Hesse
989ea7cb56 JANITORIAL: Remove trailing whitespace 2013-07-14 19:01:47 +02:00
Matthew Hoops
4a7e4e5b22 ALL: Don't use EventRecorder at all when not compiled in 2013-07-06 23:54:45 -04:00
Johannes Schickel
be61cb669a Merge pull request #350 from chrisws/tizen_port_1_6_0a
TIZEN: bada port updated to tizen

Conflicts:
	backends/platform/tizen/system.cpp
2013-07-04 23:33:02 +02:00
Johannes Schickel
8d6aa77769 GUI: Cleanup EventRecorder::getSurface.
Formerly the function created a SDL_Surface by hand. Instead now it uses
SDL_CreateRGBSurface (which is used in the SDL backend anyway and yields
the same results).

This should fix PS3 port compilation.
2013-07-04 15:43:17 +02:00
Eugene Sandulenko
49210a803a Merge pull request #331 from sev-/gsoc2012-eventsrecorder
GSoC2012: Event Recorder (reworked)
2013-07-04 04:58:54 -07:00
Eugene Sandulenko
b286a6d033 RECORDER: Fix guard ifdef 2013-07-04 14:54:56 +03:00
Johannes Schickel
93fc260885 SDL: Fix compilation by moving getMixerManager out of USE_OPENGL guard. 2013-07-04 14:47:25 +03:00
Johannes Schickel
86c656a75b SDL: Fix compilation on Solaris 10.
This replaces a dummy FILE definition before including the SDL headers with
simply using the toolchain's definition on Solaris. This is pretty harmless
because we only allow FILE to be used in the SDL headers by this.

Fixes bug #3614514 "#define FILE FAKE_FILE doesn't work on Solaris (w/ patch)".

Thanks to lblume for his patch!
2013-07-04 01:25:46 +02:00
Chris Warren-Smith
be399188c4 TIZEN: bada port updated to tizen 2013-07-03 07:04:11 +10:00
Dmitry Smirnov
61b4981b12 BACKENDS: fix FTBFS on GNU Hurd by replacing MAXHOSTNAMELEN with NI_MAXHOST
Bug-ScummVM: https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3614268&group_id=37116

See more in similar http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=387665
2013-06-18 02:52:35 +10:00
Willem Jan Palenstijn
c9f0e8149d ALL: Fix typo (succesful -> successful)
Thanks to 'onlyjob' on pull request #337 for pointing out an instance of this.
2013-06-06 16:45:59 +02:00
Tarek Soliman
39b0886186 MAEMO: Update debian/changelog 2013-06-01 21:06:42 -05:00
D G Turner
718db9f3df PSP: Remove leftover debug statement to non-existant variable.
This would cause a compilation error when the __PSP_DEBUG_PRINT__
define was enabled for debugging as the variable is non-existant.
2013-05-25 16:07:23 +01:00
Eugene Sandulenko
f59512c47e RECORDER: Implement Events Recorder 2013-05-17 00:18:09 +03:00
Alyssa Milburn
400763390e ANDROID: Disable parachute slot 0 saves. 2013-05-16 13:01:32 +02:00
Alyssa Milburn
8d488f9f70 ANDROID: Force htc_fail for all Android devices, for now. 2013-05-16 12:57:21 +02:00
Alyssa Milburn
c96b75e1f7 ANDROID: Ignore subdirectories of asset archives. 2013-05-16 12:56:41 +02:00
Alyssa Milburn
89d9a624d9 ANDROID: Delete local JNI references to asset data/classes. 2013-05-16 12:55:06 +02:00
Eugene Sandulenko
e10eb97126 RELEASE: This is 1.7.0git 2013-05-05 00:42:10 +03:00
Willem Jan Palenstijn
34c36d8f8f AUDIO: Remove useless check 2013-04-23 21:25:03 +02:00
Eugene Sandulenko
ce0a334d30 BACKENDS: Fix unitialized variables in event manager. CID 1002944 2013-04-21 14:51:33 +03:00
anotherguest
d495a55f8d Symbian:Support for new engines 2013-04-04 15:32:58 +02:00
Matthew Hoops
31252e1095 MACOSX: Fix compilation with the 10.2.8 SDK
This is a pretty bad hack of not using the kMusicDeviceProperty_SoundBankFSRef symbol and using its value instead. It felt wrong breaking 10.2.8 support just because of Soundfonts.
2013-02-01 16:48:38 -05:00
Matthew Hoops
412ac740aa MACOSX: Load soundfonts using FSRef instead of FSSpec on 10.5
Fixes bug #3602452
2013-02-01 14:15:10 -05:00
Johannes Schickel
b4d0a8ba66 JANITORIAL: Enforce "} // End of namespace" with a single space after }. 2013-01-26 19:38:02 +01:00
Johannes Schickel
59dde54519 Merge pull request #301 from lordhoto/c++11-playground
RFC: Allow use of override and nullptr. Also allow C++11 compilation.
2013-01-26 05:25:14 -08:00
Johannes Schickel
fefa3bdd3f Merge pull request #302 from clone2727/gl-linear-fix
OPENGL: Fix linear filtering when the texture size doesn't match the real size
2013-01-24 17:39:30 -08:00
Einar Johan Trøan Sømåen
5d4d65d6d9 JANITORIAL: Fix ){ -> ) { 2013-01-24 20:15:13 +01:00
Matthew Hoops
fa9dd0f6c0 OPENGL: Fix linear filtering when the texture size doesn't match the real size 2013-01-24 12:49:21 -05:00
Johannes Schickel
feb2454eec IPHONE: Initialize the palettes on startup.
This hopefully fixes the occasional odd color flashes on startup.
2013-01-14 00:08:43 +01:00
Johannes Schickel
56b81877b9 IPHONE: Recreate mouse texture on palette changes when needed.
This fixes the color of the cursor in the Eye of the Beholder menu.
2013-01-14 00:03:37 +01:00
Johannes Schickel
9f22d60adf SDL: Silence C++ narrowing warnings. 2013-01-09 07:24:37 +01:00
Johannes Schickel
0a495f7faa OPENGL: Silence C++11 narrowing warning. 2013-01-09 07:24:37 +01:00
Strangerke
88add32e3b JANITORIAL: Update copyright year 2013-01-02 18:32:15 +01:00
D G Turner
21ea60f604 ANDROID: Minor fixes to build-specific makefile.
This fixes two minor issues when trying to cross-compile to Android on
Win32 using the Win32 Android SDK/NDK and MinGW shell.

However, this is still no working as DX and APKBUILDER are batch files
in the Win32 SDK (which then call the real Java tools) and these fail
to run in shell. However, using "cmd /C" also fails as the paths in the
parameters have unix, rather than native separators. Unsure how to fix.
2012-12-28 00:54:00 +00:00
D G Turner
0e5bfb66f0 ANDROID: Remove parameter forcing use of Modern theme.
This parameter overrides any user choice in the GUI or config file,
which is not good UX design (and is making it hard to debug loading
issues associated with theme files).

If we want to set this to default to Modern, we should do this in
a different way i.e. do this by ConfMan.loadDefaultConfigFile()

This is probably related to the Android issue with the backend init
running before main() is called, rather than after...
2012-12-24 16:45:49 +00:00
D G Turner
2cbb89fc1f WINCE: Fix shadow variable warnings associated with GUIElement classes. 2012-12-16 23:22:31 +00:00
Johannes Schickel
d2a536ff89 Revert "OPENGLSDL: Remove HACK in fullscreen toggle mode."
This reverts commit b6f7d69709. This actually
breaks fullscreen mode cycling.
2012-12-10 19:26:13 +01:00
D G Turner
6d4b0a2c9f PS2: Fix three compiler warnings and minor code formatting fixes. 2012-11-27 03:55:06 +00:00
Matthew Hoops
23cc4e89f3 BACKENDS: Remove excess space from warnings 2012-11-24 18:19:05 -05:00
D G Turner
8a8ab23c03 WII: Remove remaining signed-unsigned compiler warning. 2012-11-23 18:46:47 +00:00
D G Turner
21a8166922 N64: Remove remaining signed-unsigned compiler warning. 2012-11-23 18:37:07 +00:00
D G Turner
61cb8648a9 N64: Fix remaining warnings associated with mouse cursor drawing. 2012-11-19 17:26:28 +00:00
D G Turner
d8a17a9d91 N64: Fix compiler warnings associated with cursor size variables. 2012-11-18 22:34:15 +00:00
Thierry Crozat
67493394b3 OSX: Remove use of deprecated methods
FSRef and FSPathMakeRef have been deprecated in OS X 10.8. So we
use CFURLRef instead.
2012-11-18 01:29:09 +00:00
Thierry Crozat
40941af7b9 OSX: Fix Sparkle compilation on older systems
This patch was provided by fingolfin (see patch #3582260). It replaces
use of methods introduced in MacOS X 10.4 with methods that exists
since MacOS X 10.0.
2012-11-18 01:29:09 +00:00
Max Horn
a49f55878a OSX: Improve native OS X browser dialog
Signed-off-by: Thierry Crozat <criezy@scummvm.org>
2012-11-18 01:29:08 +00:00
Lauri Härsilä
fc15e1c207 ANDROID: Fixed tapping touchpad not sending left clicks 2012-10-21 06:29:36 +03:00
Lauri Härsilä
2109317564 ANDROID: Mouse and stylus support
From pull request #285.
2012-10-19 22:50:09 +02:00
Johannes Schickel
2b55837650 IPHONE: Add support for "retina" displays.
Thanks to peres for testing this.
2012-10-12 17:08:51 +02:00
Johannes Schickel
1e200620d6 IPHONE: Fix cursor artifacts when linear filterting is used.
We need to set a proper texture coordinate wrap parameter for this.
2012-10-10 00:36:15 +02:00
Johannes Schickel
89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Alyssa Milburn
2bed1ece7f SDL: Remove main.cpp.
Backends have to provide their own main, instantiating OSystem_SDL
directly is unsupported.
2012-09-24 09:41:21 +02:00
clone2727
2e4ee0b2d0 Merge pull request #275 from clone2727/pegasus
Pegasus engine (The Journeyman Project: Pegasus Prime)
2012-09-20 13:17:39 -07:00
Matthew Hoops
065b996d15 MACOSX: Make failing to load a soundfont in CoreAudio fatal
If we don't bail out, CoreAudio will explode.
2012-09-17 20:38:33 -04:00
Matthew Hoops
486f04b761 MACOSX: Fix soundfont loading with CoreAudio on newer versions of Mac OS X 2012-09-14 09:50:45 -04:00
Matthew Hoops
d5ed8b1901 Merge remote branch 'upstream/master' into pegasus
Conflicts:
	AUTHORS
2012-09-12 20:18:13 -04:00
Tarek Soliman
0856f33498 MAEMO: Package tony.dat 2012-09-05 21:41:09 -05:00
Matthew Hoops
f35e820e9f Merge remote branch 'upstream/master' into pegasus 2012-09-05 11:45:25 -04:00
Willem Jan Palenstijn
6e14e97670 BADA: Convert CRLF to LF 2012-09-04 22:25:28 +02:00
Bertrand Augereau
fdc29ee276 OPENPANDORA: The buildbot toolchain doesn't like the ending comma 2012-09-01 18:50:18 +02:00
Matthew Hoops
790a74ab9d Merge remote branch 'upstream/master' into pegasus 2012-08-31 21:58:58 -04:00
Bertrand Augereau
94921846eb OPENPANDORA: New touchscreen mode where the stylus hovers and the DPad left/right/up trigger left/right/middle clicks 2012-08-31 17:38:46 +02:00
Matthew Hoops
bb1e60e8b2 Merge remote branch 'upstream/master' into pegasus
Conflicts:
	AUTHORS
	devtools/credits.pl
	gui/credits.h
2012-08-26 16:12:25 -04:00
Alyssa Milburn
9c561c0287 ANDROID: Remove unused GL_OES_draw_texture code. 2012-08-15 10:00:51 +02:00
Johannes Schickel
8aa8cb4dd6 DINGUX: Fix "if" formatting. 2012-08-09 03:25:55 +02:00
Johannes Schickel
5521261fde OPENGL: Fix RGBA8888 mode setup. 2012-08-09 03:09:01 +02:00
David-John Willis
4cd34733a3 OPENGL: GL_BGRA does not exist in every GLES implementation.
* It definately does not exist in the GLES implementations I can test with.
* Don't configure if USE_GLES is set.
2012-08-08 13:37:32 +01:00
David-John Willis
4b4ce9dc6b GPH: Add extra call to SDL_ShowCursor(SDL_DISABLE).
* This is needed on the hacked SDL on the GP2X after any
  call to  SDL_SetVideoMode. It does not impact other GPH devices.
2012-07-31 18:59:36 +01:00
David-John Willis
0cf1c220fa GPH: Move the legecy GP2X joystick code into the switch case to make it easier to follow. 2012-07-31 12:09:47 +01:00
David-John Willis
9a0ba7124f OPENPANDORA: Cleanup. 2012-07-29 21:15:28 +01:00
David-John Willis
53a066d099 GPH: Use SDLPluginProvider not POSIXPluginProvider. 2012-07-29 21:15:28 +01:00
David-John Willis
9c2018c5a8 OPENPANDORA: Start event manager after log files are setup (if needed). 2012-07-29 21:15:28 +01:00
David-John Willis
3b6398cd40 GPH: Clean up initialisation code and start event manager after log files are setup (if needed). 2012-07-29 21:15:27 +01:00
David-John Willis
d83764f055 GPH: Fix accidental commit.
* I did not mean to commit any of the GPH backend with the OP stuff. Cleanup of this backend will follow later.
2012-07-24 10:12:54 +01:00
David-John Willis
b157269ff4 OPENPANDORA: Clean up old commented code. 2012-07-24 10:08:58 +01:00