aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kmisc.cpp
AgeCommit message (Collapse)Author
2016-08-23SCI: Fix compilation when SCI32 is not enabledFilippos Karapetis
2016-08-22SCI32: Move the SCI32 Mac cursor handling code into GfxCursor32Filippos Karapetis
This was left in the SCI16 code in commit 80d9182554
2016-08-22SCI: Return the correct platform in kPlatform for Mac versionsFilippos Karapetis
2016-08-19SCI32: Split kPlatform for SCI32Colin Snover
2016-08-12SCI32: Implement kShowMovieColin Snover
2016-08-11SCI32: Temporarily revert kShowMovie due to buildbot failuresColin Snover
Revert "SCI32: Fix KQ7 1.51 video background" This reverts commit c8affb54cca259f37522216bad739be085bf9caa. Revert "SCI32: Fix crash when kShowMovie is called but the video cannot be found" This reverts commit 93b06f4a9e08de281ee7eb9c780ceac147c3fb23. Revert "SCI32: Fix KQ7 1.51 basic video playback" This reverts commit cdab24aa07c18ad4a25a1659f7fca15cca5e358e. Revert "SCI32: Additional Video32 documentation" This reverts commit 4ff0924e57a9bc9101ee0799a967fe3373dd2574. Revert "SCI32: Implement kShowMovie" This reverts commit 13297c19298c5ad73c9e996c5c31ca91de124911.
2016-08-11SCI32: Implement kShowMovieColin Snover
2016-07-25SCI: Add detection to the Hoyle 5 family of gamesOmer Mor
Added games are: Hoyle Classic Games Hoyle Bridge Hoyle Children's Collection Hoyle Solitaire (CD and Hard Drive versions) Additionaly, kGetConfig was modified to support two settings used by these games: "laptop" and "jumpto".
2016-07-11SCI32: Add detection for Hoyle 5 demoColin Snover
2016-07-02SCI: Improve kernel subfunction loggingWillem Jan Palenstijn
ExecStack now stores the kernel call number as well as the subfunction. This allows kStub and backtraces to log the actual subfunction called. The kernel call number in ExecStack used to be stored in the debugSelector field. It now has its own field, to avoid confusion.
2016-06-27SCI: Fixed KGetTime with SYSDATE subop in SCI0-LATE.Omer Mor
SSCI implementation of the SYSDATE subop of the GetTime kernel function was changed between SCI0-LATE and SCI01: The base year used was changed from 1920 to 1980. This subop is used in "Codename: Iceman" (Say "ask for date" to a passing girl on the beach). The Atari ST version of "Codename: Iceman" use the 1980 base year. The Amiga version of "Codename: Iceman" appears to return the time instead of date, with 0 for the YEAR part.
2016-02-08SCI: Make kMemory behavior like original SCIMartin Kiewitz
We added 1 to the size as a workaround, but it's not really a workaround, because original SCI allocated at least 2 bytes more. They also made sure the size is even. We now do the same.
2016-01-22SCI: add user option for high resolution graphicsMartin Kiewitz
Instead of choosing Windows as platform, users can now also simply click this option for Gabriel Knight 1 + King's Quest 6 Defaults to high resolution graphics
2016-01-14SCI: Use tick-based timing more consistentlyColin Snover
This means tick-based times are saved to save games, as in SCI32 engine, instead of seconds, which are not accurate enough. It also means places in SCI engine that need to access game ticks should do so through g_sci instead of g_system or g_engine.
2015-12-29SCI32: split up SCI2.1 into EARLY/MIDDLE/LATEMartin Kiewitz
- Detection works via signatures (couldn't find a better way) - new kString subcalls were introduced SCI2.1 LATE - kString now has signatures and is split via subcall table - kString fix, so that KQ7 doesn't crash, when starting a chapter - Sci2StringFunctionType removed, because no longer needed
2014-06-01SCI: fix kGetTime, fixes bug #6605Martin Kiewitz
current year part wasn't calculated properly
2014-02-18SCI: Make GPL headers consistent in themselves.Johannes Schickel
2012-07-03SCI: Move kGetWindowsOption together with the other misc kernel functionsFilippos Karapetis
2012-06-18SCI: Add setter/getter methods to reg_t'sFilippos Karapetis
No functionality change has been made with this commit. This avoids setting and getting the reg_t members directly, and is the basis of any future work on large SCI3 scripts (larger than 64KB)
2012-06-14SCI: Add handling of two more configuration settings for LSL7Filippos Karapetis
2012-06-13SCI: Handle the torindebug config setting for Torin's Passage FrenchFilippos Karapetis
Thanks to LePhilousophe for testing and providing a patch
2012-06-11SCI: Return the default value for unknown configuration settingsFilippos Karapetis
Based on a patch by LePhilousophe
2012-06-09SCI: Update information on kGetSierraProfileIntFilippos Karapetis
Thanks to LePhilousophe for his feedback and observations on this
2012-06-02SCI32: Implement GetConfig("language")Lars Skovlund
2012-05-30SCI32: Case-insensitive configuration gettersLars Skovlund
2012-05-26SCI: Implement kGetConfig and kGetSierraProfileIntFilippos Karapetis
This fixes the sluggish game speed in Phantasmagoria (DOS/Windows)
2011-09-24SCI: Fixed timer bug #3127824 - "SCI: speed problem - Castle of Dr Brain"Filippos Karapetis
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-15SCI: Silenced the warning for kMacPlatform(1)md5
This warning produces a lot of spam in the console (e.g. it pops up whenever the icon bar is opened in Dr. Brain Mac), thus it has been silenced
2011-03-28SCI: Error out when kMemorySegment() is requested to save more than 256 bytesmd5
2011-03-09SCI: Implement Mac iconbar event handling.Walter van Niftrik
2011-03-07SCI: Constify some codeMax Horn
2011-03-04SCI: Remove SCI version check from READ/WRITE_SCI1ENDIAN_UINT16.Walter van Niftrik
2011-03-04SCI: Use BE string handling for Mac games.Walter van Niftrik
2011-02-20SCI: Add support for enabling/disabling Mac icon bar imagesMatthew Hoops
2011-02-15SCI: Fill in the remaining Mac-specific kPlatform subopsMatthew Hoops
2011-02-06SCI: Improve Mac SCI1.1+ cursor supportMatthew Hoops
The scripts can pass a list of view id's from the DOS version that get remapped to CURS/crsr id's. GK1 cursors now work and Phantasmagoria uses the correct ones. svn-id: r55791
2011-02-03SCI: Disable the special QFG1 Mac icon barMatthew Hoops
The original interpreter completely ignores it in favor of the regular one. svn-id: r55748
2011-01-21SCI: Add comment for GK1 workaround.Lars Skovlund
svn-id: r55391
2011-01-21SCI: Fix GK1 breaking into the debugger when watching the introLars Skovlund
svn-id: r55386
2011-01-21SCI: Partial robot support, currently disabled since it does not runLars Skovlund
asynchronously as it should. svn-id: r55382
2011-01-07SCI2.1: Kernel function changes (after looking through all of the SCI2.1 games)Filippos Karapetis
- Replaced the stub kWinDLL (unused), as well as the not fully implemented kPrintDebug functions with empty function calls - Marked several unused or debug kernel functions as stub - Added some games where the rest of the unimplemented SCI2.1 kernel functions are used svn-id: r55138
2011-01-01SCI: debugC calls no longer require a debug level of 2 to show outputFilippos Karapetis
svn-id: r55086
2010-11-28SCI: Fixed bug #3034471 - "SCI, Castlebrain/Amiga: Invisible text in word ↵Filippos Karapetis
search" Fixed some endianness issues in Amiga versions, thanks to wjp. Amiga versions expect a BE VM, thus we adjust accordingly in the places where memory is accessed directly (i.e. kStrAt, kMemory and all places that set/get characters from memory) svn-id: r54521
2010-11-20SCI: Fixed timer bug #3109139 - "SQ4: Crash after exiting Skate-o-Rama ↵Filippos Karapetis
during chase" svn-id: r54391
2010-11-19SCI: Only compile kGetConfig for SCI32Willem Jan Palenstijn
svn-id: r54382
2010-11-19SCI : data field is only supported if building for SCI32Lars Persson
svn-id: r54379
2010-11-19SCI: Implement the GetConfig call for LSL7Lars Skovlund
svn-id: r54369
2010-11-02SCI: Remove any use of printfMax Horn
svn-id: r54037