Johannes Schickel
8fc7d60feb
SCI: Make GPL headers consistent in themselves.
2014-02-18 02:39:37 +01:00
Willem Jan Palenstijn
24b0b6aa43
SCI: Fix memory leak
2013-04-20 16:27:59 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Ori Avtalion
cd6ee0589d
JANITORIAL: Format forward declarations to follow convention
2011-04-28 12:20:34 +03: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
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
4c8a9ab24a
SCI: Add support for Mac SCI1.1+ resource compression
...
Mac SCI1.1+ games should now start up. QFG1 and Hoyle4 are playable. GK1 starts its scripts, but errors out soon after. There are still some View bugs with each (somehow, view decompression seems to be adding a blank line after each line?).
*Much* thanks to Walter for his help.
svn-id: r55696
2011-01-31 22:45:51 +00:00
Matthew Hoops
44f12117f2
SCI: Add support for SCI2.1 chunk resources
...
And if no scripts are present, but chunk 0 is present, load resources from there. This fixes the Lighthouse SCI2.1 demo.
svn-id: r51696
2010-08-03 14:58:57 +00:00
Johannes Schickel
83e2aa2360
Remove extra ";" in class declarations.
...
svn-id: r50955
2010-07-17 00:05:27 +00:00
Max Horn
e7275161f4
SCI: Avoid using g_sci in resman (as it might not yet be inited)
...
svn-id: r49897
2010-06-16 00:24:16 +00:00
Max Horn
b8d9cf2773
SCI: Pass resman to scanSource() methods
...
svn-id: r49863
2010-06-15 16:50:10 +00:00
Max Horn
f387025e9b
SCI: Add FIXME regarding audio specific code in Resource(Source)
...
svn-id: r49849
2010-06-15 12:35:39 +00:00
Max Horn
63d9cfb3bf
SCI: Add ResourceManager::updateResource(); change some code to use addResource()
...
svn-id: r49832
2010-06-15 12:18:31 +00:00
Max Horn
b9a3a9c12d
SCI: Move _associatedMap to VolumeResourceSource and make it const
...
svn-id: r49831
2010-06-15 12:18:07 +00:00
Max Horn
6667a71027
SCI: Move _audioCompression(Type|OffsetMapping) to AudioVolumeResourceSource
...
svn-id: r49830
2010-06-15 12:17:47 +00:00
Max Horn
6248daccfc
SCI: Get rid of ugly resMan params to ResourceSource methods
...
We might want to add a ResourceSource::_resMan member, but for
now I am not adding one on purpose; many more things might still
move between ResourceSource and ResourceManager, so we should
wait till the refactoring is complete.
svn-id: r49828
2010-06-15 12:17:05 +00:00
Max Horn
348953c067
SCI: Make ResourceSource::_resourceFile const
...
svn-id: r49826
2010-06-15 12:16:17 +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
69bfbdfa04
SCI: Move ResourceSource to new header resource_intern.h
...
svn-id: r49807
2010-06-15 12:08:40 +00:00