Commit Graph
4076 Commits
Author SHA1 Message Date
Filippos Karapetis 4f69967773 SCI: Added a new debug flag, "DebugMode" for SCI32 games
This is used to enable the embedded debugger in several SCI32 games
(PQ4, QFG4, GK1, GK2, KQ7, SQ6 and LSL7)
2011-10-29 18:32:52 +03:00
Filippos Karapetis 1cc30572e6 SCI: Remove unneeded casts (thanks to wjp for pointing that out) 2011-10-28 22:54:02 +03:00
Filippos Karapetis 4ac2940bc5 SCI: Added skeleton code for kEditText (still not working) 2011-10-28 22:20:33 +03:00
Filippos Karapetis f61ea4c9cf SCI: Fixed text background color and text transparency for SCI32 games 2011-10-28 22:20:31 +03:00
Filippos Karapetis ac559b0212 SCI: Renamed GfxControls to GfxControls16 2011-10-26 01:54:27 +03:00
athrxx da96afe167 SCI: fix thread lockup issue when loading savegames using a sound driver which depends on the mixer thread for timer calls.
The issues seems to be known. See comments (not by me) in SciMusic::clearPlayList().
For the same reason mentioned there the mutex may also not be locked before calling clearPlayList().
2011-10-22 19:53:24 +02:00
Filippos Karapetis 84a185ede2 SCI: Added a detection for the second kSetShowStyle variant 2011-10-19 23:52:53 +03:00
Filippos Karapetis 5ba50c69b1 SCI: Changed the kUnload workaround for the LB2 demo to apply to all scenes 2011-10-19 23:52:52 +03:00
Filippos Karapetis 513d0be106 SCI: Merged all the code to get/set the NS rect 2011-10-19 20:29:05 +03:00
Filippos Karapetis 2b9dc69ac0 SCI: Updated comments in kShowStyle() and kCelInfo() 2011-10-19 20:29:03 +03:00
Filippos Karapetis 85af217a5b SCI: Implemented kObjectIntersect() 2011-10-19 20:29:02 +03:00
Filippos Karapetis 289e4e6cfb SCI: Duck videos are 16bpp, so we need to change the active pixel format 2011-10-18 03:24:46 +03:00
Filippos Karapetis 7708a4ddbb SCI: Added some hacks related to new functionality in Phantasmagoria 2
The game will now start (but won't do anything exciting - it'll display
its main menu, which doesn't work yet)
2011-10-18 03:10:19 +03:00
Filippos Karapetis 021b09d35c SCI: Initial implementation of kPlayDuck for Phantasmagoria 2 2011-10-18 02:38:26 +03:00
Filippos Karapetis 701e318360 SCI: Set the correct number of kernel functions for SCI3 2011-10-18 02:36:59 +03:00
Filippos Karapetis ffe7073037 SCI: Script 64036 in Torin's passage contains an invalid export 2011-10-16 13:01:13 +03:00
Filippos Karapetis 8609e22e40 SCI: Silenced warnings 2011-10-14 20:30:22 +03:00
Filippos Karapetis b04a069782 SCI: More work on kBitmap (still WIP) 2011-10-14 14:07:01 +03:00
Filippos Karapetis 7d6d8c2475 SCI: Extended the detection of certain selectors to work in SCI2
This is needed for some demos that do not supply a selector vocabulary
(i.e. vocab 997)
2011-10-13 14:03:58 +03:00
Filippos Karapetis 8d4e562555 SCI: Implemented kBitmap(3) and kBitmap(5). Some cleanup 2011-10-13 14:03:57 +03:00
Filippos Karapetis 497c3e75b4 SCI: Marked functions that have been changed into dummy ones in SCI3 2011-10-12 12:49:38 +03:00
Filippos Karapetis 9fcd3ece53 SCI: kSave(3) is kCheckSaveGame() and kSave(6) is kFileIOUnlink() 2011-10-12 03:25:27 +03:00
Heather Douglass 084b2deccc SCI: Implementation of kCelInfo subop 4
kCelInfo subop 4 returns the pixel color at the
passed in x,y coordinates for the passed in view,
loop, cel.  Shivers uses this function for the
red door puzzle, room 23601 to determine what
blocks on the puzzle board are already occupied
by pieces.
2011-10-12 02:50:28 +03:00
Heather Douglass c5e6cdea55 SCI: 3 Uninitialized read workarounds for Shivers 2011-10-12 02:47:26 +03:00
Filippos Karapetis 4af034a7a9 SCI: Added proper handling of duplicate items in kAddScreenItem
- Items that are being readded to the scene should be updated instead
- Added a findScreenItem() call to simplify the code slightly
2011-10-12 02:44:16 +03:00
Filippos Karapetis a9c6d2a4c4 SCI: Some work on the SCI32 bitmap / font code
- Initial implementation of kBitmap(0)
- Bugfixes for fonts in upscaled games
2011-10-11 02:33:45 +03:00
Filippos Karapetis 4cb9a2c809 SCI: kBitmap(1) is kDisposeTextBitmap 2011-10-11 02:03:40 +03:00
Filippos Karapetis d71aec0b39 SCI: Changed a warning about wrong object variable count into a debugC 2011-10-11 01:39:56 +03:00
Filippos Karapetis 96ce226967 SCI: Proper implementation of text drawing for SCI2+ 2011-10-11 01:25:08 +03:00
Filippos Karapetis 32b4ef8199 SCI: SCI32 kernel functions kRepaintPlane and kInputText are unused 2011-10-10 12:18:12 +03:00
Filippos Karapetis 90a11586e2 SCI: CreateTextBitmap should return a pointer. Also, silenced a warning 2011-10-09 19:56:51 +03:00
Johannes Schickel 13a89385dd SCI: Fix formatting in kRobot. 2011-10-09 18:31:44 +02:00
Filippos Karapetis 26140afaed SCI32: Marked/updated several unused/still not needed kernel functions 2011-10-09 19:16:06 +03:00
Filippos Karapetis 1dcad17988 SCI32: Documented the extra 2 params in kCreateTextBitmap(0) 2011-10-09 19:16:05 +03:00
Filippos Karapetis d2bdcf8051 SCI: Removed the old kDoAvoider code 2011-10-09 19:16:04 +03:00
Filippos Karapetis a6884d7d69 SCI2+: Added info for the extra parameter used in kGetSaveDir in SCI32
The warning can be safely removed, as the parameter is a string that
should not be set
2011-10-09 19:16:03 +03:00
Filippos Karapetis 69d08a7192 SCI21: Moved kRobot() together with the other video functions 2011-10-09 19:16:02 +03:00
Filippos Karapetis b4a23a709d SCI2+: Added a workaround for an uninitialized temp in PQ4 2011-10-09 03:04:54 +03:00
Filippos Karapetis 227e69ef08 SCI2+: Fixed the implementation of kTextSize(), removing some hacks
Thanks to lskovlun for the fix
2011-10-08 19:11:14 +03:00
Filippos Karapetis 4ad2ebd995 SCI2+: Some groundwork for kTextSize()
The old behavior is currently hacked in inside kernelTextSize(), as the
top of the subtitles frame is wrong if kTextWidth() is properly working...
2011-10-08 17:19:00 +03:00
Lars Skovlund 1651024cdc SCI: Fix comment in kCelInfo 2011-10-07 21:24:30 +02:00
Filippos Karapetis 19cac9bb11 SCI21: Some initial work on kBitmap 2011-10-07 02:52:30 +03:00
Filippos Karapetis 189357dc9b SCI: Added some extra static selectors
These aren't needed by the engine, but make debugging easier in games that
have no selector vocabulary
2011-10-07 02:52:28 +03:00
Eugene Sandulenko b4e6962d5d Merge pull request #88 from tsoliman/savegame-timestamp-rebase
ENGINES: make the default savegame description be the timestamp
2011-09-30 10:57:04 -07:00
Filippos Karapetis 9fd66deb43 SCI: Changes to the sound resource initialization code
- Unified the sound resource initialization code in
processInitSound() and reconstructPlayList()
- Now checking the "Mixed Adlib/MIDI" mode checkbox for SCI1.1 digital
audio sound effects, like it's done for SCI0 - SCI1 sound effects. If
it's unchecked, their MIDI counterparts will play instead, if
available
2011-09-26 20:02:34 +03:00
Filippos Karapetis ecddcc12b7 SCI2: kString(Format) uses %d for unsigned integers. Some cleanup 2011-09-25 23:55:44 +03:00
Tarek Soliman 7b68952726 SCI: change savegame default description day format to YYYY.MM.DD
... and make it optional subject to USE_SAVEGAME_TIMESTAMP
2011-09-23 22:06:19 -05:00
Filippos Karapetis 3bffb8e3f7 SCI: Fixed timer bug #3127824 - "SCI: speed problem - Castle of Dr Brain" 2011-09-24 01:32:13 +03:00
Filippos Karapetis 75fb3b4ef8 SCI21: Added some skeleton code for offsetting pictures vertically (not working yet). Some cleanup 2011-09-23 18:55:30 +03:00
Filippos Karapetis 632df09761 SCI21: Marked kNewRoom as a debug function 2011-09-23 18:55:29 +03:00