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
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
Florian Kagerer
5a4b3c5441
KYRA/LOL: restructured voice playing code so that audio compression can be supported
...
svn-id: r40839
2009-05-23 23:33:31 +00:00
Willem Jan Palenstijn
a19c23ab7a
SCI: add (unused) palette revisioning support
...
svn-id: r40838
2009-05-23 22:21:42 +00:00
Filippos Karapetis
8dd601d35e
Moved the "dump" and "dissectscript" commands to console.cpp and renamed them to "hexdump" and "dissect_script" respectively
...
svn-id: r40818
2009-05-23 19:59:42 +00:00
Filippos Karapetis
fc0fab937a
Oops, fixed silly typo
...
svn-id: r40816
2009-05-23 18:57:47 +00:00
Filippos Karapetis
6a7aae788d
Some more WIP code for kDoAudio(), taken from Greg's SCI engine. Sound and speech in KQ5CD should be working now
...
svn-id: r40815
2009-05-23 18:55:56 +00:00
Florian Kagerer
cbce9e1179
LOL: implemented fireball spell
...
svn-id: r40813
2009-05-23 18:43:04 +00:00
Filippos Karapetis
39f9894ee5
Added a stub for SetVideoMode(), and fixed some of the palette glitches in the intro of KQ6 thanks to some comments by waltervn. Also, commented out the bounds rect in gfxr_pic_t, as it's currently unused
...
svn-id: r40808
2009-05-23 13:26:45 +00:00
Filippos Karapetis
91d2fa2d0d
Fixed clipping code for texts which do not fit on screen, and added a warning when this happens
...
svn-id: r40807
2009-05-23 12:08:36 +00:00
Filippos Karapetis
f77dfe9d23
Fixed the incorrect placement of the copyright message in KQ6 on screen
...
svn-id: r40806
2009-05-23 11:56:27 +00:00
Filippos Karapetis
b4126beea2
The third and fourth parameter in changePortBounds() are x2 and y2, not width and height
...
svn-id: r40805
2009-05-23 10:50:24 +00:00
Filippos Karapetis
2590511c7d
Turned some errors into warnings, as they occur in KQ5CD
...
svn-id: r40804
2009-05-23 10:22:27 +00:00
Filippos Karapetis
3811df7aca
Fixed the incorrectly placed views in the KQ6 intro, by reintroducing port bounds in the graphics resource manager and removing two relevant hacks
...
svn-id: r40803
2009-05-23 10:07:01 +00:00
Walter van Niftrik
248f415fac
SCI: Added partial support for SCI1.1 adlib music
...
svn-id: r40800
2009-05-23 01:41:09 +00:00
Johannes Schickel
82b9cf9575
Cleanup.
...
svn-id: r40799
2009-05-23 01:15:20 +00:00
Johannes Schickel
c87f3199f8
Reserve opcode array entries beforehand, should save some reallocation and copying.
...
svn-id: r40798
2009-05-23 00:05:16 +00:00
Johannes Schickel
9e000c662b
Better safe than sorry, add an explicit default constructor for Button.
...
svn-id: r40797
2009-05-22 23:22:13 +00:00
Johannes Schickel
37b823531c
Yet another fix for MSVC (it seems it initializes all pointers in debug mode to 0xCCCCCCCC instead of 0).
...
svn-id: r40796
2009-05-22 23:16:53 +00:00
Johannes Schickel
02ff3d2909
Fix crash with MSVC.
...
svn-id: r40795
2009-05-22 23:10:52 +00:00
Johannes Schickel
b82f2ce538
struct Button contains non POD members, thus don't use memset on it.
...
svn-id: r40794
2009-05-22 23:08:58 +00:00
Johannes Schickel
017bb21945
Change button list handling to closer match original. This fixes a crash when loading via GMM.
...
svn-id: r40793
2009-05-22 22:43:13 +00:00