Commit Graph

1368 Commits

Author SHA1 Message Date
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
Sven Hesse
a852f30fb2 GOB: Add a workaround for bug #3376547 (gob3 footstep sound) 2011-07-25 18:47:31 +02:00
Sven Hesse
74e43312f7 GOB: Fix missing sound effects in Woodruff (bug #3374170)
Another regression of the CoktelDecoder rewrite.
Thanks to digitall for finding the offending commit. :)
2011-07-23 15:39:38 +02: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
Max Horn
d9a996e6ef DETECTOR: Change ADFileBasedFallback::desc to ADGameDescription pointer 2011-06-14 18:52:12 +02:00
Max Horn
01f806c2db DETECTOR: Treat file based fallback like any other fallback method 2011-06-14 18:52:11 +02:00
Max Horn
593b929047 DETECTOR: Separate code for handling obsolete gameids from advanced detector
This includes a renaming of ADObsoleteGameID to Engine::ObsoleteGameID,
and AdvancedDetector::findGameID now is Engines::findGameID.

Doxygen comments were added or improved
2011-06-14 18:52:07 +02:00
Max Horn
7c992d6598 DETECTOR: Merge ADParams into AdvancedMetaEngine 2011-06-14 18:17:01 +02:00
Thierry Crozat
06bbb57ad7 I18N: Make many more GUI MessageDialog strings translatable 2011-06-13 22:19:18 +01:00
Max Horn
a89f9ca31c GOB: Switch to alternate AdvancedMetaEngine, avoid ADParams 2011-06-10 22:15:42 +02:00
Max Horn
4827cc914a ENGINES: Change incorrect use of 'target' to 'gameid' 2011-06-10 22:15:40 +02:00
D G Turner
8356656575 GOB: Replace snprintf() usage with Common::String::format()
Safer and less portability issues.
2011-06-02 02:20:51 +01:00
Matthew Hoops
eea482fa43 ALL: behaviour -> behavior 2011-05-25 10:50:46 -04:00
Max Horn
4cbe4ede66 COMMON: Registers RandomSources in constructor with the event recorder
This also removes the dependency of engines on the event recorder header
and API, and will make it easier to RandomSources that are not properly
registered.
2011-05-17 12:17:26 +02:00
Sven Hesse
d47eceeb2f GOB: Add a non-interactive Adibou2 demo 2011-05-16 20:37:44 +02:00
Thierry Crozat
3c59e37035 ENGINES: Unify engine names
This unifies the engine names in MetaEngine::getName() and the
credits. In particular drop "Engine" or "engine" from the names when
it was present and use expanded names in credits when the
MetaEngine uses it (e.g. "Beneath a Steel Sky" instead of "BASS").
2011-05-16 00:11:32 +01:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Sven Hesse
6fb232b9ff GOB: Create a SafeSubReadStream for files in STKs
Instead of memcpy'ing them into a MemoryReadStream.
This is necessary for the lower end PSPs to run Urban Runner with
its comparably big VMD videos.
2011-05-06 16:47:49 +02:00
Sven Hesse
8e03a200ef GOB: Fix a stupid typo in SlotFileIndexed::buildIndex()
This should fix bug #3295893.

The intention of this piece of code was to pad the first save slot
name with spaces until it's as long as the longest save slot name,
because the scripts use it to gauge the width of the save list.
Unfortunately, I messed up there, overwriting variable space directly
after the save names. In Urban Runner's case, this would be the list
of inventory items.
2011-05-05 20:50:53 +02:00
Sven Hesse
db22f32a44 GOB: Add another Italian Fascination version
As supplied by alex86r in bug report #3297633.
2011-05-04 21:20:27 +02:00
Sven Hesse
31818ad4fd GOB: Add another Italian Urban Runner version
As supplied by alex86r in bug report #3297602.
2011-05-04 21:14:19 +02:00
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