44123 Commits

Author SHA1 Message Date
Torbjörn Andersson
d8d9305c22 TOON: Fix memory leak
PAK files were not being unloaded because closePackage() was being
called with a slightly different file name than than openPackage().

svn-id: r55878
2011-02-11 05:13:37 +00:00
Matthew Hoops
61c33feaba VIDEO: Fix QuickTime audio seeking
svn-id: r55877
2011-02-11 04:23:38 +00:00
Sylvain Dupont
247e882711 VIDEO: Added some skipping when bad data is found in Indeo3
Some Urban Runner videos are badly encoded and contain
corrupted data. When the decoder realizes that there is 
some bad data, it skips the rest of the frame.
The original Indeo3 DLL decoder does the same.

svn-id: r55876
2011-02-10 21:41:59 +00:00
Filippos Karapetis
6a4ea3abd3 SCI: Added comments to the FB-01 and MIDI drivers. The original driver files are only
needed in SCI0 early games, which didn't include separate sound patch resources. Thanks
to waltervn for the information he supplied

svn-id: r55875
2011-02-10 21:10:49 +00:00
Filippos Karapetis
2ceb4339e9 SCI: Changed the comments of r55869 to Doxygen format (thanks, fingolfin)
svn-id: r55874
2011-02-10 16:58:13 +00:00
Filippos Karapetis
745c04194a SCI: Added a workaround for MUMG Deluxe
svn-id: r55873
2011-02-10 16:49:46 +00:00
Filippos Karapetis
e4b46bd159 SCI: Added resource manager support for changing the audio directory dynamically. Also,
moved some audio-specific resource code inside resource_audio.cpp

This functionality is used by kSetLanguage(), called when switching the language in
MUMG Deluxe from the game's main menu.

svn-id: r55872
2011-02-10 16:48:29 +00:00
Matthew Hoops
80347e9630 SCI: Don't fallback to views in SCI1.1+ Mac games
svn-id: r55871
2011-02-10 15:56:35 +00:00
Filippos Karapetis
67d38dc5c3 SCI: Fixed typo
svn-id: r55870
2011-02-10 15:53:28 +00:00
Filippos Karapetis
0e95f791d0 SCI: Added a short explanation about each of the different resource source types
svn-id: r55869
2011-02-10 15:52:45 +00:00
Matthew Hoops
631d2de745 SCI: Fix Mac SCI1 view transparency
This was a regression from r55825.

svn-id: r55868
2011-02-10 15:12:06 +00:00
Max Horn
c093925763 SCI: Fix (rare) leak in kSaveGame, tweak kFileIOFindNext, cleanup
svn-id: r55867
2011-02-10 13:39:01 +00:00
Filippos Karapetis
c7c0198e27 SCI: Renamed addInternalSources -> addAudioSources and separated the script chunk loading code
svn-id: r55866
2011-02-10 12:57:43 +00:00
Filippos Karapetis
d915560f44 SCI: Moved some audio resource code to resource_audio.cpp
svn-id: r55865
2011-02-10 12:40:48 +00:00
Johannes Schickel
24eab0ac73 KYRA: Rename KyraEngine_MR::runDialog to doDialog to avoid name clashes with Engine::runDialog.
svn-id: r55864
2011-02-10 01:19:48 +00:00
Johannes Schickel
a9361da157 KYRA: Remove superfluous const in type conversion.
svn-id: r55863
2011-02-10 01:19:24 +00:00
Johannes Schickel
9f6dc040ff CONFIGURE: Add basic support for ICC.
svn-id: r55862
2011-02-10 01:05:48 +00:00
Bastien Bouclet
ece050e26c MOHAWK: Complete Myst opcode 209, fixing the bookcase door lintel updates
svn-id: r55861
2011-02-09 20:52:46 +00:00
Bastien Bouclet
d0a01c1689 MOHAWK: Implement Stoneship battery depletion
svn-id: r55860
2011-02-09 20:07:55 +00:00
Matthew Hoops
aac6bd5181 SCI: Improve speed of Mac resource fork sources
svn-id: r55859
2011-02-09 17:54:34 +00:00
Filippos Karapetis
dc4dd174af NEWS: Added all of the changes made in SCI0 - SCI1.1
svn-id: r55858
2011-02-09 11:44:07 +00:00
Max Horn
77fe90d95e MIDI: Really fix bug #3153076 (this time also for Timidity)
svn-id: r55857
2011-02-09 11:03:36 +00:00
Eugene Sandulenko
8bde4ab0af NEWS: Fix spelling
svn-id: r55856
2011-02-09 06:58:04 +00:00
Julien Templier
f751f5b0e1 LASTEXPRESS: Add support for item highlight in inventory and scene restore
- Properly show egg not highlighted by default
 - Fix GCC warning in drawItem()
 - Remove unused code

svn-id: r55855
2011-02-09 03:40:00 +00:00
David Turner
f83fb856b3 JANITORIAL: Update NEWS for changes since 1.3.0
svn-id: r55854
2011-02-09 02:05:44 +00:00
Julien Templier
936d15673e TOOLS: Update create_project for change from sound/ to audio/
svn-id: r55853
2011-02-09 01:27:24 +00:00
Max Horn
ab78737abd MIDI: Fix bug #3153076 (warnings in SEQ driver)
svn-id: r55851
2011-02-09 01:11:58 +00:00
Max Horn
42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Walter van Niftrik
386203a3d6 SCI: Do not try to dereference object name when it's not a pointer.
Stops flood of warnings in some Mac titles.

svn-id: r55849
2011-02-09 00:27:50 +00:00
Julien Templier
058d75b708 LASTEXPRESS: Implement proper Inventory::open() and Inventory::close()
svn-id: r55848
2011-02-09 00:24:06 +00:00
Julien Templier
0250fd4571 LASTEXPRESS: Properly update cursor when hovering Egg and inventory items
svn-id: r55847
2011-02-09 00:23:49 +00:00
Julien Templier
6b477ee33e LASTEXPRESS: Refactor inventory handling
- Rewrite menu icon part of Inventory::handleMouseEvent()
 - Add proper support for icon brightness
 - Add drawItem method in place of macro

svn-id: r55846
2011-02-09 00:23:35 +00:00
Max Horn
6a6caa80a3 AUDIO: Tweak Timestamp docs; move class member decls to the end
svn-id: r55845
2011-02-09 00:14:24 +00:00
Max Horn
d7370f11e4 VIDEO: Remove unused SeekableVideoDecoder::seekToFrame method
svn-id: r55844
2011-02-09 00:14:06 +00:00
Max Horn
ee7056542c AGOS: Reduce header interdependencies
svn-id: r55843
2011-02-09 00:13:42 +00:00
Max Horn
4cfa520dce AGOS: Change private to protected, Instead of making subclasses friends
svn-id: r55842
2011-02-09 00:13:20 +00:00
Max Horn
805a5b2996 VIDEO: In overloaded methods, invoke correct parent implementation
This should not cause any code behavior changes at this time, but if any
of the intermediate VideoDecoder classes ever starts to overload stuff,
this would become important.

svn-id: r55841
2011-02-09 00:12:58 +00:00
Max Horn
633b8ed277 AUDIO: Forbid adding timestamps with differing framerate
We used to allow this, but the result is a timestamp with a framerate
potentially different from that of both original timestamps, which can
lead to completely unexpected behavior. For example, consider this code
snippet:
  a = a + b;
  a = a.addFrames(1);  // frame rate changed!

svn-id: r55840
2011-02-09 00:12:22 +00:00
Max Horn
97bfd60e61 COMMON: Reduce overflow risk in Common::Rational += and -= operators
svn-id: r55839
2011-02-09 00:12:02 +00:00
Max Horn
2184326dbc COMMON: Add comment that explains strange <= checks in gcd()
svn-id: r55838
2011-02-09 00:11:39 +00:00
Filippos Karapetis
93d22c21b5 SCI: Changed the warning when applying script patches into a debug output call
svn-id: r55837
2011-02-08 23:07:11 +00:00
Johannes Schickel
9cf8d4d548 VIDEO: Fix the documentation of VideoDecoder::setSystemPalette.
svn-id: r55836
2011-02-08 23:00:28 +00:00
Johannes Schickel
949000a144 VIDEO: Fix the documentation of VideoDecoder::getPalette.
svn-id: r55835
2011-02-08 22:58:34 +00:00
Thierry Crozat
9fceb20012 CREDITS: Add credits for Czech translation
Also add missing html entities conversion for rtf and tex outputs (hopefully
I got them right).

svn-id: r55834
2011-02-08 22:28:32 +00:00
Thierry Crozat
89bc8bfdb2 I18N: Add Czech translation (patch #3174438)
svn-id: r55833
2011-02-08 22:25:35 +00:00
Arnaud Boutonné
4917740b44 HUGO: Cleanup : some refactoring and encapsulation (thanks fuzzie for the help)
svn-id: r55831
2011-02-08 20:52:26 +00:00
Filippos Karapetis
72a9706950 SCI: Some work on robot videos
- The size of the videos is now calculated when they are loaded (this helps remove some
nasty hacks and constant memory reallocations and simplifies the code)
- Some work on frame placement (e.g. in robot 1305, Phantasmagoria)

svn-id: r55830
2011-02-08 19:50:45 +00:00
David Turner
656afd6daa MOHAWK: Add detection entry for "Dr Seuss' ABC" Macintosh version.
svn-id: r55829
2011-02-08 17:32:40 +00:00
Matthew Hoops
85f8dc5dee SCI: Add detection for Freddy Pharkas Mac
svn-id: r55828
2011-02-08 15:03:23 +00:00
Walter van Niftrik
8f3324f6ba SCI: Do not flip clearKey for Mac SCI1.1+ views.
svn-id: r55825
2011-02-08 14:26:39 +00:00