aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sci.cpp
AgeCommit message (Collapse)Author
2010-08-25SCI: making loading from ScummVM menu work correctlyMartin Kiewitz
using a trick for indirectly calling GameObject::init and then restoring, fixes text color/font code issues, also removing all the hackery svn-id: r52379
2010-08-24SCI: replacing save dialog as wellMartin Kiewitz
experimental feature - enable by putting "scireplacedialog=true" inside scummvm section of scummvm.ini LSL6 currently loses the ability to quicksave, when using the feature. Although i don't see it as a huge loss. That way it's now possible to save to up to 100 slots instead of just 20. svn-id: r52345
2010-08-24SCI: Check for the existence of script 180 before accessing it.Filippos Karapetis
Fixes the Longbow demo svn-id: r52344
2010-08-24SCI: more work on replacing save dialogMartin Kiewitz
also removing some previous code, because it wont work that way svn-id: r52342
2010-08-24SCI: some work on replacing save dialogMartin Kiewitz
svn-id: r52341
2010-08-24SCI: fixing const cast warningMartin Kiewitz
making clone happy :D svn-id: r52339
2010-08-24SCI: changing signature of kRestoreGameMartin Kiewitz
and changing patch code accordingly svn-id: r52320
2010-08-24SCI: now pausing/unpausing music in replaced restore dialogMartin Kiewitz
dialog will not get replaced in sci32, nor in mother goose. Enable by adding "scireplacedialog" inside scummvm section of scummvm.ini file. Note: this feature is experimental svn-id: r52318
2010-08-24SCI: bit more work on restore dialog replacingMartin Kiewitz
(works now, if enabled - but music isn't yet paused) svn-id: r52317
2010-08-23SCI: some more work on replacing restore dialogMartin Kiewitz
svn-id: r52314
2010-08-23SCI: storing game super class address now inside SciEngineMartin Kiewitz
svn-id: r52311
2010-08-17SCI: Added a warning dialog on game startup for versions of Longbow with ↵Filippos Karapetis
known buggy scripts (containing game stopping bugs), which have been patched by Sierra svn-id: r52172
2010-08-07SCI: Added support for the inbuilt leftover parser in XMAS1990Filippos Karapetis
svn-id: r51829
2010-08-05SCI: Fixed bug #3039477 - "KQ5CD: No speech after restoring from ScummVM" ↵Filippos Karapetis
and added a TODO for loading through the game launcher svn-id: r51755
2010-08-04SCI: Add 'movie' subdirectory for VMD'sMatthew Hoops
The Torin's intro movie now plays. Minor kPlayVMD cleanup. svn-id: r51739
2010-08-02SCI: fixing getting selected languageMartin Kiewitz
for multilingual games svn-id: r51608
2010-08-01SCI: honoring english selection for multilingual gamesMartin Kiewitz
svn-id: r51598
2010-08-01SCI: adding "audiosfx" to directoriesMartin Kiewitz
svn-id: r51579
2010-08-01SCI: adding audio directory searching for patchesMartin Kiewitz
fixes bug #3037768 svn-id: r51570
2010-07-31SCI: kGameIsRestarting returns 2 when we restoredMartin Kiewitz
fixes castle of dr. brain save issue in puzzle room, fixes island of dr. brain save issue when saving in first room svn-id: r51538
2010-07-30SCI: Switch to Common::RandomSource.Johannes Schickel
Since I got no response to my mail to -devel, I just assume that there is no specific reason for using rand() in SCI. As explained in my mail to -devel about why SCI uses rand, this might allow SCI to work with our event recording, when that ever gets finished. I adapted kRandom so that it also supports negative random numbers. And furthermore that the toNumber argument is smaller than the fromNumber argument. I am not sure whether that really happens though, but it should be safer to have this. I marked that place with an TODO/CHECKME. svn-id: r51521
2010-07-28SCI: Add 'robots' subdirectory (PQSWAT demo stores them there)Matthew Hoops
svn-id: r51405
2010-07-26SCI: Fixed menu reset in SCI0/SCI01 games when restartingFilippos Karapetis
svn-id: r51309
2010-07-24SCI: cache Planes for sci32Martin Kiewitz
svn-id: r51249
2010-07-22SCI: Fixed a bug when loading some saved games (sometimes, the execution ↵Filippos Karapetis
stack wasn't cleared properly when loading and you couldn't save or restore) svn-id: r51140
2010-07-20SCI: Removed the restoring parameter of the run_vm() functionFilippos Karapetis
svn-id: r51076
2010-07-19SCI: don't initialize vocabulary twiceMartin Kiewitz
svn-id: r51032
2010-07-19SCI: fix regression of r51027Martin Kiewitz
we have to reset the parser when switching vocabulary svn-id: r51031
2010-07-19SCI: implement foreign vocabulary supportMartin Kiewitz
not fully working, extended chars do not work currently as input svn-id: r51027
2010-07-15SCI: adding support to qfg4 to import qfg3 character dataMartin Kiewitz
svn-id: r50911
2010-07-12SCI: Turn global object g_debugState into SciEngine member varMax Horn
svn-id: r50836
2010-07-10SCI: removed unused debug flags, changed fileio debug prints to only happen ↵Martin Kiewitz
on debugflag "file" svn-id: r50782
2010-07-03SCI: added resetting of SoundCommandParser, so that error()s before that one ↵Martin Kiewitz
got initialized wont crash svn-id: r50619
2010-06-30SCI: Removed the FreeSCI music codeFilippos Karapetis
svn-id: r50532
2010-06-29SCI: Made the SoundCommandParser a member of the SciEngine class and removed ↵Filippos Karapetis
it from the EngineState, since it's static throughout the course of a game svn-id: r50484
2010-06-28SCI: More changes to the code for loading from the launcherFilippos Karapetis
- Added support for the LSL2 menu bar object - We no longer need a reference to the init() selector - it's always the first method of the menu bar object svn-id: r50462
2010-06-28Fixed loading of saved games from the launcherFilippos Karapetis
svn-id: r50460
2010-06-28SCI: separated the graphics initialization code a bitFilippos Karapetis
- Moved all of the graphics initialization code on startup inside initGraphics() - Moved all of the screen initialization (resolution, upscaled graphics etc) code inside GfxScreen() svn-id: r50412
2010-06-27SCI: Removed the hack for loading games from the launcher from run_vm(). ↵Filippos Karapetis
This is now done on startup. This should fix loading from the launcher for LSL6 svn-id: r50406
2010-06-27Made the script initialization/uninitialization methods part of the segment ↵Filippos Karapetis
manager svn-id: r50402
2010-06-25SCI: Introduce SciGameId enumMax Horn
svn-id: r50273
2010-06-25SCI: Remove SciEngine::getFlags()Max Horn
svn-id: r50272
2010-06-25SCI: detect, if SCI1.1 game is merging or copying palette instead of using ↵Martin Kiewitz
gameIds. Also prints method used, when using debug command "version" svn-id: r50261
2010-06-17Strict mode: Turned several severe errors (almost all detection related) ↵Filippos Karapetis
into errors, instead of warnings svn-id: r49972
2010-06-17SCI: Change SciEngine's 'char *getGameID()' to 'Common::String getGameId()'Max Horn
svn-id: r49968
2010-06-17SCI: Remove selector_name function, some cleanupMax Horn
svn-id: r49966
2010-06-17SCI: Get rid of duplicate _system member in SciEngineMax Horn
svn-id: r49965
2010-06-17SCI: cleanupMax Horn
svn-id: r49961
2010-06-17Added handling of VMD video files in kResCheck, fixes video playing in GK2Filippos Karapetis
svn-id: r49913
2010-06-16Hooked the VMD player in kPlayVMD. The VMD videos in the demo of ↵Filippos Karapetis
Phantasmagoria 1 are shown now (e.g. the intro and the chapter beginning) svn-id: r49912