Commit Graph

2436 Commits

Author SHA1 Message Date
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
Bastien Bouclet
3384f9146c KYRA: Don't loose the next event when leaving the text input event loop. 2011-08-06 15:48:12 +02:00
athrxx
f44874f0a6 KYRA: add support for Russian Kyra 1 floppy fan translation 2011-07-27 16:38:31 +02:00
athrxx
f2f6ddced9 KYRA: add support for Kyra 2 Russian floppy 2011-07-25 17:57:33 +02:00
athrxx
ec55336393 LOL: add support for Russian CD-ROM version 2011-07-24 22:49:21 +02:00
athrxx
7174f14c61 LOL: add support for Russian floppy version 2011-07-24 20:39:08 +02:00
Eugene Sandulenko
79e08c68ac KYRA: Add detection for Russian versions of Kyra1 & LoL 2011-07-13 12:39:31 +01:00
athrxx
f80b2383e7 KYRA: cleanup last commit 2011-07-04 20:22:16 +02:00
athrxx
7e2f7dce3a KYRA: fix pauseEngineIntern regression in MR 2011-07-04 19:52:14 +02:00
athrxx
38d18a6e78 KYRA: fix ingame menu save slots
- long GMM save descriptions will be trimmed to fit the ingame menu save slots
- prevent writing beyond the right margin in Kyra 1 save slots
2011-07-04 19:52:11 +02:00
athrxx
90fa4cf15f KYRA: formatting 2011-07-03 14:40:55 +02:00
Johannes Schickel
933ee5b156 GRAPHICS: Remove default values from FontSJIS::drawChar.
drawChar is overloaded in FontSJIS. One takes a "Surface &" as first
parameter another one "void *", they furthermore have the exact same
number of required parameters. The one "void *" just had a few extra
parameters with default values. This resulted in a bug in SCUMM, where
"VirtScreen *" (a subclass of Surface) was passed instead of "VirtScreen &"
and thus the method taking "void *" was incorrectly used.

To make it easier to spot such bugs in the future I just removed the default
values and thus disallow such calls.
2011-07-01 05:42:54 +02:00
Johannes Schickel
b66ca60088 KYRA: _athrxx is the new Kyra maintainer. 2011-06-25 19:25:56 +02:00
athrxx
3f2b5b9e8b KYRA: revert d7e700f370
The GMM mouse cursor bug has now been fixed inside the GMM and CursorMan code.
2011-06-25 15:54:37 +02:00
Littleboy
b694a78f62 ANALYSIS: Add static casts to is* functions
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results.
See http://msdn.microsoft.com/en-us/library/ms245348.aspx
2011-06-23 08:52:52 -04:00
Julien
69c7673e53 KYRA: Allocate screen region buffer on the heap 2011-06-23 15:11:38 +08: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
athrxx
48e5bd36e9 LOL: fix bug reported on forum
In cases where the script failed to delete a certain character from the party (because that character was not a party member) it would add this character to the party instead. E.g. when returning to Gladstone without having picked up Timothy, he would get added to the party after the throne room scene. The same happened with Lora at the Draracle if she wasn't picked up on the way.
2011-06-19 00:59:16 +02:00
Max Horn
d74e2d3224 KYRA: Replace vsprintf by Common::String::vformat 2011-06-18 01:36:16 +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
athrxx
d9dcb5725a LOL: fix typo 2011-06-12 16:46:08 +02:00
athrxx
aeff4b623e LOL: add another detection entry for Italian fan translation
(this detection entry applies if the game has been patched with the official 1.02 patch before using the translation patch)
2011-06-12 15:15:22 +02:00
athrxx
4338c4dccf LOL: update kyra.dat for italian fan translation 2011-06-11 16:28:44 +02:00
athrxx
afbfb056f7 LOL: fix so-called bug #3313950
(LoL support for Italian fan translation)
2011-06-10 22:45:44 +02:00
Max Horn
a29bc37eee KYRA: 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
Johannes Schickel
f13143ef7d KYRA: Add a default case to a switch statement.
This includes a TODO, about what to do if we ever hit this case.
2011-06-09 19:13:30 +02:00
Johannes Schickel
80d0bc0c85 KYRA: Get rid of most snprintf usages.
Thanks to digitall for his initial patch, which I only altered slightly.
2011-06-09 19:10:54 +02:00
athrxx
920c3bb172 KYRA: fix audio detection
Don't attempt to detect PC devices for non-PC versions of the game, because this might trigger unnecessary detection failure messages.
2011-06-05 18:29:16 +02:00
athrxx
75297cb124 KYRA: fix GMM saving
(match with 477d6233c3)
2011-06-05 11:58:15 +02:00
athrxx
66c982b38c LOL: cleanup
- fix RTL during outro/credits
- get rid of _animator
- fix wrong memset
2011-06-05 01:37:59 +02:00
athrxx
3f603ce0ab LOL: changed workaround for fireball bug
(see comment in items_lol.cpp)
2011-06-04 16:03:14 +02:00
athrxx
717248e162 KYRA: improve readability of key mapping code 2011-06-03 00:41:09 +02:00
athrxx
d7f877b3ab KYRA: pause midi sounds while gmm is running 2011-05-29 01:04:08 +02:00
athrxx
187ecdd54f KYRA: remove useless mutex from sound_towns 2011-05-29 01:03:49 +02:00
Matthew Hoops
9539017ee3 ALL: initialise -> initialize 2011-05-25 11:17:11 -04:00
athrxx
8fb5906117 FM-TOWNS AUDIO: Some midi code fixes and some renaming 2011-05-17 20:36:31 +02:00
athrxx
d9772ff88f FM-TOWNS AUDIO: Some renaming in the euphony driver code 2011-05-17 20:33:03 +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
3062681eb5 KYRA: Change engine name to Kyra 2011-05-16 23:58:46 +01: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
Johannes Schickel
9fb92f4b7e KYRA: Fix compilation when LoL is disabled. 2011-04-28 18:16:01 +02:00
Johannes Schickel
7d03da14cb KYRA: Clean up of header includes. 2011-04-28 15:39:57 +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
Max Horn
73f04118f3 COMMON: Rename Error to ErrorCode, introduce new Error class 2011-04-18 18:22:02 +02:00
Johannes Schickel
64c4e65201 KYRA: Enforce use of American English in comments. 2011-04-14 14:03:07 +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
Johannes Schickel
d9441aeb80 KYRA: Add some assertion to prevent out of bounds access. 2011-04-11 00:36:03 +02:00