Commit Graph

1347 Commits

Author SHA1 Message Date
Sven Hesse
a1c339ea4f GOB: Don't overwrite _destSpriteX after PRINTTEXT
Don't overwrite _destSpriteX after PRINTTEXT with a value that's only
appropriate for monospaced fonts; support for non-monospaced fonts
has been introduced with Woodruff.

This should fix bug #3295889.
2011-05-04 02:34:37 +02:00
Sven Hesse
30f7cdb49a GOB: Plug a leak
Thanks to digitall for finding that one
2011-05-04 01:26:10 +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
Ori Avtalion
cd6ee0589d JANITORIAL: Format forward declarations to follow convention 2011-04-28 12:20:34 +03:00
Sven Hesse
804f0f3e47 GOB: Shut up VS2010 code analysis warning 2011-04-20 23:10:00 +02:00
Johannes Schickel
ca81ab1a4c GOB: Do not access Surface::bytesPerPixel anymore. 2011-04-17 20:56:16 +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
dhewg
d83a83ef50 JANITORIAL: Remove/comment unused vars
Found by GCC 4.6's -Wunused-but-set-variable
2011-03-29 21:57:56 +02:00
Sven Hesse
f5fb832b63 GOB: Use memmove instead of memcpy in Surface::blit()
Inca 2 actually blits surfaces on themselves...
2011-03-29 12:32:30 +02:00
Sven Hesse
e6c8d151f9 GOB: Add another US version of Urban Runner
As supplied by Collector9 in bug report #3228040
2011-03-20 10:14:31 +01:00
Sven Hesse
27e2201ce2 GOB: Fix Urban Runner fallback feature flags 2011-03-20 10:09:27 +01:00
dhewg
3eda4c16ac GOB: Init volume levels on startup 2011-03-19 16:04:52 +01:00
Sven Hesse
004df22752 GOB: Add an Italian version of Urban Runner
As supplied by "Alex" on my Gobsmacked blog:
<http://drmccoy.de/gobsmacked/?p=407&cpage=1#comment-2070>
2011-03-18 21:24:50 +01:00
Ori Avtalion
765540a5fd GOB: Avoid hiding overloaded virtual methods 2011-02-26 20:25:44 +02:00
Johannes Schickel
04d4162357 GOB: Adapt to setPalette RGBA->RGB change. 2011-02-14 17:08:32 +01:00
Max Horn
42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn
2d1c8a3533 ALL: Fix whitespaces / indention
svn-id: r55818
2011-02-07 23:01:06 +00:00
Max Horn
357c225f64 VIDEO: Rename VideoDecoder::load() to loadStream()
svn-id: r55810
2011-02-07 17:54:16 +00:00
Max Horn
ab039812e7 COMMON: OSystem now has a PaletteManager
svn-id: r55806
2011-02-07 17:52:38 +00:00
Sven Hesse
94b6d23d44 GOB: Silence a compiler warning
svn-id: r55771
2011-02-04 16:16:07 +00:00
Sven Hesse
e3ceff83f4 GOB: Add the "envir" directory to the search path for Adibou
svn-id: r55770
2011-02-04 15:55:54 +00:00
Sven Hesse
b6d2e521c5 GOB: Add oPlaytoons_loadMultObject
svn-id: r55769
2011-02-04 15:55:20 +00:00
Sven Hesse
0efcd484ea GOB: Implement case -2 for oPlaytoons_getObjAnimSize
svn-id: r55768
2011-02-04 15:54:52 +00:00
Sven Hesse
6a99b6f340 GOB: Add Inter::readValue()
svn-id: r55767
2011-02-04 15:54:21 +00:00
Sven Hesse
209f5bd77e GOB: Move storeValue/storeString to class Inter
svn-id: r55766
2011-02-04 15:53:44 +00:00
Sven Hesse
80bfecb625 GOB: Fix a regression that broke Lost in Time
svn-id: r55760
2011-02-03 20:51:59 +00:00
Sven Hesse
b9b8b4d3eb GOB: Oops, set the correct opcode :P
svn-id: r55739
2011-02-02 19:56:24 +00:00
Sven Hesse
c3e7b03b46 GOB: Add o7_findCDFile
Stubbing that for now

svn-id: r55738
2011-02-02 19:53:22 +00:00
Sven Hesse
c1967c1a0a GOB: Add o7_gob0x201
svn-id: r55737
2011-02-02 19:52:47 +00:00
Sven Hesse
1d38568bc1 GOB: Fix detection of JPEG images
Thanks, clone :P

svn-id: r55735
2011-02-02 17:28:28 +00:00
Sven Hesse
fed0adacb7 GOB: Close the just ended live video, not the first one
svn-id: r55734
2011-02-02 17:03:14 +00:00
Sven Hesse
3d0edd71c9 GOB: Implement o7_loadLBMPalette
svn-id: r55733
2011-02-02 16:51:31 +00:00
Sven Hesse
63c6d4432c GOB: Implement LBM loading
svn-id: r55732
2011-02-02 16:50:57 +00:00
Sven Hesse
729be647a0 GOB: o7_draw0xA4 is o7_loadLBMPalette
Stubbing that one for now.

svn-id: r55731
2011-02-02 16:50:23 +00:00
Sven Hesse
b9b7b449b9 GOB: Stub o7_loadImage further
svn-id: r55730
2011-02-02 16:49:49 +00:00
Sven Hesse
812680d187 GOB: Rename Draw::kSpritesCount to Draw::kSpriteCount
svn-id: r55729
2011-02-02 16:49:20 +00:00
Sven Hesse
113d5a5a9a GOB: Make flags optional in Video::initSurfDesc
svn-id: r55728
2011-02-02 16:48:46 +00:00
Sven Hesse
076b9c9e53 GOB: Remove the vidMode parameter from Video::initSurfDesc
svn-id: r55727
2011-02-02 16:48:04 +00:00
Sven Hesse
e3713746a0 GOB: Fix Databases constructor
Ooops, a leftover I forgot to remove.

svn-id: r55717
2011-02-02 14:15:13 +00:00
Sven Hesse
5c1e21818a GOB: o7_draw0xA4 has something to do with LBMs, though
svn-id: r55695
2011-01-31 21:02:13 +00:00
Sven Hesse
a3a51efa80 GOB: Actually, draw opcode 0x90 is loadImage
Not just loadLBM. The image can be a TGA, LBM, BRC, BMP or JPEG.

svn-id: r55694
2011-01-31 21:01:50 +00:00
Sven Hesse
1c1cfaf867 GOB: Set the language before opening the database
svn-id: r55693
2011-01-31 20:43:04 +00:00
Sven Hesse
a29282eefd GOB: Fix last updated month's range
svn-id: r55692
2011-01-31 20:42:41 +00:00
Sven Hesse
b874396219 GOB: o7_draw0x45 is o7_logString
svn-id: r55691
2011-01-31 20:42:16 +00:00
Sven Hesse
7cb4b49db9 GOB: Fix a compiler warning
svn-id: r55684
2011-01-31 14:08:33 +00:00
Sven Hesse
a8d62921c7 GOB: Fix text end positons for non-monospaced fonts
Fixes Adibou's recipices.

svn-id: r55682
2011-01-31 13:29:19 +00:00
Sven Hesse
9810ec1442 GOB: Make Font::_itemSize unsigned
This fixes a font drawing error in Adibou.

svn-id: r55681
2011-01-31 13:28:55 +00:00
Sven Hesse
b187551a01 GOB: Add support for dBase III files
Implementing o7_opendBase, o7_closedBase and o7_getDBString

svn-id: r55676
2011-01-31 10:49:43 +00:00
Sven Hesse
0f0dbe7b78 GOB: o7_draw0xC4 is o7_closedBase; o7_draw0xC6 is o7_getDBString
Stubbing those for now

svn-id: r55675
2011-01-31 10:49:03 +00:00