aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/resource.h
AgeCommit message (Collapse)Author
2010-05-23Cleaned up the game ID code:Filippos Karapetis
- The game ID is now obtained from ScummVM ID directly, not by converting Sierra's internal ID - Moved the code which reads the internal Sierra ID inside the resource manager - Moved the code which converts the internal Sierra ID to ScummVM's IDs together with the rest of the detection code svn-id: r49152
2010-05-19Added a new method to the resource manager, to help determine if we got a ↵Filippos Karapetis
SCI1.1 Mac game. Started rewriting the fallback detector so that it doesn't rely on the segment manager to find the internal game ID svn-id: r49102
2010-05-10Add support for loading SCI games from Mac resource forks. The games ↵Matthew Hoops
themselves do not work yet as some (not all) of the data is in BE order instead of LE. They currently error out because it thinks the relocation block is outside of the script. svn-id: r48998
2010-05-04Get rid of Engine::_gameDataDir.Max Horn
This greatly reduces indirect dependencies on several header files from common. svn-id: r48933
2010-04-29SCI: audio compression supportMartin Kiewitz
svn-id: r48856
2010-04-17SCI: key presses of extended chars (umlauts, etc.) will now get ignored in ↵Martin Kiewitz
games that don't support them (which is all non-multilingual games) svn-id: r48693
2010-03-22Patch #2973290: Semicolon cleanupMax Horn
svn-id: r48359
2010-02-17SCI: Rename some members of class ResourceMax Horn
svn-id: r48085
2010-02-17SCI: Cleanup resource.hMax Horn
svn-id: r48084
2010-01-31SCI: Handle -1 properly when passed as a language id to DoAudioWalter van Niftrik
svn-id: r47774
2010-01-28SCI: detecting hires for SCI2+ games, qfg4cd is sci2.1 but still 320x200Martin Kiewitz
svn-id: r47651
2010-01-27The two unknown fields point to the beginning and end of the sound sampleFilippos Karapetis
svn-id: r47601
2010-01-27Improve support for the SCI2.1/SCI3 file naming scheme. Multiple maps can be ↵Matthew Hoops
used and have to be matched up with their volume counterparts. Adding detection for the Phantasmagoria Demo too. svn-id: r47588
2010-01-26SCI: Add driver for Yamaha FB-01. Cleanup.Walter van Niftrik
svn-id: r47571
2010-01-25SCI: created isAmiga32color(), using this method instead of comparing ↵Martin Kiewitz
against viewType svn-id: r47554
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-16SCI: Fix rhythm channel handling in SCI0Walter van Niftrik
svn-id: r47326
2010-01-16The GM patches from Sierra's GM utility can now also be processed with their ↵Filippos Karapetis
original names. Thus, the user can just extract the patches from Sierra's GM utility in the extras folder, and it's not necessary to rename each individual file to "4.pat" and place it inside the associated game (works with the games that Sierra's GM patch updates, i.e. LSL1, LSL5, Hoyle3, SQ1, SQ4, Eco1, Longbow and Fairy tales) svn-id: r47318
2010-01-09SCI: Move music device IDs to drivers.Walter van Niftrik
svn-id: r47190
2010-01-06SCI: add robot/.rbt files to resourcemanager classMartin Kiewitz
svn-id: r47096
2010-01-05More renamingFilippos Karapetis
svn-id: r47009
2010-01-05Renamed /gui to /graphics and /sfx to /sound, to better illustrate their purposeFilippos Karapetis
svn-id: r47007
2010-01-03Made the "version" command more verbose, listing all the automatically ↵Filippos Karapetis
detected game features, along with the detected SCI version svn-id: r46943
2010-01-03Add support for wave files in the audio volume. This is used in Pharkas CD ↵Matthew Hoops
and GK1 CD. svn-id: r46916
2010-01-02SCI/new sound code: disabled some unused code and named a previously unknown ↵Filippos Karapetis
variable of the sound channel data svn-id: r46872
2009-12-27Fix regression in SCI1/1.1 wave sound from r46660. I knew it was a bad omen ↵Matthew Hoops
to have that revision number :P svn-id: r46664
2009-12-27Add support for external wave files used as audio resources in the ↵Matthew Hoops
ResourceManager. The GK1 CD main menu music now works. svn-id: r46660
2009-12-27SCI/newmusic: now playing sample data for sci0 games (this also fixes sq3 ↵Martin Kiewitz
amiga freezing during pot exit) svn-id: r46631
2009-12-27SCI/newmusic: now adding digital sample data as separate channel for sci0 ↵Martin Kiewitz
games (not yet playing) svn-id: r46629
2009-12-24SCI: channels are now filtered for sci0 (fixes garbled music)Martin Kiewitz
svn-id: r46525
2009-12-23SCI: new music code / removed unused sz from Track structMartin Kiewitz
svn-id: r46503
2009-12-23SCI: new music code / variable-names changed to make it more verboseMartin Kiewitz
svn-id: r46502
2009-12-20Directly modify the sound objects, instead of modifying a local copy. Remove ↵Filippos Karapetis
duplicate code (which now resides in resource.*) svn-id: r46427
2009-12-19- Started wrapping the current sound code around appropriate definesFilippos Karapetis
- Introduced a new resource type, SoundResource, used in the new music code svn-id: r46421
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-10-28Enclose all of the old graphics code within the INCLUDE_OLDGFX safeguard ↵Filippos Karapetis
(defined in sci.h) svn-id: r45459
2009-10-08Change doxygen inline comments from "//!" to "///" as proposed on -develMax Horn
svn-id: r44802
2009-09-23- Moved the SCI version in a global variableFilippos Karapetis
- Changed all the SCI version checks to use getSciVersion() - Also made getSciVersionDesc a global function (removes some ugly accessing of the SCI engine) The fallback detector should work correctly now svn-id: r44269
2009-09-01Coding best practice: Always use enums instead of #defines to define integer ↵Max Horn
constants (for many good reasons) svn-id: r43881
2009-08-30SCI: CleanupWalter van Niftrik
svn-id: r43811
2009-08-25- Split SCI_VERSION_32 into SCI_VERSION_2, SCI_VERSION_2_1, and ↵Matthew Hoops
SCI_VERSION_3 (each version has a different kernel table). - Improve map detection. - Fix SCI32 object and script initialization (Torin's Passage and GK1 scripts now start up, and probably most SCI2/2.1 games). - Add SCI2 and SCI2.1 kernel tables. svn-id: r43742
2009-08-25- Simplified the parameters of some functionsFilippos Karapetis
- Replaced some EngineState parameters - The SCI version is now obtained from the resource manager or the segment manager, thereby simplifying several functions - Plugged 2 leaks in the fallback detector - Renamed the segment manager and resource manager to "segmentManager" and "resourceManager" in all places, for consistency svn-id: r43722
2009-08-19SCI: Add autodetection of Amiga views.Walter van Niftrik
svn-id: r43547
2009-08-18Started rewriting the SCI engine to use FSNode instead of file names. This ↵Filippos Karapetis
is the proper solution for removing the hack in the fallback detector, but it still needs work. Also, reduced the things needed to be initialized a bit, so that the detection is a bit faster svn-id: r43510
2009-08-18Removed the maxMemory parameter of the resource manager and replaced it with ↵Filippos Karapetis
a define svn-id: r43503
2009-08-17SCI: Add autodetection for DoSound. Cleanup.Walter van Niftrik
svn-id: r43482
2009-08-17Fix compilation of the SCI engine. It seems that all of the SCI header files ↵Johannes Schickel
I touched (and probably others I luckily didn't touch) seem to assume that files including them will supply needed types. That looks like a major issue in SCI. Someone with knowledge of the SCI code should look into this and cleanup the includes of *all* SCI headers. svn-id: r43459
2009-08-16SCI: Fix regression in previous commit (QFG2).Walter van Niftrik
svn-id: r43450
2009-08-16SCI: Stage 1 of the game detection overhaul. The end goal is to autodetectWalter van Niftrik
as much as possible. All SCI_VERSION_* information was removed from detection.cpp (much of it was incorrect anyway). svn-id: r43449
2009-08-15SCI: Rename sci_version_t to SciVersionWalter van Niftrik
svn-id: r43407