aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2010-01-31SCI: Implement kMemorySegment().Walter van Niftrik
svn-id: r47776
2010-01-31SCI: Add another DeviceInfo subfunction. Fixes VM crash in MUMG.Walter van Niftrik
svn-id: r47775
2010-01-31SCI: Handle -1 properly when passed as a language id to DoAudioWalter van Niftrik
svn-id: r47774
2010-01-31SCI: GfxCache is now also called directly w/o SciGui nor SciGui32Martin Kiewitz
svn-id: r47759
2010-01-31SCI: renamed kernelFind() to kernelFindColor, so that it isnt that confusing :PMartin Kiewitz
svn-id: r47753
2010-01-31SCI: renamed SciPalette to GfxPalette, Screen to GfxScreen, GfxPalette is ↵Martin Kiewitz
now called directly w/o SciGui svn-id: r47752
2010-01-31SCI: renamed SciGuiAnimate to GfxAnimate, moved code from SciGui into this ↵Martin Kiewitz
class, now getting called directly svn-id: r47751
2010-01-31SCI: cleaned up graphics classes, removed gfx&windowmgr, added gfxports, ↵Martin Kiewitz
gfxcompare, gfxpaint16, gfxcache. kernel uses gfxports directly w/o going through SciGui svn-id: r47745
2010-01-31Removed duplicate code. Some cleanupFilippos Karapetis
svn-id: r47735
2010-01-31Removed an unused parameter from _game_run()Filippos Karapetis
svn-id: r47734
2010-01-31Fixed endless looping in Longbow, when the after market GM patches are usedFilippos Karapetis
svn-id: r47731
2010-01-30Fixed loading of saved gamesFilippos Karapetis
svn-id: r47729
2010-01-30SCI: Don't mess with save_slot just to be able to decide whether we already ↵Max Horn
honored a load request or not svn-id: r47726
2010-01-30SCI: Correct comments which talked about 'loading from GMM' when they really ↵Max Horn
meant 'loading from launcher' svn-id: r47725
2010-01-30SCI: Mark scriptState as one of the many evil global vars in the SCI engineMax Horn
svn-id: r47724
2010-01-30SCI: Remove extra '\n's in debugC messagesWillem Jan Palenstijn
svn-id: r47707
2010-01-30Fix warningWillem Jan Palenstijn
svn-id: r47706
2010-01-30Silenced a very annoying warningFilippos Karapetis
svn-id: r47704
2010-01-30SCI: Removed old pathfinding codeWalter van Niftrik
svn-id: r47701
2010-01-30SCI: Apply fix from r47683 to u> and u<= as well. Fixes Longbow.Walter van Niftrik
svn-id: r47700
2010-01-30Add the SCI2.1 variant of kShowMovie; KQ7 now shows the opening video.Matthew Hoops
svn-id: r47699
2010-01-30SCI: AvoidPath: Allow solitary screen-edge vertices in path.Walter van Niftrik
svn-id: r47698
2010-01-30Implement kString(Printf) and resizing of SCI32 strings in kFormat().Matthew Hoops
svn-id: r47697
2010-01-30Add support for saving/loading Arrays/Strings in SCI32. It's possible to ↵Matthew Hoops
save a game in GK1 now via the console, but not load (yet). svn-id: r47696
2010-01-30Added support for String types to kFormat (seems to work but needs testing...)Filippos Karapetis
svn-id: r47694
2010-01-30Ignore kString(printBuf) calls with more parameters than 3 - a list is ↵Filippos Karapetis
probably used svn-id: r47693
2010-01-30SCI: Hook up AvoidPath debug mode to pathfinding debug channel.Walter van Niftrik
svn-id: r47692
2010-01-30Implemented kString case 12 - it was really kFormat in disguise :)Filippos Karapetis
svn-id: r47691
2010-01-29SCI: Partly revert r47597, as it is superseded by r47683.Walter van Niftrik
svn-id: r47686
2010-01-29Document my last changeLars Skovlund
svn-id: r47684
2010-01-29SCI: uge? and ult? opcodes now work correctly when comparing pointers with 1000.Lars Skovlund
svn-id: r47683
2010-01-29Fix compile when ENABLE_SCI32 is not set.Matthew Hoops
svn-id: r47682
2010-01-29SCI: adding shakeScreen() for gui32 for lsl6Martin Kiewitz
svn-id: r47681
2010-01-29SCI: added new SciGui32 class, Gfx class needs some work though and ↵Martin Kiewitz
hopefully i didnt overlook some kernel function that is also used by sci32. now using plane left/top svn-id: r47679
2010-01-29Added static selectors for SCI2-SCI2.1 games (fixes the demo of Torin's Passage)Filippos Karapetis
svn-id: r47669
2010-01-29SCI: Reduce header interdependencies a bitMax Horn
svn-id: r47666
2010-01-29SCI: Move selector stuff to new header; reorder k_argc & k_argp param of ↵Max Horn
invoke_selector svn-id: r47665
2010-01-29SCI: Added OnStartup debug flag to start the debugger at the start of the game.Walter van Niftrik
svn-id: r47663
2010-01-28SCI: Make SQ6 sound work. The meaning of these extra parameters is not yet ↵Lars Skovlund
understood. svn-id: r47660
2010-01-28Added some more information on the errors thrown by lookupString() and ↵Filippos Karapetis
freeString() - Torin full currently crashes in lookupString, called from kString (strcpy) svn-id: r47659
2010-01-28kDisposeList() is not needed according to waltervn, as the garbage collector ↵Filippos Karapetis
automatically clears unused objects svn-id: r47653
2010-01-28Disabled the automatic list fixing feature, introduced in rev. #47636 ↵Filippos Karapetis
(there's no point in fixing lists created by game scripts) svn-id: r47650
2010-01-28SCI: CleanupWalter van Niftrik
svn-id: r47649
2010-01-28SCI2.1: Added a dummy function for kRobot (with some info on its ↵Filippos Karapetis
parameters), assigned IsOnMe to OnMe (needs verification, but seems to be correct) and changed kSave(8) to return nonzero. The menu of the Phantasmagoria demo is now shown, together with its creepy music :) svn-id: r47648
2010-01-28SCI: Add debug opcodesWalter van Niftrik
svn-id: r47646
2010-01-28Detect whether to use the modified SCI2 or SCI2.1 kernel table based on the ↵Matthew Hoops
kDoSound call used in Sound::play(), which fixes at least my version of KQ7 - probably others. The kernel table initialization now occurs after the script signatures are adjusted as we need it adjusted before checking through Sound::play for the kDoSound call. svn-id: r47645
2010-01-28Handle calls to NewNode() with just one parameter.Lars Skovlund
Takes care of Phantasmagoria, Torin, etc. svn-id: r47643
2010-01-28Changed run_vm() to use the sci_opcodes enum, and fixed several wrong ↵Filippos Karapetis
opcodes inside that enum svn-id: r47642
2010-01-28Removed a hack for the demo version of Torin's passage. It errors out ↵Filippos Karapetis
because the static selector vocabulary for SCI2+ games isn't implemented yet svn-id: r47640
2010-01-28Since we fix the list problems inside isSaneNodePointer(), don't abort ↵Filippos Karapetis
processing of the list svn-id: r47637