Commit Graph

5808 Commits

Author SHA1 Message Date
Filippos Karapetis
e674298a60 SCI: Fixed bug #3430834 - "SCI: KQ6: Music stops after leaving shop"
A regression from commit 9654068
2011-11-01 23:42:38 +02:00
Filippos Karapetis
d6658db7c0 SCI: Fixed unexpected end of file in fmtowns.cpp 2011-11-01 23:20:09 +02:00
athrxx
b7ae744dea SCI: limit new FM-Towns driver to KQ5
Mixed up mother goose is reported not to use that driver and even crash when trying to use it.
Play Id and instrument patch id seem to be different.
2011-11-01 21:56:54 +01:00
athrxx
9b838239eb SCI: (KQ5 FM-Towns) - fix voice mapping
(Driver channels would get reserved via the 0x4b control, but they would never get released)
2011-11-01 20:31:59 +01:00
athrxx
6a91508475 SCI: add sound driver for KQ5 FM-Towns 2011-11-01 20:31:40 +01:00
athrxx
731382ad51 SCI: add Japanese detection entry for KQ5 FM-Towns and fix audio language handling 2011-11-01 20:29:53 +01:00
Filippos Karapetis
9caacac724 SCI: More work on kEditText 2011-10-30 21:42:33 +02:00
Filippos Karapetis
acebd6d0be SCI: Removed the hack for the creation of LARRY3.DRV, used in LSL3
This is no longer necessary, as our file I/O code handles this case
correctly now. Also, updated the description of file I/O on top.
2011-10-30 21:42:32 +02:00
Lars Skovlund
40e22d9e33 SCI32: kString: Move variable declaration to prevent problems
with object lifetimes.
2011-10-30 13:56:37 +01:00
Filippos Karapetis
0f90b8eaad SCI: Allow alt key combinations in all SCI games
Such key combos are used for the game debugger in SCI1.1 and GK1
2011-10-29 20:39:39 +03:00
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
d87b4d88e0 SCI: Bugfix for text alignment in SCI32 games 2011-10-29 18:32:52 +03:00
Filippos Karapetis
c4b2cd057a SCI: Fixed speech in PQ4 CD 2011-10-29 18:32:50 +03:00
Torbjörn Andersson
52522b85e9 SCI: Silence GCC warning 2011-10-29 09:38:40 +02:00
Filippos Karapetis
e2a2cee092 SCI: Fixed the up/down buttons in GK1 2011-10-29 05:21:47 +03:00
Filippos Karapetis
5509d092be SCI: Implemented text alignment for SCI32 2011-10-29 05:21:46 +03:00
Filippos Karapetis
c0d4adbd65 SCI: Fixed typo 2011-10-29 01:42:41 +03:00
Filippos Karapetis
ec7b5a79c2 SCI: Some fixes for text positioning in SCI32 games (still WIP)
Also, removed duplicate code
2011-10-29 01:39:37 +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
739ceb851d SCI: Added two files missing in commit 4ac2940 2011-10-28 22:31:01 +03:00
Filippos Karapetis
4ac2940bc5 SCI: Added skeleton code for kEditText (still not working) 2011-10-28 22:20:33 +03:00
Filippos Karapetis
d8db7b11c1 SCI: Use the original text buffer width/height when drawing it
Fixes the display of overlay text
2011-10-28 22:20:33 +03:00
Filippos Karapetis
1ee923f8d2 SCI: Draw overlay text, if it exists (e.g. on buttons) 2011-10-28 22:20:32 +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
Strangerke
97207dcbe3 SCI: Add GUIO_EGAUNDITHER based on Sierra Games Versions
Thanks [md5] for the link
2011-10-24 17:43:29 +02:00
Strangerke
c40e45244a LAUNCHER: Add GUIO_NOASPECT to SCI
Thanks [md5] for the help
2011-10-24 00:24:15 +02:00
Eugene Sandulenko
32972a5ffb AD: Switched rest of the engines to new GUIO 2011-10-23 17:53:13 +01: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
1736345906 SCI: The demo of GK1 has no alternate sound effects.
This fixes the sound effect heard in the "Day 1" screen
2011-10-20 19:02:15 +03:00
Filippos Karapetis
228c4fb286 SCI: Added a hack to fix bug #3035693 - "SCI: QFG3 demo: Rope swinging more heroic than ever" 2011-10-20 00:47:53 +03:00
Filippos Karapetis
010d12ace8 SCI: Moved the width adjustment outside getPlaneRect() 2011-10-19 23:52:53 +03: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
935eaa175b SCI: Move the palette merging checking code inside the GfxPalette class 2011-10-19 23:52:51 +03:00
Filippos Karapetis
28d0901bff SCI: Added a sanity check when drawing text. Older SCI32 saves work now 2011-10-19 21:54:05 +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
7a96bcb3ed SCI: Removed unused includes 2011-10-19 20:29:04 +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
722ce77675 SCI: Wrapped some very long lines 2011-10-19 20:29:01 +03:00
Filippos Karapetis
de6e5c7366 SCI: Fixed script bug #3425276 - "SCI: PQ2: Game crashes when looking at file" 2011-10-19 15:24:45 +03:00
Filippos Karapetis
fa43ded590 SCI: The draw_pic console command now works in SCI32
Moreover, the overlay is temporarily hidden to show the picture
2011-10-19 02:02:04 +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
ee4c96b1d2 SCI: Added the GOG version of GK2, and fixed some GUI flags 2011-10-18 01:22:14 +03:00
Filippos Karapetis
e49c65a27b SCI: Moved the Hi-res description for LSL6 hi-res in the extras field 2011-10-16 16:50:40 +03:00
Filippos Karapetis
0186bda0ce SCI: Updated the description of LSL6 hires to distinguish it better 2011-10-16 15:59:21 +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
b956b24149 SCI: Added a heuristic to distinguish Mac SCI1.1 from SCI2.1 versions
This removes the hack that checks for the existence of resource.cfg
2011-10-15 01:00:58 +03:00
Filippos Karapetis
88472151b4 SCI: Fixed text length in upscaled SCI32 games 2011-10-15 00:19:39 +03:00
Filippos Karapetis
9f568f5f0b SCI: Fixed display of text surfaces in SCI21 2011-10-14 21:08:26 +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
d39cdd8e1c SCI: More work on the vertical plane offset for SCI32. Still WIP.
Vertical clipping is still not finished. This fixes the display in the
Torin demo (which uses a scene with loads of items with a vertical
offset).
2011-10-14 14:07:00 +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
e7260d992c SCI: Updated a comment inside processPlaySound() 2011-10-13 14:03:57 +03:00
Filippos Karapetis
0166665926 SCI: Fixed a long-standing bug in kDoSound(init)
The sound handle should not be set in kDoSound(init), but in
kDoSound(play). This is verified against several SCI versions,
plus game scripts check if a sound slot is playing primarily
by checking its handle. Fixes the sound in Shivers and probably
an assortment of other sound related bugs
2011-10-12 12:49:39 +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
df63b827bf SCI: Fixed text display in QFG4 2011-10-11 02:53:00 +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
3b5b24c8d5 SCI: Removed leftover unused variables 2011-10-11 01:34:32 +03:00
Filippos Karapetis
96ce226967 SCI: Proper implementation of text drawing for SCI2+ 2011-10-11 01:25:08 +03:00
Filippos Karapetis
4e1face890 SCI: Mixed Adlib/MIDI mode for audio resources should always be enabled in SCI32 2011-10-10 12:20:52 +03:00
Filippos Karapetis
32b4ef8199 SCI: SCI32 kernel functions kRepaintPlane and kInputText are unused 2011-10-10 12:18:12 +03:00
Filippos Karapetis
b17d424257 SCI: Fixed menu music in GK1 when multi MIDI is disabled
A regression from commit 9fd66de
2011-10-10 01:41:09 +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
d88827b13f SCI: Fix black screen in LSL7 intro 2011-10-08 12:25:32 +02: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
Filippos Karapetis
1117c8c3ed SCI: Also default to MIDI for Windows versions of SCI1.1 games 2011-10-06 23:33:00 +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
4717d11862 SCI: Added support for the halfbrite palette used in Longbow Amiga
This fixes the remaining palette problems in the game (bug #3309036)
2011-09-27 16:54:14 +03: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
43fb9d32b5 SCI: Code formatting 2011-09-26 20:02:32 +03:00
Filippos Karapetis
ecddcc12b7 SCI2: kString(Format) uses %d for unsigned integers. Some cleanup 2011-09-25 23:55:44 +03:00
Filippos Karapetis
300cec119c SCI: Bugfix for the palette of Longbow Amiga (still not right) 2011-09-25 04:10:20 +03:00
Filippos Karapetis
e552bc57ba SCI: Always reset hold when starting a new song. Fixes bug #3413589 - "SCI: KQ6CD: Game stops responding in the catacombs"
kDoSoundSetHold is always called after kDoSoundPlay. A regression from
commit 4f3b85f4ef
2011-09-24 18:46:55 +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