Commit Graph

31357 Commits

Author SHA1 Message Date
Walter van Niftrik
de5ca1e472 SCI: Some small fixes for KQ6CD.
svn-id: r40898
2009-05-26 00:03:41 +00:00
Florian Kagerer
9d4776ebc5 LOL: implemented support for the mine car
svn-id: r40897
2009-05-25 22:58:05 +00:00
Johannes Schickel
b9bdded269 Remove leftover debug messages.
svn-id: r40896
2009-05-25 20:55:49 +00:00
Lars Persson
a017594ebd Added hardwarekeys.cpp to makefile
svn-id: r40895
2009-05-25 20:46:18 +00:00
Filippos Karapetis
16d6499617 WIP code for the speech in the floppy version of KQ6 (still needs work)
svn-id: r40894
2009-05-25 19:57:09 +00:00
Willem Jan Palenstijn
183c9e56ed SCI: Only let gfxop_set_color use priority/control if mask has their bits set.
This fixes a regression from r39089 where text in the KQ5(floppy) intro
was displayed behind trees.

svn-id: r40893
2009-05-25 19:48:52 +00:00
Fabio Battaglia
b9b3f12667 tinsel: avoid unnecessary checks in discworld psx palette remapper
svn-id: r40892
2009-05-25 17:51:11 +00:00
Filippos Karapetis
5f7847d88d Re-enabled the code for correct text positioning - it should work correctly now
svn-id: r40891
2009-05-25 16:30:39 +00:00
Johannes Schickel
db62ae8b33 Till we specify an common behavior when loading a game state on startup fails / the user tries to load an non existing save slot, change Tinsel to start up the game as if no slot was specified. (This 'fixes' bug #2796215 "DW: Black screen when loading via command line")
svn-id: r40890
2009-05-25 13:40:46 +00:00
Filippos Karapetis
71cc92ab7f Fixed a nasty bug in the GUI code, which caused the windows in PQ3 and SCI1.1 games to be erased incorrectly
svn-id: r40889
2009-05-25 13:25:31 +00:00
Johannes Schickel
cb5c26dd53 - Fix various valgrind warnings in the audio sync code
- Fix crash when qutting KQ 5 CD
(It was caused by resources of type "kResourceTypeSync" getting allocated an "Resource" object instead of an "ResourceSync" object, I hope this is the correct fix)

svn-id: r40888
2009-05-25 12:47:58 +00:00
Johannes Schickel
c7d9e4dc0c Fix mismatching new[]/delete pair (silences a valgrind warning).
svn-id: r40887
2009-05-25 12:41:14 +00:00
Walter van Niftrik
fcc45186a5 SCI: Adlib: fix crash in SQ4.
svn-id: r40886
2009-05-25 12:38:20 +00:00
Filippos Karapetis
4470dada57 Fixed crash when starting KQ6
svn-id: r40885
2009-05-25 11:44:24 +00:00
Fabio Battaglia
43d38512f1 tinsel: remove the ugly psx l-space workaround, and instead add a check into PlayMidi for psx version
svn-id: r40884
2009-05-25 11:18:29 +00:00
Walter van Niftrik
5e68c1f4a0 SCI: Force movie palettes (KQ6).
svn-id: r40883
2009-05-25 11:14:42 +00:00
Fabio Battaglia
ffcf4173f3 tinsel: add PSX specific code to workaround the thief bug in past ankh-morpork, i still have to give a better look at this though
svn-id: r40882
2009-05-25 11:01:33 +00:00
Filippos Karapetis
409c5e0a7e Updated the MSVC project files of the kyra engine (added sound_lol.cpp)
svn-id: r40881
2009-05-25 10:32:36 +00:00
Filippos Karapetis
d59796fb54 Objectified the AudioResource code (used for speech and digitized music in CD talkie games)
svn-id: r40880
2009-05-25 10:30:19 +00:00
Fabio Battaglia
5ef58bdfbe tinsel: avoid unnecessary iterations in Discworld PSX palette remapper
svn-id: r40879
2009-05-25 07:57:38 +00:00
Fabio Battaglia
6143da7cea tinsel: Discworld PSX uses "index.dat" as scene index file, not "index"
svn-id: r40878
2009-05-25 07:42:01 +00:00
Fabio Battaglia
652bc72ed3 tinsel: add entry in detector for Discworld PSX demo
svn-id: r40877
2009-05-25 06:19:37 +00:00
Fabio Battaglia
910f43ffd8 tinsel: endianess fix Discworld PSX palette remapper
svn-id: r40876
2009-05-25 06:09:48 +00:00
Fabio Battaglia
6982ce53c2 tinsel: fix some uninitialized var used in Discworld PSX
svn-id: r40875
2009-05-24 23:06:39 +00:00
Walter van Niftrik
8adc948001 SCI: Adlib: added support for rhythm channel
svn-id: r40874
2009-05-24 22:32:21 +00:00
Fabio Battaglia
eba025f48f tinsel: fix for CLUT palettes in Discworld PSX
svn-id: r40873
2009-05-24 22:10:12 +00:00
Johannes Schickel
c97a1aed74 Also strip trailing whitespaces in C and Objective-C source files. (Seems I forgot that we got those too :-P)
svn-id: r40872
2009-05-24 21:53:29 +00:00
Willem Jan Palenstijn
fd0578f151 SCI: reset system palette when loading a new PIC.
This improves the colours of background images, but is still partially
broken. The mouse cursor becomes transparent when changing scenes, and
there is a brief moment of palette corruption between scenes.

svn-id: r40870
2009-05-24 18:41:19 +00:00
Fabio Battaglia
dd41ba80da tinsel: Changes to psx palette conversion function
svn-id: r40869
2009-05-24 17:08:03 +00:00
Johannes Schickel
b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Johannes Schickel
7c1eb05714 Strip trailing whitespaces.
svn-id: r40866
2009-05-24 15:06:28 +00:00
Johannes Schickel
e9401655dd Commit patch #2796028 "lol files are always compiled" with some slight extension.
svn-id: r40865
2009-05-24 14:58:40 +00:00
Fabio Battaglia
6651cdc97c tinsel: fix graphic corruption caused by wrong clipping of 8-bit images in Discworld PSX
svn-id: r40864
2009-05-24 14:37:53 +00:00
Florian Kagerer
84a2651e63 LOL: fixed some input code issues:
- party would move 2 steps instead of one when using keyboad while magic menu was open 
- viewing notes would abort at once instead of waiting for the next click

svn-id: r40863
2009-05-24 14:33:41 +00:00
Fabio Battaglia
a4b733403a tinsel: take into account clipping when drawing PSX 4-bit images
svn-id: r40862
2009-05-24 13:59:47 +00:00
Fabio Battaglia
e6b62d945c tinsel: disable midi playing for Discworld PSX, as the game uses the proprietary (and unsupported) PlayStation SEQ format
svn-id: r40860
2009-05-24 13:20:13 +00:00
Willem Jan Palenstijn
725ff24170 SCI: re-xlate pixmap when palette revision changed
svn-id: r40859
2009-05-24 12:56:06 +00:00
Paul Gilbert
b993eba6a5 Removed the line feed workaround, and added explicit int16 castings to the FROM_LE_16 macros in the font system - this fixes a bug in the engine, allowing it to properly handle all non-printable characters correctly
svn-id: r40858
2009-05-24 11:37:24 +00:00
Filippos Karapetis
8ab0f0256e Fixed audio synchronization in the CD version of KQ5
svn-id: r40855
2009-05-24 09:40:48 +00:00
Fabio Battaglia
5a32f3f502 tinsel: sound samples and speech support for Discworld PSX using VAG. Based on a patch provided by clone2727
svn-id: r40852
2009-05-24 08:27:33 +00:00
Paul Gilbert
57e104c625 Fixed the display glitch associated with the animated handle in the engine room
svn-id: r40851
2009-05-24 04:29:44 +00:00
Johannes Schickel
c0302661ed Cleanup.
svn-id: r40850
2009-05-24 01:37:51 +00:00
Kari Salminen
70f8f1fbf3 Add color and color component getters to Cine::Palette.
svn-id: r40849
2009-05-24 01:36:25 +00:00
Johannes Schickel
344caa88fc Make various Sound functionality SoundHandle instead of filename based.
- This fixes multiple sounds being played at once in Lands of Lore

svn-id: r40848
2009-05-24 01:29:09 +00:00
Florian Kagerer
c281214027 LOL: fix valgrind warning
svn-id: r40847
2009-05-24 00:53:22 +00:00
Johannes Schickel
bef88f3b61 Remove leftover (already commented out) code.
svn-id: r40845
2009-05-24 00:15:34 +00:00
Johannes Schickel
ad4549f28d - Reorder supported codecs list
- Add changes for upcoming audio compression changes (file extensions changed to standard ones)

svn-id: r40843
2009-05-24 00:11:28 +00:00
Johannes Schickel
8989e140c7 Cleanup.
svn-id: r40842
2009-05-24 00:07:23 +00:00
Johannes Schickel
b28279accc Cleanup.
svn-id: r40841
2009-05-23 23:58:40 +00:00
Johannes Schickel
dfb6ca6bae Add support for "getTotalPlayTime" in LinearMemoryStream again.
svn-id: r40840
2009-05-23 23:49:47 +00:00