Commit Graph

38652 Commits

Author SHA1 Message Date
Paul Gilbert
fcdb7807a4 Implemented explicit transparency index support - the previous hardcoded index of 0 wasn't correct, since some sprites need that index
svn-id: r50070
2010-06-20 07:04:58 +00:00
Paul Gilbert
d6cd656f15 Added support for the alternate encoding for depth surfaces
svn-id: r50069
2010-06-20 05:25:34 +00:00
Thierry Crozat
f2983093e8 Add nearly complete french translation. I tried to make it work also in 320x200 but french can be quite verbose, so in a few places it does not fit. Also I could not check any of the device specific strings (e.g. from WinCE, Wii or other backends) and a few are missing.
svn-id: r50068
2010-06-19 22:56:58 +00:00
Martin Kiewitz
87132bd411 SCI: changing error to warning in ResMan::detectViewType()
svn-id: r50067
2010-06-19 22:14:15 +00:00
Martin Kiewitz
b0a36849da SCI: locking _mutex inside SciMusic::sendMidiCommand(MusicEntry *pSnd, uint32 cmd)
svn-id: r50065
2010-06-19 21:15:58 +00:00
Martin Kiewitz
ef67a37b54 SCI: fixing last uninitialized variable issue in MidiParser_SCI (hopefully)
svn-id: r50063
2010-06-19 20:37:53 +00:00
Martin Kiewitz
f3b8a5927d SCI: fixing another uninitialized variable usage issue - also limiting reset velocity to used channels only, same is true for setting voice count
svn-id: r50062
2010-06-19 20:23:55 +00:00
Martin Kiewitz
089f5bba14 SCI: stopping scripts from sending to unused channels manually (fixes sq1vga)
svn-id: r50060
2010-06-19 20:00:32 +00:00
Martin Kiewitz
24459b5842 SCI: reverting r50058 - we can't actually send to the channels at that time, because we do not own the channels at that point
svn-id: r50059
2010-06-19 19:47:22 +00:00
Martin Kiewitz
a845e8b859 SCI: move setVolume down inside loadMusic so that it actually affects the used channels
svn-id: r50058
2010-06-19 19:39:36 +00:00
Martin Kiewitz
447f127013 SCI: fixing uninitialized usage in MidiParser_SCI
svn-id: r50057
2010-06-19 19:16:42 +00:00
Martin Kiewitz
ed50ecd62d SCI: make channel remapping stop using channel 0 for mt32 - fixes playback accordingly (like lsl1 at the start)
svn-id: r50056
2010-06-19 19:06:58 +00:00
Martin Kiewitz
996bd693e0 SCI: resume when unable to locate base objects - fixes loading some saved games
svn-id: r50055
2010-06-19 19:04:35 +00:00
Martin Kiewitz
ab4e02422c SCI: free channels for channel remapping on stop and pause, instead of dispose - fixes qfg3 demo going out of channels
svn-id: r50054
2010-06-19 17:43:13 +00:00
Martin Kiewitz
26e4e0e345 SCI: cleanup view decompression code
svn-id: r50053
2010-06-19 17:12:17 +00:00
Johannes Schickel
78068df908 Whoops copy&paste mistake...
svn-id: r50052
2010-06-19 17:08:17 +00:00
Johannes Schickel
3b6fac3703 Comment out rule for common/messages.cpp for now and make update-translations update common/messages.cpp directly.
svn-id: r50051
2010-06-19 17:06:37 +00:00
Thierry Crozat
721db3eccb Fix an issue in String::ensureCapacity() when the string is shared. It could allocate two much memory as it was at least doubling the current capacity even when this one was sufficient.
It fixes a crash in GUI::Widget::cleanupHotkey() as the capacity of the string was doubled at each iteration once it was too long for the internal storage (only to add one character to the string). This ended up in a bad_alloc exception after a few iterations.

svn-id: r50050
2010-06-19 15:35:21 +00:00
Max Horn
32668b553f AGI: Get rid of GID_SQ0
svn-id: r50049
2010-06-19 11:08:41 +00:00
Max Horn
0c93154eb9 AGI: Fix detection of AGI Tetris and Caitlyn's Destiny
svn-id: r50048
2010-06-19 11:08:16 +00:00
Martin Kiewitz
710f0257eb SCI: replacing the keyboard size check for direction type detection with checking for script 933 (pseudoMouse) instead - this is better because its working multiplatform
svn-id: r50047
2010-06-19 10:57:01 +00:00
Martin Kiewitz
101218c1b6 SCI: added TODO for keyboard driver size check, maybe this whole stuff isn't needed at all
svn-id: r50046
2010-06-19 10:28:41 +00:00
Martin Kiewitz
a7fa0649df SCI: implemented checking of keyboard driver in case of SCI1EGA/EARLY, also renamed SCI_EVENT_JOYSTICK to SCI_EVENT_DIRECTION
svn-id: r50045
2010-06-19 09:46:04 +00:00
Jordi Vilalta Prat
4fb3059edc Fix some typos (thanks to fuzzie).
svn-id: r50044
2010-06-19 08:43:50 +00:00
Nicola Mettifogo
73e612a801 Mention that part 1 of BRA is completable.
svn-id: r50043
2010-06-19 04:57:54 +00:00
Nicola Mettifogo
5328abe2f0 Cleanup.
Got rid of the legacy "location.part" string handling in BRA.

svn-id: r50042
2010-06-19 04:51:31 +00:00
Nicola Mettifogo
96d4ae0fcc Cleanup some more state when switching part in BRA.
svn-id: r50041
2010-06-19 04:51:14 +00:00
Nicola Mettifogo
de7de460e8 Use the new _nextPart member switching part from the menu in BRA.
svn-id: r50040
2010-06-19 04:51:00 +00:00
Nicola Mettifogo
d7a165b9f2 Implemented PART command for BRA, largely based on patch #3005434 by fuzzie.
svn-id: r50039
2010-06-19 04:50:44 +00:00
Nicola Mettifogo
5b3075bd65 Guarded the command execution suspension for NS demo (this was due in r38662 - see bug #2619824).
svn-id: r50038
2010-06-19 02:51:03 +00:00
Nicola Mettifogo
61c40e2bd4 Save the context of a suspended list before resuming the execution, so that it can safely be suspended again. Patch 3004652 by fuzzie.
svn-id: r50037
2010-06-19 02:50:46 +00:00
Walter van Niftrik
f4b700c4c4 SCI: AdLib: add dummy instruments when there are only 48 in the patch
svn-id: r50035
2010-06-19 01:16:25 +00:00
Martin Kiewitz
25c86e8b03 SCI: set resulting type to keyboard+joystick for sci1middle+ in kMapKeyToDir - fixes keyboard controlling of mouse in all sorts of games - although this is not 100% done, the change actually happened inbetween sci1early, added fixme
svn-id: r50034
2010-06-18 22:16:05 +00:00
Max Horn
da28fde4c6 AGI: Change some #defines to enums
svn-id: r50033
2010-06-18 22:07:32 +00:00
Max Horn
7a8b8c88ae AGI: cleanup
svn-id: r50032
2010-06-18 22:06:56 +00:00
Max Horn
e5fcbc0c3a AGI: Fix serguei1/serguei2/sqx detection
svn-id: r50031
2010-06-18 22:06:31 +00:00
Max Horn
75b7b54fe1 SCI: Add mac SQ1 & SQ3
svn-id: r50030
2010-06-18 22:06:13 +00:00
Martin Kiewitz
602b32175a SCI: fixing detection of vga sci11 views for ega games (original change in r50025)
svn-id: r50028
2010-06-18 18:55:17 +00:00
Martin Kiewitz
8c8ce14164 SCI: not using views coming from patch files anymore for detecting view type
svn-id: r50027
2010-06-18 18:49:06 +00:00
Martin Kiewitz
3197dfc033 SCI: added more description about changes in r50025
svn-id: r50026
2010-06-18 17:53:35 +00:00
Martin Kiewitz
636ef64c68 SCI: making vga views work in ega games :P
svn-id: r50025
2010-06-18 17:40:13 +00:00
Filippos Karapetis
6f7f6572c4 Fixed invalid memory read in LSL6 hires - kRobot(1) returns an integer
svn-id: r50024
2010-06-18 17:34:34 +00:00
Martin Kiewitz
8a8480c0ca SCI: fix typo when setting EGA palette
svn-id: r50023
2010-06-18 17:20:09 +00:00
Filippos Karapetis
680f7c897a Fixed a problem in kAnimate which occurred when a list was modified by a call (e.g. in KQ1 demo, PQ2)
svn-id: r50022
2010-06-18 15:40:18 +00:00
Filippos Karapetis
5d378574a4 Fixed show_instruments to ignore instruments in Sierra's special MIDI channel 15, and updated the comment regarding PQ2 accordingly (it only has 2 incorrect instruments)
svn-id: r50021
2010-06-18 15:18:14 +00:00
Filippos Karapetis
874eeb2370 Added hints inside validate_arithmetic(), together with some code useful for debugging. Some cleanup
svn-id: r50020
2010-06-18 14:48:39 +00:00
Filippos Karapetis
b152f6d68f Added an explanation about the invalid instruments used when using the Adlib driver in PQ2
svn-id: r50019
2010-06-18 14:36:22 +00:00
Martin Kiewitz
562f8a9463 SCI: implementing fading for sci1 only for used channels of the object, fixes lsl1 music issues when going right at the start
svn-id: r50018
2010-06-18 13:36:29 +00:00
Martin Kiewitz
661a170c86 SCI: change error() inside adlib driver ::setPatch() to warning() again, fixing pq2
svn-id: r50017
2010-06-18 13:05:08 +00:00
Martin Kiewitz
919c348c5a SCI: pseudo-implemented 0x72 and 0x73 for kDisplay used by longbow-demo, although sierra sci doesn't support them at all
svn-id: r50016
2010-06-18 13:02:48 +00:00