aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/scicore
AgeCommit message (Collapse)Author
2009-05-14CleanupFilippos Karapetis
svn-id: r40573
2009-05-14- Added a new game flag to distinguish SCI1 EGA versionsFilippos Karapetis
- Fixed the wrong detected versions of Laura Bow 2 - Changed some code regarding the resource loader of Jones in the Fast Lane (which is still non-functional) svn-id: r40564
2009-05-14Replaced the SCI_VERSION_FTU_DOSOUND_VARIANT_2 version check with the game ↵Filippos Karapetis
feature flag GF_SCI1_NEWDOSOUND svn-id: r40561
2009-05-14- Replaced SCI_VERSION_FTU_LOFS_ABSOLUTE with the GF_SCI1_LOFSABSOLUTE game flagFilippos Karapetis
- Moved the version defines outside of versions.h svn-id: r40559
2009-05-14Added a feature flag for the SCI1.1 behavior of kSetCursor() in Eco 1 and ↵Filippos Karapetis
KQ5 CD. Some cleanup svn-id: r40554
2009-05-14Started using game-specific flags and removed/replaced some SCI version ↵Filippos Karapetis
checks with flags. - The SCI0 new script header and the angles check have been replaced by the GF_SCI0_OLD flag - The SCI0 new drawpic parameter and the new priority check have been replaced by the GF_SCI0_OLDGFXFUNCS flag - Removed the code which retries to use the newer script header in SCI0 games if the detected one is wrong, as that case should be covered by the GF_SCI0_OLD flag - Removed the leftover min_version and max_version variables from gamestate - Cleaned up kGetTime() a bit svn-id: r40552
2009-05-14- Enabled the code which puts the text inside the screen if it doesn't fit ↵Filippos Karapetis
for all SCI versions - Removed the check for the mechanism to resume suspended songs (it's no longer used) svn-id: r40551
2009-05-14Removed the hack used to check for the existence of the CantBeHere() selectorFilippos Karapetis
svn-id: r40549
2009-05-13Simplified and re-enabled the debug code that shows pixmaps on screen and ↵Filippos Karapetis
moved sciprintf() to tools.cpp svn-id: r40542
2009-05-13- Simplified SCI version detection a bit and clarified the different version ↵Filippos Karapetis
feature flags (not used yet) - Removed the version verification functions (they were only used for two specific cases, but the SCI executable reader is able to detect the exact SCI game version anyway, so there is no point in having these) - Removed the empty GameFlags structure and replaced it with a 32-bit integer instead svn-id: r40524
2009-05-12SCI: Removed sci_memory.h/.cppMax Horn
svn-id: r40514
2009-05-12Rearranged all the different version checks based on SCI version in ↵Filippos Karapetis
versions.h, and added some WIP and unused game flags, which will hopefully replace the SCI version numbers svn-id: r40509
2009-05-12Performed some cleanup on the different version checksFilippos Karapetis
svn-id: r40499
2009-05-12SCI: Merged Message() and GetMessage(). Set SCI1.1 to use SCI1 kernel table ↵Walter van Niftrik
(for now). svn-id: r40481
2009-05-12Replaced sci_hexdump() with Common::hexdump()Filippos Karapetis
svn-id: r40472
2009-05-11SCI: Hacked stuff up so that debugger commands also print on the GUI consoleMax Horn
svn-id: r40460
2009-05-11SCI: Hook FreeSCI console commands into the ScummVM console (incomplete as ↵Max Horn
of now, because printf output is not yet redirect to the GUI console) svn-id: r40459
2009-05-11SCI: Replace global vars cmd_paramlength & cmd_params by ↵Max Horn
Common::Array<cmd_param_t> param to console hook commands svn-id: r40452
2009-05-11SCI: Reduced header depsMax Horn
svn-id: r40451
2009-05-10Disabled some unused codeFilippos Karapetis
svn-id: r40411
2009-04-25SCI: DoSync should work now, but the lip-syncing mechanism also needs DoAudioWalter van Niftrik
(currently stubbed), so it hasn't been tested yet. so it hasn't been tested yet. svn-id: r40147
2009-04-25WIP (still non-working) code for speech sync in CD talkie games (like e.g. ↵Filippos Karapetis
KQ5 CD and SQ4 CD), taken from Greg's SCI implementation. svn-id: r40142
2009-04-24SCI: Fixed mouse cursor hotspots in ECO1.Walter van Niftrik
svn-id: r40110
2009-04-24SCI: Some const corrections, removed dead stuff, cleanupMax Horn
svn-id: r40101
2009-04-24SCI: Store parse_tree_branch_t in a Common::ArraayMax Horn
svn-id: r40100
2009-04-23Changed the "Intersections" opcode to "MoveCursor", after verifying it with ↵Filippos Karapetis
Greg's SCI implementation and discussing it with waltervn. Also, the cursor hotspot is now fixed for Eco Quest 1 and probably SCI11 games as well (e.g. the game menu in KQ6 is now working) svn-id: r40096
2009-04-22SCI: getInt -> READ_LE_UINT16Max Horn
svn-id: r40079
2009-04-22SCI: Changed knames (kernel function name table) to Common::StringListMax Horn
svn-id: r40078
2009-04-20SCI: cleanupMax Horn
svn-id: r40029
2009-04-07SCI: Do not skip last entry in kernel table for SCI1.Walter van Niftrik
svn-id: r39895
2009-04-07SCI: Swapped x and y parameters of IsItSkip. Added IsItSkip to kernel table.Walter van Niftrik
svn-id: r39894
2009-04-07SCI: Fix endian-unsafe read [bug #2739122 ]Willem Jan Palenstijn
svn-id: r39891
2009-04-03Changed some references from "FreeSCI" to "SCI" or "ScummVM"Filippos Karapetis
svn-id: r39807
2009-03-30This should really fix the issues with vobab.999/999.voc in SCI1 games (e.g. ↵Filippos Karapetis
KQ5) svn-id: r39768
2009-03-30Ignore the unreliable resource vocab.999 in SCI1 games. This allows us to ↵Filippos Karapetis
use the hardcoded table in vocabulary_get_knames1() instead (also check commit #39694). KQ5 floppy works now without FreeSCI's custom vocabulary file svn-id: r39766
2009-03-30Fixed compilationFilippos Karapetis
svn-id: r39751
2009-03-30Wrapped all the still WIP SCI32-specific code around appropriate ifdef ↵Filippos Karapetis
blocks. SCI32 has fundamental differences from previous SCI versions (e.g. direct point addressing is no longer possible), most of SCI32 games use SVGA resolutions and currently a lot of SCI32 specific code is missing (like, for example, the newer string and array handling functions, the widget system etc). This has been done in the same manner as in the SCUMM and SAGA engines. svn-id: r39750
2009-03-26SCI: Match signature of readResourceMapSCI0 and readResourceMapSCI1 (helpful ↵Max Horn
if we ever want to turn this into overloaded methods of ResourceManager subclasses, one subclass for each SCI version) svn-id: r39701
2009-03-25SCI: Cleaned up the decompressor comments and code a little bitMax Horn
svn-id: r39698
2009-03-25Use the default kernel vocabulary names for SCI1 games, instead of reading ↵Filippos Karapetis
the unreliable (in SCI1 games) 999.voc resource. KQ5 and EcoQuest 1 now work properly, and all other SCI1 games seem to be unaffected and working with this change. If there's any SCI1 game with different kernel vocabulary names, we can add special flags to it to our detector, so this change fixes more than it breaks :) svn-id: r39694
2009-03-24SCI: Rewrote vocabulary code to use a Common::HashMap<String,ResultWord>Max Horn
svn-id: r39671
2009-03-24SCI: Changed vocab_tokenize_string to not 'return' the list it generates, ↵Max Horn
but rather pass a reference to an existing list to it (this is a bit more efficient, and allows us to return an error value) svn-id: r39670
2009-03-24SCI: Turned synonyms list into a Common::ListMax Horn
svn-id: r39669
2009-03-14SCI: Fixed warningMax Horn
svn-id: r39400
2009-03-14- LZS Decompressor addedGreg Frieger
- Some code clean-up svn-id: r39385
2009-03-14Fixed SCI32 Map detectionGreg Frieger
svn-id: r39384
2009-03-14Some rewrites and clean-ups in decompressing functions. View and Pic ↵Greg Frieger
post-processing functions reverted back to FreeSCI ones. svn-id: r39383
2009-03-13Applied gregfrieger's fix on decodeRLE()Filippos Karapetis
svn-id: r39367
2009-03-11ResourceManager: Greg Frieger
- RESOURCE.MSG and MESSAGE.MAP added to source List - Small changes in patch processing code to avoid loading wrong files svn-id: r39345
2009-03-11ResourceManager: Greg Frieger
- Keep a list of opened volumes to avoid redundant file opens - Internal functions moved from public to protected svn-id: r39334