Commit Graph

1382 Commits

Author SHA1 Message Date
Sven Hesse
5dd26b9a36 GOB: Add cheat output for Geisha's mastermind 2011-08-26 11:50:37 +02:00
Sven Hesse
5bcb89852f GOB: Add a console command to dump the whole variable space 2011-08-26 11:50:37 +02:00
Sven Hesse
cdc86c6f67 GOB: Add oGeisha_checkData 2011-08-26 09:17:51 +02:00
Sven Hesse
8fd8c913af GOB: Implement oGeisha_caress1 and oGeisha_caress2
Used in the Mastermind minigame in Chapter 2: Caress
2011-08-26 09:11:11 +02:00
Sven Hesse
3062bc1df6 GOB: Stub the Geisha minigame "Diving" 2011-08-26 08:20:19 +02:00
Sven Hesse
e05e18d8bd GOB: Stub the Geisha minigame "Penetration" 2011-08-26 08:15:47 +02:00
Sven Hesse
6a9271b6cf GOB: Oops, don't skip vital parts of the script
The paramater count is already read in oGeisha_goblinFunc...
2011-08-26 08:11:24 +02:00
Sven Hesse
a3bc17296b GOB: Add Geisha AdLib music opcodes
adlibPlay() is commented out for now, until Strangerke fixes the
MDYPlayer. :P
2011-08-26 07:47:37 +02:00
Sven Hesse
e20b90543d GOB: Fix the Geisha cursor 2011-08-26 06:09:56 +02:00
Sven Hesse
479eeb7e47 GOB: Actually, we do support 16 color fading 2011-08-26 05:00:28 +02:00
Sven Hesse
225f0ad3dc GOB: Fix EGA palette animation
The Geisha intro is now watchable
2011-08-26 04:45:34 +02:00
Sven Hesse
24929c9990 GOB: Add inter_geisha.cpp and implement oGeisha_loadSound
Geisha's intro shows now (with glitches, palette animation fail?) and
the game is playable.
2011-08-26 04:10:46 +02:00
Sven Hesse
ba84788bda GOB: Geisha seems to be EGA-only
The menu in Geisha shows now. It crashes when something is clicked
though; the loadSound opcode is probably different.
2011-08-26 01:53:16 +02:00
Sven Hesse
c57fd31246 GOB: Fix 0OT resource loading, used in Geisha
0OT are compressed TOT files. The compression flag in the STK header
is *not* set, and 0OT files are compressed in chunks, not as a whole.
2011-08-26 01:53:16 +02:00
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