Commit Graph

38439 Commits

Author SHA1 Message Date
Max Horn
88663c9186 SCI: Merge ResourceManager::checkIfAudioVolumeIsCompressed into AudioVolumeResourceSource constructor
svn-id: r49827
2010-06-15 12:16:42 +00:00
Max Horn
348953c067 SCI: Make ResourceSource::_resourceFile const
svn-id: r49826
2010-06-15 12:16:17 +00:00
Max Horn
824dd44ddf SCI: Revise how ResourceManager is instantiated.
This should allow for better error handling. Also, it
means that g_sci->getResMan() returns a valid value much sooner,
allowing me to simplify some code.

Also added a note about potentially replacing Common::FSList usage
by Common::Archive (and FSNode by Archive/ArchiveMember ?). This
might be a way to unify the addAppropriateSources variants again.

svn-id: r49825
2010-06-15 12:15:52 +00:00
Max Horn
713e61acba SCI: Doxygen fixes
svn-id: r49824
2010-06-15 12:15:27 +00:00
Max Horn
4020500640 SCI: Rename ResourceSource members to follow _camelCase convention
svn-id: r49823
2010-06-15 12:15:05 +00:00
Max Horn
07b896802b SCI: Pass volume number to ResourceSource subclass constructors; make ResourceSource::volume_number const
svn-id: r49822
2010-06-15 12:14:39 +00:00
Max Horn
bb1336ca41 SCI: Add loadResource impls for WaveResourceSource and AudioVolumeResourceSource
svn-id: r49821
2010-06-15 12:14:15 +00:00
Max Horn
d032e6481b SCI: Add loadResource impls to MacResourceForkResourceSource and PatchResourceSource; move _macResMan to MacResourceForkResourceSource
svn-id: r49820
2010-06-15 12:13:52 +00:00
Max Horn
d4f16962d0 SCI: Move code from ResourceManager::loadResource to ResourceSource::loadResource
svn-id: r49819
2010-06-15 12:13:29 +00:00
Max Horn
d0f59edd96 SCI: Rename ResourceSource::resourceFile to _resourceFile
svn-id: r49818
2010-06-15 12:13:07 +00:00
Max Horn
d15e09fdc2 SCI: Merge MacResourceForkResourceSource::scanSource and ResourceManager::readMacResourceFork
svn-id: r49817
2010-06-15 12:12:44 +00:00
Max Horn
055ee6ab5b SCI: Add virtual method ResourceSource::scanSource
svn-id: r49816
2010-06-15 12:12:21 +00:00
Max Horn
89cf6f7cb1 SCI: Change ResourceManager::getVolume() to use new classes
* Add new ResourceSource::findVolume() virtual method
* Rename ResourceManager::getVolume() to findVolume(),
  and change it to use the new ResourceSource method
* Add some TODO comments pointing to further OOPification
  possibilities

svn-id: r49815
2010-06-15 12:11:56 +00:00
Max Horn
8c06425ee3 SCI: Remove 'map' param from addSource, and let AudioVolumeResourceSource subclass VolumeResourceSource
svn-id: r49814
2010-06-15 12:11:30 +00:00
Max Horn
17a5112162 SCI: Convert code to use ResourceSource subclasses
svn-id: r49813
2010-06-15 12:11:04 +00:00
Max Horn
24a295f4a3 SCI: Add ResourceSource subclasses, one for each type
svn-id: r49812
2010-06-15 12:10:41 +00:00
Max Horn
793c04f43b SCI: Changed some 'const char *' to Common::String
svn-id: r49811
2010-06-15 12:10:18 +00:00
Max Horn
dea38106f8 SCI: Change ResourceSource to a class, further OOPify it.
In particular, renamed location_name to _name and made it const and
protected. Thus it cannot be changed after creation, and only read
access is now possible, via a getter method.

svn-id: r49810
2010-06-15 12:09:51 +00:00
Max Horn
98e1f1a193 SCI: Only use MacResManager if needed; start to OOPify ResourceSource
svn-id: r49809
2010-06-15 12:09:30 +00:00
Max Horn
e32f3d5a43 SCI: cleanup
svn-id: r49808
2010-06-15 12:09:03 +00:00
Max Horn
69bfbdfa04 SCI: Move ResourceSource to new header resource_intern.h
svn-id: r49807
2010-06-15 12:08:40 +00:00
Martin Kiewitz
59d0035b03 SCI: move portrait methods to gfxPaint16
svn-id: r49806
2010-06-15 12:01:49 +00:00
Filippos Karapetis
5b484b5be7 Fixed compilation when SCI32 code is not enabled
svn-id: r49805
2010-06-15 11:44:55 +00:00
Eugene Sandulenko
103cb1b3ba GUI: Fixed warnings
svn-id: r49804
2010-06-15 11:38:53 +00:00
Eugene Sandulenko
079713c717 GUI: Fix crash
svn-id: r49803
2010-06-15 11:32:08 +00:00
Paul Gilbert
deb907de63 Bugfixes to depth processing that was causing the 'Microprose Design Group' message not to appear in the first intro scene
svn-id: r49801
2010-06-15 11:19:32 +00:00
Eugene Sandulenko
ab901bccd0 Mention GUI improvements in NEWS.
svn-id: r49800
2010-06-15 11:06:14 +00:00
Eugene Sandulenko
2399f998a3 i18n: Update Russian translation.
svn-id: r49799
2010-06-15 11:05:52 +00:00
Eugene Sandulenko
b6940caaaa SCUMM: Added directory globs for in-depth search.
The code was compied from AdvancedDetector. Currently it is
set up to detect Mac indy3/loom which contains it data in
Rooms 1, Roooms 2 and Rooms 3 directories.

svn-id: r49798
2010-06-15 11:04:35 +00:00
Eugene Sandulenko
94c9f9cdd1 I18n: Add backend files to POTFILES. Update .pot.
Translations were not updated.

svn-id: r49797
2010-06-15 11:03:11 +00:00
Eugene Sandulenko
9e006b74d3 Keymapper: sync with recent GUI changes.
svn-id: r49796
2010-06-15 11:02:42 +00:00
Eugene Sandulenko
9793c96f1b WINCE: sync with recent GUI changes. NOT TESTED.
svn-id: r49795
2010-06-15 11:02:23 +00:00
Eugene Sandulenko
9aa8a9d519 Symbian: sync with recent GUI changes. NOT TESTED.
svn-id: r49794
2010-06-15 11:01:41 +00:00
Eugene Sandulenko
91078cc1bb WII: sync with recent GUI changes. NOT TESTED.
svn-id: r49793
2010-06-15 11:01:17 +00:00
Eugene Sandulenko
d6d7cf3edf IPhone: sync with recent GUI changes. NOT TESTED.
svn-id: r49792
2010-06-15 11:00:57 +00:00
Eugene Sandulenko
c6d9812270 DS: sync with recent GUI changes. NOT TESTED.
svn-id: r49791
2010-06-15 11:00:35 +00:00
Eugene Sandulenko
03ed49169c AGOS: Readd Simon1 Acorn CD detection.
svn-id: r49790
2010-06-15 11:00:07 +00:00
Eugene Sandulenko
f2a62bb1f5 MOHAWK: Properly add detection for Riven DVD.
svn-id: r49789
2010-06-15 10:59:43 +00:00
Eugene Sandulenko
44a39ffbc6 AdvancedDetector: Add new parameter directoryGlobs.
Without this parameter mass detection gave tons of false alarms.
Use globbing for narrowing down the depth search.

svn-id: r49788
2010-06-15 10:59:23 +00:00
Eugene Sandulenko
0b83afce03 MOHAWK: Sync with latest GUI changes.
svn-id: r49787
2010-06-15 10:57:47 +00:00
Eugene Sandulenko
01bc5dda94 GUI: Implemented Languages as GUI options.
SCUMM and AdvancedDetector support this feature.

svn-id: r49786
2010-06-15 10:57:28 +00:00
Eugene Sandulenko
8dcc49251f GUI: Disable AdLib controls if game does not support it.
svn-id: r49785
2010-06-15 10:56:46 +00:00
Eugene Sandulenko
dc57c68454 GUI: Fix crash.
svn-id: r49784
2010-06-15 10:56:30 +00:00
Eugene Sandulenko
67bc711580 GUI: Implement MIDI drivers as GUI options.
Proper version of patch #2988641: "GSoC: Select drivers in GUI
based on output types". So far only SCUMM engine supports this
feature.

svn-id: r49783
2010-06-15 10:56:12 +00:00
Eugene Sandulenko
2bcafcb02d Sound: add PCJR as a pseudodriver.
Since AGI distinguishes between PCSPK and PCJR/Tandy, make it as a
pseudodriver.

svn-id: r49782
2010-06-15 10:55:31 +00:00
Eugene Sandulenko
eef983c2c6 AGI: enable MIDI in options since now there are ways to play it.
svn-id: r49781
2010-06-15 10:55:07 +00:00
Eugene Sandulenko
7be2812757 i18n: Update Russian translation with new tooltips
svn-id: r49780
2010-06-15 10:54:48 +00:00
Eugene Sandulenko
2b67bcc8e4 GUI: Added tooltips to more widgets.
svn-id: r49779
2010-06-15 10:54:22 +00:00
Eugene Sandulenko
5370fc2312 GUI: Widened max tooltip width for bigger screen resolutions
svn-id: r49778
2010-06-15 10:53:55 +00:00
Eugene Sandulenko
96b3aa6504 GUI: Added tons of tooltips.
svn-id: r49777
2010-06-15 10:53:30 +00:00