105 Commits

Author SHA1 Message Date
Matthew Hoops
740b6e8fbd IMAGE: Move all ImageDecoders to image/ 2014-02-28 00:27:28 -05:00
Johannes Schickel
56a99b1d37 PARALLACTION: Make GPL headers consistent in themselves. 2014-02-18 02:39:37 +01:00
Johannes Schickel
ccaf4d865c PARALLACTION: Take advantage of Surface::getPixels. 2013-08-03 04:02:51 +02:00
Johannes Schickel
d82741a3c8 PARALLACTION: Prefer getBasePtr over direct Surface::pixels access. 2013-08-03 02:52:33 +02:00
Johannes Schickel
98cfb57dd3 PARALLACTION: Fix a const cast warning. 2013-01-06 20:34:26 +01:00
Tomas Jakobsson
548b505b68 PARALLACTION: Update to new IFFDecoder for ILBM images 2013-01-06 20:04:45 +01:00
Alyssa Milburn
41d337c549 PARALLACTION: Clean up global variables a bit. 2012-09-27 22:41:51 +02:00
Johannes Schickel
d98b462190 PARALLACTION: Fix delete[] formatting. 2012-07-25 21:10:43 +02:00
Tarek Soliman
a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Johannes Schickel
71bdb86e02 Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".
For further discussion check here:
https://github.com/scummvm/scummvm/pull/16

Conflicts:
	graphics/png.cpp
2011-05-01 16:54:45 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Johannes Schickel
9734c7be64 PARALLACTION: Prefer Surface::create taking a PixelFormat over the one taking a byte depth. 2011-04-17 16:30:12 +02:00
Johannes Schickel
c42e2f3a55 PARALLACTION: Use a char array for static data instead of String.
svn-id: r52610
2010-09-06 21:17:26 +00:00
Max Horn
2149a2383d Reduce indirect header dependencies further
svn-id: r48936
2010-05-04 12:00:16 +00:00
Max Horn
696fd7af20 Reduce usage of Common::String::emptyString
svn-id: r44603
2009-10-04 11:58:52 +00:00
Nicola Mettifogo
36828287ad * Moved the updated IFF code from Parallaction to common/
* Updated Parallaction and SAGA to use the new decoder infrastructure.

svn-id: r41465
2009-06-12 08:51:05 +00:00
Nicola Mettifogo
5fccc0f98d * Final version of the IFF parsing code.
* Refactored ILBMDecoder usage from disk code.

svn-id: r41458
2009-06-12 05:03:18 +00:00
Nicola Mettifogo
3607c63758 Refactoring.
svn-id: r40210
2009-04-29 16:59:10 +00:00
Nicola Mettifogo
19bd929a5d * Disk code cleanup.
* Added ability to load in-game menu graphics.

svn-id: r40175
2009-04-28 12:23:52 +00:00
Nicola Mettifogo
01812f0830 Fixed several free/delete mismatches.
svn-id: r39736
2009-03-29 12:11:10 +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
Nicola Mettifogo
8cebcaf017 Pushed down dependencies from parser.h
svn-id: r39636
2009-03-23 17:42:08 +00:00
Nicola Mettifogo
052a6ea1f9 Stop erroring out if mask or shadow files are missing: not all location/objects have them.
svn-id: r39620
2009-03-22 23:07:51 +00:00
Nicola Mettifogo
631e0aaed5 Changed Disk code to provide SeekableReadStream's to sound routines as well.
svn-id: r39608
2009-03-22 15:25:55 +00:00
Nicola Mettifogo
8f57c621d2 Some Surface tinkering, and added TODO's about it.
svn-id: r39585
2009-03-21 15:01:46 +00:00
Travis Howell
bd8b94ee8a Fix regression when loading icons in Amiga versions of BRA.
svn-id: r39580
2009-03-21 01:08:04 +00:00
Nicola Mettifogo
742c9c9d6a * Reimplemented routine using the old ILBM decoder to use the new one
* Fixed all remaining issues with masks.

svn-id: r39572
2009-03-20 20:37:58 +00:00
Nicola Mettifogo
7697fd9cc7 Fixed the transparency problems of static objects in BRA.
svn-id: r39486
2009-03-17 16:45:09 +00:00
Nicola Mettifogo
92c9365650 Additional palette is loaded on colors 1-15.
svn-id: r39474
2009-03-17 07:02:14 +00:00
Nicola Mettifogo
17d38f2763 Fixed the remaining palette problems by loading the shadow (mask) file for static objects.
svn-id: r39473
2009-03-17 06:57:49 +00:00
Travis Howell
cb837c3fe0 Fix regression, caused by my change to adjustForPalette().
svn-id: r39472
2009-03-17 05:29:59 +00:00
Travis Howell
e47c9189d4 Fix graphical glitches in the Amiga version of BRA, the height seems to be off by one.
svn-id: r39471
2009-03-17 04:41:23 +00:00
Travis Howell
6df028151e Fix regression in the Amiga demo of BRA, the common sub directory doesn't exist in the demo.
svn-id: r39470
2009-03-17 04:32:12 +00:00
Travis Howell
2e321f81ed Sound files don't always exist in the Amiga version of BRA.
svn-id: r39468
2009-03-17 04:07:02 +00:00
Travis Howell
7d1aed7c83 Add support for loading palette files in the Amiga version of BRA.
svn-id: r39467
2009-03-17 03:58:57 +00:00
Travis Howell
331399db9b Change adjustForPalette(), to skip transparency color (zero).
svn-id: r39464
2009-03-17 00:00:29 +00:00
Travis Howell
5f087d5ad6 Cleanup.
svn-id: r39463
2009-03-16 23:58:19 +00:00
Travis Howell
5aaa9870b1 Add talk position adjustment to loadTalk for Amiga version of BRA too.
svn-id: r39446
2009-03-16 14:35:18 +00:00
Nicola Mettifogo
1ac00f210b Fixed most palette issues in BRA Amiga.
svn-id: r39441
2009-03-16 09:11:51 +00:00
Nicola Mettifogo
6ecc3991ed Fixed typo in r39418.
svn-id: r39419
2009-03-15 14:17:01 +00:00
Travis Howell
e486374152 Fix crash regression in the Amiga BRA demo, by checking if mask buffer exists, before using it.
svn-id: r39418
2009-03-15 13:28:20 +00:00
Travis Howell
08638c5f77 The Amiga demo of BRA doesn't have quite as many icons.
svn-id: r39415
2009-03-15 09:51:02 +00:00
Travis Howell
7f99a190cb Fix loading objects in the Amiga version of BRA.
svn-id: r39413
2009-03-15 09:29:25 +00:00
Travis Howell
a6497584cc Enable music in Amiga version of BRA too.
svn-id: r39409
2009-03-15 06:07:57 +00:00
Nicola Mettifogo
6398e56d09 Added midi support to BRA. So far music starts, but related script commands haven't been implemented yet.
svn-id: r39397
2009-03-14 17:02:28 +00:00
Max Horn
14c5bbbccf Renamed Archive::openFile to createReadStreamForMember
svn-id: r36021
2009-01-23 04:45:44 +00:00
Nicola Mettifogo
beacae5efd Trim resource filenames to 8 characters as a last resort on BRA. Script files are unbelievably broken.
svn-id: r35784
2009-01-08 07:31:32 +00:00
Nicola Mettifogo
f1ad8b6934 Extended PathBuffer to support BRA.
svn-id: r35766
2009-01-07 08:16:18 +00:00
Nicola Mettifogo
21fae9d029 * moved more mask management to BackgroundInfo
* simplified mask management for client code
* reduced the clutter into graphics.h by moving the implementations of BackgroundInfo, MaskBuffer and PathBuffer to graphics.cpp
* preparation for the full implementation of BRA's PathBuffer

svn-id: r35765
2009-01-07 07:35:11 +00:00