Commit Graph
8933 Commits
Author SHA1 Message Date
Robert Biro 56208e0ca0 SDL: Added antialiasing support. 2011-10-09 18:13:05 +01:00
Tarek Soliman 43f45ce939 MAEMO: Change maintainer in debian/control and revise debian/changelog 2011-10-05 20:36:49 -05:00
Thierry Crozat e3d7606188 MACOSX: Detect system preferred language when starting bundle
This reimplement getSystemLanguage() for MacOS X because
setlocale() only works if the application is started from the terminal.
Instead we use CFBundleCopyPreferredLocalizationsFromArray() which
requires the translations to be listed in the bundle plist file (this had
already been committed). This fixes bug #3394080.
2011-10-03 23:53:22 +01:00
David-John Willis 6269dcdd3c GPH: Cleanup the format of code to match our Code Formatting Conventions.
* No functional changes.
2011-10-03 13:43:42 +01:00
David-John Willis 428105b2d3 GPH: Minor cleanup (and rename header from gph-sdl.h to gph.h). 2011-10-03 12:38:42 +01:00
David-John Willis fc551cf1ad GPH: Cleanup loadGFXMode(). 2011-10-03 12:37:46 +01:00
David-John Willis 69683b8ee0 SURFACESDL: Stop forceful resetting of _videoMode.hardware* when calling SurfaceSdlGraphicsManager::loadGFXMode() for the GPH backend.
* Note: This really should be cleaned up and all backends that have a custom loadGFXMode() really should setup their own _videoMode.hardware* settings. Assuming the overlay will always match the hardware is flawed logic on devices with fixed hardware screens.
* Just done for the GPH backend for now to cut down on the regresion risk to other backends near the 1.4.0 release cycle.
2011-10-03 12:24:25 +01:00
TomFrost dbd391bdfe WebOS: Add improvements suggested in pull req. 89.
The improvements in this commit are mostly code formatting, variable
abstraction, and in one case, a performance enhancement as calculations
were made a one-time fire rather than being run with every mouse move
event.
2011-10-01 23:03:15 -04:00
Johannes Schickel 5ea975ad0c SDL: Fix indentation. 2011-10-01 15:53:15 +02:00
Matthew Hoops 622e8d9da6 BACKENDS: Set alt+f4 to be used for quitting on Windows 2011-09-30 23:47:36 -04:00
TomFrost c958701c78 WebOS: Make right-clicks last longer.
While the right-click was working in most games, the
weapon-switching in Full Throttle wasn't registering the click.
Holding the button down for 50ms instead of immediately firing
the mouseup fixes the issue.
2011-09-25 14:13:47 -04:00
TomFrost 9467e4d8d4 WebOS: Reset package version to 0.
The package version must be incremented for each new WebOS
release, due to the device needing a new version to install.
Whenever the ScummVM version is raised, this can be reset to 0.
Changing to 0 in anticipation of ScummVM 1.4.0.
2011-09-25 12:15:38 -04:00
TomFrost d7abbb523c WebOS: Change to multitouch control scheme.
This is a near-rewrite of the WebOS event system to take
advantage of multitouch, with which all WebOS devices are
outfitted. This commit also marks full compatibility with the
HP TouchPad, or any future tablet device without a hardware
keyboard.

Controls:
 - Left click: Single-tap once
 - Right click: Put one finger on screen, single-tap another
 - Middle click: Put two fingers on screen, single-tap another
 - Menu: Swipe two fingers down
 - Show keyboard: Swipe two fingers up
 - Touchpad Mode:
   - Swipe two fingers to the right to toggle
   - When off (default) mouse will move to the location tapped
   - When on, mouse will move relative to its current position
 - Autodrag Mode:
   - Swipe three fingers to the right to toggle
   - When on (default), touching the screen and holding still
     for a half-second will initiate a left-mouse button hold.
	 Useful for games like COMI and FT.
   - When off (or on) a double-tap will initiate a left-mouse
     button hold.
 - Escape key: Swipe two fingers left
 - Space bar (pause): Swipe three fingers down
2011-09-25 12:06:06 -04:00
TomFrost f88191ae1e WebOS: Correct code convention and graphic errors.
This is a mass commit for the following items:
 - Conversion of mixed and unaligned spaces/tabs to tabs
 - Moved static globals in webos_events to class members
 - Corrected variable naming convention to use underscores
 - Added a constructor to WebOSSdlEventSource to initialize
   variables.
 - Changed SDL getWidth and getHeight calls to getOverlayWidth
   and getOverlayHeight to support larger form factors (such
   as the HP TouchPad).
 - Removed unnecessary static getMillis() declaration and
   changed existing code to use the built-in getMillis().
2011-09-24 17:21:24 -04:00
TomFrost c619c241de WebOS: Enable scalers and Darwin compatibility.
On Mac OS X (Darwin), there are minor differences in the 'sed'
and 'install' tools that require slightly different usage.  This
distinction has been made in webos.mk, made possible by an
additional flag in ./configure.
2011-09-24 15:12:27 -04:00
Johannes Schickel 325addff0c OPENGLSDL: Make fullscreen mode switching work again. 2011-09-23 19:45:44 +02:00
Tarek Soliman 9aad73be5e MAEMO: enable virtual keyboard and add keymapping 2011-09-22 22:07:45 -05:00
Tarek Soliman ac20718363 MAEMO: Enable/Disable clicking now displays OSD message 2011-09-22 22:07:45 -05:00
Tarek Soliman 912a040534 MAEMO: Zoom- is now mode selector for clicking 2011-09-22 22:07:45 -05:00
Tarek Soliman e04a8fdc3a MAEMO: fix task switcher window title 2011-09-22 22:07:45 -05:00
Tarek Soliman 5bb506fcff MAEMO: keymap zoom+ and zoom- keys to right and middle click 2011-09-22 22:07:45 -05:00
Tarek Soliman e50b2477d2 MAEMO: keymap fullscreen button 2011-09-22 22:07:44 -05:00
Tarek Soliman bafaeef24a MAEMO: initial keymapper that keymaps menu button 2011-09-22 22:07:44 -05:00
Tarek Soliman df649e08f8 MAEMO: fix configure script parms in debian/rules
Instead of explicitly passing everything, use the
new host=maemo configure capabilities
2011-09-22 22:07:44 -05:00
Tarek Soliman 09b9fbfba9 MAEMO: Add basic platform backend with stubbed keymapper 2011-09-22 22:07:44 -05:00
Tarek Soliman b044ae6b98 MAEMO: added comment to clarify debian/postinst 2011-09-22 22:07:44 -05:00
Tarek Soliman 07569e93c5 MAEMO: mention the BSD and LGPL parts in debian/copyright 2011-09-22 22:07:43 -05:00
Tarek Soliman 5e42715f05 MAEMO: Update maintainer history in debian/copyright 2011-09-22 22:07:43 -05:00
Tarek Soliman ac9cfacb98 MAEMO: add missing files to install to debian/rules 2011-09-22 22:07:43 -05:00
Tarek Soliman c001b537f5 MAEMO: cleanup debian directory 2011-09-22 22:07:43 -05:00
Tarek Soliman 30afd3caf8 MAEMO: bump debian version 2011-09-22 22:07:43 -05:00
Tarek Soliman 9633515e23 MAEMO: adding debian directory
This is the original debian directory from the 1.2.0 maemo port
2011-09-22 22:07:43 -05:00
Tarek Soliman 775f265554 MAEMO: removing obsolete patch 2011-09-22 22:07:43 -05:00
Bastien Bouclet 6284ccbc3d SDL: Restore OpenGL's previous state after displaying the overlay 2011-09-18 09:41:42 +02:00
Bastien Bouclet 65209a759e SDL: Restore OpenGL's previous state after displaying the overlay 2011-09-17 10:28:32 +02:00
Johannes Schickel 949b30dc36 OPENGL: Always set the unpack alignment when refreshing the textures.
This should hopefully make sure we are always having the correct alignment set
up. This might fix bug #3435655 "OpenGL display corruption with various Sierra
games Daily B.".
2011-11-09 18:57:13 +01:00
Willem Jan Palenstijn a784aeb187 BADA: Fix loop 2011-11-02 01:23:02 +01:00
Alyssa Milburn dc649a13a7 ANDROID: Actually create the savegame directory.
Not sure how this went missing from the commit.
(cherry picked from commit fed26146a8)
2011-10-28 12:11:50 +02:00
TomFrost 5c1f13251e Merge branch 'master' of git://github.com/nexapps/scummvm into nexapps 2011-09-03 14:23:14 -04:00
Bastien Bouclet 6ca044fea3 Myst3 : Mouse movement. Had to hack a bit the SDL backend ... 2011-09-03 11:35:18 +02:00
Bastien Bouclet bb0e833fa7 SDL: Fix copying the screen to the overlay
- glReadPixels did not use the correct overlay height
- The copied image was flipped vertically
- Screen change ID was not updated, which prevented the theme engine
from detecting screen resolution changes
2011-08-29 21:44:40 +02:00
Sven Hesse 58ab4cdab7 BADA: Strip trailing whitespace 2011-08-22 09:46:30 +02:00
Sven Hesse b406ba5884 BADA: Strip off windows-style line endings 2011-08-22 09:45:53 +02:00
Sven Hesse 911de33e89 BADA: Remove executable flag from files 2011-08-22 09:45:19 +02:00
Chris Warren-Smith c39b7491e6 BADA: Remove incorrect BADA defined check 2011-08-21 11:46:37 +02:00
Chris Warren-Smith 6fe7f032f6 BADA: Fix to restore audio upon mobile call completion 2011-08-21 16:39:09 +10:00
Chris Warren-Smith 5e472df212 BADA: Cleanup unused screen interface implementation 2011-08-21 16:39:09 +10:00
Chris Warren-Smith 43059b1878 BADA: Moved timer manager to backends/timer/bada 2011-08-21 16:39:09 +10:00
Chris Warren-Smith 68f2ec53f7 BADA: Fix to return correct integer values 2011-08-21 16:39:09 +10:00
Chris Warren-Smith f01882a6e0 BADA: Fix for menu based quit handling 2011-08-21 16:39:09 +10:00