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.
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.
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.
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
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().
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.
An "evil" fish in Geisha's "Diving" minigame.
Controls an animation stored within an ANI file.
Handles ANI files, describing animations. Used in hardcoded "actiony" parts of gob games, like Geisha's minigames.
Handles DEC files, describing "decals" (backgrounds). Used in hardcoded "actiony" parts of gob games, like Geisha's minigames.
Handles RXY files, containing relative sprite coordinates. Used in hardcoded "actiony" parts of gob games, like Geisha's minigames.
…code This includes kCreateTextBitmap, and moves all of the text drawing code into the new GfxText32 class
The analysis and fix are from m_kiewitz.
These have been replaced by "make devtools" and are unused.
This adds debug output for graphics object access to help with investigation of bug #2969913 i.e. "NIPPON: Katana graphics not shown (regression)" as well as cleanup of whitespace in this class.