Commit Graph
86814 Commits
Author SHA1 Message Date
Nicola Mettifogo 666f0720ab (Re)link bounding animations after location has been completely parsed. This avoids problems due to forward references.
svn-id: r39740
2009-03-29 13:56:16 +00:00
Nicola Mettifogo 340b0e632e Ensure zone and animation flags are restored when a location is reloaded. This should definitely fix bug #2718462.
svn-id: r39739
2009-03-29 13:17:34 +00:00
Nicola Mettifogo 011b73a09b Commands now evaluate their reference Zone at runtime, thus handling of forward references in the parser is no more needed.
svn-id: r39738
2009-03-29 12:41:00 +00:00
Filippos Karapetis d883cb209e Fixed the colors of the widgets in KQ5's options menu
svn-id: r39737
2009-03-29 12:28:24 +00:00
Nicola Mettifogo 01812f0830 Fixed several free/delete mismatches.
svn-id: r39736
2009-03-29 12:11:10 +00:00
Nicola Mettifogo 8b3f6b0299 Set main menu text height to the actual font height.
svn-id: r39735
2009-03-29 12:10:17 +00:00
Filippos Karapetis 09d96e24f9 Fixed the colors of the window frames in KQ5
svn-id: r39734
2009-03-29 11:56:32 +00:00
Paul Gilbert e930f4c792 Added missing parenthesis in M4Engine::delay
svn-id: r39733
2009-03-29 11:22:49 +00:00
Nicola Mettifogo 28465d73bb Merged CommandData into Command.
svn-id: r39732
2009-03-29 10:18:09 +00:00
Filippos Karapetis cda1bf5ca9 Eco Quest 1 continues after the intro now
svn-id: r39731
2009-03-29 01:56:03 +00:00
Walter van Niftrik 5c020b9efe Fix bug #2684645: AMIGAOS: Build breaks in "base/commandline".
svn-id: r39730
2009-03-28 23:47:14 +00:00
Walter van Niftrik 1b356fe543 Fix bug #2691034: AMIGAOS: Makefile.common broken.
svn-id: r39729
2009-03-28 23:39:59 +00:00
Kari Salminen a329b64ecc Cine::Palette: Revamp palette constants so they can be used for e.g. allocating a constant sized byte buffer from stack.
svn-id: r39728
2009-03-28 17:04:46 +00:00
Johannes Schickel 2b7af654bd Fix invalid memory writes.
svn-id: r39727
2009-03-28 16:35:54 +00:00
Kari Salminen 9a21bd26e9 Cine::Palette: Add constants for normally used palette color counts and byte sizes.
svn-id: r39726
2009-03-28 16:34:47 +00:00
Kari Salminen adbcfabcb1 Cine::Palette: Add empty() and isValid() functions.
svn-id: r39725
2009-03-28 16:07:56 +00:00
Nicola Mettifogo 329c3321e8 Added workaround for script bug in ticket #2718449.
svn-id: r39724
2009-03-28 14:38:19 +00:00
Nicola Mettifogo f2d7875db6 Added initialization for _index and _locationIndex in Zone objects.
svn-id: r39723
2009-03-28 14:17:17 +00:00
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