Commit Graph

5808 Commits

Author SHA1 Message Date
Filippos Karapetis
5bb473df88 SCI: Update a workaround for the demo of QFG4 to make it work again 2012-01-16 19:19:09 +02:00
Willem Jan Palenstijn
c60394eb3f SCI: Remove outdated comment 2012-01-16 16:07:48 +01:00
Filippos Karapetis
099b2e9249 SCI: Properly handle negative coordinates in drawTextBitmap()
This fixes occasional crashes when going to the map in GK1. Many thanks
to digitall for finding this through Valgrind
2012-01-15 23:00:23 +02:00
Filippos Karapetis
7560007ba9 SCI: Simplify kString(Dup) using the overloaded = operator
Thanks to wjp for his suggestion
2012-01-15 21:42:09 +02:00
Filippos Karapetis
c69ac88be2 SCI: Ignore an invalid export in a script in the demo of RAMA 2012-01-15 21:10:18 +02:00
Filippos Karapetis
cbe7527805 SCI: Use fromString() in kString(Dup) to simplify code 2012-01-15 21:05:10 +02:00
Filippos Karapetis
aff92ea4cd SCI: Zero-terminate strings in SciString::fromString() 2012-01-15 21:02:02 +02:00
Filippos Karapetis
96aa86a60b SCI: Remove wrong script-to-array copying code in kArray 2012-01-15 20:58:14 +02:00
Filippos Karapetis
34b297748c SCI: Fix a nasty bug in kString(Dup)
The rawString variable is no longer pointing to invalidated data. This
fixes cases where strings are manipulated by game scripts, such as the
graveyard and rada drum puzzles in GK1
2012-01-15 20:11:30 +02:00
Willem Jan Palenstijn
56fb56936e SCI: Clean up some memory management and loops 2012-01-15 18:25:00 +01:00
Filippos Karapetis
f2c163a569 SCI: Plug a leak in ResourceManager::processWavePatch()
Many thanks to digitall for finding this one
2012-01-15 19:02:19 +02:00
Filippos Karapetis
0f39a43675 SCI: Plug loads of memory leaks in the SCI32 graphics code
Many thanks to digitall for finding these
2012-01-15 18:35:33 +02:00
Filippos Karapetis
780b2eff16 SCI: Plug a leak in ResourceManager::detectSciVersion()
Many thanks to digitall for finding this one
2012-01-15 18:34:41 +02:00
Filippos Karapetis
ce0061d9e0 SCI: Add a script patch to fix a script bug in GK1 floppy
This bug leads to a crash after Gabriel interrogates people, and is
caused by incorrect ordering in two checks, which was fixed in the CD
version
2012-01-14 21:02:44 +02:00
Filippos Karapetis
bf6c42d816 SCI: Don't clip the plane rectangle in kernelDeletePlane()
The actual cause for this clipping has been fixed
2012-01-14 16:37:07 +02:00
Filippos Karapetis
20bcb0545e SCI: When deleting a plane, also delete the items in it
This fixes a crash in GK1 day 2, after using the thermostat outside
Mosely's office
2012-01-14 14:22:54 +02:00
Filippos Karapetis
4594982ce3 SCI: Fix bug in fadeIn()/fadeOut()
This wasn't added in 4742b4d728)
2012-01-14 00:21:55 +02:00
Filippos Karapetis
29d129747d SCI: Some more work on kSetShowStyle. Silenced some chatty warnings in GK1 2012-01-13 22:55:10 +02:00
Filippos Karapetis
df0528e786 SCI: Blacklist more unused/debug SCI2.1 kernel functions 2012-01-13 22:55:09 +02:00
Filippos Karapetis
22e00a710f SCI: Fixed some graphics corruption (black boxes) in the dialogs of GK1 2012-01-13 02:38:20 +02:00
Strangerke
2858328e28 JANITORIAL: Remove SVN tags 2012-01-01 11:07:48 +01:00
Filippos Karapetis
3752396aef SCI: Always prefer digital sound effects to prevent confusion to users
This toggle will be enabled again when a more user-friendly GUI option
is possible
2011-12-28 13:21:19 +02:00
Filippos Karapetis
8496b5c4d8 SCI: Rename _bMultiMidi to _useDigitalSFX and only initialize it inside SoundCommandParser 2011-12-28 13:14:55 +02:00
Matthew Hoops
509cc5f4c4 SCI: Add preliminary support for SCI1 early Amiga sound patches
As used by KQ1 and MUMG. Sound still seems a bit off, but it's close.
2011-12-08 20:11:33 -05:00
Willem Jan Palenstijn
0192d2f2de SCI: Fix restarting SCI engine with different SCI version 2011-11-29 18:34:34 +01:00
Willem Jan Palenstijn
097b4e5c7a SCI: Add RtL FIXME 2011-11-29 16:11:33 +01:00
Filippos Karapetis
381e92a576 SCI: Added handling of invalid jump offsets (e.g. QFG2, script 260) 2011-11-28 22:36:58 +02:00
Filippos Karapetis
38dc6640dc SCI: Reset parameters for all channels used by a song when it starts 2011-11-20 20:59:31 +02:00
Filippos Karapetis
b400e142af SCI: Break the huge kernelFrameOut function into several smaller ones
Also, prefix more class variables with underscores
2011-11-17 22:09:17 +02:00
Filippos Karapetis
10e14367ec SCI: Prefix class variables with underscores 2011-11-17 22:09:16 +02:00
Alyssa Milburn
8b8f70c3a5 SCI: Add newline back to get rid of the warning. 2011-11-17 16:52:00 +01:00
Filippos Karapetis
ae54885379 SCI: Updated information regarding bug #3439240 2011-11-17 11:16:10 +02:00
Filippos Karapetis
5fc9831577 SCI: Fixed bug #3439240 - "QFG1VGA: Game Crashes While Sleeping at Erana's Peace" 2011-11-17 11:00:09 +02:00
Matthew Hoops
ba798e250d SCI: Add support for slater mac 2011-11-16 17:56:12 -05:00
Strangerke
bab4b6f729 LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE) 2011-11-16 22:38:58 +01:00
Willem Jan Palenstijn
71566a4307 SCI: Fix style 2011-11-11 00:16:57 +01:00
Willem Jan Palenstijn
8c57e4bf43 SCI: Fix const cast 2011-11-11 00:07:27 +01:00
Filippos Karapetis
9c9ffc45d7 SCI: Do not add 1 pixel to rect dimensions in SCI32 2011-11-10 11:39:37 +02:00
athrxx
6c23f78cb9 SCI: add Japanese MUMG detection entry and adapt Fm-Towns sound driver 2011-11-05 21:02:05 +01:00
Filippos Karapetis
5969c6bd2e SCI: Updated Script::getObjectMap()
It now returns a reference to the object list instead of copying it
2011-11-05 13:08:42 +02:00
Filippos Karapetis
58190c36b4 SCI: Made the object map hashmap of the Script class private 2011-11-05 10:07:03 +02:00
Filippos Karapetis
267c6f1756 SCI: Made more fields of the Script class private. Some cleanup. 2011-11-05 03:00:42 +02:00
Filippos Karapetis
cdedfa3d85 SCI: Removed a duplicate variable assignment 2011-11-04 00:42:37 +02:00
Filippos Karapetis
b3134650df SCI: Fixed a workaround 2011-11-03 22:44:11 +02:00
Filippos Karapetis
747bc75bc7 SCI: Fixed typo in colorIsFromMacClut() 2011-11-03 22:40:28 +02:00
Eugene Sandulenko
6d2e7228b5 SCI: Add fixme comment to a weird comparison 2011-11-03 01:17:46 +00:00
Eugene Sandulenko
7e298f13a1 SCI: Fix copy/paste error 2011-11-03 01:06:56 +00:00
Torbjörn Andersson
884ee96708 SCI: Remove unnecessary semicolon 2011-11-02 21:53:13 +01:00
Filippos Karapetis
9dcab12160 SCI: Fixed bug in commit 1a17bba.
Thanks to wjp for pointing it out.
2011-11-02 00:23:18 +02:00
Filippos Karapetis
1a17bba1e4 SCI: Fix Common::List::erase usage.
Thanks to Tron for pointing that out.
2011-11-02 00:17:13 +02:00