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
Alyssa Milburn
a514927381
PARALLACTION: Fix buffer size in unpackBackground.
2013-04-17 23:19:47 +02:00
Tomas Jakobsson
548b505b68
PARALLACTION: Update to new IFFDecoder for ILBM images
2013-01-06 20:04:45 +01:00
Filippos Karapetis
17b42b5570
PARALLACTION: Add a workaround for the end credits of NS
...
The end credits reference a version of Dino called "Dinor", which makes the
engine look for a non-existing file. We set the name to "dino", as it should be
in this case, so that the engine loads the correct file. Part of the fixes for
bug #5866
2012-09-28 01:47:38 +03: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
Joel Teichroeb
1d0904197f
PARALLACTION: Fix spelling of length
2012-04-04 21:23:00 -07: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
Andrea Corna
a6ec4f70da
COMMON: Make more members of Archive constant.
2011-12-13 17:55:57 +01: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
Max Horn
0ce2ca4e00
COMMON: Replace MKID_BE by MKTAG
...
MKID_BE relied on unspecified behavior of the C++ compiler,
and as such was always a bit unsafe. The new MKTAG macro
is slightly less elegant, but does no longer depend on the
behavior of the compiler.
Inspired by FFmpeg, which has an almost identical macro.
2011-04-12 16:53:15 +02:00
Nicola Mettifogo
1a525d1bb7
PARALLACTION: Avoid hiding overloaded virtual methods.
...
svn-id: r55820
2011-02-08 01:44:03 +00:00
David Turner
14d74d2063
PARALLACTION: Fix Un-initialized Memory Errors and Leaks in Nippon Safes Amiga Demo.
...
These were found using Valgrind.
svn-id: r55369
2011-01-21 03:25:01 +00:00
Max Horn
2180b2d6b5
COMMON: Split common/stream.h into several headers
...
svn-id: r54385
2010-11-19 17:03:07 +00:00
Max Horn
2149a2383d
Reduce indirect header dependencies further
...
svn-id: r48936
2010-05-04 12:00:16 +00:00
Travis Howell
7e1f395e34
Fix bug #2969232 - NIPPON: Kos sprite broken (Regression). The current disk archive requires a higher priority, compared to the default disk archives.
...
svn-id: r48469
2010-04-02 13:49:59 +00:00
Max Horn
0cf53b025d
Move DisposeAfterUse::Flag from Common to global namespace, and into a new header common/types.h
...
svn-id: r47180
2010-01-08 22:07:35 +00:00
Max Horn
2bbf708dea
Introduced new type Common::DisposeAfterUse::Flag
...
svn-id: r45233
2009-10-18 19:41:59 +00:00
Filippos Karapetis
b4f1960318
Reverted parts of revisions #44298 , #44299 and #44300 , to prevent warnings and issues in compilers which don't support NORETURN
...
svn-id: r44314
2009-09-24 17:52:53 +00:00
Filippos Karapetis
6b79910bcb
Fixed some more warnings about unreachable code
...
svn-id: r44300
2009-09-24 10:15:50 +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
657e37985e
Cleanup of sound code.
...
svn-id: r41461
2009-06-12 07:55:44 +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
Nicola Mettifogo
8cebcaf017
Pushed down dependencies from parser.h
...
svn-id: r39636
2009-03-23 17:42:08 +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
c3bac3d851
Fix build.
...
svn-id: r39586
2009-03-21 15:13:02 +00:00
Nicola Mettifogo
14e2793449
Changed Nippon Safes to make use of the new ILBMDecoder.
...
svn-id: r39584
2009-03-21 15:00:44 +00:00
Nicola Mettifogo
db5150dd7c
Added TODO's about replacing usage of the old ILBM decoder in Nippon Safes.
...
svn-id: r39573
2009-03-20 20:38:33 +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
Nicola Mettifogo
bcabf5e53f
Fixed regression from r39410, by reimplementing the decompression routine. The backgrounds in the DOS version of Nippon Safes are compressed by something that looks like PackBits, but is not PackBits. Hence, the change to make PackBitsReadStream behave as the standard broke it.
...
svn-id: r39412
2009-03-15 08:17:57 +00:00
Max Horn
f9ecd95d69
Whitespace cleanup: Convert space followed by tab to just tab
...
svn-id: r39203
2009-03-07 19:24:31 +00:00
Max Horn
05b4370c21
Fix for bug #2664460 : Various SeekableReadStream::seek() implementations (as well as our unit tests, ouch) handled SEEK_END incorrectly (using -offset instead of offset), contrary to what the docs said and what fseek does. Hopefully I found and fixed all affected parts, but still watch out for regressions
...
svn-id: r39135
2009-03-05 20:37:53 +00:00
Max Horn
14c5bbbccf
Renamed Archive::openFile to createReadStreamForMember
...
svn-id: r36021
2009-01-23 04:45:44 +00:00
Max Horn
9861afd8fd
Renamed ArchiveMember::open -> createReadStream, and made it a cv member (const); same for Archive::openFile
...
svn-id: r36020
2009-01-23 04:36:18 +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
Nicola Mettifogo
dc3e9027f4
Removed references to _vm from the engine itself.
...
svn-id: r35358
2008-12-14 10:32:26 +00:00
Nicola Mettifogo
6ecc17010d
Fixed some more leaks and mismatched allocations/deallocations.
...
svn-id: r35277
2008-12-07 14:33:30 +00:00
Nicola Mettifogo
e6337d11aa
* completed transition to Common::Archive for Nippon Safes.
...
* removed lots of old Archive swap magic
svn-id: r34931
2008-11-07 15:35:18 +00:00
Nicola Mettifogo
8baedea4d4
Implemented a Common::Archive subclass to handle the content of archives in Nippon Safes. Common::File is now used only to load archives.
...
svn-id: r34921
2008-11-07 08:47:59 +00:00
Nicola Mettifogo
9fe3150348
Refactoring of NS disk code, preliminary to change towards Common::Archive.
...
svn-id: r34894
2008-11-04 13:57:04 +00:00
Nicola Mettifogo
cd3011e408
Fixed assorted leaks in NS Amiga.
...
svn-id: r34870
2008-11-01 12:39:01 +00:00
Nicola Mettifogo
8c5f9f9451
Cleanup of Nippon Safes disk code.
...
svn-id: r34860
2008-10-29 07:57:48 +00:00