Commit Graph
4365 Commits
Author SHA1 Message Date
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
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 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
Eugene Sandulenko c295f524b2 Implement feature request #1180217: "GUI: Mute option"
svn-id: r41233
2009-06-06 17:36:06 +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
Pawel Kolodziejski 7740b36f9a apply setting stencil attribute after setting display too, based on SDL docs 2009-06-05 12:35:48 +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
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
Pawel Kolodziejski 630813cbeb update headers 2009-05-26 14:17:05 +00:00
Torbjorn Andersson 5efa1be1da Fixed compilation when USE_OPENGL isn't defined. For some reason, it's not
defined on my Linux box.
2009-05-25 21:04:50 +00:00
Lars Persson a017594ebd Added hardwarekeys.cpp to makefile
svn-id: r40895
2009-05-25 20:46:18 +00:00
Pawel Kolodziejski a4467bd1d0 convert residual into multi engine support (not all things done yet, WIP) 2009-05-25 19:21:58 +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
Pawel Kolodziejski a34d883844 update path includes for recent directory changes 2009-05-24 19:13:58 +00:00
Johannes Schickel b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Pawel Kolodziejski 50448e7275 disabled mouse hiding for now, it's too much annoying 2009-05-23 02:22:44 +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
Eugene Sandulenko bc6649ba45 Fix bug #2790461: "WINCE: Compilation broken"
svn-id: r40624
2009-05-16 11:58:53 +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 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
Pawel Kolodziejski 2079a8d509 this should shatup valgrind 2009-05-11 21:01:58 +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 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