aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kernel32.cpp
AgeCommit message (Collapse)Author
2010-01-03Implement kInPolygon for SCI32. GK1 now responds when you click on things.Matthew Hoops
svn-id: r46918
2009-12-30SCI32: Added sanity checks to kAddScreenItem and kUpdateScreenItem, so that ↵Filippos Karapetis
they don't try and draw cels outside the screen svn-id: r46767
2009-12-30SCI32:Matthew Hoops
- Set signature for Array/String - Add the kernel table differences for the GK2 demo - Implement kMessage changes in SCI32 - Use an empty string as the default path for all games now (and modify kValidPath to accept that only as valid) - Add dereferencing for Arrays svn-id: r46756
2009-12-30Fixed warningsFilippos Karapetis
svn-id: r46747
2009-12-30SCI32: Moved all the list related kernel functions inside klists.cpp, and ↵Filippos Karapetis
implemented kListAllTrue with the help of waltervn svn-id: r46742
2009-12-30Implemented ListFirstTrue(), thanks to the help of waltervn. Now, buttons ↵Filippos Karapetis
can be highlighted and clicked when the control panel is shown in GK1, and the options dialog pops up when the options button is selected svn-id: r46741
2009-12-30SCI32: added handling of variable selectors in kListEachElementDo() and ↵Filippos Karapetis
silenced some annoying warnings svn-id: r46740
2009-12-30SCI32: added some of clone2727's changes to kArray and kString, and ↵Filippos Karapetis
implemented kListIndexOf svn-id: r46739
2009-12-27SCI32: Partially implemented kOnMe. Now the main menu in GK1 worksFilippos Karapetis
svn-id: r46614
2009-12-27Now using m_kiewitz's picture code to show pictures in SCI32. Also took some ↵Filippos Karapetis
bits off a similar patch from clone2727. The Sierra logo screen and the menu screen in GK1 should now be shown fully! svn-id: r46609
2009-12-26SCI2: Figured out the screen coordinates of views. Now, part of the ↵Filippos Karapetis
interface can be seen in GK1. Also, silenced the OnMe warnings svn-id: r46593
2009-12-26SCI2: Implemented kListEachElementDo (a more advanced version of ↵Filippos Karapetis
SciGuiAnimate:invoke()) and kListAt. Now, the Sierra logo music can be heard, and game logic is running on objects of the animated views list svn-id: r46591
2009-12-24Silenced some MSVC warningsFilippos Karapetis
svn-id: r46536
2009-12-24Stub SCI32's kOnMe to give better debugging info (used when clicking in the ↵Matthew Hoops
GK1 menu). svn-id: r46533
2009-12-24Updated comments in kListEachElementDo() to show how it's called, with the ↵Filippos Karapetis
help of waltervn svn-id: r46530
2009-12-24SCI32: Added some more stubs for picture manipulation, screen update and ↵Filippos Karapetis
animation functions svn-id: r46529
2009-12-24Added a hack in kAddScreenItem to display the view in question on screen. ↵Filippos Karapetis
Some parts of the main menu can be seen now in GK1 svn-id: r46528
2009-12-24SCI32: The view related functions pass a view object as parameter, and the ↵Filippos Karapetis
engine should deduce the parameters it needs from that object. Added stub view functions based on that fact. Also, added a sanity check in kCelHigh and kCelWide svn-id: r46527
2009-12-24SCI32:Matthew Hoops
- Fix dup for kArray/kString - Implement kFileIO::rename (SCI1.1) - Implement part of the SCI32 additions to kFileIO - Implement the GetSaveDir part of kSave (SCI2.1) - Torin (SCI2.1!) now shows signs of life -- it will create the torin.prf file with correct data! svn-id: r46521
2009-12-23Some SCI32 (minor) String bug fixes and cleanup.Matthew Hoops
svn-id: r46492
2009-12-21Update/add some comments/TODOs.Matthew Hoops
svn-id: r46463
2009-12-21SCI32:Matthew Hoops
- Fully implement kArray and kIsHiRes and mostly implement kString (printf and atoi subfunctions still missing). - Add a dummy SciGui class for SCI32 to bypass the views. Gabriel Knight 1 will now play the Sierra logo music and the main menu music. - Some other minor SCI32 changes. svn-id: r46462
2009-08-27Add the minor differences of SCI3 to the SCI2.1 kernel table.Matthew Hoops
svn-id: r43763
2009-08-26- Fix the opcode formats for some opcodes in SCI32 (some arguments are now ↵Matthew Hoops
words instead of bytes). - Fix the SCI2.1 kernel table. - Add DoSound detection for SCI2. svn-id: r43762
2009-08-26Missed another comma....Matthew Hoops
svn-id: r43761
2009-08-26Oops! Missed a comma.Matthew Hoops
svn-id: r43753
2009-08-25Fixed compilation when ENABLE_SCI32 is not setFilippos Karapetis
svn-id: r43744
2009-08-25- Split SCI_VERSION_32 into SCI_VERSION_2, SCI_VERSION_2_1, and ↵Matthew Hoops
SCI_VERSION_3 (each version has a different kernel table). - Improve map detection. - Fix SCI32 object and script initialization (Torin's Passage and GK1 scripts now start up, and probably most SCI2/2.1 games). - Add SCI2 and SCI2.1 kernel tables. svn-id: r43742