Commit Graph

503 Commits

Author SHA1 Message Date
Max Horn
2943234d6f SCI: Fix warnings
svn-id: r39103
2009-03-04 04:35:06 +00:00
Greg Frieger
bc3702dcdb - ResourceManager uses HashMap to store and access resource info.
- Changes and clean-ups in resource loading code.

svn-id: r39098
2009-03-03 23:07:06 +00:00
Filippos Karapetis
0c37876830 Merged unpackDCL_hdyn() and unpackDCL() and removed some unused code
svn-id: r39093
2009-03-03 17:50:30 +00:00
Filippos Karapetis
a4e4de9ecd Fixed crash in SQ4
svn-id: r39091
2009-03-03 17:20:02 +00:00
Greg Frieger
cbb6f91967 SCI1: Improved color mapping when drawing line/box/text. Text with transparent background now displays correctly.
svn-id: r39089
2009-03-03 14:27:49 +00:00
Filippos Karapetis
f31990f897 Gave decompression methods more descriptive names. Some cleanup
svn-id: r39082
2009-03-02 22:16:44 +00:00
Filippos Karapetis
59e847dc2d Cleanup
svn-id: r39081
2009-03-02 21:45:31 +00:00
Filippos Karapetis
286670d424 Slight cleanup
svn-id: r39069
2009-03-02 10:41:37 +00:00
Filippos Karapetis
f72e3354e8 Slight cleanup
svn-id: r39068
2009-03-02 10:34:31 +00:00
Willem Jan Palenstijn
0e134d5871 Partial revert of "Fix handling of parentheses in said specs" (20080705)
This fixes, among other things, "get up" followed by "get shirt"
at the start of Iceman.

svn-id: r39060
2009-03-01 22:19:49 +00:00
Max Horn
4f2f82adc2 SCI: Unified some of the decompression funcs (they share so much code, would be nice to reduce the code duplication)
svn-id: r39057
2009-03-01 22:03:37 +00:00
Max Horn
8022122bb9 SCI: Added kDebugLevelDclInflate; changed decompressors to *not* use fprintf or printf
svn-id: r39055
2009-03-01 21:48:39 +00:00
Max Horn
00db87563a SCI: Reimplemented the SCI mixer based on the old SCI DC mixer by walter, and by taking advantage of ScummVM's mixers capabilities. Got rid of sfx_pcm_mixer_t
svn-id: r39053
2009-03-01 21:23:44 +00:00
Andre Heider
097641f021 remove spurious links
svn-id: r39047
2009-03-01 19:08:01 +00:00
Andre Heider
9e7cf21ee8 verified/added a couple of amiga versions.
svn-id: r39041
2009-03-01 16:19:52 +00:00
Willem Jan Palenstijn
82e4168d47 Don't free a sfx_pcm_feed_t that's still in use.
It's a rather hackish fix, but this feed-wrapping code should only be
temporary anyway.

svn-id: r39033
2009-03-01 12:08:44 +00:00
Andre Heider
7361906f8c rescanned all amiga version from back2roots.org and added the onces which used to run with r39005
svn-id: r39031
2009-03-01 11:52:54 +00:00
Max Horn
7ee049ab8f SCI: Forgot to commit a couple files after renaming sfx headers
svn-id: r39010
2009-03-01 06:17:52 +00:00
Max Horn
d0c477e930 SCI: Removed unused pause/resume methods from the mixer, and rewrote the feeds handling to use Common::List
svn-id: r39009
2009-03-01 06:02:42 +00:00
Max Horn
4e0ee7abea SCI: cleanup
svn-id: r39008
2009-03-01 06:02:34 +00:00
Max Horn
6f290b7cd6 SCI: Removed some unused code from the SCI mixer
svn-id: r39007
2009-03-01 06:02:26 +00:00
Max Horn
25e7d3a08d SCI: Renamed some sfx header files
svn-id: r39006
2009-03-01 06:02:17 +00:00
Max Horn
6454a3dee1 SCI: Replaced fake struct 'inheritance' (using #defines) with regular C++ subclassing
svn-id: r39005
2009-03-01 06:01:48 +00:00
Greg Frieger
6742caa87a Text/window color matching improved by using an existing gfxop_set_color() instead of mine _gfxop_matchColor()
svn-id: r39004
2009-03-01 05:15:51 +00:00
Max Horn
dd98126423 Engines: Fused several init&go methods into a single run method
svn-id: r39003
2009-03-01 04:42:46 +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
Max Horn
d0c2484502 SCI: pass gfx_pixmap_color_t instead of r,g,b triple, makes calling code a bit easier to read :)
svn-id: r39001
2009-03-01 04:29:09 +00:00
Greg Frieger
ce42d6e538 Fixed windows and text drawing problem in SCI1
svn-id: r39000
2009-03-01 04:07:04 +00:00
Johannes Schickel
3b16073a38 Fix warnings.
svn-id: r38997
2009-03-01 03:31:52 +00:00
Greg Frieger
8dfef3103c Added default kernel functions table to be used if vocab.999 can't be loaded in SCI1
Added SCI1.1 kernel functions table reader

svn-id: r38992
2009-03-01 01:52:50 +00:00
Jordi Vilalta Prat
82872a7033 SCI: Start converting MessageState into a class
svn-id: r38989
2009-03-01 00:18:30 +00:00
Jordi Vilalta Prat
7050c7b03f SCI: Use the ResourceType enum instead of integers where it makes sense
svn-id: r38988
2009-02-28 23:46:50 +00:00
Filippos Karapetis
8e39ac9f12 Fixed the SCI version in a version of Longbow, and fixed a typo in the MD5 of a version of SQ5
svn-id: r38986
2009-02-28 22:59:27 +00:00
Lars Skovlund
f179dbfc71 Add a particular release of Conquests of the Longbow.
svn-id: r38985
2009-02-28 22:36:48 +00:00
Max Horn
d7b06b7d42 SCI: Renamed ResourceManager::sci_version to _sciVersion, to avoid var shadowing warnings; some other tweaks
svn-id: r38984
2009-02-28 22:19:22 +00:00
Willem Jan Palenstijn
e159979869 strip trailing newline in SCI debugger
svn-id: r38983
2009-02-28 22:10:07 +00:00
Greg Frieger
61ab59138a resource_t struct replaced with stub Resource class for future objectifying. Also the crash when exiting SCI1 games was fixed
svn-id: r38982
2009-02-28 21:59:49 +00:00
Greg Frieger
4dd1b7dad5 Turned ResourceManager into a class, along with all related functions
svn-id: r38978
2009-02-28 20:45:36 +00:00
Johannes Schickel
26cb1657bc Fix warnings.
svn-id: r38975
2009-02-28 16:17:14 +00:00
Willem Jan Palenstijn
c388d6c455 Increase colour refcount when allocating colour
svn-id: r38974
2009-02-28 16:12:52 +00:00
Willem Jan Palenstijn
2d1a6309f8 Disable xfact/yfact scaling in embedded views.
This inadvertently broke colours in KQ5 as a side effect.

svn-id: r38973
2009-02-28 16:11:02 +00:00
Johannes Schickel
9cc4f5630e Fix warnings.
svn-id: r38972
2009-02-28 16:06:32 +00:00
Greg Frieger
1befd93475 Added detection for more SCI games and demos
svn-id: r38970
2009-02-28 15:32:01 +00:00
Andre Heider
b2cd5beb9e clean up some warnings
svn-id: r38965
2009-02-28 13:41:43 +00:00
Andre Heider
aff4aeae14 set the correct OPL2 frequency for Wii
svn-id: r38964
2009-02-28 13:39:56 +00:00
Jordi Vilalta Prat
501e4bb91a SCI: Renamed some kernel types and general cleanup
svn-id: r38961
2009-02-28 11:12:59 +00:00
Willem Jan Palenstijn
3bfc345350 Add support for saving Common::String objects.
Use it to simplify SavegameMetadata handling.

svn-id: r38959
2009-02-28 11:07:36 +00:00
Willem Jan Palenstijn
4febcde170 Make CFSML writers take const arguments
svn-id: r38952
2009-02-28 10:05:07 +00:00
Willem Jan Palenstijn
c76dc0b71c Initialize mixer feed variables
svn-id: r38951
2009-02-28 10:04:40 +00:00
Max Horn
6f72cc45a3 cleanup
svn-id: r38950
2009-02-28 07:23:31 +00:00