Commit Graph

5007 Commits

Author SHA1 Message Date
anotherguest
775a8e6f8d Symbian:Update makefiles and installation files. 2011-10-11 08:53:00 +02:00
David-John Willis
a27c2b401c OPENPANDORA: Cleanup the format of code a little to match our Code Formatting Conventions.
* No functional changes.
* Automated astyle pass.
2011-10-10 21:18:07 +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
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 fed26146a855fc79784c3df0ae3a1bf068fc2722)
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
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
Chris Warren-Smith
7836a0ff20 BADA: Hardcoded file system paths now defined as macros 2011-08-21 16:39:08 +10:00
Chris Warren-Smith
028a67012d BADA: Cleanup unused namespace declarations 2011-08-21 16:39:08 +10:00
Chris Warren-Smith
a31b74f3e9 BADA: Code formatting and style changes following review 2011-08-21 16:39:08 +10:00
Chris Warren-Smith
a3e070de6f BADA: Review style changes. Fix for image skew in some games 2011-08-21 16:39:00 +10:00
Chris Warren-Smith
b1e3da6e27 BADA: Review style changes. Cursor can now be positioned on top screen row 2011-08-21 16:39:00 +10:00
Chris Warren-Smith
c33bb63cbd BADA: Increased audio thread priority to avoid sound skipping in some games 2011-08-21 16:39:00 +10:00
Chris Warren-Smith
2e77b97b19 BADA: Code formatting; replace tab before else with space 2011-08-21 16:38:53 +10:00
Chris Warren-Smith
ad58d2feaf BADA: Fix for lockup when game thread fails to respond to quit event 2011-08-21 16:38:53 +10:00
Chris Warren-Smith
e748ea68a5 BADA: Prevent end-of-file state causing err() returning true 2011-08-21 16:38:53 +10:00
Chris Warren-Smith
812e4498ec BADA: Fix formatting and non bada host compile error 2011-08-21 16:38:53 +10:00
Chris Warren-Smith
46a8304b73 BADA: Allow clean shutdown when encountering an error 2011-08-21 16:38:53 +10:00
Chris Warren-Smith
bf11cf0e01 BADA: Increased cache size for slightly improved startup times 2011-08-21 16:38:53 +10:00
Chris Warren-Smith
bd028d4167 BADA: Further control UI enhancements 2011-08-21 16:38:52 +10:00
Chris Warren-Smith
533dc5f8e4 BADA: Camera button can now set shortcuts 2011-08-21 16:38:42 +10:00
Chris Warren-Smith
fecce484ce BADA: Renamed the customised vkeybd layout to vkeybd_bada 2011-08-21 16:38:10 +10:00
Chris Warren-Smith
59739a7a0e BADA: Initial BADA port implementation 2011-08-21 16:37:06 +10:00
Johannes Schickel
dd0ad3cba4 SDL: Fix typo. 2011-08-18 23:18:20 +02:00
Johannes Schickel
b8dcd9a25e OPENGL: Fix aspect ratio correction behavior.
Now only 320x200 and 640x400 will result in aspect ratio correction to be used
if the user requested it. This should fix some strechting in Myst/Riven.
2011-08-12 04:06:54 +02:00
Johannes Schickel
a77c29327e OPENGLSDL: Do not change requested window size on resize.
This should help fix a lock up on window managers, which will try to force the
ScummVM window to a certain size, by just requesting the same size over and
over again.

Now we get black borders even in windowed mode when the aspect of the window
does not match the aspect of the game screen (and we are not in "normal" mode),
but that is usually the same in video players too, so shouldn't be too bad.
2011-08-12 03:46:32 +02:00
Paul Gilbert
7ef6c73d61 SDL: Previous commit broke compilation on MSVC
Including cursorman.cpp rather than cursorman.h resulted in the CursorManager class being present in multiple .obj files, resulting in linking errors.
2011-08-11 22:30:46 +10:00
Johannes Schickel
0f6e231356 SDL: Implement a hellish workaround to fix bug #3368143.
The bug in question is "SDL/OpenGL: Crash when switching renderer backend". To
fix it I added a stupid graphics state copying to the SDL backend, in case the
graphics manager is switched. The implementation of this is considered a pure
workaround, no one should ever do it like this in reality... I just want to
die when looking at this... Not sure why I actually committed it.

Anyway it at least makes the OpenGL backend testable for those who do not
want to fiddle with the config file directly.
2011-08-11 04:28:44 +02:00
Doron Rosenberg
28201a1e9d WebOS: not handling keyboard dismiss in keydown breaks things 2011-08-10 17:44:48 -07:00
Johannes Schickel
930f626dab TIMER: Add a comment to explain why we remove the name in removeTimerProc. 2011-08-10 18:42:19 +02:00
Johannes Schickel
c443f113ed TIMER: Remove all names associated with a callback, since all callbacks are removed.
This makes the name removal consistent with the timer proc removal.

It seems we only allow a specific timer proc being added once anymore though.
So this should not change too much right now.
2011-08-10 18:34:08 +02:00
Johannes Schickel
cea06991eb TIMER: Remove name of callback in removeTimerProc.
This should fix #3389673 "LOOM: CD-Version crashes at start". It also fixes the
same error showing up for me in Monkey CD.

The doc changes in 4c7958450f claims the name is used for the event
recorder, but as far as I can tell it is not used right now. Thus depending on
how it is used the behavior of SCUMM removing and adding the same timer aagain
*might* cause problems.

In any way we need to remove the name in removeTimerProc, else RTL + launching
the same game again would be broken too.
2011-08-10 18:22:25 +02:00
Johannes Schickel
a72ab2f448 BACKENDS: Fix compilation. 2011-08-09 14:56:38 +02:00
Fabio Battaglia
3fe81198ff DINGUX: hopefully fix the cursor palette problem
The port wasn't keeping track of the CursorPalette feature
correctly. This should fix it for good.
2011-08-09 14:06:31 +02:00
Fabio Battaglia
521dfaa980 DINGUX: fix compilation 2011-08-09 11:19:18 +02:00
Johannes Schickel
06b95b3543 OPENGL: Add include guard to gltexture.h 2011-08-09 02:14:12 +02:00
Filippos Karapetis
ef695cb7dd OPENGL: Added a temporary hack to fix compilation under Windows, after the latest changes to the SDL interface layer 2011-08-09 02:24:59 +03:00
Johannes Schickel
fd61a83bb5 SDL: Slight clean up in the surface based graphics manager. 2011-08-09 00:04:19 +02:00
Johannes Schickel
04ab0e58b4 SDL: Take advantage of SdlGraphicsManager.
This gets rid of the hacks, where SdlEventSource added events with custom type
numbers to pass SDL_VIDEOEXPOSE and SDL_VIDEORESIZE to the graphics manager.

Furthermore it get rids of the uninituitive and hard to trace way of assigning
the proper mouse coordinates to mouse related events. Formerly it passed the
real screen coordinates through the even dispatching api to the graphics
manager (at least hopefully ;-) and let that handle creating a new event with
the proper coordinates. Now instead SdlEventSource handles the proper
coordinate setup itself.

Since this is a behavior change and I can not test all the SDL based small
devices ports this commit might break compilation for them and more serve it
might also break mouse position behavior. If any of that occurs I am sorry
about it.
2011-08-09 00:03:11 +02:00
Johannes Schickel
0630a88a04 SDL: Let SDL based graphics managers inherit from SdlGraphicsManager.
This also adapts port I can not test (not even the compilation). So if this
breaks anything I am sorry about it.
2011-08-09 00:03:11 +02:00
Johannes Schickel
dedc74abfa SDL: Add a new base class for graphics managers utilizing SDL. 2011-08-09 00:03:10 +02:00
Johannes Schickel
222064cdb6 BACKENDS: Add PaletteManager interface as comments to GraphicsManager.
This should be a little more comfortable about finding out what's needed to
implement a new graphics manager.
2011-08-09 00:03:10 +02:00
Christoph Mallon
a5a8833c05 COMMON: Add DisposablePtr<T>, which replaces many repeated implementations of a dispose flag. 2011-08-07 15:19:08 +02:00
Christoph Mallon
c21f87836e PSP: Pass the stream as reference to PngLoader. 2011-08-07 15:19:08 +02:00
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
Christoph Mallon
bf580e6e6b JANITORIAL: Add missing NL at EOF. 2011-08-07 13:53:33 +02:00
Littleboy
f702cb5695 BACKENDS: Implement notifyError() and clearError() for Win32TaskbarManager 2011-08-06 15:26:49 -04:00
Bastien Bouclet
2daf69267d SDL: Don't rely on SDL keycodes and OSystem keycodes being the same.
SDL 1.3 shuffles keycodes around ...
2011-08-06 15:52:02 +02:00
Eugene Sandulenko
baf65bc872 RECORDER: Added stub for delayMillis() processing 2011-08-06 11:31:12 +01:00
Eugene Sandulenko
2fa17c44ed JANITORIAL: Remove SVN keywords 2011-08-06 11:30:47 +01:00
Eugene Sandulenko
4c7958450f TIMER: Implemented checks for duplicated timers 2011-08-06 11:30:44 +01:00
Eugene Sandulenko
78f1ea7690 OSYSTEM: extended installTimerProc() with timer ID parameter 2011-08-06 11:28:35 +01:00
Doron Rosenberg
82a3cc0ac0 WebOS: fix indentation, make sure to return true when opening the keyboard 2011-08-04 10:50:19 -07:00
Doron Rosenberg
0ceb7b4ccd WebOS: touchpad virtual keyboard 2011-08-04 10:44:06 -07:00
Oystein Eftevaag
7e7e606919 MACOSX: Turned update support off by default, simplified and cleaned the pull request 2011-08-02 21:00:57 -04:00
Oystein Eftevaag
9044e17499 Merge pull request #52 from CeRiAl/macosx-sparkle
MACOSX: Add Sparkle support
2011-08-02 16:09:58 -07:00
Doron Rosenberg
3126b06600 WebOS: touchpad work to show menu 2011-08-01 12:01:22 -07:00
CeRiAl
cede1a3f5c WINCE: Update port specific README 2011-07-20 02:58:12 +02:00
CeRiAl
bc47ce1fef WINCE: Change keymapping for AGI and Simon 1 & 2 2011-07-20 02:14:38 +02:00
CeRiAl
822a2ef3dc WINCE: Move initialization of TimerManager to overloaded init() method. 2011-07-20 02:14:34 +02:00
CeRiAl
edfd998642 WINCE: Update port specific README 2011-07-20 02:14:30 +02:00
CeRiAl
efd9dff556 MACOSX/UPDATES: Add comments which describe what Sparkle is 2011-07-19 22:10:13 +02:00
CeRiAl
32a2026676 MACOSX/UPDATES: Fix compilation for Mac OSX 10.4+ 2011-07-19 21:35:38 +02:00
CeRiAl
f60d6f7a97 MACOSX/UPDATES: Streamline UpdateManager
Moved UpdateManager related code from backends/modular-backend.* to
common/system.*. Added switch --enable/disable-updates to be able
to disable updates support generally.
2011-07-19 21:35:37 +02:00
CeRiAl
828f1884b4 MACOSX: Add Sparkle support 2011-07-19 21:33:01 +02:00
Littleboy
da60ff3ded JANITORIAL: Fix MSVC warnings
- Conversion from double to float
 - Unary minus operator applied to unsigned type
 - ARRAYSIZE redefinition
2011-07-19 14:12:07 -04:00
Marcus Comstedt
5b2e90504c DC: Directory handling fixes
* Include directory nodes in FSList sent to detectGames
  - This is required for correct detection of toon.
* Don't add / at the end of directories found in getChildren
  - It looks like that behaviour was removed from posix-fs a long
    time ago, and now there's apparently code depending on directories
    _not_ having a / at the end of their name...
* Treat games detected in subdirs as duplicates
  - This is a workaround for a detection bug in toon; it will incorrectly
    detect the game in the MISC subdirectory as well.
* Don't avoid directories called "install" in the game selector
  - I don't know if the original reason for ignoring "install" is still
    valid, but the code for doing do so was broken anyway.
2011-07-17 20:59:07 +02:00
CeRiAl
6092b324f3 WINCE: Change default values for "FM_high_quality" & "high_sample_rate"
Changed the default values from "false" to "true" as current devices are
fast enough to handle this. It's still possible to change the values to
"false" if the device isn't fast enough.
2011-07-15 01:39:21 +02:00
Matthew Hoops
5825ccc168 BACKENDS: Fix spelling of 'Mac OS X' 2011-07-13 09:47:03 -04:00
Matthew Hoops
554dda7008 BACKENDS: Fix compilation on case-sensitive Mac OS X 2011-07-13 09:43:16 -04:00
Matthew Hoops
708f7739eb BACKENDS: Fix a typo 2011-07-13 09:30:15 -04:00
Matthew Hoops
7f58d62ba1 BACKENDS: Remove unneeded define check 2011-07-13 09:28:53 -04:00
Matthew Hoops
cde3a3d9a0 BACKENDS: Rename appMenu_osx.* to appmenu_osx.* 2011-07-13 09:26:50 -04:00
Matthew Hoops
19bb69c7ed BACKENDS: Fix compilation on Mac OS X without translation support 2011-07-13 09:20:34 -04:00
Ismail Khatib
648d127cca Merge pull request #51 from CeRiAl/macosx-appmenu-i18n
MACOSX: Add i18n support for Mac OSX application menu
2011-07-12 15:23:40 -07:00
CeRiAl
5a42f2901f MACOSX: Fix application menu i18n compilation for Mac OSX 10.4+ 2011-07-12 00:47:02 +02:00
David-John Willis
c5a945b566 OPENPANDORA: Add explicit location for 'themepath' to the loader script. 2011-07-08 13:21:36 +01:00
David-John Willis
0ab63af113 OPENPANDORA: Change bundle rule to make a SquashFS compressed .PND. 2011-07-07 21:48:42 +01:00
David-John Willis
b27e6ac1dc OPENPANDORA: Update support scripts that create .PND distribution file. 2011-07-07 21:43:08 +01:00
David-John Willis
5757fc577e GPH: Add note to the README stored with 'mmuhack.o' for the GP2X
explaining why the binary object is in the source tree.
2011-07-07 17:42:24 +01:00
dhewg
e3558e56d7 PS3: Fix comment 2011-07-07 15:23:14 +02:00
CeRiAl
b00586df82 MACOSX: Add i18n support for Mac OSX application menu 2011-07-07 01:07:06 +02:00
Bastien Bouclet
0b1cb0ebbb SDL: Remove an unnecessary memset 2011-07-02 22:14:13 +02:00
Bastien Bouclet
a360a64dd7 SDL: Set a black palette by default.
This fixes white flashing screens when using SDL 1.3.
SDL 1.3 palettes are all white by default, whereas
SDL 1.2 palettes are all black ...
2011-07-02 22:01:45 +02:00
Johannes Schickel
23dd778a16 BACKENDS: Fix PS2 backend compilation for real. 2011-07-01 23:36:35 +02:00
Johannes Schickel
12f38459e4 BACKENDS: Fix compilation of PS2 backend. 2011-07-01 23:10:48 +02:00
CeRiAl
669db0e15d WINCE: Update port specific README 2011-07-01 01:25:11 +02:00
Ori Avtalion
aa0f307e06 ALL: Require DECLARE_SINGLETON to be used in the Common namepsace
Silences the clang warning:

  static data member specialization of '_singleton' must
  originally be declared in namespace 'Common'; accepted as a C++0x
  extension [-Wc++0x-extensions]

Wrapping "namespace Common {}" around the macro assignment causes clang
to complain about a spurious semicolon, and removing the semicolon at
the end of the macro causes some editors to misbehave.

Changing the requirement of using the macro in one namespace (the
global) to another (Common) seems a small price to pay to
silence a warning.
2011-06-30 22:41:41 +03:00
Travis Howell
eae06884b6 WIN32: Add option to disable the console window, keeping the current default of enabling the console window. 2011-06-30 11:17:58 +10:00
Littleboy
b0ee7bbb7e BACKENDS: Implement Win32TaskbarManager::setCount() 2011-06-29 11:07:23 -04:00
Littleboy
c32a3ea0d3 BACKENDS: Fix warnings in Win32TaskbarManager 2011-06-28 23:40:31 -04:00
Littleboy
2d2ee68d2d BACKENDS: Update WindowsFilesystemNode::getChildren() to honor the hidden parameter (FR #1726611)
Hidden folders (such as the recycle bin or temporary hidden folders) will no longer be visible in the file/folder browser (as is the case on the Posix and related backends)
2011-06-28 01:58:09 -04:00
CeRiAl
0a9b9fe08f WINCE: Added option to disable panel toggling with double tap on top of screen 2011-06-27 02:22:24 +02:00
Littleboy
7983b1cce3 BACKENDS: Add special Win32 path to set SDL window icon
We bypass SDL_WM_SetIcon and setup the window icon using the embedded icon, with the default path as a fallback.
This allows us to use an antialised icon with alpha transparency (which the default included icon doesn't have) on Windows XP and later
2011-06-26 20:13:35 -04:00
Littleboy
3931de4235 BACKENDS: Fix running on pre-Windows 2000 operating systems
The Windows taskbar manager uses VerSetConditionMask and VerifyVersionInfo to check for Windows 7 or later
before enabling the taskbar integration features. Those functions did not appear until Windows 2000, so we
have to check for them at runtime.
2011-06-26 16:02:33 -04:00
CeRiAl
f300c172f0 WINCE: Fix timer manager 2011-06-26 03:44:56 +02:00
athrxx
b60d864e6b TASKBAR: initialize _taskBar with NULL in constructor 2011-06-25 16:59:35 +02:00
CeRiAl
eb8db120b2 WINCE: Hide toolbar when returning to game list 2011-06-25 01:06:41 +02:00
Littleboy
b3d8e426c2 WII: Allow use of abort in OSystem_Wii class 2011-06-23 11:32:39 -04:00
Littleboy
eecd61e33d ANDROID: Allow use of abort() in JNI class 2011-06-23 11:31:54 -04:00
Littleboy
712af61f76 BACKENDS: Silence warnings when compiling Win32TaskbarManager with mingw and add CLSID_ShellLink definition 2011-06-23 08:52:54 -04:00
Eugene Sandulenko
627372a67c Merge pull request #40 from bgK/ps3
PS3 Port
2011-06-23 01:34:05 -07:00
Julien
7fa3a8bbff BACKENDS: Add better error handling to OSystem_Win32::getDefaultConfigFileName() 2011-06-23 15:11:38 +08:00
Julien
8a5bda72cc BACKENDS/GRAPHICS: Silence non zero-terminated terminated buffers warnings by initializing the buffers to 0 2011-06-23 15:11:37 +08:00
Julien
c52cc84912 AUDIO/BACKENDS/GRAPHICS: Add error checks after allocating memory with malloc 2011-06-23 15:11:36 +08:00
Littleboy
2b01778e58 BACKENDS: Fix compilation with Unity
- Replace UNIX by POSIX
 - Move unity include to cpp file
 - Add exception for unistd.h and time.h headers
2011-06-22 20:52:59 -04:00
Littleboy
d9ede873d5 BACKENDS: Add missing enumeration value and GUID for compilation under older versions of mingw64 2011-06-22 20:22:26 -04:00
Eugene Sandulenko
33ce6e60fd Merge pull request #26 from Littleboy/taskbar
Taskbar integration
2011-06-22 13:35:37 -07:00
Bastien Bouclet
f262d8932f PS3: Keep updating the screen while the XMB is open to prevent it from freezing 2011-06-22 19:57:44 +02:00
Bastien Bouclet
6633a06519 PS3: Map joypad buttons to features. Enable the virtual keyboard. 2011-06-22 19:57:44 +02:00
Bastien Bouclet
8bd78b6325 PS3: Add a SDL 1.3 mixer, for use with the PS3 backend.
SDL 1.3 allows converting from the S16SYS sound format to F32MSB, which is required by the PS3.
2011-06-22 19:57:38 +02:00
Bastien Bouclet
11cfa0d357 PS3: Initial version of the PlayStation 3 backend 2011-06-22 19:51:02 +02:00
Bastien Bouclet
872d672c33 SDL: Allow building with current SDL 1.3hg 2011-06-22 19:44:46 +02:00
Johannes Schickel
2cc721760f WIN32: Properly setup priority in Win32 resource archive code. 2011-06-20 17:00:36 +02:00
Max Horn
88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Johannes Schickel
80b336f796 SDL: Replace some SdlGraphicsManager uses with SurfaceSdlGraphicsManager. 2011-06-19 20:20:13 +02:00
Johannes Schickel
1c21232416 SDL: Rename SdlGraphicsManager to SurfaceSdlGraphicsManager to reflect its purpose.
Hopefully I catched all uses of the old name in our ports...
2011-06-19 20:10:21 +02:00
Johannes Schickel
2067bec18e SDL: Remove left over traces from the time the SdlEventSource subclassed DefaultEventManager. 2011-06-19 19:35:27 +02:00
Johannes Schickel
f9f16ee358 OPENGLSDL: Add FIXME about desktop resolution retrieving. 2011-06-19 19:12:34 +02:00
Johannes Schickel
e0eb86826e OPENGL: Clarify OSD rect color in a comment. 2011-06-19 19:03:10 +02:00
Johannes Schickel
34f8b489d2 SDL: Formatting fixes. 2011-06-19 18:49:02 +02:00
Johannes Schickel
f28e134247 OPENGL: Formatting fixes. 2011-06-19 18:48:30 +02:00
Johannes Schickel
735604c2fd OPENGLSDL: Use String::format instead of sprintf. 2011-06-19 18:31:34 +02:00
Johannes Schickel
d316099f35 OPENGLSDL: Formatting fixes. 2011-06-19 18:27:18 +02:00
Alyssa Milburn
0d025153e0 ANDROID: Fix kFeatureCursorPalette. 2011-06-18 10:30:21 +02:00
Max Horn
3599d07087 SDL: Make logMessage() implementation independent from parent class(es) 2011-06-17 20:50:38 +02:00
Max Horn
7607a077fe NULL: Add logMessage() implementation 2011-06-17 20:50:38 +02:00
Max Horn
263e23bd81 N64: Add logMessage() implementation 2011-06-17 20:50:37 +02:00
Max Horn
c06ddf2e57 IPHONE: Add logMessage() implementation 2011-06-17 20:50:37 +02:00
Max Horn
50896e6029 WII: Add logMessage() implementation 2011-06-17 20:50:37 +02:00
Max Horn
4aa66fa5aa PSP: Make logMessage() implementation independent from parent class(es) 2011-06-17 20:50:30 +02:00
Alyssa Milburn
a8049f708b BACKENDS: Mono output devices are OK on Symbian. 2011-06-17 19:47:32 +02:00
Julien
154c584d44 BACKENDS: Enhance Win32TaskbarManager::getIconPath()
We now look for an iconsPath configuration variable with the path to the icons folder.
In addition, we look if there is an "icons" subfolder (useful when using extrapath to store icons)
2011-06-16 16:09:20 -04:00
Julien
149a8f8f11 BACKENDS: Fix compilation of Win32TaskbarManager with mingw 2011-06-16 14:27:22 -04:00
Julien
599695bc4f COMMON: Change TaskbarManager to the new module slot interface 2011-06-16 14:27:06 -04:00
Julien
5dff6c2c08 BACKENDS: Allow use of excluded functions needed by Win32TaskbarManager 2011-06-16 14:23:30 -04:00
Littleboy
9614834548 BACKENDS/COMMON/GUI: Remove complete support for TaskbarManager when taskbar integration is not enabled 2011-06-16 14:23:28 -04:00
Littleboy
f843b3f280 BACKENDS: Fix Win32TaskbarManager compilation with Mingw
It was missing an include for scummsys.h and so couldn't find the defines
2011-06-16 14:23:23 -04:00
Littleboy
1e3603b937 BACKENDS: Add define for Unity-specific taskbar code 2011-06-16 14:23:18 -04:00
Littleboy
fdada1dbff BACKENDS: Remove UnityTaskbarManager::setOverlayIcon()
Unity is not going to provide a way to set a custom overlay icon
(the emblem API is being replaced by a simple urgent state)
2011-06-16 14:23:15 -04:00
Littleboy
5649ddaf10 BACKENDS: Move Win32TaskbarManager init code to constructor 2011-06-16 14:23:14 -04:00
Littleboy
e1dc9cdc0b BACKENDS: Add support for count status to TaskbarManager
- Show the number of found games when using the massadd dialog
2011-06-16 14:23:12 -04:00
Littleboy
6c14d8a950 BACKENDS: Integrate glib main event loop
- Unity needs a glib event loop to dispatch events.
 - Cleanup whitespace and indentation
2011-06-16 14:22:51 -04:00
Littleboy
984e1968bc BACKENDS: Add WIP Unity support 2011-06-16 10:38:40 -04:00
Littleboy
c3d9c6afa5 BACKENDS: Add use flag for taskbar integration 2011-06-16 10:38:34 -04:00
Littleboy
a523ade332 BACKENDS: Add stubs for unity taskbar class 2011-06-16 10:37:37 -04:00
Littleboy
2348eeed4c BACKENDS: Add taskbar integration compat header for MingW 2011-06-16 10:36:39 -04:00
Littleboy
cd7822a29f BACKENDS: Add engine-level accessor for TaskbarManager 2011-06-16 10:35:24 -04:00
Littleboy
0fd56852b6 BACKENDS: Add support for custom game icon (recent items list and icon overlay) 2011-06-16 10:30:31 -04:00
Littleboy
c0ec09ac66 BACKENDS: Implement Win32 taskbar progress state and recent list 2011-06-16 10:30:06 -04:00
Littleboy
f67975a487 BACKENDS: Add win32 stubs for taskbar integration 2011-06-16 10:29:47 -04:00
Littleboy
71e457783e BACKENDS: Add generic TaskbarManager class to handle taskbar integration 2011-06-16 10:26:51 -04:00
CeRiAl
2ff4380c55 WINCE: Add support for language auto-detection in WinCE 2011-06-14 22:42:16 +02:00
D G Turner
de96474672 BACKENDS: Fix Compilation. 2011-06-14 00:48:59 +01:00
D G Turner
8c485fe2da BACKENDS: Improve SDL Mixer Output Format Checks and Reporting.
This commit corrects a number of minor issues and adds warnings
for when the desired output parameters given to SDL_OpenAudio()
don't match the obtained.
2011-06-14 00:15:50 +01:00
Thierry Crozat
06bbb57ad7 I18N: Make many more GUI MessageDialog strings translatable 2011-06-13 22:19:18 +01:00
CeRiAl
781132aabc WINCE: Some cleanup (public vs. private scopes), fix freelook 2011-06-11 23:29:52 +02:00
David-John Willis
1c1786b16f OPENPANDORA: Use the SDL plugin provider not the main POSIX one. 2011-06-11 17:08:54 +01:00
David-John Willis
4fcd65d885 OPENPANDORA: Start to cleanup the backend and move controls into remapkey.
* Work in progress.
2011-06-11 17:07:21 +01:00
David-John Willis
7878c1ec49 GP2X: Remove remnants of the old GP2X backend.
The GP2X is now folded into the GPH backend (as the GP2X device).
2011-06-11 17:07:08 +01:00