aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kmisc.cpp
AgeCommit message (Collapse)Author
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
2010-11-01COMMON: Rename String::printf() to String::format()Max Horn
This is a first step towards getting rid of all uses of regular printf, fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase. The name format() reflects the purpose of the function, and parallels String.format() in Java, boost::format, and others. svn-id: r54004
2010-10-31SCI: Play time related changesFilippos Karapetis
- Added support for savegame play time - Removed obsolete variables for calculating the play time (EngineState::gameStartTime and Console::_enterTime) - Renamed some variables to camelCase svn-id: r53974
2010-10-23SCI: always allocate +1 byte in kMemory nowMartin Kiewitz
fixes multilingual lsl5 room 280 - names of airport ladies not shown correctly (bug #3093818) svn-id: r53746
2010-10-08SCI: Support kGetTime modes 2 and 3 in SCI 0_LATEWillem Jan Palenstijn
This fixes bug #3083879 in Iceman. svn-id: r53077
2010-09-09SCI: Kernel table changesFilippos Karapetis
- Added the kernel names for all unimplemented kernel debug functions, and mapped them all to kDummy, so that the kernel tables are correct and all kernel functions are mapped (useful for debugging) - Added a stub for kWinHelp (normally opens an external Windows help file), with an appropriate dialog - Added a stub for kWinDLL, which currently errors out on purpose (this needs to be investigated, as it loads and uses external Windows DLLs) - Readded kListIndexOf in kList (the signature was wrong when the previous commit was made) svn-id: r52660
2010-08-03SCI: kMemory issue in pq3 only for multilingualMartin Kiewitz
adjusted comment accordingly svn-id: r51702
2010-08-03SCI: adding workaround for pq3 inside kMemoryMartin Kiewitz
fixing plot crimes warnings and bad text on screen svn-id: r51693
2010-08-01SCI: Ignoring non-critical script bug in QFG1VGA, when closing any ↵Filippos Karapetis
conversation dialog with esc (doesn't affect gameplay in any manner) svn-id: r51572
2010-07-31SCI: little cleanupMartin Kiewitz
svn-id: r51539
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: speed throttler cleanup and iceman commentMartin Kiewitz
svn-id: r51518
2010-07-21SCI: Moved all the static kernel-related tables in a separate file. Also, ↵Filippos Karapetis
moved kStub, kStubNull and kDummy inside kmisc.cpp, together with the other misc kernel calls svn-id: r51089
2010-07-12SCI: Turn global object g_debugState into SciEngine member varMax Horn
svn-id: r50836
2010-07-10SCI: calling speed throttler as well from kPalette(setIntensity) if needed - ↵Martin Kiewitz
fixes kq6 intro svn-id: r50794
2010-06-28SCI: Turn more warnings into errors.Max Horn
If one of these is triggered for you, you can add an exception to the error, together with a comment explaining why this exception is necessary. Ideally after verifying that the cause is a script bug and not a bug in our code... svn-id: r50442
2010-06-25SCI: Introduce SciGameId enumMax Horn
svn-id: r50273
2010-06-23Fixed memory fragmentation warnings in Crazy Nick's gamesFilippos Karapetis
svn-id: r50188