Commit Graph

5248 Commits

Author SHA1 Message Date
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
David-John Willis
6f978ee78b OPENPANDORA: Free hiddenCursor on unloadGFXMode and cleanup screen setup.
* Also remove some old cruft in the form of commented code.
2012-07-24 10:08:58 +01:00
David-John Willis
45354676eb OPENPANDORA: Move SDL_CreateCursor hacklet from init to loadGFXMode.
* Fixes a bug that can occur on load.
2012-07-24 10:08:58 +01:00
Klaus Reimer
e68d6c23fe WEBOS: Remove broken keymapper code which is not needed anymore anyway 2012-07-21 17:33:52 +02:00
dhewg
5636c1fee0 WII: Adapt to mouse cursor dontScale API change 2012-07-21 16:22:05 +02:00
Tarek Soliman
f0304ee0bb MAEMO: Package missing docs 2012-07-20 16:16:57 -05:00
Tarek Soliman
a523fc186a MAEMO: Fix date in debian/changelog
(cherry picked from commit 831cfc89345299034e94160088d2ad3ff20eff5e)
2012-07-20 14:51:45 -05:00
Tarek Soliman
2151500934 MAEMO: Add new build dependencies
Since libfaad doesn't exist in maemo.org extras-devel, it cannot be added.
2012-07-18 21:44:39 -05:00
Tarek Soliman
2f08f95e11 MAEMO: Fix uninitialized member 2012-07-15 00:26:04 -05:00
Tarek Soliman
848b6daeb9 MAEMO: Minor whitespace fix 2012-07-15 00:07:24 -05:00
Tarek Soliman
6abb3501b5 MAEMO: Set defaults for fullscreen and aspect ratio correction
New installs now have fullscreen and aspect ratio correction on by default
2012-07-15 00:02:58 -05:00
Tarek Soliman
aa8dec9a72 MAEMO: Fix compile without keymapper 2012-07-14 23:55:21 -05:00
Littleboy
339fb6968e BACKENDS: Silence warning about ARRAYSIZE in windows-saves 2012-07-14 12:22:11 -04:00
Tarek Soliman
14832eae7f MAEMO: Update debian/changelog 2012-07-10 23:03:45 -05:00
Eugene Sandulenko
6387e3bca7 RELEASE: This is 1.6.0git 2012-07-08 22:30:05 +03:00
Johannes Schickel
2d92259b70 Merge pull request #235 from tobigun/android-theme
ANDROID: disable compression for zip-file assets
2012-07-06 13:19:00 -07:00
Johannes Schickel
2678bcda98 BACKENDS: Remove unused member in DefaultTimerManager.
Thanks to salty-horse for pointing this out.
2012-07-03 17:58:33 +02:00
Filippos Karapetis
2c161796c5 Merge pull request #239 from bluegr/skipsavecompression
COMMON: Allow the savefile manager to create uncompressed saves
2012-07-01 11:08:08 -07:00
Filippos Karapetis
659d0cfcc3 COMMON: Also adapt openForSaving() in the DC and N64 backends 2012-06-25 22:39:28 +03:00
Johannes Schickel
7b44c20eb1 BADA: Implement weekday querying in getTimeAndDate.
This furthermore makes the returned time be the wall time instead of UTC.

Thanks to Chris Warren-Smith for testing and improving a patch based
on pull request #248.
2012-06-25 19:59:46 +02:00
Matthew Hoops
91efe792d5 Merge remote branch 'upstream/master' into pegasus 2012-06-24 09:37:53 -04:00
Fabio Battaglia
fd97e5ece3 DINGUX: Update the README file for Dingux
Added build instructions and a note on the obsolescence
of fixes for the old Dingux toolchain
2012-06-22 13:51:50 +02:00
Fabio Battaglia
b51eed9031 DINGUX: Add png icon in the dingux dist package 2012-06-22 13:23:29 +02:00
Filippos Karapetis
e10e412bba COMMON: Allow the savefile manager to create uncompressed saves
These are useful in cases where the files can be used in the original
interpreters (such as the exported characters from QFG), in order to avoid
confusion in cases where the users are unaware that these saves are
compressed and are trying to load them in the original interpreters.
2012-06-21 10:48:03 +03:00
Johannes Schickel
0a26f7084f ANDROID: Fix compilation broken with changes to grabOverlay. 2012-06-20 17:31:10 +02:00
Johannes Schickel
9701094fcd N64: Fix check for whole width updates in copyRectToOverlay. 2012-06-20 17:21:50 +02:00
Johannes Schickel
703be9f87c N64: Replace OverlayColor with uint16. 2012-06-20 17:21:05 +02:00
Johannes Schickel
36ac1e8b47 PSP: Replace OverlayColor with uint16. 2012-06-20 17:20:00 +02:00
Johannes Schickel
4b32d5de0e WII: Fix check for whole width updates in copyRectToOverlay. 2012-06-20 17:18:19 +02:00
Johannes Schickel
6792f4450b WII: Replace OverlayColor with uint16. 2012-06-20 17:14:51 +02:00
Johannes Schickel
ac8f282ce1 IPHONE: Replace OverlayColor uses with uint16. 2012-06-20 17:13:12 +02:00
Johannes Schickel
4fb9bceabc Merge pull request #246 from lordhoto/osystem-void-buffers
OSYSTEM: Use void buffers for screen/overlay/mouse buffers and proper pitch values for overlay code
2012-06-20 08:02:26 -07:00
Johannes Schickel
f92f9f9faf PS2: Small formatting fixes. 2012-06-19 01:48:21 +02:00
D G Turner
954d56a30f PS2: Implement algorithm for day of week for use in tm_wday. 2012-06-18 20:21:22 +01:00
Matthew Hoops
625f6cc716 Merge remote branch 'upstream/master' into pegasus 2012-06-16 01:43:32 -04:00
Johannes Schickel
aec9b9e22a ALL: Let overlay related methods in OSystem take a void * and use a proper pitch values.
This is a first step to get rid of OverlayColor, which is a requirement for
proper 4Bpp overlay support.
2012-06-16 04:17:14 +02:00
Johannes Schickel
d27d951d0b BACKENDS: Make OSystem::setMouseCursor take a "const void *" buffer.
This is mainly for consistency with OSystem::copyRectToScreen.
2012-06-16 03:28:42 +02:00
Johannes Schickel
31880186e1 BACKENDS: Let copyRectToScreen take a "const void *" instead of "const byte *" as buffer.
This removes the need to convert the parameter to copyRectToScreen to
"const byte *", which is commonly used in games, which use Graphics::Surface
to store their graphics data.
2012-06-16 02:18:01 +02:00
Matthew Hoops
249d48f77b BACKENDS: Add #error for platforms not setting tm_wday in release builds 2012-06-10 14:53:26 -04:00
Matthew Hoops
b2f5721e58 COMMON: Add tm_wday to our TimeDate struct
Did not adapt bada or ps2 backends as I'm not sure how they should be handled
2012-06-09 20:21:48 -04:00
Johannes Schickel
a401f0a19e ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" logic.
All uses of the old target scale API actually wanted to disallow scaling of
the mouse cursor. This commit adapts our API to this and thus simplifies
backend implementations.

Some backends, most notable the Wii and Android, did some implementation of
the cursor target scale, which I didn't adapt yet. I added a TODO for the
porters there.
2012-06-03 02:02:57 +02:00
Max Horn
5de3f9c765 ALL: Correct spelling of "Mac OS X" in various places 2012-05-31 10:30:29 +02:00
Matthew Hoops
f1f6a82cd5 Merge remote branch 'upstream/master' into pegasus 2012-05-25 00:35:38 -04:00
Jonathan Gray
8cfe25cd65 MIDI: add sndio midi backend
New sndio MIDI backend for OpenBSD written by Alexandre Ratchov.
Tested with an external MT-32 and fluidsynth.
2012-05-15 16:39:21 +10:00
Matthew Hoops
e80d622fa5 Merge remote branch 'upstream/master' into pegasus 2012-05-04 23:32:29 -04:00
Johannes Schickel
b96143c180 Merge pull request #213 from fuzzie/leak-fixes
The pull request in question is "Memory leak fixes".
2012-05-03 13:45:40 -07:00
Tobias Gunkel
201336367b ANDROID: disable compression for zip-file assets and recompress uncompressed zip-files before adding them as assets to the apk 2012-04-29 17:23:07 +02:00