Commit Graph

31 Commits

Author SHA1 Message Date
Matthew Hoops
b49bf2da2a MOHAWK: Fix minor formatting issue 2012-09-09 17:31:45 -04:00
Matthew Hoops
ed2be9d873 GRAPHICS: Fix ImageDecoder inconsistency with getPalette()
Per LordHoto's suggestion
2012-09-09 17:20:07 -04:00
Matthew Hoops
270f8077c2 MOHAWK: Make MystBitmap use BitmapDecoder 2012-03-20 01:06:47 +01:00
Matthew Hoops
b071ee4623 MOHAWK: Finish a comment that was left unfinished 2011-10-23 19:52:00 -04:00
Max Horn
88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02: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
Alyssa Milburn
5563b25faf MOHAWK: Speed up drawRLE8 a bit. 2011-04-18 16:12:57 +02:00
Johannes Schickel
ca240b4936 MOHAWK: Do not access Surface::bytesPerPixel anymore. 2011-04-17 20:58:07 +02:00
Johannes Schickel
fedd4d7809 MOHAWK: Prefer Surface::create taking a PixelFormat over the one taking a byte depth. 2011-04-17 16:30:02 +02:00
Matthew Hoops
e5811cd6c3 MOHAWK: Allow disabling compilation of Myst 2011-03-28 22:26:23 -04:00
Matthew Hoops
bc1c84e6c8 MOHAWK: Rename OldMohawkBitmap to LivingBooksBitmap_v1
'Old' is very ambiguous ;)
2011-03-22 21:13:54 -04:00
Johannes Schickel
accab0e00f MOHAWK: Change bitmaps to use RGB palettes.
Thanks to clone2727 for reviewing this patch.
2011-02-19 23:01:40 +01:00
Alyssa Milburn
372ede7904 MOHAWK: Support compound images (subimages)
These are images embedded in the bitmap data of another image; they
are used in CSTime and Zoombinis, at least. Thanks to clone2727 for
helping me puzzle this out.

svn-id: r54989
2010-12-21 18:16:37 +00:00
Matthew Hoops
e88fcee057 MOHAWK: Add support for DOS bitmaps (thanks to fuzzie for the EGA planar code)
svn-id: r54913
2010-12-14 22:59:39 +00:00
Alyssa Milburn
c34410d49d MOHAWK: don't include livingbooks.h from graphics.h
svn-id: r54670
2010-11-30 09:04:47 +00:00
Matthew Hoops
73ee52c670 MOHAWK: Fix non-LZ compressed old Mohawk bitmaps (thanks, fuzzie)
svn-id: r54501
2010-11-26 15:06:35 +00:00
Matthew Hoops
4c733c4278 MOHAWK: Cleanup image surface handling
- Renamed ImageData to MohawkSurface
- Added offset x/y fields to MohawkSurface
- The image cache now stores MohawkSurface pointers
- Switched Living Books to 8bpp mode (it requires that in the end anyway)

svn-id: r54468
2010-11-25 02:59:56 +00:00
Matthew Hoops
799757132f MOHAWK: Remove the no longer needed RLE8 hack
svn-id: r54430
2010-11-23 18:15:45 +00:00
Max Horn
2180b2d6b5 COMMON: Split common/stream.h into several headers
svn-id: r54385
2010-11-19 17:03:07 +00:00
Matthew Hoops
d94844f205 MOHAWK: Add support for Riven 24bpp images (not yet used)
svn-id: r54345
2010-11-18 20:40:48 +00:00
Matthew Hoops
411866ee18 MOHAWK: Cleanup bitmap surface and pack/draw function handling
svn-id: r54338
2010-11-18 19:06:38 +00:00
Matthew Hoops
ffc6ed643f MOHAWK: Remove unused drawRLE() function
svn-id: r54320
2010-11-18 13:48:49 +00:00
Matthew Hoops
48416a7f03 MOHAWK: Implement the old Mohawk bitmap format (thanks to fuzzie)
svn-id: r54319
2010-11-18 13:31:12 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +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
Matthew Hoops
8cc208ba2e Minor cleanup; remove GF_10TH, it's not used or needed anywhere.
svn-id: r46978
2010-01-04 17:37:25 +00:00
Torbjörn Andersson
69c71c7628 Removed some unnecessary whitespace. Changed some spaces to tabs.
svn-id: r46735
2009-12-30 07:30:04 +00:00
Torbjörn Andersson
1a66ad80a4 Re-indentet switch() blocks to follow ScummVM indentation style. (I've always
found this style a bit unusual, but I value consistency.)

svn-id: r46734
2009-12-30 07:14:09 +00:00
Eugene Sandulenko
0ea022d076 Add Mohawk engine code. Part 1/3: main code.
svn-id: r46727
2009-12-29 23:18:24 +00:00