aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
2010-06-15SCI: fix changes from r49806Martin Kiewitz
svn-id: r49839
2010-06-15cleanupMax Horn
svn-id: r49837
2010-06-15Reduce header dependenciesMax Horn
svn-id: r49836
2010-06-15SCI: Move decompress & readResourceInfo to Resource; more cleanupMax Horn
svn-id: r49835
2010-06-15SCI: cleanupMax Horn
svn-id: r49834
2010-06-15SCI: Move several methods from ResourceManager to ResourceMax Horn
svn-id: r49833
2010-06-15SCI: Add ResourceManager::updateResource(); change some code to use ↵Max Horn
addResource() svn-id: r49832
2010-06-15SCI: Move _associatedMap to VolumeResourceSource and make it constMax Horn
svn-id: r49831
2010-06-15SCI: Move _audioCompression(Type|OffsetMapping) to AudioVolumeResourceSourceMax Horn
svn-id: r49830
2010-06-15SCI: cleanupMax Horn
svn-id: r49829
2010-06-15SCI: Get rid of ugly resMan params to ResourceSource methodsMax Horn
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-15SCI: Merge ResourceManager::checkIfAudioVolumeIsCompressed into ↵Max Horn
AudioVolumeResourceSource constructor svn-id: r49827
2010-06-15SCI: Make ResourceSource::_resourceFile constMax Horn
svn-id: r49826
2010-06-15SCI: Revise how ResourceManager is instantiated.Max Horn
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-15SCI: Doxygen fixesMax Horn
svn-id: r49824
2010-06-15SCI: Rename ResourceSource members to follow _camelCase conventionMax Horn
svn-id: r49823
2010-06-15SCI: Pass volume number to ResourceSource subclass constructors; make ↵Max Horn
ResourceSource::volume_number const svn-id: r49822
2010-06-15SCI: Add loadResource impls for WaveResourceSource and AudioVolumeResourceSourceMax Horn
svn-id: r49821
2010-06-15SCI: Add loadResource impls to MacResourceForkResourceSource and ↵Max Horn
PatchResourceSource; move _macResMan to MacResourceForkResourceSource svn-id: r49820
2010-06-15SCI: Move code from ResourceManager::loadResource to ↵Max Horn
ResourceSource::loadResource svn-id: r49819
2010-06-15SCI: Rename ResourceSource::resourceFile to _resourceFileMax Horn
svn-id: r49818
2010-06-15SCI: Merge MacResourceForkResourceSource::scanSource and ↵Max Horn
ResourceManager::readMacResourceFork svn-id: r49817
2010-06-15SCI: Add virtual method ResourceSource::scanSourceMax Horn
svn-id: r49816
2010-06-15SCI: Change ResourceManager::getVolume() to use new classesMax Horn
* 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-15SCI: Remove 'map' param from addSource, and let AudioVolumeResourceSource ↵Max Horn
subclass VolumeResourceSource svn-id: r49814
2010-06-15SCI: Convert code to use ResourceSource subclassesMax Horn
svn-id: r49813
2010-06-15SCI: Add ResourceSource subclasses, one for each typeMax Horn
svn-id: r49812
2010-06-15SCI: Changed some 'const char *' to Common::StringMax Horn
svn-id: r49811
2010-06-15SCI: Change ResourceSource to a class, further OOPify it.Max Horn
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-15SCI: Only use MacResManager if needed; start to OOPify ResourceSourceMax Horn
svn-id: r49809
2010-06-15SCI: cleanupMax Horn
svn-id: r49808
2010-06-15SCI: Move ResourceSource to new header resource_intern.hMax Horn
svn-id: r49807
2010-06-15SCI: move portrait methods to gfxPaint16Martin Kiewitz
svn-id: r49806
2010-06-15Fixed compilation when SCI32 code is not enabledFilippos Karapetis
svn-id: r49805
2010-06-15AdvancedDetector: Add new parameter directoryGlobs.Eugene Sandulenko
Without this parameter mass detection gave tons of false alarms. Use globbing for narrowing down the depth search. svn-id: r49788
2010-06-15SCI: Fix timer.Eugene Sandulenko
installTimerProc requires interval specified in milliseconds, not microseconds. Correct palVary method accordingly. svn-id: r49772
2010-06-15Throttle screen updates to 60fps in some screen transition effects as wellFilippos Karapetis
svn-id: r49690
2010-06-15Properly reconstruct the running stack when restoring (a regression from ↵Filippos Karapetis
commits #49376 and #49525), some formatting svn-id: r49689
2010-06-15- Swapped the return value of gamestate_save (false = failed, true = succeeded)Filippos Karapetis
- Removed some duplicate code inside Console::cmdSaveGame() svn-id: r49688
2010-06-15Added a signature of the game itself inside saved games (the size of script ↵Filippos Karapetis
0, as well as the offset of the game object, which are unique for each game), to prevent users from loading saved games across different versions of the same game. In the cases where we can't load a saved game, throw a nice GUI dialog instead of a console warning svn-id: r49687
2010-06-15Add support for SCI32 segment types to seg_table and vr debug commandsLars Skovlund
svn-id: r49686
2010-06-15Reorganized functions a bitFilippos Karapetis
svn-id: r49685
2010-06-15Removed the now unused EngineState parameter of ↵Filippos Karapetis
script_adjust_opcode_formats(), as well as an obsolete TODO svn-id: r49684
2010-06-15Cleanup of the savegame code:Filippos Karapetis
- Added a saveLoadWithSerializer() method to the reg_t class - Moved SegManager::reconstructClones() inside savegame.cpp - Moved SoundCommandParser::syncPlayList() and SoundCommandParser::reconstructPlayList() inside savegame.cpp svn-id: r49683
2010-06-14SCI: Added a version of allNotesOff() which sends messages only to the ↵Filippos Karapetis
channels used by the associated song instead of all channels svn-id: r49673
2010-06-14Removed the code used for tracking script code block relocations in ↵Filippos Karapetis
SCI0-SCI1 games, as we don't actually relocate these blocks, and it was used solely for verification of the exports table. The issue that this warning was created for should no longer occur svn-id: r49669
2010-06-14Cleanup of the SCI0 object initialization codeFilippos Karapetis
svn-id: r49666
2010-06-14Ignore and remove invalid plane and item objects in kFrameout. Fixes loading ↵Matthew Hoops
in-game in GK1. svn-id: r49663
2010-06-14CleanupFilippos Karapetis
svn-id: r49662
2010-06-14Fixed GK1 again, including the inventory screenFilippos Karapetis
svn-id: r49660