Commit Graph
86814 Commits
Author SHA1 Message Date
Matthew Hoops d8c59f5baa Disable the planeLeft/planeTop code as it doesn't work under the current code (and left a FIXME explaining why it doesn't work).
svn-id: r47006
2010-01-05 01:14:08 +00:00
Filippos Karapetis f66d5a7f53 SCI: Removed the old graphics code
svn-id: r47005
2010-01-05 00:54:53 +00:00
Filippos Karapetis 86cad51d07 Set the new sound code as default
svn-id: r47003
2010-01-05 00:25:49 +00:00
Martin Kiewitz 575bc45301 SCI: adjusting cel drawing according to left/top of plane
svn-id: r47002
2010-01-05 00:12:31 +00:00
Matthew Hoops f8ba8886ce Oops, forgot to commit this file too.
svn-id: r47001
2010-01-04 23:39:22 +00:00
Matthew Hoops 3c0805550e Remove the planes/screenItems count and use the arrays' size() function instead.
svn-id: r47000
2010-01-04 23:37:29 +00:00
Matthew Hoops c26ac879c6 Silence gcc warnings.
svn-id: r46999
2010-01-04 23:32:41 +00:00
Martin Kiewitz 6c001b7ffd SCI: removing warning() from kFrameOut
svn-id: r46998
2010-01-04 23:31:50 +00:00
Martin Kiewitz 01d68c7eaf SCI: adding #ifdefs for temporary gui work
svn-id: r46997
2010-01-04 23:17:51 +00:00
Martin Kiewitz 3767d3a718 SCI: now filtering screenItems against planes
svn-id: r46996
2010-01-04 23:09:57 +00:00
Max Horn 645f73cb18 Switch Channel::getElapsedTime() to use a Timestamp for its computations
svn-id: r46995
2010-01-04 22:48:52 +00:00
Max Horn 4ae9412a3a Make some improvements for Audio::Timestamp.
* Add convertToFramerate() method
* Add framerate() method
* Add operator == and !=
* Improve frameDiff() to work for two timestamps with distinct framerates
* Improve Doxygen comments

svn-id: r46994
2010-01-04 22:48:28 +00:00
Martin Kiewitz a6aaeb70e6 SCI: fix crash due accessing invalid object (implemented deleteScreenitem)
svn-id: r46993
2010-01-04 22:23:45 +00:00
Martin Kiewitz 05a16d7cba SCI: surprise for this DrMcCoy guy
svn-id: r46992
2010-01-04 22:14:34 +00:00
Filippos Karapetis f7855e1c07 Implemented the same fix for tag2string() as in commit #44920, thereby fixing an assert in MSVC with the QT player when playing Myst. The parameter passed to isprint() should always be unsigned
svn-id: r46989
2010-01-04 20:57:38 +00:00
Walter van Niftrik 184090cb46 SCI: Add support for SCI2 to AvoidPath.
svn-id: r46986
2010-01-04 20:52:25 +00:00
Martin Kiewitz 39cf9576af SCI/newmusic: initialize _volume in constructor
svn-id: r46984
2010-01-04 19:50:58 +00:00
Filippos Karapetis b9c8e6edb8 Code optimization: removed unneeded string comparisons when executing a sound command (including cmdUpdateCues, which is executed very often)
svn-id: r46983
2010-01-04 19:39:33 +00:00
Johannes Schickel 590a687ce1 Comment out unused variable.
svn-id: r46982
2010-01-04 18:33:31 +00:00
Filippos Karapetis 97fc845a07 SCI/new music code: Fixed the code that handles mixed Adlib/MIDI mode, and added better comments on what it actually does
svn-id: r46981
2010-01-04 18:24:58 +00:00
Vladimir Menshakov 89e18f5f12 original code uses exclusive random intervals
svn-id: r46980
2010-01-04 18:10:45 +00:00
Vladimir Menshakov fe2529ce17 fixed flame effect
svn-id: r46979
2010-01-04 18:06:59 +00:00
Matthew Hoops 8cc208ba2e Minor cleanup; remove GF_10TH, it's not used or needed anywhere.
svn-id: r46978
2010-01-04 17:37:25 +00:00
Matthew Hoops 380190ee12 Fix a memory leak spotted by cppcheck. Thanks salty-horse\!
svn-id: r46977
2010-01-04 17:30:47 +00:00
Matthew Hoops bf3973051b Merge the Mohawk Video class into QTPlayer and general cleanup.
svn-id: r46976
2010-01-04 17:27:36 +00:00
Martin Kiewitz 01eb329be2 SCI: kPalette / animate adjustments to behave more like sierra sci, also doesnt crash in island of brain anymore
svn-id: r46975
2010-01-04 16:44:58 +00:00
Filippos Karapetis 8cc690935a Updated comment
svn-id: r46974
2010-01-04 16:18:35 +00:00
Filippos Karapetis 5560f93c2a SCI/new sound code: update sound cues when kGetEvent() is called, instead of kAnimate(), fixes music fading in LSL3
svn-id: r46973
2010-01-04 16:16:58 +00:00
Martin Kiewitz f245917d6f SCI/newmusic: fadeout in sci0 (not stopping music yet), revert of SoundResource changes
svn-id: r46972
2010-01-04 15:17:46 +00:00
Filippos Karapetis d437b25c57 SCI/new music: Resolved another possible deadlock when pausing all sounds
svn-id: r46971
2010-01-04 14:43:14 +00:00
Filippos Karapetis 60ece55fb9 Fallback detector:
- Added detection for SCI2 games (GK1, PQ4, QFG4)
- Rewrote the way demos are detected
- Games are no longer distinguished from the existence of certain files

svn-id: r46970
2010-01-04 13:50:43 +00:00
Martin Kiewitz 01ebbcf101 SCI: channels[] work, sci0 fading still not working (volume is changed though)
svn-id: r46969
2010-01-04 13:21:35 +00:00
Vladimir Menshakov 50245ba571 added idle animation
svn-id: r46968
2010-01-04 11:12:19 +00:00
Filippos Karapetis c25f24efc7 Removed the now unused GuiDummy class
svn-id: r46967
2010-01-04 08:34:07 +00:00
Filippos Karapetis 3218da8975 SCI/new music code: Now the the music driver to use is obtained directly from the sound options, instead of asking for a driver which supports the requested MIDI driver flags
svn-id: r46966
2010-01-04 08:28:09 +00:00
David Turner ae9cf4d51e Mohawk : Improved code formatting conventions compliance.
svn-id: r46965
2010-01-04 08:10:29 +00:00
Filippos Karapetis ed06df7a25 SCI/new music code: The number of voices is now obtained from the MIDI driver
svn-id: r46964
2010-01-04 08:06:11 +00:00
Martin Kiewitz 8fb870b0e3 SCI/newmusic: support for SCI0 fading, doesnt work yet because channels[] is currently not correctly filled out inside SoundResource class - because it wasnt previously needed
svn-id: r46963
2010-01-03 23:30:23 +00:00
Torbjörn Andersson 9182c37a06 Removed obsolete notes about Broken Sword cutscenes not being supported.
svn-id: r46961
2010-01-03 23:24:59 +00:00
Filippos Karapetis 54dbd75ed9 Code beautification (fixes a false positive, too)
svn-id: r46960
2010-01-03 22:54:51 +00:00
Filippos Karapetis c0aad0508c Renamed SCI_VERSION_AUTODETECT to SCI_VERSION_NONE to signify its actual purpose
svn-id: r46959
2010-01-03 22:50:39 +00:00
Johannes Schickel b2355cac9f - Remove unsafe default constructor of Audio::Timestamp.
- Add an assert which prevents the _frameRate from being 0 in the Audio::Timestamp constructor.

svn-id: r46958
2010-01-03 22:41:35 +00:00
Arnaud Boutonné 5433ba01fa Mohawk : For what it's worth, Add detection for a french "in the 1rst degree"
svn-id: r46957
2010-01-03 22:11:08 +00:00
Filippos Karapetis b92a744a04 sane_nodep() and sane_listp() should not be dummy functions when DISABLE_VALIDATIONS is set, so that the engine doesn't try and refer to null pointer objects (and subsequently crash)
svn-id: r46956
2010-01-03 21:53:34 +00:00
Filippos Karapetis dccc1db768 Fixed regression from commit #46950 (fixes KQ6CD, Pharkas CD, and others)
svn-id: r46955
2010-01-03 21:51:30 +00:00
Arnaud Boutonné e71754b64d Add detection for a french Myst
svn-id: r46954
2010-01-03 21:50:13 +00:00
Max Horn df81b68967 Change BS 1 & 2 to I & II (see discussion on -devel)
svn-id: r46951
2010-01-03 21:20:05 +00:00
Martin Kiewitz d13b23d688 SCI/newmusic: this fix will make qfg1vga character selection music work
svn-id: r46950
2010-01-03 21:17:58 +00:00
Filippos Karapetis 781dd3b183 Fixed compilation with DISABLE_VALIDATIONS, and fixed a bug in kPrevNode
svn-id: r46949
2010-01-03 21:12:44 +00:00
Eugene Sandulenko c36caea501 Use new ADGF flag, ADGF_USEEXTRAASTITLE for AGI Fanmade games for giving them
more user-friendly names.

svn-id: r46948
2010-01-03 21:09:26 +00:00