Commit Graph

3018 Commits

Author SHA1 Message Date
Johannes Schickel
901f2d5836 - EventDispatcher is no longer a singleton.
- Add "getEventDispatcher" method to EventManager.

svn-id: r42728
2009-07-25 01:01:22 +00:00
Johannes Schickel
ef71667403 - Adapt DefaultEventManager to use Common::ArtificialEventSource
- Adapt Keymapper to implement EventMapper interface

svn-id: r42727
2009-07-25 01:01:05 +00:00
Johannes Schickel
141ded3063 Change DefaultEventManager to use EventDispatcher.
svn-id: r42725
2009-07-25 01:00:37 +00:00
Johannes Schickel
dafd5d509b Made DefaultEventManager a subclass of EventObserver.
svn-id: r42723
2009-07-25 01:00:12 +00:00
Johannes Schickel
60e7faf9b6 Replaced "_artificialEventQueue" by an EventSource.
svn-id: r42722
2009-07-25 00:59:53 +00:00
Johannes Schickel
7905bbbc5b Got rid of EventManger::artificialEventQueue.
svn-id: r42719
2009-07-25 00:59:18 +00:00
Johannes Schickel
ba7e01ad7c Replace "EventProvider" class of the DefaultEventManager implementation with "Common::EventSource".
svn-id: r42718
2009-07-25 00:59:03 +00:00
Robin Watts
64ebb586cd Add ARM code implementation of Scaler2x, and enable it for the WinCE
port.

svn-id: r42645
2009-07-21 19:39:24 +00:00
Kostas Nakos
4bd5023d23 whoops, fix non-arm build (why? :-) )
svn-id: r42619
2009-07-19 16:10:55 +00:00
Kostas Nakos
c313396aac remove dead code leftover
svn-id: r42615
2009-07-19 14:46:11 +00:00
Robin Watts
caae53a25a New ARM code blending Smartphone landscale scaler for WinCE port. Seems to work
in my mockup - I don't have a smartphone resolution device to test it.

svn-id: r42516
2009-07-15 20:51:31 +00:00
Oystein Eftevaag
37c7cf951a Split the iPhone OSystem class up into several files
svn-id: r42479
2009-07-14 13:52:11 +00:00
Max Lingua
93c9194504 Reverted my previous change (fprintf vs fputs),
and properly implemented fputs for stderr case
on PS2 ;-)

svn-id: r42433
2009-07-13 00:55:30 +00:00
Max Lingua
a0c3754971 Split _eof vs. _err.
Latter defaults to false for now, there are hooks
for possible future implementation.

svn-id: r42428
2009-07-12 21:58:00 +00:00
Kostas Nakos
b0b12b60ed oops, fix props
svn-id: r42421
2009-07-12 16:40:10 +00:00
Kostas Nakos
d6fb5bb922 Apply patch 2802544: WINCE: Implement OSystem::engineInit to remove hack
svn-id: r42419
2009-07-12 15:59:27 +00:00
Max Lingua
55cda3aa25 ScummVM/PS2 bugs fixed by this commit:
- general file write corruption (eg. ScummVM.ini, etc.)

 - COMI specific save crash / corruption
   (added option in engines/scumm/saveload.cpp to disable
    thumbnails on PS2, as emergency fallback in case the
    fix should prove to be insufficient)

 - implemented _screenChange logic
   (fixes grabOverlay & COMI popup menu)

 - fixed higher pitch (chipmunk fx)

 - made NET IRXs optional to allow it to work on fat PS2 without net+hd

 - fixed cursor restore on RTL

 - added "." as R2 to skip single lines of dialog

 - added write cache

svn-id: r42404
2009-07-12 05:38:08 +00:00
Max Lingua
17b1c6d0ae I am re-commiting the FORCE_RTL as a temporary solution
in trunk, so that trunk/1.0rc is au pair feature-wise
with 0.13.x.

svn-id: r42403
2009-07-12 05:35:56 +00:00
Willem Jan Palenstijn
1462efb52d Recreate FSNode after calling checkPath since checkPath may
have created the directory the FSNode points to, invalidating
its cached metadata. In the future, it might be nice to add
a FSNode::rescan() function for this? This fixes #2793187 .

svn-id: r42357
2009-07-10 22:29:25 +00:00
Marcus Comstedt
415d0c5b03 Refresh the screen if pollEvent() is called without updateScreen() being called for a long time.
svn-id: r42139
2009-07-05 14:57:03 +00:00
Johannes Schickel
1431944294 Add GCC_PRINTF parameter.
svn-id: r42104
2009-07-04 18:54:06 +00:00
Max Horn
5188929825 cleanup
svn-id: r42040
2009-07-02 22:05:42 +00:00
Lars Persson
4b850a2c03 Move action inits to engineInit and engineDone callbacks.
svn-id: r42007
2009-07-01 20:02:33 +00:00
Johannes Schickel
beca7b16c4 Indentation fix.
svn-id: r41940
2009-06-29 12:33:47 +00:00
Torbjörn Andersson
d120ca8f5c For consistency, use upper-case letter in hex constant.
svn-id: r41938
2009-06-28 22:20:28 +00:00
Max Horn
4e17f7251d Fix PSP port
svn-id: r41934
2009-06-28 21:04:24 +00:00
Max Horn
d3ca315761 PS2: Don't overload fillScreen with a dummy, just use the inherited version
svn-id: r41933
2009-06-28 19:58:30 +00:00
Max Horn
bb28ed7b7a Changed OSystem::setWindowCaption to expect ISO LATIN 1 encoded input;
also intentionally broke WinCE and Symbian ports (in an obvious way that
can be undo by commenting out some text) -- hopefully this will get the
maintainers' attention during the next release cycle, unlike my emails

svn-id: r41932
2009-06-28 19:58:11 +00:00
Max Horn
531e7a8c78 Silenced the reamining warnings reported in patch #2684986 (gcc warnings with -DFORTIFY_SOURCE=2 -fstack-protector)
svn-id: r41930
2009-06-28 19:56:58 +00:00
Joost Peters
53c431dc97 change link order in .spec file to produce working binaries when building using the configure script
svn-id: r41929
2009-06-28 17:51:53 +00:00
Max Horn
b629b0cc78 Fixed NDS compilation when using older devkitpro versions (I accidentally broke that some time ago)
svn-id: r41786
2009-06-22 23:09:28 +00:00
Andre Heider
89599dd4ce split loadKeyboardPack(), fallback to the current dir when searching for packs, and free memory in the case of an error.
svn-id: r41705
2009-06-20 11:48:42 +00:00
Oystein Eftevaag
224e9840e1 Improved the iphone swipe input handling
svn-id: r41641
2009-06-18 18:57:17 +00:00
Andre Heider
b07a35e5af Moved the wiidist target to ports.mk, cleaned it up and automated meta.xml generation.
svn-id: r41619
2009-06-17 23:36:00 +00:00
Marcus Comstedt
95f02dd86f Detected games with different language or platform are now
no longer treated as duplicates, even if they have the same
target and directory.  Also, pass these parameters to the
ConfMan, so that the correct version of the game is started.

svn-id: r41504
2009-06-13 23:42:39 +00:00
Eugene Sandulenko
b9017519fa Rename KeyRemapper dialog to KeyMapper
svn-id: r41462
2009-06-12 08:00:26 +00:00
John Willis
8b1a6b1b6d Virtual Keyboard: Add some quick changes to the virtual keyboard to activate submit and cancel events from the default lowercase keyboards. This makes it possible to cancel and submit without having to call Common::KEYCODE_F7 again. Sorry for the nasty (temp) graphics.
svn-id: r41385
2009-06-08 20:31:49 +00:00
John Willis
2c55c49534 Virtual Keyboard: Fix slight error in earlier commit (failed to rename the XML to match the keyboard pack name).
svn-id: r41376
2009-06-08 15:45:03 +00:00
John Willis
e78edd8ef6 Virtual Keyboard: Move vkeybd.zip into packs folder and rename default keyboard pack to vkeybd_default(.zip) with updates to default-events.cpp. Also update vkeybdpack.py to use zlib compression if Python zlib is found. Update GP2X and GP2XWiz bundle files to get new vkeybd_default.zip.
svn-id: r41373
2009-06-08 14:47:38 +00:00
John Willis
4ff5a39f75 Virtual Keyboard: Add source files for the default keyboard pack seperate from ZIP archive (makes it easier to version the packs vkeybd.xml and track fixes) and add script to build keyboard pack(s) ZIP's from source files (based on /gui/themes/scummtheme.py).
svn-id: r41366
2009-06-08 09:10:12 +00:00
John Willis
e4a3219103 Virtual Keyboard: Fix default keyboard pack to return correct events for ENTER and !.
svn-id: r41363
2009-06-08 08:21:18 +00:00
John Willis
f788920af9 Virtual Keyboard: Add 320*240 support (in addition to 640*480) to the default keyboard pack. Also tweak vkeybd.xml to make it a little more like valid XML). New graphics still to come so excuse the ugly keyboard images for now.
svn-id: r41303
2009-06-06 20:36:12 +00:00
John Willis
d89fbd5b75 Virtual Keyboard: 'Ab'use the console font to get a font small enough to be usable on 320*240 virtual keyboards for display_area (GUI and BigGUI take up far too much space).
svn-id: r41300
2009-06-06 20:05:21 +00:00
Eugene Sandulenko
b0db1b5ed0 Implement FR#2507667: "GUI: Improve PopupWidget rendering / theme layouting".
- Split out label from PopUp widget
- Aligned every widget on all layouts so GUI becomes to look nice again
- Moved textHAlign to layout properties

svn-id: r41266
2009-06-06 17:52:44 +00:00
Eugene Sandulenko
c295f524b2 Implement feature request #1180217: "GUI: Mute option"
svn-id: r41233
2009-06-06 17:36:06 +00:00
John Willis
4ceec0dfbb Virtual Keyboard: Fix detection of v_align option when used in the keyboard definition.
svn-id: r41232
2009-06-06 17:21:50 +00:00
John Willis
c2a6ae1db3 GP2X: Small cleanup of control code and start to work on virtual keyboard support for the backend.
svn-id: r41230
2009-06-06 16:52:45 +00:00
John Willis
cf194d7bb7 GP2XWiz: Cleanup and start to work on virtual keyboard support for the backend.
svn-id: r41226
2009-06-06 15:41:17 +00:00
Max Horn
c0f3c2dbd1 Code formatting in the gp2xwiz backend
svn-id: r41167
2009-06-04 11:45:34 +00:00
John Willis
929ef3e4a8 Initial import of the GP2XWiz backend (based on the GP2X and SDL backends). Includes configure changes and one #ifdef to SDL backend. Also updates NEWS.
svn-id: r41156
2009-06-04 08:30:31 +00:00