30246 Commits

Author SHA1 Message Date
Nicola Mettifogo
a9f5340cba Save zone and animation flags when a location is closed. This fixes bug #2718462.
svn-id: r39722
2009-03-28 14:03:51 +00:00
Florian Kagerer
7bfa1455bc LOL: - implemented opcode required for operating the floor plates in the thugs' cave)
- fixed bug (only one of the two thugs in front of the cave was deleted when sneaking into the cave)

svn-id: r39721
2009-03-28 12:58:34 +00:00
Johannes Schickel
8dda5f4070 Formatting.
svn-id: r39720
2009-03-28 12:08:43 +00:00
Florian Kagerer
8875fdcded LOL: - Level temp data now get stored in memory so you can now return to a level without everything being broken. Temp data isn't saved to disk. Since total memory requirement for storing this data won't exceed ~100kb I'd rather save memory in other places (like removing some screen page buffers)
- Implemented some more opcodes and fixed some bugs (You can now safely pick up coin pouches. The lamp seems to work fine, too).

svn-id: r39719
2009-03-28 11:58:22 +00:00
Travis Howell
97abfc9181 Add sound effects support for Amiga demo of BRA.
svn-id: r39717
2009-03-28 10:06:43 +00:00
Travis Howell
4979179621 Add sound effects support for PC version of BRA.
svn-id: r39716
2009-03-28 09:56:39 +00:00
Travis Howell
9131f20587 Change the detection of Amiga versions of BRA, to a required data file (request.win).
svn-id: r39715
2009-03-28 06:45:22 +00:00
Walter van Niftrik
e860473d80 SCI: AvoidPath workaround for intersecting polygons in Longbow, room 210.
svn-id: r39714
2009-03-27 23:01:13 +00:00
Kari Salminen
ce414e6671 Cine::Palette: Add a black palette constructor and a clear-function for clearing the palette of all data (Releases used memory etc).
svn-id: r39713
2009-03-27 21:31:03 +00:00
Kari Salminen
6ef983335e Make Cine::Palette use the PixelFormat's convenience functions introduced in r39711 (This way I don't have to cache the rMax, gBits etc values and I'm left with less member variables to keep up to date).
svn-id: r39712
2009-03-27 20:59:46 +00:00
Kari Salminen
d85e3b72d2 Add color component bit count (rBits, gBits, bBits, aBits) and maximum value (rMax, gMax, bMax, aMax) convenience functions to PixelFormat-struct (If someone objects to adding these, holler and/or revert this commit, I can live without 'em but they'd ease some parts of Cine::Palette-code).
svn-id: r39711
2009-03-27 20:56:15 +00:00
Kari Salminen
80ab6ccf44 Cine::Palette: Remove unnecessary and needlessly complicating saving of the last loaded palette data's endian type.
svn-id: r39710
2009-03-27 20:03:38 +00:00
Kari Salminen
f7da5230e3 Cine::Palette: Add setGlobalOSystemPalette-method for setting the global OSystem's palette from the Palette object's internal representation.
svn-id: r39709
2009-03-27 19:11:00 +00:00
Andre Heider
32495abc38 Improved configure support for the GP2X port.
svn-id: r39708
2009-03-27 14:12:42 +00:00
Willem Jan Palenstijn
07d3ae07ac Fix regression from r39702: look up music_driver in config
svn-id: r39707
2009-03-27 13:49:11 +00:00
Vicent Marti
95a8c28dd5 Fixed bug where screen wasn't automatically updated when changing theme, unless you moved the mouse.
svn-id: r39706
2009-03-27 12:04:43 +00:00
Nicola Mettifogo
146597dd2d Adjusted calculation of scanline width for ILBM files to account for occasional padding bytes. This fixes the loading of some backgrounds in BRA.
svn-id: r39705
2009-03-27 05:57:19 +00:00
Filippos Karapetis
d75959c354 Added a note about the potential invalid rectangles created when drawing lines
svn-id: r39704
2009-03-26 21:52:04 +00:00
Vicent Marti
053b7b8a9b Theme selection dialog now automatically selects the currently active theme. Fixes bug #2706967.
svn-id: r39703
2009-03-26 20:24:16 +00:00
Max Horn
e5e1615280 MidiDriver cleanup: findMusicDriver now returns a pointer (makes it possible to distinguish 'no match found' from other results); updated parseMusicDriver accordingly; some methods now return MidiDriverType instead of int
svn-id: r39702
2009-03-26 13:52:43 +00:00
Max Horn
c21110f36e SCI: Match signature of readResourceMapSCI0 and readResourceMapSCI1 (helpful if we ever want to turn this into overloaded methods of ResourceManager subclasses, one subclass for each SCI version)
svn-id: r39701
2009-03-26 13:11:30 +00:00
Max Horn
fb364ee281 Changed doxygen comments in sound/midiparser.h to match with our usual formatting conventions
svn-id: r39700
2009-03-26 13:11:11 +00:00
Paul Gilbert
ab31f46676 Corrected the positions of two library functions in the library function list
svn-id: r39699
2009-03-26 11:16:34 +00:00
Max Horn
c592bf3300 SCI: Cleaned up the decompressor comments and code a little bit
svn-id: r39698
2009-03-25 23:47:16 +00:00
Filippos Karapetis
b4b0e35841 Remove a workaround in the line drawing function - it shouldn't be necessary anymore
svn-id: r39697
2009-03-25 23:26:24 +00:00
Filippos Karapetis
2b1ad19b7f Added another version of Eco Quest 1
svn-id: r39696
2009-03-25 23:14:31 +00:00
Filippos Karapetis
831d3d542e Changed the primitive equality check to not use Common::Rect, as the two primitives being compared might not actually be rectangles (e.g. they may be lines, in which case the "width" and "height" might be negative)
svn-id: r39695
2009-03-25 23:14:08 +00:00
Filippos Karapetis
58a66cb3cd Use the default kernel vocabulary names for SCI1 games, instead of reading the unreliable (in SCI1 games) 999.voc resource. KQ5 and EcoQuest 1 now work properly, and all other SCI1 games seem to be unaffected and working with this change. If there's any SCI1 game with different kernel vocabulary names, we can add special flags to it to our detector, so this change fixes more than it breaks :)
svn-id: r39694
2009-03-25 22:37:08 +00:00
Joost Peters
1a5f531d23 Allow building of psp backend via configure (Part 1 - Still need to add the fixup + EBOOT packing steps).
Thanks dhewg and fingolfin for assistance. :)

svn-id: r39693
2009-03-25 21:58:16 +00:00
Kari Salminen
02b178f4db Update MSVC project files for r39687.
svn-id: r39692
2009-03-25 20:07:44 +00:00
Kari Salminen
39f7484c9e Cine::Palette::saturatedAddNormalizedGray: Use fractional representation (dividend/denominator) of the normalized gray value in range [-1, +1] rather than a floating point.
svn-id: r39691
2009-03-25 19:52:08 +00:00
Filippos Karapetis
a3a7893f16 Changed the font flag defines to an enumeration
svn-id: r39690
2009-03-25 17:51:22 +00:00
Filippos Karapetis
4723f80fe2 Merged sciw_select_item() and sciw_unselect_item()
svn-id: r39689
2009-03-25 16:37:50 +00:00
Filippos Karapetis
0501542b79 Fixed compilation
svn-id: r39688
2009-03-25 12:58:22 +00:00
Filippos Karapetis
34d75e455b - Renamed gfx/sci_widgets.* to gfx/gfx_gui.*, as these files contain GUI elements mostly, like windows and status bars
- Moved kWindowAutoRestore from gfx_widgets.h to gfx_gui.h

svn-id: r39687
2009-03-25 12:52:03 +00:00
Filippos Karapetis
df5239e89e Remove superfluous comma
svn-id: r39686
2009-03-25 12:11:49 +00:00
Filippos Karapetis
006b2d62af Changed some flags to enums
svn-id: r39685
2009-03-25 12:07:10 +00:00
Filippos Karapetis
bd240eb60a Added myself to the MADE engine credits
svn-id: r39684
2009-03-25 10:49:52 +00:00
Joost Peters
67201f6a71 revert yesterday's change -- apparently this different behavior was intentional.
svn-id: r39683
2009-03-25 10:04:45 +00:00
Travis Howell
91d8f6e228 Add French DOS version of Waxworks.
svn-id: r39681
2009-03-25 08:06:04 +00:00
Walter van Niftrik
42d67b4a3a SCI: AvoidPath cleanup.
svn-id: r39680
2009-03-25 00:33:31 +00:00
Travis Howell
6bc9547324 Add German DOS version of Waxworks.
svn-id: r39678
2009-03-24 23:43:51 +00:00
Max Horn
ee42d06a43 Patch from bug #2710315: INDY3/FOA: bug in patch for series IQ with ScummVM GUI
svn-id: r39677
2009-03-24 23:30:48 +00:00
Kari Salminen
51751cd069 Cine::Palette: Add fillWithBlack and saturatedAddNormalizedGray-methods.
svn-id: r39676
2009-03-24 21:45:35 +00:00
Walter van Niftrik
b85b6929bd SCI: build fix.
svn-id: r39675
2009-03-24 21:18:06 +00:00
Walter van Niftrik
e8b38af014 SCI: Added workaround for broken polygon in LSL1 room 350.
svn-id: r39674
2009-03-24 21:03:50 +00:00
Joost Peters
fc9e5b6beb Fix smaller error introduced in r39671 refactoring (this check used to be "res == 0").
Thanks to syke for spotting it.

svn-id: r39673
2009-03-24 19:56:41 +00:00
Joost Peters
86e54ffa58 remove unsigned qualifier, as byte already is unsigned.
svn-id: r39672
2009-03-24 17:56:01 +00:00
Max Horn
1e94b9cd3c SCI: Rewrote vocabulary code to use a Common::HashMap<String,ResultWord>
svn-id: r39671
2009-03-24 17:42:12 +00:00
Max Horn
65b96f6a1b SCI: Changed vocab_tokenize_string to not 'return' the list it generates, but rather pass a reference to an existing list to it (this is a bit more efficient, and allows us to return an error value)
svn-id: r39670
2009-03-24 17:41:46 +00:00