aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kernel32.cpp
AgeCommit message (Collapse)Author
2010-07-14Update comments about the SCI2/2.1 kernel table. The SCI3 table is also ↵Matthew Hoops
different from both of them. svn-id: r50884
2010-07-01Fix code formattingMax Horn
svn-id: r50581
2010-07-01Support the CD kernel call (stub) and add the TRUE_REG constant.Lars Skovlund
Would be nice to use this constant in pre-existing code. svn-id: r50577
2010-07-01Added some slight fixes for the RAMA demo, which starts now, though it dies ↵Filippos Karapetis
horribly when clicking on anything svn-id: r50569
2010-07-01The Shivers demo calls the debug kernel function 0x83 (PrintDebug), thus it ↵Filippos Karapetis
isn't unused (thanks to clone2727 for pointing that out) svn-id: r50568
2010-07-01SCI: Add SegManager::getSystemString() methodMax Horn
svn-id: r50550
2010-07-01SCI: Rename some variables to match our naming conventionsMax Horn
svn-id: r50549
2010-06-25Some more info on kText(), removed dead codeFilippos Karapetis
svn-id: r50267
2010-06-25Added the SCI2.1 kText kernel function (subop 0, kTextSize for now)Filippos Karapetis
svn-id: r50265
2010-06-18SCI: Rewrap some overlong commentsMax Horn
svn-id: r50012
2010-06-17Don't translate both x and y of the rect in kOnMe if only one of the ↵Matthew Hoops
variables is negative. Fixes the GKEgo hotspot outside of the Madame Cazanoux's house. svn-id: r49933
2010-06-17Moved kMulDiv together with the rest of the math functions, and kPlayVMD ↵Filippos Karapetis
together with the rest of the video playing functions svn-id: r49920
2010-06-17Only hide/show cursor when playing a VMD if it was visible in the first place.Matthew Hoops
svn-id: r49914
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
2010-06-16Added a sanity check inside kMulDivFilippos Karapetis
svn-id: r49910
2010-06-16Implemented the SCI2.1 kMulDiv kernel function. Walking in Torin's Passage ↵Filippos Karapetis
is done correctly now, without leaving trails svn-id: r49909
2010-06-15Don't adjust the object's coordinates if the object does not belong to a ↵Filippos Karapetis
plane in kIsOnMe(). It's now possible to start the interactive part of the Phantasmagoria 1 demo svn-id: r49862
2010-06-15SCI: SciGui/SciGui32 gone for good...Martin Kiewitz
svn-id: r49860
2010-06-15Fixed commentsFilippos Karapetis
svn-id: r49858
2010-06-15Fixed detective Mosely's hotspot in GK1 (day 1)Filippos Karapetis
svn-id: r49857
2010-06-14Fixed GK1 again, including the inventory screenFilippos Karapetis
svn-id: r49660
2010-06-14Hopefully fixed kOnMe (SCI2) and implemented kIsOnMe (SCI2.1). GK1 and the ↵Filippos Karapetis
demo of Phantasmagoria 1 should now be responding to mouse clicks and movement correctly svn-id: r49659
2010-06-09Fixed crash in SCI2.1 gamesFilippos Karapetis
svn-id: r49546
2010-06-07SCI: Relax signature of kCreateTextBitmap.Walter van Niftrik
svn-id: r49470
2010-06-07Change some kString subops to use the raw string directly instead of through ↵Matthew Hoops
a Common::String. Fixes usage with strings from kGetSaveFiles(). svn-id: r49468
2010-06-06Throw a warning in kString(At) if the index is out-of-bounds instead of ↵Matthew Hoops
having it assert out. svn-id: r49464
2010-06-01SCI: Fix malloc<->new mismatch in SysStrings, try to increase readabilityMax Horn
svn-id: r49375
2010-06-01The system strings segment is a fixed segment of the segment manager, which ↵Filippos Karapetis
doesn't change during the game, thus move all the system strings code and variables inside the segment manager svn-id: r49372
2010-05-29Mass renaming of selector-related functions, and removed some defines which ↵Filippos Karapetis
were just cloaking functions with a different name - GET_SEL32 -> readSelector - GET_SEL32V -> readSelectorValue - PUT_SEL32 -> writeSelector - PUT_SEL32V -> writeSelectorValue Also, changed some selector-related function names and variables to CamelCase svn-id: r49317
2010-05-18- Moved determine_reg_type() and kernel_matches_signature() inside the ↵Filippos Karapetis
Kernel class, where they belong - Moved the kernel signature defines inside kernel.h - Removed some unused references to EngineState svn-id: r49075
2010-03-22Patch #2973290: Semicolon cleanupMax Horn
svn-id: r48359
2010-03-18COMMON: Get rid of Common::StringListMax Horn
svn-id: r48287
2010-02-17SCI: Cleanup resource.hMax Horn
svn-id: r48084
2010-02-13SCI: Move GameFeatures from EngineState to SciEngineMax Horn
svn-id: r48049
2010-02-13SCI: Move Gui/Gfx related permanent objects from EngineState to SciEngineMax Horn
svn-id: r48047
2010-02-08Search through arrays for outgoing references to fix possible garbage ↵Matthew Hoops
collector problems; minor cleanup. svn-id: r47989
2010-02-05SCI: Add a 'SELECTOR' macroMax Horn
svn-id: r47918
2010-02-05SCI: frameout sci32 stuff now gets called directly w/o SciGui/32Martin Kiewitz
svn-id: r47907
2010-02-03Placed all the game feature detection code in a separate classFilippos Karapetis
svn-id: r47850
2010-02-03Initial implementation of text drawing for SCI2 (it's a hack for now, done ↵Filippos Karapetis
the "SCI0-SCI11" way, and text splitting is wrong...) svn-id: r47838
2010-02-02Add support in kString(Cpy) for copying to system strings. Also, stubbing ↵Matthew Hoops
kFileIO(19) to allow Torin to see the main menu. Some minor cleanup. svn-id: r47820
2010-02-02Try to make drmccoy happy again (is that even possible? :P )Filippos Karapetis
svn-id: r47818
2010-02-02Added a stub for kCreateTextBitmap, which shows the text that should be ↵Filippos Karapetis
drawn on screen svn-id: r47816
2010-02-01Added an initial implementation of kGetHighPlanePriFilippos Karapetis
svn-id: r47799
2010-02-01Fix bug in kString(Printf)Lars Skovlund
svn-id: r47798
2010-01-30Implement kString(Printf) and resizing of SCI32 strings in kFormat().Matthew Hoops
svn-id: r47697
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-30Implemented kString case 12 - it was really kFormat in disguise :)Filippos Karapetis
svn-id: r47691
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