Commit Graph

4705 Commits

Author SHA1 Message Date
Oystein Eftevaag
5a3aa7a994 IPHONE: Fixed mouse position when the overlay is visible 2011-05-15 21:47:11 -04:00
Oystein Eftevaag
a1f02c3f32 IPHONE: Fixed mouse position when the overlay is visible 2011-05-15 21:43:53 -04:00
Max Horn
343237e68a VKEYBD: Update vkeybd_default.zip
Specifically, in vkeybd_default.xml, 'centre' changed to 'center'.
2011-05-16 00:35:49 +02:00
Max Horn
136d687dd3 VKEYBD: Update vkeybd_default.zip
Specifically, in vkeybd_default.xml, 'centre' changed to 'center'.
(cherry picked from commit db068cf8588a2058d49ae5af3d5d247a3353ef8c)
2011-05-16 00:35:03 +02:00
Oystein Eftevaag
b3062b5e7e IPHONE: Changed the iOS queued event handling to fix mouseclicks in Gob
We now delay the mouseup events for 50ms, rather than just delaying them for an additional couple of pollEvent (which doesn't work anymore due to changes in the eventhandling code elsewhere). This fixes #3018512.
2011-05-15 18:04:36 -04:00
Oystein Eftevaag
b23dfd72f1 IPHONE: Changed the iOS queued event handling to fix mouseclicks in Gob
We now delay the mouseup events for 50ms, rather than just delaying them for an additional couple of pollEvent (which doesn't work anymore due to changes in the eventhandling code elsewhere). This fixes #3018512.
2011-05-15 17:55:47 -04:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Max Horn
6eba8e8292 N64: Fix code formatting 2011-05-09 16:23:21 +02:00
Max Horn
db82d282ea N64: Remove (u)int64 typedefs from common/scummsys.h 2011-05-09 16:23:21 +02:00
Klaus Reimer
1e701b3769 WEBOS: Splitted install directory from package directory. 2011-05-08 20:58:08 +02:00
Klaus Reimer
9e4edcdc1f WEBOS: Removed unused gestureDownTime 2011-05-08 20:58:08 +02:00
Klaus Reimer
cc0d8b6252 WEBOS: Fixed ESCAPE and MENU key on WebOS 1 2011-05-08 20:58:08 +02:00
Klaus Reimer
cfa4051e7a WEBOS: Splitted install directory from package directory. 2011-05-08 20:56:08 +02:00
Klaus Reimer
95b548fe9f WEBOS: Removed unused gestureDownTime 2011-05-08 20:47:12 +02:00
Klaus Reimer
894469a508 WEBOS: Fixed ESCAPE and MENU key on WebOS 1 2011-05-08 20:45:50 +02:00
eriktorbjorn
3e8a7afeae CAMD: Added _isOpen checks to send() and sysEx()
At Raziel^'s request. This is the same as the ALSA checks I added
earlier today.
2011-05-08 13:08:09 +02:00
eriktorbjorn
3b2c3907a0 ALSA: Warn if events or SysEx messages are received when not open.
This should make it easier to spot errors like the one spotted in
the Queen engine yesterday. The Windows MIDI driver already seems
to do something like this; I don't know about the others.
2011-05-08 07:34:46 +02:00
Joost Peters
e28b402295 IRIX: Fix compilation 2011-05-08 01:25:09 +02:00
dhewg
16f0dcc00b ANDROID: Get rid of Fn->ALT metakey mapping
Thanks to Ge0rG for the analysis

Cherry-picked from bfecb37501
2011-05-07 20:08:29 +02:00
dhewg
bfecb37501 ANDROID: Get rid of Fn->ALT metakey mapping
Thanks to Ge0rG for the analysis
2011-05-07 19:44:21 +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
Max Horn
608ce4343a WINCE: Link against Windows FS code again 2011-05-05 10:57:35 +02:00
Fabio Battaglia
d65479a9d7 Merge branch 'master' of https://github.com/scummvm/scummvm 2011-05-04 16:51:04 +02:00
Fabio Battaglia
f16311291d N64: avoid bogus events if no controller plugged
If the user has only a N64 mouse plugged in and no controllers
this avoids fake clicks.
2011-05-04 16:48:52 +02:00
Max Horn
e19de13a5d BUILD: Further restrict which backend source files are compiled 2011-05-04 16:18:18 +02:00
Max Horn
28403e4543 BACKENDS: Fix copy & paste mistakes in some comments 2011-05-04 16:18:18 +02:00
Max Horn
3797971c48 BUILDS: Sort some stuff in backends/module.mk 2011-05-03 23:58:33 +02:00
Max Horn
fc74fb357d BUILD: Compile backend specific files only if their backend is selected 2011-05-03 23:58:33 +02:00
Max Horn
95a6098f67 PS2: Allow using mkdir 2011-05-03 23:05:45 +02:00
Max Horn
d683a228a3 MOTO: Change fprintf calls to debug calls 2011-05-03 23:04:58 +02:00
Max Horn
5efb1e5596 DINGUX: Change fprintf calls to debug calls 2011-05-03 23:04:40 +02:00
dhewg
b85fc8f190 WII: Fix compilation 2011-05-03 18:27:50 +02:00
Max Horn
7a0c64631d MACOSX: Try to fix compile errors triggered with certain Mac OS X SDK versions 2011-05-03 18:25:30 +02:00
Max Horn
b449b73f59 N64: Fix FS code regression 2011-05-03 15:33:37 +02:00
Max Horn
73396954c9 GPH: Change fprintf to debug 2011-05-03 14:34:59 +02:00
Max Horn
2fa63ca015 COMMON: Forbid use of getcwd&getwd; add macro to enable unistd.h compatibility 2011-05-03 14:30:25 +02:00
Max Horn
a50c36d138 ANDROID: Fix various forbidden symbol clashes 2011-05-03 14:29:01 +02:00
Max Horn
1a570c14e3 DINGUX: Remove unused (?) include 2011-05-03 14:28:15 +02:00
Max Horn
ff6533e1b3 PSP: Fix more forbidden symbol clashes 2011-05-03 14:14:21 +02:00
Max Horn
48bbdd1708 PS2: Fix various forbidden symbol clashes 2011-05-03 13:44:14 +02:00
Max Horn
91141dae40 WII: Fix fs code compile regressions 2011-05-03 13:32:20 +02:00
Max Horn
4dd4cf8bc0 DS: Remove references to DEVKITARM
In some places we used $DEVKITARM, but in others we hardcode the path
$DEVKITPRO/devkitARM. To ensure consistent behavior, I changed it to the
latter everywhere for now. Should it turn out that we really want to
have this flexible, we can reintroduce $DEVKITARM in a proper way. In
that case, we could augment configure to set DEVKITARM to
$DEVKITPRO/devkitARM, if it has not been set yet.
2011-05-03 13:22:00 +02:00
Max Horn
f62fd4f25f BACKENDS: Avoid #including .cpp files
So far, the various *-fs-factory.cpp files were #including the
corresponding *-fs.cpp files. This is surprising and hence could lead to
all kinds of problems). To fix this, provide proper headers for the
*-fs.cpp files.
This also makes code reuse via subclassing possible.

Since not all ports were tested, this will likely lead to a few
easy to fix compile regressions.
2011-05-03 13:22:00 +02:00
Max Horn
75d9f21580 BACKENDS: Change printf -> debug in vkeybd code 2011-05-03 12:53:14 +02:00
Max Horn
81ff18b0b7 WII: Fix various forbidden symbol clashes 2011-05-03 12:52:28 +02:00
Max Horn
b737dcbad5 PSP: Fix various forbidden symbol clashes 2011-05-03 11:56:17 +02:00
Max Horn
d67e450f7a DC: Fix various forbidden symbol clashes 2011-05-03 11:56:10 +02:00
Max Horn
eafc54869c PSP: Add FIXME to portdefs.h 2011-05-03 11:40:11 +02:00
Max Horn
3d4e9fe674 BACKENDS: Allow various files to use stuff from time.h 2011-05-03 11:27:44 +02:00
dhewg
ea547ca3fd ANDROID: Style fix 2011-05-02 18:41:04 +02:00
Max Horn
59e77ed667 ALL: Mark printf and various other symbols as forbidden
Right now, a few places in the frontend code still use printf and
consorts. We mark the affected files with a FIXME for now, and
add a dedicated exception for each. To be fixed!

Also tweak FORBIDDEN_SYMBOL_REPLACEMENT to hopefully really always
enforce a compiler error
2011-05-02 16:31:31 +02:00
Bluddy
7c840b0c5e PSP: fixed cursor disappearance bug in 16-bit games
The 5650 16-bit format doesn't include alpha bits and is treated as having alpha by the PSP hardware. Other formats such as 5551 don't have their alpha bit set in the cursor buffer. Instead of adding it, we just turn on the 'reverse alpha' feature for these bits. The problem was not making an exception for 5650.
2011-05-02 15:49:15 +03:00
Bluddy
185337f6a5 PSP: fixed cursor disappearance bug in 16-bit games
The 5650 16-bit format doesn't include alpha bits and is treated as having alpha by the PSP hardware. Other formats such as 5551 don't have their alpha bit set in the cursor buffer. Instead of adding it, we just turn on the 'reverse alpha' feature for these bits. The problem was not making an exception for 5650.
2011-05-02 15:48:06 +03:00
Klaus Reimer
c74fcf19d8 WEBOS: Rewritten webos packaging again. No fancy settings needed anymore. Just "make package". 2011-05-01 23:48:39 +02:00
Klaus Reimer
b2ed9a40f2 WEBOS: Rewritten webos packaging again. No fancy settings needed anymore. Just "make package". 2011-05-01 23:45:09 +02:00
dhewg
cf41ac0fec ANDROID: Disable the savegame parachute
Only on the stable branch, since this is unfinished and might wipe
savegames of the user.
2011-05-01 18:07:27 +02:00
Johannes Schickel
71bdb86e02 Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".
For further discussion check here:
https://github.com/scummvm/scummvm/pull/16

Conflicts:
	graphics/png.cpp
2011-05-01 16:54:45 +02:00
Marcus Comstedt
e467468900 DC: Disable serial for release 2011-05-01 14:48:50 +02:00
Eugene Sandulenko
40df14a755 RELEASE: Tag branch-1-3-0 and set version 2011-05-01 14:43:36 +03:00
Eugene Sandulenko
204a9c2e51 RELEASE: This is 1.4.0git 2011-05-01 14:44:20 +03:00
Marcus Comstedt
c3463e77d2 DC: Create a "dcdist" target for buildbot
The "dcdist" target creates the directory dcdist/scummvm and copies
relevant files from the nightly build into it.  This is is they do
not have to be enumerated in the buildbot configuration.
2011-04-29 22:25:09 +02:00
Marcus Comstedt
22c74bf23e DC: Aesthetical improvements to plugin loader 2011-04-29 22:22:58 +02:00
Max Horn
dbca3045cd WEBOS: Fix compilation 2011-04-29 13:18:42 +02:00
Max Horn
7f74c477c6 BACKENDS: Really *really* fix keymapper code 2011-04-29 13:18:41 +02:00
Hubert Maier
79b45cf535 AMIGAOS: Fix CAMD compiler warning 2011-04-29 14:08:49 +03:00
Max Horn
5dd3c24238 BACKENDS: Really fix keymapper 2011-04-29 12:58:01 +02:00
Max Horn
cc9ffb58fa BACKENDS: Fix compilation of keymapper code 2011-04-29 12:54:10 +02:00
Alyssa Milburn
d5207ed6ea fix AmigaOS 4 build (thanks to Raziel^) 2011-04-29 11:47:49 +02:00
D G Turner
8d2189f1bb WINCE: Fix Mixer Compilation after header changes. 2011-04-29 01:54:15 +01:00
D G Turner
57578c302f BACKENDS: Fix compilation on ports using Virtual Keyboard. 2011-04-28 23:47:30 +01:00
Ori Avtalion
46cb9c785b JANITORIAL: Yet another attempt at fixing compilation 2011-04-29 00:45:18 +03:00
Ori Avtalion
4d485fc741 BACKENDS: Fix compilation for various backends
Affects:
* PS2
* GPH
* ELF
* MOTO
* IPHONE
* N64
* DINGUX
* WINCE
* PSP
2011-04-28 23:24:06 +03:00
Ori Avtalion
e52d54b55e NDS: Fix compilation 2011-04-28 22:19:35 +03:00
dhewg
8feac89bc7 ANDROID: Fix compilation some more 2011-04-28 20:02:01 +02:00
Ori Avtalion
1a7e84f376 DC: Fix compilation 2011-04-28 20:55:00 +03:00
Ori Avtalion
52c0b2e28c ANDROID: Another attempt at compilation fix 2011-04-28 20:53:01 +03:00
Ori Avtalion
130d96e360 PSP: Fix compilation 2011-04-28 20:07:43 +03:00
Ori Avtalion
1b681e85a8 ANDROID: Fix compilation 2011-04-28 20:05:01 +03:00
Ori Avtalion
ae10472575 GPH: Fix compilation 2011-04-28 19:54:45 +03:00
Ori Avtalion
3f7d45770e WII: Fix compilation 2011-04-28 19:52:23 +03:00
Max Horn
a0fc266c82 MACOSX: Fix compilation 2011-04-28 15:55:41 +02:00
Paul Gilbert
c6fa23a3d1 JANITORIAL: Add in necessary include files to fix compilation in MSVC 2011-04-28 22:32:12 +10:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Ori Avtalion
3e01d35281 JANITORIAL: Format more forward declarations to follow convention 2011-04-28 12:32:01 +03:00
Ori Avtalion
cd6ee0589d JANITORIAL: Format forward declarations to follow convention 2011-04-28 12:20:34 +03:00
Klaus Reimer
a8115d4c00 WEBOS: Improved build system. Now supports "release" and "beta" packaging, supports a custom base package ID and automatically determines the app version by merging the ScummVM version and a specified package version. 2011-04-25 11:22:18 +02:00
dhewg
0ebf92ee38 WINCE: Add Tremolo support 2011-04-22 21:30:42 +02:00
Thierry Crozat
6e94f26208 OPENPANDORA: Remove unneeded translations.h include. 2011-04-22 20:01:53 +01:00
anotherguest
fca9c28ea7 SYMBIAN: Add support for TSAGE engine 2011-04-22 10:28:26 +02:00
Marcus Comstedt
8a87429306 DC: Provide some feedback when loading plugins
Display the names of the plugins being loaded, and display amount
of free memory while doing so.  This should make it easier to spot
the case that too many engine plugins have been placed on the boot
medium.
2011-04-20 23:46:45 +02:00
Marcus Comstedt
21421d2e86 DC: Move dynamic plugin handling into the platform 2011-04-20 23:46:44 +02:00
anotherguest
74a81d7a99 SYMBIAN: Changed sound to audio in macro. 2011-04-20 12:36:04 +02:00
anotherguest
e0478c2a9b SYMBIAN : Updated folder names audio, added video, added M_PI define 2011-04-20 10:27:12 +02:00
Johannes Schickel
489d4d62cd BACKENDS: Fix compilation for Caanoo and GP2xWiz. 2011-04-19 15:19:19 +02:00
Max Horn
b49f313dd4 OPENPANDORA: Replace defunct MIXER_DOUBLE_BUFFERING by working code 2011-04-19 15:09:50 +02:00
Max Horn
c37f36d0a8 GPH: Replace defunct MIXER_DOUBLE_BUFFERING by working code 2011-04-19 15:09:50 +02:00
Max Horn
73f04118f3 COMMON: Rename Error to ErrorCode, introduce new Error class 2011-04-18 18:22:02 +02:00
Max Horn
63a7698a86 SYMBIAN: Use astyle to slightly reduce code formatting mess ;) 2011-04-18 16:30:06 +02:00
Max Horn
0402ec4ea2 SYMBIAN: Clarify vsnprintf.h legal header a little bit 2011-04-18 16:30:06 +02:00
Johannes Schickel
da734a4af0 ALL/GRAPHICS: Remove Surface::bytesPerPixel. 2011-04-17 21:27:34 +02:00
Johannes Schickel
877004dbdd BACKENDS: Adapt various backends code to set up Surface::format correctly.
Note that this change is not tested at all (not even compile wise!).
2011-04-17 21:14:19 +02:00
Johannes Schickel
0b14f6aa17 SDL: Properly setup internal Surface formats. 2011-04-17 20:56:16 +02:00
Johannes Schickel
911b7b311f OPENGL: Do not access Surface::bytesPerPixel anymore. 2011-04-17 20:56:16 +02:00
Johannes Schickel
7ac3ae108a BACKEND: Prefer Surface::create taking a PixelFormat over the one taking a byte depth. 2011-04-17 16:24:37 +02:00
Eugene Sandulenko
ce0cc0ee85 COMMON: Partial fix for #3087922: COMMON/BASE/BACKENDS: Code analysis warnings 2011-04-17 15:25:06 +03:00
Max Horn
2e095e25f2 ALL: centre -> center 2011-04-14 14:34:28 +02:00
Max Horn
84184aabc0 ALL: colour -> color 2011-04-14 14:12:35 +02:00
Paul Gilbert
aadb4f7459 WEBOS: Moved #include lines inside #ifdef WEBOS to fix MSVC compilation 2011-04-13 20:46:24 +10:00
David-John Willis
a18bb2e73d GPH: Move GP2XWIZ build support files into devices folder.
* Also add a common folder with the shared bits.
2011-04-13 08:01:16 +01:00
David-John Willis
da688dbb7f GPH: Move caanoo build support files into device folder in the backend. 2011-04-13 08:01:15 +01:00
David-John Willis
cb3e3e7125 GP2X: Move build support files into the GPH backend. 2011-04-13 08:01:15 +01:00
David-John Willis
e2adf5babc GPH/GP2X: Tweak wrapper script to export LD_LIBRARY_PATH. 2011-04-12 10:44:05 +01:00
David-John Willis
15bdb29248 GPH: Add separate button defined buttons for each supported device.
* No default buttons set any more as I would want the build to fails
  if you don't provide the backend with a device.

* Also commit some small cleanup to the bundle files.
2011-04-12 10:44:04 +01:00
Klaus Reimer
91e43bb136 WEBOS: Correct indentation of WEBOS preprocessor check 2011-04-12 11:11:18 +02:00
Klaus Reimer
1bc38d2532 WEBOS: Use STRIP variable to strip the binary 2011-04-12 11:11:18 +02:00
Klaus Reimer
872e6f9b8c WEBOS: Move scummvmrc to ScummVM data directory
scummvmrc is now located in ScummVM data directory and no
longer in app directory so it is accessible via USB drive mode.
2011-04-12 11:11:18 +02:00
Klaus Reimer
6c94353eff WEBOS: Complete rewrite of key/mouse events handling
Touchscreen is now always used like a touch pad.
2011-04-12 11:11:17 +02:00
Klaus Reimer
2160ecfe3a WEBOS: Disable vkeybd, fix more directory references with wrong package name
The vkeybd XML can't be read for some reason.
2011-04-12 11:11:16 +02:00
Klaus Reimer
a899ec286f WEBOS: Correct package directory name 2011-04-12 11:08:53 +02:00
Klaus Reimer
aa79a2634d WEBOS: Enable keymapper, implement FORWARD key and right+middle button clicks 2011-04-12 11:05:53 +02:00
Klaus Reimer
a4e757834e WEBOS: Create webos backend with custom events
Currently only contains test code.
2011-04-12 11:05:35 +02:00
Klaus Reimer
b17f7d20c2 WEBOS: Strip binary before packaging it 2011-04-12 11:05:28 +02:00
Klaus Reimer
7c5c6803ab WEBOS: Add webos backend
IPK can be built with "make webosrelease".
2011-04-12 11:05:17 +02:00
Klaus Reimer
72d206dc73 WEBOS: Add WEBOS define
Using SDL_INIT_VIDEO flag for WebOS because without it the application
won't start.
2011-04-12 11:05:07 +02:00
David-John Willis
6f1c7cf30a GPH: Change backend to mask backend code to GPH_DEVICE.
* This is mainly to make it easy to drop the old GP2X into the
  same codebase (I really have no desire to manage 2 sets of 99.9%
  identical code ;)).
* Code paths for just one of the supported devices can be runtime
  worked out or just defined for that device.

mount.sh: Fixed some small errors#	../../../../scummvm.gph
2011-04-11 18:22:58 +01:00
David-John Willis
bb6bc31813 GP2X: Mask off the graphics and events code behind a GP2X_OLD define.
* This is a temp thing while I finish up merging the GP2X and GPH code.
  I do not want the GP2X backend code dropped yet until this is complete.
2011-04-11 18:15:14 +01:00
David-John Willis
5661570e4e GP2X: Commit some cleanup/fudges with a view to collapsing into the GPH backend. 2011-04-11 18:00:46 +01:00
David-John Willis
18e35a638d OPENPANDORA: Cleanup header for events. 2011-04-11 18:00:46 +01:00
dhewg
6c0bca8aae ANDROID: Add missing mkdir 2011-04-10 11:12:40 +02:00
dhewg
b0351e1b85 ANDROID: Automate the Manifest's versionCode 2011-04-09 18:40:04 +02:00
dhewg
90f47c7b1d ANDOID: Replace mkmanifest.pl with sh/sed code
Removes build dependencies like perl and its XML modules
2011-04-09 18:39:35 +02:00
dhewg
4f09018b00 ANDROID: Allow linear texture filtering on the cursor 2011-04-06 21:15:15 +02:00
dhewg
a565e63c48 ANDROID: Add multitouch support 2011-04-06 18:27:15 +02:00
dhewg
b45640c47b ANDROID: Fix off-by-one when clipping mouse coords 2011-04-06 15:21:31 +02:00
dhewg
430c462031 Revert "ANDROID: Temporarily enable GL error checks"
This reverts commit 1c8fc05388.

Commit d50e7af7 confirmed as fix, so it wasn't a GL issue at all
2011-04-06 11:31:20 +02:00
dhewg
811b1fcc2a ANDROID: Use the manufacturer string for workarounds
Some fingerprints don't contain it, so this should be more reliable.
2011-04-05 19:10:35 +02:00
dhewg
507bff8233 ANDROID: Log device manufacturer, model and brand 2011-04-05 19:06:59 +02:00
dhewg
d50e7af797 ANDROID: Fix endless loop in AndroidAssetArchive
Can happen on empty member filenames, seen on some Samsung firmwares.
2011-04-05 18:25:37 +02:00
dhewg
0adfe72966 ANDROID: Remove commented workarounds for Nexus 1
Reports suggest that its working and not required
2011-04-05 15:16:07 +02:00
dhewg
4440aa4310 ANDROID: Remove code for paletted textures
Unused now, because the performance isn't good enough on weak GLES
drivers.
2011-04-05 15:09:46 +02:00
dhewg
ea253ff26d ANDROID: Use a faked paletted texture for CLUT cursors
Same change as for the game screen, reduces CPU usage a little
2011-04-05 15:07:07 +02:00
dhewg
1c8fc05388 ANDROID: Temporarily enable GL error checks
There's a black screen issue on Samsung devices running 2.2.1 which I
can not reproduce. Hopefully this helps hunting it down.
2011-04-05 13:57:09 +02:00
Alyssa Milburn
449e9cf339 ANDROID: Fix non-fullscreen corruption on HTC devices.
HTC's drivers don't preserve the color buffer between frames (as allowed
by the spec, apparently), so we have to force-clear it every frame when
we're not rendering a texture over the whole screen.
2011-04-04 12:23:12 +02:00
dhewg
ea4223d941 ANDROID: Always use the surface size for the overlay
When coming back from standby, there might be an indermediate surface
change
2011-04-03 20:34:24 +02:00
dhewg
fba1c6360c ANDROID: Ignore unrelated surface changes 2011-04-03 20:34:19 +02:00
dhewg
1692605b08 ANDROID: Helper define to debug hanging GLES calls 2011-04-03 20:34:14 +02:00
dhewg
801f576f9c ANDROID: Log the ScummVM version 2011-04-03 16:39:56 +02:00
dhewg
bceab2656b ANDROID: Attempt at working around some HTC fail 2011-04-02 13:32:03 +02:00
dhewg
dd1c52fd82 ANDROID: Map right click to Camera/Search 2011-03-30 23:39:34 +02:00
dhewg
d83a83ef50 JANITORIAL: Remove/comment unused vars
Found by GCC 4.6's -Wunused-but-set-variable
2011-03-29 21:57:56 +02:00
dhewg
68908773ac ANDROID: Use 'our' ASCII codes for special keys
Fixes stuff like enter key on SCI games with text input
2011-03-25 19:52:33 +01:00
Max Horn
0c09dafdbb Merge branch 'copysavefile' of https://github.com/Littleboy/scummvm into Littleboy-copysavefile 2011-03-25 15:02:33 +01:00
dhewg
b4a6c89662 ANDROID: Always set the surface properties
Didn't happen on the shortcut, which led to wrong properties and
surface functions scribbling over memory
2011-03-25 00:41:01 +01:00
Littleboy
5a1874e3d9 COMMON: Add SaveFileManager::copySavefile() and update SaveFileManager::renameSavefile() to use it 2011-03-24 18:51:58 -04:00
David-John Willis
b9e4d77ade GPH: Removed some unimplemented and unneeded definitions.
- Thanks to digitall for proving that 2 sets of eyes spot a really simple
   problem much quicker than one set ;).

mount.sh: Fixed some small errors#	../../../../scummvm.gph
2011-03-24 22:43:12 +00:00
David-John Willis
b95013dfe2 OPENPANDORA: Refactor OpenPandora backend and move events and graphics into modular backend style. 2011-03-24 21:24:05 +00:00
David-John Willis
0fb15847c6 SDL/POSIX: Update main guard to add OpenPandora.
- Also mention GPH_DEVICE not each backend on it's own.
2011-03-24 21:24:05 +00:00
David-John Willis
16e28747c7 BACKENDS: Add GPH event and graphics files to the build. 2011-03-24 21:24:05 +00:00
David-John Willis
cf8dcf4549 GPH: Cleanup GPH backend and adapt to newer modular backend model. 2011-03-24 21:24:05 +00:00
David-John Willis
973e3e827e GP2X: Remove incorrect GP2XWiz define from the GP2X event code.
* My plan is to move all of the GPH devices into the GPH backend
  but for now this is just a merge mess from the GSoC-OpenGL branch.
2011-03-24 21:24:04 +00:00
dhewg
19c407ca69 ANDROID: Fix texture double release 2011-03-24 22:04:03 +01:00
dhewg
e6080087c8 ANDROID: Fix cursor's keycolor
Don't wipe the RGB bits, fixes wrong colors on BASS cursors
2011-03-24 18:56:59 +01:00
dhewg
397fd31a17 ANDROID: Cleanup 2011-03-24 18:56:54 +01:00
Max Horn
8982fff1b7 AUDIO: Add pure virtual MidiDriver::isOpen() method
This in turn enables modifying MidiDriver_MPU401::close() to allow
it to be called on a midi driver that has not yet been opened.

The specific issue that triggered me to make these changes was a
crash-upon-quit in HUGO, caused by it instantiating a midi driver,
then encountering an error (missing hugo.dat) *before* having
opened the new midi driver; the general cleanup code then tries
to close the (not yet opened) midi driver -> kaboom

Also fixed some engines which were leaking MidiDriver instances.
2011-03-22 23:51:47 +01:00
dhewg
5f96dc6867 ANDROID: Fix timer frequency to match SDL 2011-03-22 21:02:42 +01:00
dhewg
18d9654ca2 TIMER: Cleanup 2011-03-22 21:02:41 +01:00
Johannes Schickel
c064fa5c5b OPENGL: Fix mouse cursor position in Normal mode when AR is enabled. 2011-03-21 00:43:16 +01:00
Johannes Schickel
33cf1f8f59 OPENGL: Get rid of unused switchDisplayMode. 2011-03-20 17:30:23 +01:00
Johannes Schickel
6502e191b9 OPENGL: Handle aspect ratio correction as flag instead of having a special mode for it.
This partly fixes the OpenGL mode mess, but now OpenGL Normal and OpenGL
Conserve will feature the same semantics when aspect ratio correction is
enabled... That is still something to solve.
2011-03-20 17:29:08 +01:00
dhewg
c77e7f75a6 ANDROID: Trust ASCII kbd codes on unknown keys 2011-03-20 13:29:21 +01:00
dhewg
0e9af50d48 ANDROID: Add port specific README
First version, just describing the controls and related hacks
2011-03-19 19:52:01 +01:00
dhewg
0d9a852f46 ANDROID: Implement OSystem::getSystemLanguage() 2011-03-19 12:36:27 +01:00
dhewg
69e271225f ANDROID: Log some system properties 2011-03-19 12:17:43 +01:00
dhewg
2def212de7 ALL: s/PI/M_PI/
Tip of the day: git grep -w PI
2011-03-19 11:24:06 +01:00
md5
a4c05b1632 Fixed compilation of the N64 port 2011-03-19 04:01:28 +02:00
dhewg
3e3619feb8 ANDROID: Cleanup 2011-03-18 22:14:54 +01:00
dhewg
e056bfca9c ANDROID: Seperate DPAD codes 2011-03-18 21:53:25 +01:00
dhewg
b721547213 ANDROID: Implement trackball click 2011-03-18 21:53:25 +01:00
dhewg
47e9db8fdf ANDROID: Fix KeyEvent NullPointerException
Could happen with some special symbols from the virtual keyboard
2011-03-17 22:02:17 +01:00
Johannes Schickel
8ab136dafb OPENGL: Fix screenshots when the display width is not divisible by 4. 2011-03-17 21:20:20 +01:00
Johannes Schickel
83c638ad02 OPENGL: Setup the correct header size for BMP screenshots.
This fixes an color bug in the resulting screenshots.
2011-03-17 21:20:20 +01:00
Johannes Schickel
8d35d91bdf OPENGL: Cleanup switchDisplayMode. 2011-03-17 21:20:20 +01:00
Johannes Schickel
f490e6f361 OPENGLSDL: More refactoring to avoid direct access of OpenGlGraphicsManager's members. 2011-03-17 21:20:20 +01:00
Johannes Schickel
83b199e921 OPENGL: Move setFullscreenMode to OpenGLGraphicsManager. 2011-03-17 21:20:20 +01:00
Johannes Schickel
8d87a460b0 OPENGLSDL: Handle active fullscreen mode OPENGLSDL internal. 2011-03-17 21:20:20 +01:00
Johannes Schickel
c9f6136110 OPENGLSDL: Cleanup. 2011-03-17 21:20:20 +01:00
Johannes Schickel
daf6050d7c OPENGL: Make setScale non-virtual. 2011-03-17 21:20:20 +01:00
dhewg
0eb5352290 ANDROID: Increase default touchpad mode scale
aka my display is bigger than yours
2011-03-17 21:01:49 +01:00
dhewg
8953581ec9 ANDROID: Ignore the slop area on all touch scrolls
Prevents initial cursor jumps
2011-03-17 21:01:49 +01:00
Johannes Schickel
758aa78acc OPENGL: Get rid of _aspectRatioCorrection. 2011-03-17 19:55:06 +01:00
Johannes Schickel
96979f73fc OPENGL: Slight refactoring.
First step into making all state variables of the OpenGL backend private, to
help making the backend more maintainable, by disallowing subclasses to just
mess with everything...
2011-03-17 19:55:06 +01:00
dhewg
70e2c4266b ANDROID: Get rid of more gfx glitches 2011-03-17 19:35:58 +01:00
dhewg
82bcddf8da ANDROID: Init vars to match with the defaults
The feature flags are set too late, so lets fix that here
2011-03-17 19:35:58 +01:00
dhewg
f4fd9e8b50 ANDROID: Fix cursor visibility 2011-03-17 19:35:58 +01:00
dhewg
23213d23dc ANDROID: Log ASCII code of invalid keycodes 2011-03-17 19:35:57 +01:00
dhewg
2ea6380040 ANDROID: Plug RGB cursor memleak 2011-03-17 19:35:57 +01:00
Johannes Schickel
42d3b8fcbd OPENGL: Fix compilation when USE_OSD is not defined. 2011-03-17 18:35:32 +01:00
Johannes Schickel
372af10a7b OPENGL: Update the OSD texture when visible while the output mode changes.
This fixes annoying graphics glitches, which occured sometimes when resizing
the Window.
2011-03-17 18:35:32 +01:00
Johannes Schickel
3c656916f1 OPENGL: Always properly set the overlay dimensions in loadGFXMode. 2011-03-17 18:35:32 +01:00
Johannes Schickel
019aa63b15 OPENGL: Fix "Original" mode by setting up the corret screen dimensions. 2011-03-17 18:35:18 +01:00