Sven Hesse
341d875cea
Added support for compressed sample files (patch #2815426 by m_kiewitz)
...
svn-id: r42020
2009-07-02 12:15:04 +00:00
Max Horn
a6b57dc3a9
- Added GCC_PRINTF attribute to several funcs where it makes sense
...
- change some constants from double to float, to avoid "loss of precision due to implicit conversion" warnings
- removed duplicate prototypes for some funcs
- fixed some "increases required alignment of target type" warnings
svn-id: r42009
2009-07-01 20:51:04 +00:00
Fabio Battaglia
cf3eab927b
tinsel: added some comments to psx palette mapper
...
svn-id: r41806
2009-06-23 13:24:46 +00:00
Johannes Schickel
4aec580f91
Formatting.
...
svn-id: r41588
2009-06-16 19:26:44 +00:00
Fabio Battaglia
b905602b4c
tinsel: check only english.txt for DW1 psx version detection, and use recursive "SearchMan.addDirectory()" to obtain subdirs for Discworld PSX datafiles
...
svn-id: r41587
2009-06-16 18:58:21 +00:00
Eugene Sandulenko
1bd6f6c99f
Added game GUI options to advancedDetector and updated all engines
...
svn-id: r41272
2009-06-06 17:56:41 +00:00
Johannes Schickel
626765b71a
Fix warning about signed vs. unsigned comparison.
...
svn-id: r41143
2009-06-03 16:28:09 +00:00
Fabio Battaglia
ee04870cc2
tinsel: fixed endianess issue in psx palette remapper
...
svn-id: r41142
2009-06-03 16:15:17 +00:00
Fabio Battaglia
dcbc6e7e69
tinsel: removed some warnings related to psx code and cleanup of psx palette remapper function
...
svn-id: r41138
2009-06-03 14:03:05 +00:00
Fabio Battaglia
be22438648
tinsel: workaround for "missing red dragon in Act IV" bug in Discworld PSX
...
svn-id: r41068
2009-05-31 14:41:54 +00:00
Torbjörn Andersson
0999534749
The error() and warning() functions add ! and newline automatically. (I didn't
...
look at debug() and debugC(), since I'm really bored with this now. :-)
svn-id: r41061
2009-05-31 10:02:16 +00:00
Max Horn
fb79b18571
Changed SaveFileManager methods to take Common::String params (instead of char pointers)
...
svn-id: r41000
2009-05-29 14:38:22 +00:00
Fabio Battaglia
6fd48c3354
tinsel: add default paths needed by Discworld PSX, now the user shouldn't need to move files around
...
svn-id: r40901
2009-05-26 08:41:25 +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
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
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
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
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
Fabio Battaglia
eba025f48f
tinsel: fix for CLUT palettes in Discworld PSX
...
svn-id: r40873
2009-05-24 22:10:12 +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
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
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
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
Max Horn
65b5d31814
COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses)
...
svn-id: r40725
2009-05-19 11:42:14 +00:00
Fabio Battaglia
b70bbcf306
tinsel: fixed "Unknown drawing type" for inventory in Discworld PSX
...
svn-id: r40698
2009-05-18 20:05:30 +00:00
Fabio Battaglia
7e11e57339
tinsel: start adding transparency support to Discworld PSX
...
svn-id: r40697
2009-05-18 19:56:54 +00:00
Eugene Sandulenko
fd7ffd6f74
Add detection for Russian version of DW2.
...
svn-id: r40622
2009-05-16 11:18:14 +00:00
Paul Gilbert
340b5b9378
Added detection entry for Hebrew Discworld 1 release
...
svn-id: r40614
2009-05-15 23:57:08 +00:00
Fabio Battaglia
3771f9aef2
tinsel: fix drawing of some sprites, cursor and fonts in discworld PSX, palette is still wrong though
...
svn-id: r40606
2009-05-15 12:46:53 +00:00
Max Horn
27b74756d8
TINSEL: Added FIXME comment about a valgrind warning (calling strcpy on overlapping strings is unsafe)
...
svn-id: r40307
2009-05-04 15:05:25 +00:00
Paul Gilbert
7dbfb326cc
Fixed dword alignment warning (as reported by salty-horse)
...
svn-id: r40198
2009-04-29 11:33:43 +00:00
Paul Gilbert
4a2e5bb793
Re-introduced the ability to skip the title scenes in Discworld 1. Since the exact scene numbers differed between language versions, this new version simply relies on skipping the first four screens - hopefully, none of the various versions will have any extra title screens.
...
svn-id: r40196
2009-04-29 10:37:00 +00:00
Paul Gilbert
3817fbf7d0
Fixed a method name clash, and changed the Restart dialog to properly use the renamed method, rather than just setting the global variable directly
...
svn-id: r40158
2009-04-27 12:21:14 +00:00
Fabio Battaglia
b45f2e21fa
tinsel: changed PSX CLUT converter to report effective number of colours used in the palette
...
svn-id: r40151
2009-04-26 10:25:41 +00:00
Paul Gilbert
86debbd679
Added code to enable Discworld 2 to play directly from the CD (only the first CD - Cd swap still doesn't work) or from files copied to the hard disk without the .smp/txt/idx files being properly renamed (again only for the first Cd).
...
svn-id: r40141
2009-04-25 06:42:01 +00:00
Paul Gilbert
d594211ab3
Bugfix to the coroutine handling in CdDoChange
...
svn-id: r40140
2009-04-25 06:36:20 +00:00
Fabio Battaglia
10caf64618
tinsel: begin modifying drawing function to support psx 4-bit cluts
...
svn-id: r40119
2009-04-24 15:14:26 +00:00
Fabio Battaglia
df81ef750c
tinsel: added Discworld PSX palette converting function
...
svn-id: r40109
2009-04-24 11:54:10 +00:00
Fabio Battaglia
a016ed90ba
tinsel: start wiring some Discworld PSX graphical functions into engine
...
svn-id: r40091
2009-04-23 16:17:22 +00:00
Fabio Battaglia
33180805ad
tinsel: Enable Discworld PSX detection and begin adding some function to support Discworld PSX graphics
...
svn-id: r40090
2009-04-23 15:29:34 +00:00
Fabio Battaglia
199ca291ee
tinsel: adding (disabled) detector entry for Discworld 1 PSX UK version
...
svn-id: r40021
2009-04-19 13:52:05 +00:00
Max Horn
a2b5829101
TINSEL: Added some doxygen comments to the Tinsel coroutine code
...
svn-id: r39908
2009-04-09 17:07:24 +00:00
Johannes Schickel
0ea7589e2c
TINSEL: Commit of parentheses patch from salty-horse. (from -devel "Enabling -Wparentheses in the Makefile").
...
svn-id: r39759
2009-03-30 12:08:12 +00:00
Paul Gilbert
f405dff025
Bugfixes for incorrect Poly class usage in the CheckNPathIntegrity DEBUG method
...
svn-id: r39627
2009-03-23 08:49:05 +00:00