Commit Graph

3107 Commits

Author SHA1 Message Date
Jody Northup
f7dd1c15ed renamed ENABLE_16BIT define to more accurate ENABLE_RGB_COLOR
svn-id: r41696
2009-06-20 05:23:09 +00:00
Jody Northup
704386d3b0 Removed replaced Graphics::ColorMode enum type with factory methods for Graphics::PixelFormat.
svn-id: r41662
2009-06-19 09:28:55 +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
Jody Northup
f55419ee45 OSystem_SDL::GetBestFormat will no longer return modes greater than that which hardware supports.
svn-id: r41606
2009-06-17 10:03:59 +00:00
Jody Northup
db9cfc6f96 Corrected oversight in earlier ifdef simplification which leads to compilation failure if ENABLE_16BIT is not defined.
svn-id: r41581
2009-06-16 09:15:06 +00:00
Jody Northup
cb56169a27 Declared getBestFormat in OSystem base class, and implemented in SDL backend.
svn-id: r41580
2009-06-16 09:04:37 +00:00
Jody Northup
fb96e826f2 Simplified cursor related 16-bit code.
svn-id: r41577
2009-06-16 05:33:11 +00:00
Eugene Sandulenko
0ca17a7f8c Fix compilation when 16BIT code is disabled.
svn-id: r41543
2009-06-15 11:46:28 +00:00
Jody Northup
8d306ebccf Added kUnsupportedColorMode error code brought Scumm engine and SDL backend into compliance with API outlined in http://scummvmupthorn09.wordpress.com/2009/06/14/how-this-is-going-to-work/
Provided convenient Graphics::PixelFormat constructors for ColorMode enums, and bitformat integers.
Removed last vestiges (I think) of initial cursor hack.

svn-id: r41539
2009-06-15 09:45:19 +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
Jody Northup
350dc4290f Fixed cursor code to keep track of cursor formats so that ThemeEngine and/or GuiManager cursors will render properly over the game (on spacebar hit, for instance)
svn-id: r41491
2009-06-13 10:24:52 +00:00
Jody Northup
2ee51a8fa1 Unfinished proof of concept regarding my compromise with LordHoto in IRC.
svn-id: r41464
2009-06-12 08:49:45 +00:00
Eugene Sandulenko
b9017519fa Rename KeyRemapper dialog to KeyMapper
svn-id: r41462
2009-06-12 08:00:26 +00:00
Jody Northup
6adbd0c41e Renamed Graphics::ColorFormat to Graphics::ColorMode, streamlined enum by removing order section and temporarily removing kFormatARGB1555
Converted cursor code to make use of _screenFormat, instead of a parameter passed directly to it by the engine.
Adjusted scumm engine to account for these changes.
This should probably have been two separate commits, but the changes concern the same files...

svn-id: r41443
2009-06-11 05:56:00 +00:00
Eugene Sandulenko
b4c44a018b Code formatting
svn-id: r41420
2009-06-10 08:41:33 +00:00
Jody Northup
0a793f08a4 SDL backend now dynamically generates 8 or 16-bit color surface depending on engine request (using ad-hoc format).
svn-id: r41416
2009-06-10 05:35:18 +00:00
Jody Northup
c426dd99a4 Laying the foundation for preliminary bitdepth negotiation. (No functionality changes yet)
svn-id: r41396
2009-06-09 07:55:43 +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
Jody Northup
0323638ce9 Streamlined the cursor blitting changes introduced in revision 41412
svn-id: r41213
2009-06-06 08:41:03 +00:00
Jody Northup
4087a3e6e8 Corrected 16-bit cursor blit errors on GFX mode change.
svn-id: r41212
2009-06-06 08:02:45 +00:00
Jody Northup
56e5920bba Corrected cursor display errors introduced by revision 41204, reimplemented 16-bit cursor support in a less hacky, but still temporary way.
svn-id: r41209
2009-06-06 01:16:04 +00:00
Travis Howell
8ff3a568fa Merged revisions 41154-41156,41160,41163-41181,41185-41186,41188-41189,41196-41202 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

........
  r41154 | thebluegr | 2009-06-04 18:25:48 +1000 (Thu, 04 Jun 2009) | 1 line
  
  Turned debug_weak_validations on by default again, as apparently some games like SQ3 fail in some validations (e.g. when loading). Also, fixed a potential out of bounds access when copying the value of __FILE__ into a buffer (as its value can be quite long in some cases).
........
  r41155 | thebluegr | 2009-06-04 18:28:20 +1000 (Thu, 04 Jun 2009) | 1 line
  
  Reordered the numpad keys so that they make more sense, and simplified the code which returns the values of shifted function keys
........
  r41156 | djwillis | 2009-06-04 18:30:31 +1000 (Thu, 04 Jun 2009) | 1 line
  
  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.
........
  r41160 | strangerke | 2009-06-04 19:48:56 +1000 (Thu, 04 Jun 2009) | 1 line
  
  gob : _spriteBottom incorrectly saved and restored in Draw_v2::spriteOperation
........
  r41163 | fingolfin | 2009-06-04 21:28:05 +1000 (Thu, 04 Jun 2009) | 1 line
  
  SCI: Renamed various debug related global variables to have a g_ prefix; and moved any 'extern' decls of them into a new header file
........
  r41164 | waltervn | 2009-06-04 21:35:17 +1000 (Thu, 04 Jun 2009) | 2 lines
  
  SCI: Support for 16-bit DPCM.
........
  r41165 | fingolfin | 2009-06-04 21:44:55 +1000 (Thu, 04 Jun 2009) | 1 line
  
  SCI: cleanup
........
  r41166 | fingolfin | 2009-06-04 21:45:17 +1000 (Thu, 04 Jun 2009) | 1 line
  
  SCI: Moved MemObject code into a separate source file
........
  r41167 | fingolfin | 2009-06-04 21:45:34 +1000 (Thu, 04 Jun 2009) | 1 line
  
  Code formatting in the gp2xwiz backend
........
  r41168 | thebluegr | 2009-06-04 22:47:11 +1000 (Thu, 04 Jun 2009) | 1 line
  
  Updated the MSVC project files of the SCI engine
........
  r41169 | waltervn | 2009-06-05 00:29:20 +1000 (Fri, 05 Jun 2009) | 2 lines
  
  SCI: Message: Added support for escape sequences.
........
  r41170 | waltervn | 2009-06-05 01:56:11 +1000 (Fri, 05 Jun 2009) | 2 lines
  
  SCI: Added support for early SCI1.1 audio maps.
........
  r41171 | waltervn | 2009-06-05 02:18:35 +1000 (Fri, 05 Jun 2009) | 2 lines
  
  SCI: Audio: Fixed bug in reading of SOL header.
........
  r41172 | fingolfin | 2009-06-05 06:50:51 +1000 (Fri, 05 Jun 2009) | 1 line
  
  SCI: Added FIXME comment to not_register()
........
  r41173 | fingolfin | 2009-06-05 06:51:09 +1000 (Fri, 05 Jun 2009) | 1 line
  
  SCI: cleanup
........
  r41174 | fingolfin | 2009-06-05 06:51:24 +1000 (Fri, 05 Jun 2009) | 1 line
  
  SCI: Slightly modified kAddAfter so that it does not modify its arguments needlessly
........
  r41175 | fingolfin | 2009-06-05 06:51:40 +1000 (Fri, 05 Jun 2009) | 1 line
  
  SCI: Added MemObject::isValidOffset method; use it to simplify determine_reg_type
........
  r41176 | fingolfin | 2009-06-05 07:42:24 +1000 (Fri, 05 Jun 2009) | 1 line
  
  SCI: Renamed _kfuncTable -> _kernelFuncs; and simplified/streamlined the kernel func map in kernel.cpp a bit
........
  r41177 | fingolfin | 2009-06-05 07:44:39 +1000 (Fri, 05 Jun 2009) | 1 line
  
  SCI: Renamed EngineState::flags and version to _flags and _version (following our conventions); also slightly changed the EngineState constructor to init _version & _flags, and used this to make them constant
........
  r41178 | fingolfin | 2009-06-05 07:53:45 +1000 (Fri, 05 Jun 2009) | 1 line
  
  oops
........
  r41179 | athrxx | 2009-06-05 08:12:13 +1000 (Fri, 05 Jun 2009) | 1 line
  
  LOL: implemented Vaelan's cube
........
  r41180 | fingolfin | 2009-06-05 08:16:31 +1000 (Fri, 05 Jun 2009) | 1 line
  
  SCI: Made some members of class Resource protected; some cleanup
........
  r41181 | waltervn | 2009-06-05 09:55:08 +1000 (Fri, 05 Jun 2009) | 3 lines
  
  SCI: Fixed some endian bugs related to speech handling. READ_UINT* are not LE,
  but use native endianness. Thanks to clone2727 for pointing this out.
........
  r41185 | Kirben | 2009-06-05 10:57:58 +1000 (Fri, 05 Jun 2009) | 1 line
  
  Update sound code in HE80+ games, for sound rate differences.
........
  r41186 | waltervn | 2009-06-05 11:12:52 +1000 (Fri, 05 Jun 2009) | 2 lines
  
  SCI: Audio: Fixed bug in sample length computation.
........
  r41188 | Kirben | 2009-06-05 12:35:38 +1000 (Fri, 05 Jun 2009) | 1 line
  
  Fix issues selecting some items in arttime and football.
........
  r41189 | Kirben | 2009-06-05 14:16:32 +1000 (Fri, 05 Jun 2009) | 1 line
  
  Minor cleanup.
........
  r41196 | dreammaster | 2009-06-05 22:20:42 +1000 (Fri, 05 Jun 2009) | 1 line
  
  Tweaks to the code that pauses for a mouse press when displaying many text messages
........
  r41197 | thebluegr | 2009-06-06 04:05:45 +1000 (Sat, 06 Jun 2009) | 1 line
  
  Removed some unused code and performed some cleanup
........
  r41198 | thebluegr | 2009-06-06 05:04:14 +1000 (Sat, 06 Jun 2009) | 1 line
  
  Moved some more debug commands to ScummVM's coneole and removed some unused code
........
  r41199 | athrxx | 2009-06-06 07:34:18 +1000 (Sat, 06 Jun 2009) | 1 line
  
  LOL: implemented another opcode
........
  r41200 | mthreepwood | 2009-06-06 08:35:13 +1000 (Sat, 06 Jun 2009) | 1 line
  
  Make the PlayStation's abbreviation to all lower-case for consistency and change the description from Playstation to Sony PlayStation
........
  r41201 | athrxx | 2009-06-06 08:53:36 +1000 (Sat, 06 Jun 2009) | 1 line
  
  LOL: minor bug fix
........
  r41202 | thebluegr | 2009-06-06 09:08:35 +1000 (Sat, 06 Jun 2009) | 1 line
  
  Cleanup
........

svn-id: r41206
2009-06-06 00:10:40 +00:00
Jody Northup
9789ba7f28 Corrected backend to be able to accept a 16-bit mouseKeyColor without overflow
svn-id: r41194
2009-06-05 08:09:37 +00:00
Jody Northup
f8361b5c53 Converted cursor code to use 16-bit.
svn-id: r41191
2009-06-05 06:41:04 +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
Jody Northup
8447a3650e Applying the temporary 16-bit SDL hack.
svn-id: r41152
2009-06-03 23:36:23 +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
Eugene Sandulenko
2cc7763971 whitespaces
svn-id: r40424
2009-05-10 17:18:59 +00:00
Oystein Eftevaag
11ba91b4de Updated xcode project and did some minor iphone optimizations
svn-id: r40418
2009-05-10 12:01:37 +00:00
Eugene Sandulenko
e46d81b822 Fix GUI keymap.
svn-id: r40405
2009-05-09 23:01:02 +00:00
Eugene Sandulenko
87fdc5d544 Original GSoC'08 keymapper now works.
Plans:
  - Make remap dialog less ugly
  - Port dialog to other resolutions and classic theme
  - Stop polluting config namespaces with keymap
  - Improve automapper
  - Add support to the engines and backends

svn-id: r40404
2009-05-09 22:36:57 +00:00
Oystein Eftevaag
8b813f02b8 Converted the iPhone backend to use OpenGL ES instead of CoreSurface for graphics output
svn-id: r40403
2009-05-09 22:25:28 +00:00
Max Horn
c38c0980cd SDL: Modified OSystem_SDL::setWindowCaption to strip out non-ASCII chars (this prevents a crash on OS X). Note that the OSystem specs cleary state that only ASCII may be passed to setWindowCaption(), but we ignore this e.g. in the launcher
svn-id: r40381
2009-05-08 12:37:11 +00:00
Eugene Sandulenko
66067b0b6a Fix keymapper compilation
svn-id: r40320
2009-05-05 10:54:56 +00:00
Bertrand Augereau
bb2540a4d1 Renamed aspectRatio to aspectRatioCorrection in the SDL backend to match the accessor functions
(don't worry, o reader, for this is the only modification going to the SVN :) )

svn-id: r40226
2009-05-01 09:09:07 +00:00
Joost Peters
c5bc18e070 fix warning
svn-id: r40204
2009-04-29 15:54:35 +00:00
Joost Peters
dadcc3289f run psp-fixup-imports after linking
svn-id: r40037
2009-04-21 10:50:30 +00:00
Oystein Eftevaag
213c3eb143 Fixed a crash happening when an engine dirtied the full screen, and called initSize() before calling updateScreen (fixes bug 418820, specifically about Lost in Time crashing after the title screen)
svn-id: r39985
2009-04-18 14:04:44 +00:00
Oystein Eftevaag
741548cda6 iPhone: Updated input event system to firmware 2.x standard
svn-id: r39984
2009-04-18 13:52:30 +00:00
John Willis
52fa15561a Backout previous 'ooops' change (while shaking a stick at SVN and trying to convince people (badly) that is was not just simple user error ;-)).
svn-id: r39961
2009-04-16 11:19:44 +00:00
John Willis
08eb58aab8 Push local cleanup into the 0.13 branch in prep. for 0.13.1.
svn-id: r39960
2009-04-16 10:40:14 +00:00
John Willis
9a23f069fe Tiny update to the GP2X readme on branch (remove SVN build ref.).
svn-id: r39959
2009-04-16 10:28:12 +00:00
Joost Peters
2758ae34ea commit slightly modified version of #2759353 - GSoC 2009: Correction in README.PSP
svn-id: r39949
2009-04-13 20:41:16 +00:00
Jordi Vilalta Prat
b82707463a Remove the obsolete IPHONE_BACKEND define
svn-id: r39835
2009-04-04 10:10:15 +00:00
Andre Heider
32495abc38 Improved configure support for the GP2X port.
svn-id: r39708
2009-03-27 14:12:42 +00:00
Joost Peters
1a5f531d23 Allow building of psp backend via configure (Part 1 - Still need to add the fixup + EBOOT packing steps).
Thanks dhewg and fingolfin for assistance. :)

svn-id: r39693
2009-03-25 21:58:16 +00:00
Joost Peters
86e54ffa58 remove unsigned qualifier, as byte already is unsigned.
svn-id: r39672
2009-03-24 17:56:01 +00:00
Marcus Comstedt
bce96bd55d argv should not be modified; make it plenty const.
svn-id: r39591
2009-03-21 16:07:46 +00:00
Marcus Comstedt
e3ca4afb59 Fixed some warnings.
svn-id: r39590
2009-03-21 15:47:45 +00:00
Marcus Comstedt
760133e8ca Added support for dynamic plugins on Dreamcast to the configure script.
svn-id: r39587
2009-03-21 15:15:29 +00:00
Marcus Comstedt
9890b34390 Moved hardware initialization to a constructor, to make it run really early.
svn-id: r39577
2009-03-20 22:55:42 +00:00
Andre Heider
317de0f484 Fix some warnings in the Wii backend.
svn-id: r39570
2009-03-20 19:02:32 +00:00
Max Horn
559190904d Set svn:keywords on asm files
svn-id: r39568
2009-03-20 16:35:34 +00:00
Johannes Schickel
931c8c27e2 Fix parameter in Windows MIDI backend (this is according to API documentation from M$).
svn-id: r39556
2009-03-20 00:20:29 +00:00
Max Horn
e59b4587b7 COMMON: Added a new IS_ALIGNED macro (for now using size_t, we can change it if this turns out to be not portable enough. Also added a doxygen comment to the ARRAYSIZE macro
svn-id: r39542
2009-03-19 21:43:27 +00:00
Andre Heider
38baf3b19f Added configure support for the Wii and Gamecube port
svn-id: r39531
2009-03-19 18:56:54 +00:00
Max Horn
b5bcc1a23a Merged Neil's NDS changes into trunk
svn-id: r39526
2009-03-19 09:51:40 +00:00
Marcus Comstedt
114d9f211c Initial support for building the Dreamcast port using the configure
script.  Dynamic modules are not supported just yet.

svn-id: r39524
2009-03-18 23:38:25 +00:00
Marcus Comstedt
f7a6e85863 Removed superfluous comma and namespace specifier.
svn-id: r39495
2009-03-17 22:19:11 +00:00
Marcus Comstedt
f5cb75e2e1 Removed superfluous semicolon.
svn-id: r39494
2009-03-17 22:18:33 +00:00
Marcus Comstedt
da142af5d4 Changed grabOverlay() and copyRectToOverlay() to use OverlayColor instead of int16.
svn-id: r39493
2009-03-17 22:09:33 +00:00
Max Horn
ffa97e6626 Patch #2658665: Implement getDevices() in backends/midi/dmedia.cpp
svn-id: r39437
2009-03-16 04:15:03 +00:00
Max Horn
c7df3e2f7a Applied part of patch #2684986
svn-id: r39398
2009-03-14 17:07:07 +00:00
Oystein Eftevaag
b5e40034bc The xcode project can now compile a native Mac OS X build
svn-id: r39238
2009-03-08 16:09:25 +00:00
Lars Persson
dd10e99c2e Bye bye FNMatch
svn-id: r39181
2009-03-07 07:29:33 +00:00
Lars Persson
3753d0b5f8 Added save action for Cruise
svn-id: r39164
2009-03-06 21:41:13 +00:00
Lars Persson
b98bd77d3f Add initial support for VKB and keymapper shortcuts.
Add missing fnmatch function

svn-id: r39163
2009-03-06 20:27:34 +00:00
Lars Persson
9fba36dcde Add subsection for subengine LOL in kyra
svn-id: r39162
2009-03-06 18:26:48 +00:00
Lars Persson
19437c2c1f Handle subengine LOL in perl script
svn-id: r39161
2009-03-06 18:18:52 +00:00
Lars Persson
d34aa2a6ca Add LOL as an enabled engine to enable compilation
svn-id: r39160
2009-03-06 18:14:44 +00:00
Max Lingua
344a4f5199 Added more ps2_* pseudo-posix entries for PS2 backend in
fs/stdiostream.cpp to properly support eof / clearerr.

svn-id: r39143
2009-03-06 00:26:48 +00:00
Max Lingua
5df197f579 Oops!
Forgot to commit backends/fs/ps2/ps2-fs.cpp in #36014
 (here it comes!)

svn-id: r39142
2009-03-06 00:24:18 +00:00
Max Lingua
6d87064950 Implemented _overlayFormat in Gs2dScreen
Modified PS2FSNode openForReading -> createReadStream
                   openForWriting -> createWriteStream

Started Common::EventManager *OSystem::getEventManager()
on backend side...

svn-id: r39141
2009-03-06 00:21:06 +00:00
Max Horn
05b4370c21 Fix for bug #2664460: Various SeekableReadStream::seek() implementations (as well as our unit tests, ouch) handled SEEK_END incorrectly (using -offset instead of offset), contrary to what the docs said and what fseek does. Hopefully I found and fixed all affected parts, but still watch out for regressions
svn-id: r39135
2009-03-05 20:37:53 +00:00
Lars Persson
edc6cc642a Added capabilities to allow BT Mouse support
svn-id: r39114
2009-03-04 07:22:29 +00:00
Max Lingua
51d25d0086 Removed stale READ_PS2.TXT
svn-id: r39104
2009-03-04 05:00:15 +00:00
Max Lingua
804910c422 - 0.13.x friendly ;-)
- new GUI/themes

- no more funky colors!

- load/delete saved games


- cleaned-up Makefile.PS2 :
- dropped multiple extra paths
- dropped deprecated deps (UCL, MPEG2)


- all possible devices are supported to store, play and save games:

- CD
- HD
- USB
- MC
- REMOTE ! (this could actually be anywhere on the internet
as long as you run "ps2client listen" on the machine on
the other side that hosts the games)


- tested from :
- ps2link
- uLE
- toxicOS


- tested with:
- bass
- bs1
- mi1
- comi
- indy4
- ft
- ite
- ihnm
- elvira1
- dig
- kyra
- lure
- simon2
- goblins1

Played all those games in 1 session using RTL. Very smooth,
sub-second RTL experience. No crash!


- new PAL/NTSC detection : we are now reading the flavor from PS2 ROM,
it should work on all PS2 slim too


- new PAL TV centering : no more missing chunk of games on top/bottom


- we can now read the savefiles from Linux/SDL and other backends!
if you add that you can read them from remote together with the
games that you already have there, you can imagine the fun ;-)


- we fully implement RTL with every games/engine


- we nicely reboot / shutdown on quit


- fully support for themes/savegames paths. Run from MC, play the
games on remote and store your data on USB or HD. No limits!


- universal write/read for every media (of course no write on CD/DVD!)


- fully async / DMA read-write access to every media (even MC!)


- optimized cache/read-ahead for every media - now COMI is fast and
enjoyable from remote as it is from CD ;-)


- non polluting MC storage, just 1 folder + 1 icon, so that you can
copy all your settings / saved games to another MC in one go!

svn-id: r39102
2009-03-04 03:55:00 +00:00
Kostas Nakos
f78d6b2fae add support for tinsel engine (off by default for the time being)
svn-id: r39061
2009-03-01 22:35:14 +00:00
Kostas Nakos
c7d7ce8888 better detection of aspect-scalable resolutions
svn-id: r39059
2009-03-01 22:13:48 +00:00
Kostas Nakos
7153410a52 slight correction
svn-id: r39044
2009-03-01 17:48:29 +00:00
Kostas Nakos
1761e6bc99 modified patch in bug #2644574: fix build
svn-id: r39043
2009-03-01 17:45:57 +00:00
Chris Apers
34add265e9 Fixed PalmOS FSNode which was failing in some cases
svn-id: r39029
2009-03-01 10:28:15 +00:00
Chris Apers
3e56c3a409 PalmOS Backend updates:
- Removed old clearScreen backend method and keep it for internal use only
- Fixed save path with missing end slash
- Added use of the new audio mixer
- Added new file system factory
- Added missing getOverlayWidth/Height
- Changed color encoding from int16 to uint16 as required by the new ScummVM code
- Fixed ColorMasks use with missing namespace

svn-id: r39028
2009-03-01 10:25:33 +00:00
Oystein Eftevaag
741d8b36fe Cleaned out some unneeded stuff from the C blitting routines
svn-id: r39025
2009-03-01 09:47:19 +00:00
Oystein Eftevaag
99df3ccd73 When built with the xcode project, the file browser will now start browing for files inside the application bundle directory
svn-id: r39022
2009-03-01 09:05:48 +00:00
Oystein Eftevaag
6ece2b10b8 Merged iphone keyboard fix in from branch-0-13-0
svn-id: r39020
2009-03-01 08:41:03 +00:00
Lars Persson
4f3a50913e Added keyboard mapping for global menu.
svn-id: r38981
2009-02-28 21:05:21 +00:00
Willem Jan Palenstijn
460131f5d3 Remove misleading comment.
svn-id: r38977
2009-02-28 19:31:42 +00:00
Max Horn
f38e6b0d76 Fix annoying warnings in the default savemanager
svn-id: r38976
2009-02-28 18:07:14 +00:00
Andre Heider
0302aee446 copy pred.dic for the dist target
svn-id: r38969
2009-02-28 13:56:27 +00:00
Andre Heider
fad05b5354 set DEPDIR; copy COPYING.LGPL for the dist target; use debug level 3 when uploading the binary
svn-id: r38967
2009-02-28 13:54:41 +00:00
Andre Heider
993d21d840 Enable SCI for Wii
svn-id: r38966
2009-02-28 13:45:29 +00:00
Torbjörn Andersson
ce4d9bc066 Changing the visibility of the mouse means it has to be redrawn. At least, this
fixes a regression in Broken Sword 1 when using one inventory object on another
(if the cursor is partly beneath the inventory bar) for me.

svn-id: r38926
2009-02-27 05:58:08 +00:00
Johannes Schickel
d262d7773a Fix regression introduced with r38890, where the mouse cursor was redrawn every updateScreen call.
svn-id: r38899
2009-02-26 11:32:02 +00:00
Johannes Schickel
28d1fdcf24 - Fix cursor drawing bug on (cursor) palette change
- Fix cursor drawing when it was hidden before and no dirty rects are present
- Diese und die folgenden Zeilen werden ignoriert --

M    sdl/graphics.cpp

svn-id: r38890
2009-02-26 02:04:30 +00:00
Max Horn
c102e30e73 SDL: Tweak the way the mouse is drawn/erased, so that it is not erase and drawn again if nothing changed
svn-id: r38861
2009-02-24 21:43:07 +00:00
Kostas Nakos
d451c7794d update readme for release 0.13.0
svn-id: r38731
2009-02-21 19:21:55 +00:00
Kostas Nakos
798a795b5e proper fix for random crashes with vga devices
svn-id: r38726
2009-02-21 19:01:34 +00:00
Joost Peters
2784e08a90 disable BREAKPOINT macro and remove exit() macro, as they conflict with SCI building (and aren't used anymore anyway)
svn-id: r38687
2009-02-21 12:08:52 +00:00
Andre Heider
17def11658 map dpad right to the predictive dialog
svn-id: r38681
2009-02-21 11:24:16 +00:00
Lars Persson
054f1fb514 Slight formatting update
svn-id: r38615
2009-02-20 19:42:19 +00:00
Joost Peters
0fa42dffac remove old file
svn-id: r38609
2009-02-20 17:32:03 +00:00
Joost Peters
2f224a9efa add README.PSP to update-version.pl
svn-id: r38608
2009-02-20 17:29:22 +00:00
Lars Persson
f3d8087dd3 Updated so z:\ paths will be reported properly as a directory and valid path.
svn-id: r38536
2009-02-19 08:18:50 +00:00
Joost Peters
12b2757cf7 add -DDISABLE_TEXT_CONSOLE and -DDISABLE_COMMAND_LINE
svn-id: r38489
2009-02-18 16:11:54 +00:00
Joost Peters
cd6a141815 report kFeatureOverlaySupportsAlpha (knowing that nothing queries it, and it may even be phased out at some point).
svn-id: r38476
2009-02-18 13:30:35 +00:00
Joost Peters
22340b6c3d Use 4444 overlay on PSP (instead of 1555).
svn-id: r38475
2009-02-18 13:28:52 +00:00