Commit Graph

2987 Commits

Author SHA1 Message Date
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
Max Horn
3235fd3f65 cleanup
svn-id: r41150
2009-06-03 20:48:35 +00:00
Torbjörn Andersson
0999534749 The error() and warning() functions add ! and newline automatically. (I didn't
look at debug() and debugC(), since I'm really bored with this now. :-)

svn-id: r41061
2009-05-31 10:02:16 +00:00
Filippos Karapetis
ca330071be Fixed compilation error
svn-id: r41037
2009-05-30 17:06:30 +00:00
Max Horn
fb79b18571 Changed SaveFileManager methods to take Common::String params (instead of char pointers)
svn-id: r41000
2009-05-29 14:38:22 +00:00
Andre Heider
d89f5cc9b9 Changes for the latest libfat update.
svn-id: r40950
2009-05-27 18:47:53 +00:00
Lars Persson
a017594ebd Added hardwarekeys.cpp to makefile
svn-id: r40895
2009-05-25 20:46:18 +00:00
Johannes Schickel
c97a1aed74 Also strip trailing whitespaces in C and Objective-C source files. (Seems I forgot that we got those too :-P)
svn-id: r40872
2009-05-24 21:53:29 +00:00
Johannes Schickel
b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Eugene Sandulenko
b874992309 Attempt to bring event recoredr to life. Still crashes on exit, though.
svn-id: r40775
2009-05-21 22:23:04 +00:00
Marcus Comstedt
f583a10ec9 Workaround for shells that treat an empty list in for as a syntax error...
svn-id: r40758
2009-05-21 12:46:39 +00:00
Marcus Comstedt
2bf25c3865 Micro-optimization: Don't re-strip plugins which are not modified.
svn-id: r40757
2009-05-21 11:49:47 +00:00
Marcus Comstedt
234828825a Ack, can't use something set with := in the dependency section. *sigh* New try.
svn-id: r40753
2009-05-21 10:14:05 +00:00
Marcus Comstedt
b973169a3d Added proper dependencies for the "plugin_dist" target.
svn-id: r40751
2009-05-21 09:56:55 +00:00
Max Horn
65b5d31814 COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses)
svn-id: r40725
2009-05-19 11:42:14 +00:00
Eugene Sandulenko
bc6649ba45 Fix bug #2790461: "WINCE: Compilation broken"
svn-id: r40624
2009-05-16 11:58:53 +00:00
Max Horn
a3efc5611c Fixed various GCC 4.2 warnings, among them an actual longstanding bug (3 years :) in the quicktime midi code
svn-id: r40577
2009-05-14 23:09:04 +00:00
Johannes Schickel
b9ac179b2e Silence another g++ 4.4 warning.
svn-id: r40527
2009-05-13 17:33:58 +00:00
Max Horn
e3d79c58f0 Make data that is only locally used static
svn-id: r40516
2009-05-12 23:31:02 +00:00
Eugene Sandulenko
ca7cf951a7 Allow ESC button also be assigned in keymapper.
svn-id: r40511
2009-05-12 20:40:15 +00:00
Eugene Sandulenko
ef1a8c8677 Give hints for better automapping
svn-id: r40500
2009-05-12 19:00:24 +00:00
Filippos Karapetis
968aec7627 Synced WinCE SDL backend with the changes in commit #40226. Hopefully, this will fix bug #2790461 - "WINCE: Compilation broken"
svn-id: r40475
2009-05-12 08:27:06 +00:00
Eugene Sandulenko
0fe9cab48a Fix bug #2595364: "Virtual Keyboard: number keys not working"
svn-id: r40462
2009-05-11 18:40:59 +00:00
John Willis
911556a824 This is the source for the MMUHACK 2.4 kernel module is included with the GP2X backend. This is the code used to build the mmuhack.o module that ships with the GP2X binaries.
-- line, and those below, will be ignored--

A    gp2x/mmuhack
AM   gp2x/mmuhack/flush_uppermem_cache.s
AM   gp2x/mmuhack/flush_uppermem_cache.h
AM   gp2x/mmuhack/mmuhack.c
AM   gp2x/mmuhack/readme.txt
AM   gp2x/mmuhack/Makefile

svn-id: r40449
2009-05-11 10:15:38 +00:00
Eugene Sandulenko
d82c78c4a3 Fix compilation
svn-id: r40447
2009-05-11 09:13:43 +00:00
Eugene Sandulenko
79777a0076 Increase HW key ID size so all modifiers fit too.
svn-id: r40446
2009-05-11 09:04:04 +00:00
Eugene Sandulenko
d41db6ae87 Define hardware keys for 101 keyboard in SDL backend.
TODO: speedup initialization. Now it is quite slowww.

svn-id: r40445
2009-05-11 09:01:54 +00:00
Oystein Eftevaag
c5189faf2b Fixed some warnings
svn-id: r40444
2009-05-11 06:20:51 +00:00
Oystein Eftevaag
6d56924bb1 iPhone fixes for compiling with the unofficial sdk
svn-id: r40440
2009-05-10 22:15:33 +00:00
Eugene Sandulenko
665e472ef0 Keymapper:
- Introduced new OSystem method getHardwareKeySet() with default implementation
- Moved global keymap creation to base/main.cpp
- Moved GUI keymap creation to gui/GuiManager.cpp
- Added various safeguard checks to various keymapper methods

Now it is really possible to add keymapper to all backends.

svn-id: r40439
2009-05-10 22:05:04 +00:00
Eugene Sandulenko
c7e5cc2935 Actually save keymap after remapping
svn-id: r40429
2009-05-10 18:04:47 +00:00
Eugene Sandulenko
7d79a092b5 Store global keymaps into a separate section
svn-id: r40427
2009-05-10 17:33:31 +00:00