Commit Graph

466 Commits

Author SHA1 Message Date
D G Turner
111f580676 TINSEL: Replace usage of 'goto'. 2011-12-08 14:27:28 +00:00
Strangerke
bab4b6f729 LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE) 2011-11-16 22:38:58 +01:00
Johannes Schickel
61795739f8 COMMON: Rename Common::set_to to Common::fill.
This makes the name match with the name of the STL function with the same
behavior.
2011-11-16 18:06:30 +01:00
Alyssa Milburn
e21764be76 TINSEL: Don't leak _curChunk on exit. 2011-11-14 22:54:34 +01:00
Strangerke
9684a1079d LAUNCHER: Add GUIO_NOASPECT to tinsel 2011-10-24 01:27:47 +02:00
Eugene Sandulenko
32972a5ffb AD: Switched rest of the engines to new GUIO 2011-10-23 17:53:13 +01:00
Paul Gilbert
b7ab968dc7 TINSEL: Cleaner fix for bug #2893946 - Psychiatrist savegame problem 2011-10-20 20:36:37 +11:00
Paul Gilbert
ca7bc71846 TINSEL: Bugfix for restoring DW1 savegames with a saved scene
This happens, for example, when restoring a savegame of the dragon summoning book close-up. After restoring, you couldn't leave the close up.
2011-10-18 19:47:45 +11:00
Paul Gilbert
01616afecc TINSEL: Revert of prior commits for #2893946 2011-10-16 16:14:02 +11:00
Paul Gilbert
6811a3daff TINSEL: Alter previous DW1 bugfix so that DW2 still works properly 2011-10-14 20:38:00 +11:00
Torbjörn Andersson
744f8507d7 TINSEL: Fix #3422433 ("DW2: US version uses UK graphics")
According to dreammaster it should be enough to add cases for the
US version in these two functions, but unfortunately he can't test
it himself. I guess I should try to find the time to play through
the game, but right now there's an annoying DW2 regression from
commit d5690e0. See GitHub commit note for details.
2011-10-13 23:48:09 +02:00
Paul Gilbert
d5690e09b3 TINSEL: Bugfix for #2893946 - DW1 psychiatrist scene isn't playing 2011-10-04 20:47:01 +11:00
Johannes Schickel
b8dfd3366b TINSEL: Made some static data const. 2011-09-08 20:15:07 +02:00
Matthew Hoops
adb69a5a39 AUDIO: Rename Vag to XA
Vag is really an XA container, and one that we do not have a decoder for (nor need)
2011-08-24 09:54:19 -04:00
Filippos Karapetis
21b2a7064f Merge pull request #63 from tsoliman/detection-tables
Some missing ADGF_CD and ADGF_UNSTABLE flags
2011-08-13 12:24:30 -07:00
Max Horn
321c0ce027 TINSEL: Code formatting 2011-08-08 20:33:33 +02:00
Filippos Karapetis
5974fcd0c1 TINSEL: Use SAVEGAME_ID when getting savegame info, if a VM is instantiated 2011-08-07 15:10:17 +03:00
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
Filippos Karapetis
2c9fdf0df7 TINSEL: Fixed deleting saved games from the launcher (bug #3387551) 2011-08-07 14:21:28 +03:00
Tarek Soliman
a30c3697fb TINSEL: Flag CD titles with ADGF_CD 2011-08-06 23:33:15 -05:00
Eugene Sandulenko
0dafa7f80f ALL: Reduce audio/ header dependency 2011-08-06 11:30:42 +01:00
Alyssa Milburn
6318758e71 TINSEL: Don't leak running processes in Scheduler::reset(). 2011-06-20 17:42:00 +02:00
Alyssa Milburn
0269a8d900 TINSEL: Fix/comment CORO_KILL_SELF macro.
This reverts 9573b1d2f5, which changed
the behaviour of (among other things) NewScene, which made Discworld
uncompletable. Thanks to digitall for bisection/reproduction.
2011-06-20 17:23:30 +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
879c3c7817 DETECTOR: Pass allFiles to AdvancedMetaEngine::fallbackDetect()
Also reorder the parameters of composeFileHashMap, placing the "return value"
first.
2011-06-14 18:52:11 +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
ce1a857669 TINSEL: Switch to alternate AdvancedMetaEngine, avoid ADParams 2011-06-10 22:15:45 +02:00
Max Horn
4827cc914a ENGINES: Change incorrect use of 'target' to 'gameid' 2011-06-10 22:15:40 +02:00
Max Horn
477d6233c3 ENGINES: Change 2nd param of Engine::saveGameState to Common::String 2011-06-02 18:31:59 +02:00
D G Turner
c9156d369f TINSEL: Replace snprintf() usage with Common::String::format()
Safer and less portability issues.
2011-06-02 03:58:27 +01:00
Matthew Hoops
9539017ee3 ALL: initialise -> initialize 2011-05-25 11:17:11 -04:00
Matthew Hoops
1277975c66 ALL: neighbour -> neighbor 2011-05-25 10:50:46 -04:00
eriktorbjorn
9205b8eb05 TINSEL: Fix bug #3306020, DW2: Crash On Entering Sewers
This is a simpler fix than the one I committed to the 1.3 branch,
but since it carries a theoretical risk of regressions it's so
much more macho.
2011-05-23 23:36:54 +02:00
Christoph Mallon
5813ac1bcf TINSEL: Remove declarations for non-existent functions FindObject() and GetNextObject().
Signed-off-by: Max Horn <max@quendi.de>
2011-05-18 15:30:33 +02:00
Christoph Mallon
f143668db4 TINSEL: Correctly handle the pDispList OBJECT linked lists, i.e. use OBJECT** for a pointer to the head.
Signed-off-by: Max Horn <max@quendi.de>
2011-05-18 15:30:23 +02:00
Max Horn
9c01c38512 TINSEL: Document pDispList OBJECT linked list 'trick' 2011-05-18 14:06:56 +02:00
Max Horn
d85700bb94 TINSEL: Revert commit 43ca9c86ab to fix bug #3303799
Commit 43ca9c86ab causes segfaults when trying to start a game in tinsel.

However, the code in question still should be investigated, as it
casts OBJECT** pointers to OBJECT*. Very fishy.
2011-05-18 13:47:41 +02: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
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
Max Horn
b8d858a00b TINSEL: Cleanup reel saving code 2011-05-10 14:43:54 +02:00
Max Horn
43ca9c86ab TINSEL: Remove unnecessary casts 2011-05-10 14:43:53 +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
Paul Gilbert
4924c12b85 TINSEL: Fixed code analysis warnings in bug #3087863 2011-04-28 21:02:35 +10:00
Ori Avtalion
cd6ee0589d JANITORIAL: Format forward declarations to follow convention 2011-04-28 12:20:34 +03:00
Max Horn
73f04118f3 COMMON: Rename Error to ErrorCode, introduce new Error class 2011-04-18 18:22:02 +02:00
Johannes Schickel
7b4a4d9fa6 Merge pull request "New mixer mute handling."
See https://github.com/scummvm/scummvm/pull/12 for more information.
2011-04-18 15:59:34 +02:00
Johannes Schickel
933c4f93f5 TINSEL: Prefer Surface::create taking a PixelFormat over the one taking a byte depth. 2011-04-17 16:33:50 +02:00