5683 Commits

Author SHA1 Message Date
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 4f3b85f4efc05affb7b4a7080e349360a3352048
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
Filippos Karapetis
632df09761 SCI21: Marked kNewRoom as a debug function 2011-09-23 18:55:29 +03:00
Filippos Karapetis
077acc5575 SCI: Fixed bug #3413301 - "SCI: KQ6CD: Game stops responding at the bookworm" 2011-09-23 17:42:14 +03:00
Filippos Karapetis
0b4802c24b SCI: Fixed bug #3413020 - "SCI: Longbow: Robin is stuck in the final monk chase scene"
Special thanks to wjp for his work on bisecting to find the regression and
for checking against the KQ5CD disasm
2011-09-23 00:22:44 +03:00
Filippos Karapetis
b807041ad2 SCI: Ignore invalid pointers if the kernel function signature specifies it
SCI scripts can send stale pointers to kernel functions (e.g. after
loading a saved game). This is normal in some cases (such as kDisplay
and kGraphRestoreBox), and their signatures are set to allow invalid
pointers.
Thus, in such cases, allow invalid pointers, as the kernel functions
will handle them themselves. Fixes bug #3412002, and properly fixes bugs
#3389579, #3292251, #3308087 and #3056811. Removed a relevant TODO.
2011-09-22 04:18:13 +03:00
Filippos Karapetis
7f675de855 SCI: Fixed compilation with VM_DEBUG_SEND defined 2011-09-22 04:18:11 +03:00
Filippos Karapetis
d8aaf40090 SCI: Fixed bug #3404466 - "ScummVM crashes when trying to add non-SCI resources file" 2011-09-10 13:47:02 +03:00
Filippos Karapetis
fa654e942a SCI: Added handling of cnick-kq and cnick-longbow in the fallback detector 2011-09-10 13:02:15 +03:00
Filippos Karapetis
1d1cd14e65 SCI: Added another EGA version of Castle of Dr. Brain (bug #3405307) 2011-09-10 12:36:41 +03:00
Johannes Schickel
5443ef943f SCI: Made some static data const. 2011-09-08 00:35:12 +02:00
Willem Jan Palenstijn
7b71e9842e SCI: Fix Island of Dr. Brain copyprot pause menu on touch devices
Patch from m_kiewitz.
2011-09-05 12:14:17 +02:00
Filippos Karapetis
41cc1932d2 SCI32: Added an initial skeleton structure for the SCI2 text drawing code
This includes kCreateTextBitmap, and moves all of the text drawing code
into the new GfxText32 class
2011-09-03 14:51:51 +03:00
Willem Jan Palenstijn
09def52554 SCI: Fix QFG3 run/walk/sleep menu on touch devices
The analysis and fix are from m_kiewitz.
2011-09-03 10:26:25 +02:00
Filippos Karapetis
2798c65d75 SCI: Fixed bug #3297883 - "SCI: LB1 (Amiga) - Intro stuck" 2011-08-28 14:07:42 +03:00
Filippos Karapetis
4f3b85f4ef SCI: Fixed bug #3311911 - "SCI: QFG3: Intro music abruptly stops" 2011-08-26 11:30:19 +03:00
Filippos Karapetis
c9873dae43 SCI: Fixed bug #3366295 - "SCI: User-translated files are ignored"
Thanks to tinekefrineke and tdhs for pinpointing the actual problem in the
resource manager
2011-08-26 01:56:50 +03:00
Filippos Karapetis
d570b41561 SCI: Fixed bug #3396887 - "SCI: pq2-pc98-jp - Listing of items / Inventory not working"
Thanks to wjp for his valuable help on this
2011-08-26 01:25:41 +03:00
Filippos Karapetis
0382e990ec SCI: Fixed QFG3 bug #3377429, by removing the problematic script patch
for script 23 (bug #3040722).

This script patch messes up the conversation with Manu the monkey later
on in the game, thus it's not correct.
2011-08-25 03:06:20 +03:00
Filippos Karapetis
996deff15b SCI: Fixed bug #3392767 - "SCI: SQ4 (English/CD/Win): Engine Abort In Timepod Hangar"
This bug only manifested in the Windows version of SQ4CD. Some Windows
MIDI music tracks are missing from room 530, which messed up the
animations in that scene, and led to a crash. Moved the code that
obtains the song number from an object into a separate function. Also,
fixed a bug in kDoSoundSetPriority().
2011-08-25 02:52:58 +03:00
Filippos Karapetis
3774c38db5 SCI: Added two workarounds for script bug #3389579 2011-08-25 01:49:26 +03:00
Filippos Karapetis
c56dc1811e SCI: Added the German CD version of PQ4 (bug report #3392955) 2011-08-25 00:10:18 +03:00
Max Horn
529919e20b SCI: Remove dead code 2011-08-08 20:33:42 +02:00
Christoph Mallon
e35b4f20c1 GRAPHICS: Simplify the interface of Graphics::loadThumbnail().
Now it returns the Surface, so the caller does not need to create one and pass it.
2011-08-07 15:19:09 +02:00
Christoph Mallon
0e6751372a SCI: Simplify allocation of ResourceManager. 2011-08-07 15:19:08 +02:00
Christoph Mallon
f3afb32ee6 SCI: Remove unnecessary cast. 2011-08-07 15:19:08 +02:00
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00