Filippos Karapetis
6305dde687
Fixed warnings
...
svn-id: r46747
2009-12-30 15:01:54 +00:00
Filippos Karapetis
d8b67ed7c6
SCI32: Moved all the list related kernel functions inside klists.cpp, and implemented kListAllTrue with the help of waltervn
...
svn-id: r46742
2009-12-30 14:00:30 +00:00
Filippos Karapetis
bbc52c13ab
Implemented ListFirstTrue(), thanks to the help of waltervn. Now, buttons 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-30 13:43:17 +00:00
Filippos Karapetis
5430de7931
SCI32: added handling of variable selectors in kListEachElementDo() and silenced some annoying warnings
...
svn-id: r46740
2009-12-30 13:19:52 +00:00
Filippos Karapetis
0e63912970
SCI32: added some of clone2727's changes to kArray and kString, and implemented kListIndexOf
...
svn-id: r46739
2009-12-30 12:55:24 +00:00
Filippos Karapetis
ebb391790f
SCI32: Partially implemented kOnMe. Now the main menu in GK1 works
...
svn-id: r46614
2009-12-27 03:57:59 +00:00
Filippos Karapetis
a4990f6f33
Now using m_kiewitz's picture code to show pictures in SCI32. Also took some 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-27 01:49:39 +00:00
Filippos Karapetis
4e743e1a46
SCI2: Figured out the screen coordinates of views. Now, part of the interface can be seen in GK1. Also, silenced the OnMe warnings
...
svn-id: r46593
2009-12-26 16:16:02 +00:00
Filippos Karapetis
b2c170168e
SCI2: Implemented kListEachElementDo (a more advanced version of 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-26 15:47:57 +00:00
Filippos Karapetis
98053616d1
Silenced some MSVC warnings
...
svn-id: r46536
2009-12-24 20:45:32 +00:00
Matthew Hoops
996da19fc9
Stub SCI32's kOnMe to give better debugging info (used when clicking in the GK1 menu).
...
svn-id: r46533
2009-12-24 18:37:35 +00:00
Filippos Karapetis
f73e9c43c4
Updated comments in kListEachElementDo() to show how it's called, with the help of waltervn
...
svn-id: r46530
2009-12-24 15:24:48 +00:00
Filippos Karapetis
9072b0c26e
SCI32: Added some more stubs for picture manipulation, screen update and animation functions
...
svn-id: r46529
2009-12-24 15:02:06 +00:00
Filippos Karapetis
c8a3d163d1
Added a hack in kAddScreenItem to display the view in question on screen. Some parts of the main menu can be seen now in GK1
...
svn-id: r46528
2009-12-24 14:18:16 +00:00
Filippos Karapetis
69fa167902
SCI32: The view related functions pass a view object as parameter, and the 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-24 13:50:50 +00:00
Matthew Hoops
65dcc0b2a3
SCI32:
...
- 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-24 02:43:07 +00:00
Matthew Hoops
4be2788ffd
Some SCI32 (minor) String bug fixes and cleanup.
...
svn-id: r46492
2009-12-23 05:10:16 +00:00
Matthew Hoops
482812a1ff
Update/add some comments/TODOs.
...
svn-id: r46463
2009-12-21 14:46:07 +00:00
Matthew Hoops
ef79d7f017
SCI32:
...
- 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-12-21 14:32:54 +00:00
Matthew Hoops
5d83522e75
Add the minor differences of SCI3 to the SCI2.1 kernel table.
...
svn-id: r43763
2009-08-27 01:39:30 +00:00
Matthew Hoops
2ceafbae77
- Fix the opcode formats for some opcodes in SCI32 (some arguments are now words instead of bytes).
...
- Fix the SCI2.1 kernel table.
- Add DoSound detection for SCI2.
svn-id: r43762
2009-08-26 22:11:31 +00:00
Matthew Hoops
0a40bb4d88
Missed another comma....
...
svn-id: r43761
2009-08-26 20:57:43 +00:00
Matthew Hoops
6a50e6dc7f
Oops! Missed a comma.
...
svn-id: r43753
2009-08-26 06:28:12 +00:00
Filippos Karapetis
f7acc7f669
Fixed compilation when ENABLE_SCI32 is not set
...
svn-id: r43744
2009-08-25 23:15:18 +00:00
Matthew Hoops
b5da8a5cdc
- Split SCI_VERSION_32 into SCI_VERSION_2, SCI_VERSION_2_1, and 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
2009-08-25 23:02:57 +00:00