Commit Graph
672 Commits
Author SHA1 Message Date
Jody Northup 853aec05ba changed initGraphics, and OSystem::initSize to take Graphics::PixelFormat * parameters instead of Graphics::PixelFormat parameters, to save unnecessary pixelformat initialization if ENABLE_RGB_COLOR is not set.
svn-id: r41909
2009-06-27 05:58:44 +00:00
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
Travis Howell e74ba9af6b Add error if user attempt to play HE games using 16bit color, when 16bit support is disabled.
svn-id: r41544
2009-06-15 13:23:26 +00:00
Jody Northup c97bfd16f9 made Graphics::PixelFormat(ColorMode) constructor explicit, removed Graphics::PixelFormat(int bitFormat) constructor that was never really implemented anyway
svn-id: r41540
2009-06-15 10:10:22 +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
Norbert Lange 62202a9de5 Removed alot of the debug-output
created a class player_v4a to hook TFMX Playback into Scumm. Monkey Island has sound, but no sfx yet

svn-id: r41480
2009-06-12 20:10:27 +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
Jody Northup 58a348fd18 Scumm engine now dynamically requests 16-bit color based on game features, (using ad-hoc request format)
svn-id: r41417
2009-06-10 05:35:54 +00:00
Eugene Sandulenko cda17beff5 Patch #1365914: "SCUMM: CMS support." Disabled by default. Still plenty to do.
svn-id: r41282
2009-06-06 18:21:49 +00:00
Travis Howell 06f12248a1 Merged revisions 41205,41207-41208,41210,41214-41217 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

........
  r41205 | waltervn | 2009-06-06 10:07:18 +1000 (Sat, 06 Jun 2009) | 2 lines
  
  SCI: Moved the handling of 65535.map into the resource manager.
........
  r41207 | dreammaster | 2009-06-06 10:53:08 +1000 (Sat, 06 Jun 2009) | 1 line
  
  Bugfix for display when multiple user waits follow each other
........
  r41208 | dreammaster | 2009-06-06 11:00:44 +1000 (Sat, 06 Jun 2009) | 1 line
  
  Bugfix to show the title screen at the correct speed when restarting the game
........
  r41210 | dreammaster | 2009-06-06 11:39:08 +1000 (Sat, 06 Jun 2009) | 1 line
  
  Disabled the execution of scripts when doing a user wait - this prevents animated backgrounds from jerking to new positions once the mouse has been pressed
........
  r41214 | thebluegr | 2009-06-06 20:21:48 +1000 (Sat, 06 Jun 2009) | 1 line
  
  Objectified the graphics driver
........
  r41215 | thebluegr | 2009-06-06 20:36:38 +1000 (Sat, 06 Jun 2009) | 1 line
  
  Moved the fake 1x1 mode structure to gfx_resmgr.cpp (where it's actually used)
........
  r41216 | thebluegr | 2009-06-06 20:40:32 +1000 (Sat, 06 Jun 2009) | 1 line
  
  Some uint8 -> byte conversions
........
  r41217 | Kirben | 2009-06-06 20:50:37 +1000 (Sat, 06 Jun 2009) | 1 line
  
  Add logic stub for Backyard Basketball.
........

svn-id: r41218
2009-06-06 11:01:25 +00:00
Travis Howell d11d56ae13 Add logic stub for Backyard Basketball.
svn-id: r41217
2009-06-06 10:50:37 +00:00
Travis Howell ccee18a489 Cleanup.
svn-id: r41195
2009-06-05 10:13:19 +00:00
Travis Howell 3a64d35dfd Add 16bit color support for later HE games.
svn-id: r41153
2009-06-04 01:05:47 +00:00
Travis Howell ad09b50168 Increase maxHeapThreshold for 16bit color HE games, due to larger resource sizes been used.
svn-id: r41134
2009-06-03 06:34:39 +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
Travis Howell 4f0811b129 Correct and move initial SMUSH frame rate value, for the demo version of The Dig.
svn-id: r40407
2009-05-10 06:46:24 +00:00
Travis Howell f5094553f7 Set the initial SMUSH frame rate, since variable doesn't change and isn't saved.
svn-id: r40406
2009-05-10 06:24:58 +00:00
Max Horn 3044593da0 SCUMM: Moved o5_saveLoadGame and o5_saveLoadVars to ScummEngine_v4 (the highest SCUMM version to implement these opcodes. Actually, our code was bugged in so far as we only ever invoked o5_saveLoadGame in V3 games, never in V4 games (but this properly never mattered ;)
svn-id: r40014
2009-04-19 01:01:54 +00:00
Max Horn ee42d06a43 Patch from bug #2710315: INDY3/FOA: bug in patch for series IQ with ScummVM GUI
svn-id: r39677
2009-03-24 23:30:48 +00:00
Max Horn 6a4c475bb2 Patch #2676453: INDY3/FOA: series IQ with ScummVM GUI
svn-id: r39649
2009-03-23 22:34:53 +00:00
Max Horn 6f4b567124 SCUMM: Split intern.h into multiple headers
svn-id: r39567
2009-03-20 16:33:58 +00:00
Max Horn e44f07f988 SCUMM: Modified version of patch #1687041 (Scumm: Load-/Save-support for the original save-dialog)
svn-id: r39438
2009-03-16 04:45:12 +00:00
Max Horn 30856ddc4d SCUMM: Fix snap scroll dialog messages
svn-id: r39286
2009-03-10 00:44:33 +00:00
Travis Howell 2809c23fc9 Add snap scroll option from original games (SCUMM3-5), and enable for earlier games too.
svn-id: r39283
2009-03-10 00:26:40 +00:00
Max Horn 3fcbda829a Merged Engine::go() and ::init() into a new run() method (currently implemented by calling the existing init&go methods; to be cleaned up by engine authors
svn-id: r39002
2009-03-01 04:30:55 +00:00
Travis Howell 81eb4b83ca Remove unneeded code, as _musicEngine is already set to NULL by default.
svn-id: r38346
2009-02-16 06:26:54 +00:00
Travis Howell f970596082 Limit platforms to specific SCUMM versions, when selecting the music engine to be used. To help prevent issues, if user manually selects the incorrect platform.
svn-id: r38345
2009-02-16 06:23:41 +00:00
Travis Howell 501b321532 Revert talkspeed changes, while still only using the game specific talkspeed setting (if it exists). And clarify the talkspeed differences between games in the README.
svn-id: r36299
2009-02-13 10:04:17 +00:00
Max Horn 7cb437b56f Renamed SpecialDebugLevel to DebugChannel
svn-id: r36142
2009-01-30 05:10:24 +00:00
Travis Howell 954a1d27d8 Fix talkspeed settings again.
svn-id: r35821
2009-01-11 06:51:17 +00:00
Travis Howell a8785eb92e Add support for RIFF sound format in createSound().
svn-id: r35736
2009-01-05 06:45:42 +00:00
Travis Howell d0fc28bbd1 Use cache when converting 16bit colors, for faster conversions.
svn-id: r35714
2009-01-04 03:49:23 +00:00
Johannes Schickel 690b88f982 Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> gui/GuiManager.h
svn-id: r35668
2009-01-02 03:21:40 +00:00
Travis Howell 4b4d752ba1 Add Blue's Treasure Hunt.
svn-id: r35599
2008-12-29 10:03:34 +00:00
Travis Howell ddb810e17b Add Moonbase Commander target again, for testing only.
svn-id: r35379
2008-12-15 09:54:21 +00:00
Max Horn cabfbb4903 Removed some dead code, clarified comments, cleanup
svn-id: r35293
2008-12-09 19:54:01 +00:00
Johannes Schickel 28bd3e0af8 Fixed strncpy usage.
svn-id: r35083
2008-11-15 14:15:17 +00:00
Johannes Schickel 478ee06fb8 Paranoia: Add destination buffer size to Engine::errorString to help avoiding buffer overflows.
svn-id: r35072
2008-11-15 03:16:41 +00:00
Johannes Schickel 5a0556f09c Committed my patch #2123680 "SDL: Backend transaction / rollback support".
svn-id: r35062
2008-11-14 22:08:10 +00:00
Max Horn 40136f2590 Switched various Engine APIs to use Common::Error
svn-id: r34916
2008-11-06 17:05:54 +00:00
Max Horn 2219ccf911 typo
svn-id: r34725
2008-10-02 18:11:40 +00:00
Max Horn 9b160804ab Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
svn-id: r34700
2008-09-30 12:27:38 +00:00
Max Horn 8d16a42c93 SCUMM: Added a new ActorHE class, as well as a virtual Actor::prepareDrawActorCostume() method
svn-id: r34646
2008-09-25 08:06:18 +00:00
Max Horn d4853dd9e8 Patch #2060517: SCUMM: engine sets incorrect talkspeed value
svn-id: r34596
2008-09-17 18:56:13 +00:00
Johannes Schickel 77273facda Little cleanup.
svn-id: r34543
2008-09-14 21:34:49 +00:00
Max Horn 2bc093828f Replaced Engine::_gameDataPath (a String) by Engine::_gameDataDir (an FSNode); adapted code to that (by using getChild() to get subdirs, not string concatenation
svn-id: r34434
2008-09-07 22:10:58 +00:00
Travis Howell 52ec841cd4 Add debugInput opcode for HE 100 games.
svn-id: r34375
2008-09-06 01:02:45 +00:00
Max Horn d3642080de Moved check for shouldRTL() from engines to scummvm_main
svn-id: r34310
2008-09-03 16:56:40 +00:00
Filippos Karapetis ac38ca32b9 Silence MSVC warning about empty switch statement
svn-id: r34266
2008-09-01 23:37:24 +00:00