Commit Graph
86814 Commits
Author SHA1 Message Date
Johannes Schickel 737b9bc632 SCI: Remove duplicate comment line.
svn-id: r52468
2010-08-31 11:27:01 +00:00
Martin Kiewitz 839945795e SCI: enable new kDoBresen/InitBresen
enable replacement of save/load dialogs per default
add config-var "sci_originalsaveload" for not replacing dialogs
add config-var "sci_dither" for enabling dithering in EGA games
new kDoBresen fix qfg2 walk against wall bug (#3053131) and hoyle3 unreadable dice bug (#3036922)

svn-id: r52467
2010-08-31 10:53:27 +00:00
Filippos Karapetis 7e6141dcfa SCI: Added automatic detection of some static selectors
which keep changing location in each game

svn-id: r52466
2010-08-31 10:12:35 +00:00
Filippos Karapetis 07e4fe9fdc SCI: Disabled some debug related GC code, which effectively
wastes cycles if we're not debugging the GC

svn-id: r52465
2010-08-31 09:45:36 +00:00
Travis Howell ffb414d265 AGOS: Add Polish version of Swampy Adventures.
svn-id: r52464
2010-08-31 05:18:38 +00:00
Thierry Crozat 3c7a068682 I18N: Update translation template and all translations.
svn-id: r52462
2010-08-30 22:27:51 +00:00
Thierry Crozat 37027d6531 I18N: Add "lowres" context for several GUI strings when in 1x mode.
This enables translators to use a different translation for these strings in
1x mode (e.g. 320x200 or 320x240) and in 2x or 3x modes.

svn-id: r52461
2010-08-30 22:24:40 +00:00
Thierry Crozat bf9404485e I18N: Add a macro to define a context for a translatable string.
Currently static strings are marked with the _s() macro so that xgettext knows
the string needs to be translated. But there was no way to tell xgettext that
the string could get translated in different contexts. This is the role of this new
macro.

svn-id: r52460
2010-08-30 22:20:16 +00:00
Thierry Crozat fc05e8a4ff I18N: Modify create-translations tool to remove duplicate translations
The TranslationManager in ScummVM will pick up the translation associated
to no context if present and if a translation could not be found for a specific
context. Based on this, the create_translations tool will now remove the
translation associated to a specific context if the same message has the
same translation associated to no context. This generate a smaller
translation.dat file, and this should also slightly improve performances (less
strings to load from the file and smaller list in which to look for a translated
message).

svn-id: r52459
2010-08-30 22:10:32 +00:00
Thierry Crozat 8ee7867831 README: Improve formulation for Reporting Bugs paragraph
svn-id: r52458
2010-08-30 17:12:41 +00:00
Martin Kiewitz 4f70b6814b SCI: fix warning
svn-id: r52457
2010-08-30 17:06:11 +00:00
Andre Heider 2f3edeedc9 WII: Abuse pollEvent() to update the screen of skipped frames.
updateScreen() itself skips redraws when called too frequently. With
the right timing and number of consecutive calls this can result in
missing gfx updates, so lets abuse pollEvent() to check for overdue
redraws.

svn-id: r52456
2010-08-30 16:52:23 +00:00
Martin Kiewitz 6d09028607 SCI: ability to ignore movecount for new DoBresen
fixes later sci games, when using new kDoBresen/kInitBresen

svn-id: r52454
2010-08-30 14:36:37 +00:00
Martin Kiewitz d02628a0dc SCI: freshly reversed kDoBresen/kInitBresen
fixes qfg2 walking against wall, etc. BUT its currently disabled by default. You need to comment out the #define USE_OLD_BRESEN line in kmovement.cpp

svn-id: r52453
2010-08-30 14:06:18 +00:00
Martin Kiewitz 80b405ecb4 SCI: adding comments for kDoBresen
svn-id: r52452
2010-08-30 10:49:32 +00:00
Martin Kiewitz 1067a72769 SCI: adding comments for r52450
svn-id: r52451
2010-08-30 10:18:31 +00:00
Martin Kiewitz 154099d0a4 SCI: check filesize of qfg import files
filter out files that are larger than 1k, actually removes real saved games from the list

svn-id: r52450
2010-08-30 10:14:50 +00:00
Martin Kiewitz 6d7d0ee940 SCI: reverting r52448
broke importing, also savedgames are named "qfg1.0xx", so they werent showed before anyway and ".sav" is not mandatory for exported character files.

svn-id: r52449
2010-08-30 08:47:57 +00:00
Filippos Karapetis 3e6d55aee7 SCI: Only show exported characters in the QFG import screens.
QFG can't import saved games, thus there is no point in including them in the
character import screens.

svn-id: r52448
2010-08-29 23:35:23 +00:00
Filippos Karapetis e004831576 SCI: Fixed bug #3038767 - "SCI Fanmade - Cascade Quest: Crash when restoring a game"
svn-id: r52447
2010-08-29 23:25:30 +00:00
Martin Kiewitz b53d4dcd96 SCI: cleanup kDoBresen (no real code change)
svn-id: r52446
2010-08-29 21:11:36 +00:00
Martin Kiewitz 4f8daaf596 SCI: fix typo in comment
svn-id: r52445
2010-08-29 20:26:30 +00:00
Martin Kiewitz fc3dfd1bf7 SCI: adding comment about invalid rect return val
svn-id: r52444
2010-08-29 18:19:11 +00:00
Martin Kiewitz 2fb722056c SCI: fix warning (thx wjp, thank you not msvc)
svn-id: r52443
2010-08-29 15:23:08 +00:00
Martin Kiewitz 357fb5c604 SCI: fix build
svn-id: r52442
2010-08-29 15:18:24 +00:00
Martin Kiewitz ff7476d9f1 SCI: adding virtual lists for qfg-import rooms
now lists import files of all possible games, adds game title before that, removes game prefixes for all files

svn-id: r52441
2010-08-29 15:13:25 +00:00
Filippos Karapetis 8ba02169f8 SCI: Properly fixed bug #3053268 - "QFG1 VGA: Fetch spell crashes game"
svn-id: r52440
2010-08-29 12:54:15 +00:00
Andre Heider ff1b64937a PLUGINS: Fix warnings and unnecessary casts.
svn-id: r52439
2010-08-29 11:14:14 +00:00
Filippos Karapetis 99d2f23ab3 SCI: fixed debug output
svn-id: r52438
2010-08-29 11:10:18 +00:00
Filippos Karapetis 6a058892fb SCI: Throw a warning in QFG import screens for unmatched files
The original SCI games supported up to 12 characters for file names, thus we
use the file name returned as a mask to find the actual file, as we don't
wrap/unwrap save file names in these screens. If no files match, or if more
than 1 files match, throw a warning.

svn-id: r52437
2010-08-29 11:08:27 +00:00
Martin Kiewitz 9e9db758fb SCI: changing scroll transition behaviour
makes scroll smooth on linux (and maybe others too)

svn-id: r52436
2010-08-29 10:39:34 +00:00
Lars Persson 33886e22af Build a couple of different variant to split engines in two.
svn-id: r52435
2010-08-29 08:26:59 +00:00
Filippos Karapetis a32926147c SCI: Fixed bug #3051475 - "MOTHERGOOSE CD: Crash after giving the pipe to the king"
svn-id: r52433
2010-08-29 02:31:18 +00:00
Filippos Karapetis b0b4ddcc52 SCI: Fixed bug #3037874 - "SCI1.1: High cpu usage when a textbox is displayed"
svn-id: r52432
2010-08-29 00:58:27 +00:00
Filippos Karapetis 9096848e4b SCI: Throttle the invocations of Engine::shouldQuit()
SCI constantly invoked Engine::shouldQuit(), which in
turn called 2 virtual functions. This added a significant
overhead, as this was called constantly without any
throttling whatsoever. Now, the invocation of shouldQuit()
is throttled to be on each frame update (i.e. at a rate of
60fps). Thanks to wjp for profiling this.

svn-id: r52431
2010-08-29 00:39:33 +00:00
Filippos Karapetis 3f1f894e8e SCI: Added proper handling of QFG exported character files.
Now, QFG2, 3 and 4 may read exported characters from all
other QFG games, like the originals did. Fixes bug
#3054692 - "QFG2/QFG3 Import issues".

svn-id: r52430
2010-08-29 00:17:56 +00:00
Thierry Crozat a2a3073562 I18N: Look for translations data file in Themes path
If the translations.dat file is not found using the SearchMan, it now looks
for that file into the themepath directory and sub-directories (if the path is
defined).

svn-id: r52428
2010-08-28 15:51:23 +00:00
Andre Heider 80b9e8371b WII: svn merge Wii port commits from trunk
svn-id: r52425
2010-08-28 12:51:12 +00:00
Arnaud Boutonné c2f29ba22d GOB: Change detection of Fascination CD
At the opposite of the other versions, the real name of the first 
stick file in Fascination CD is intro.stk, not disk0.stk.

svn-id: r52424
2010-08-28 12:36:19 +00:00
Fabio Battaglia 12e0d8997b DINGUX: disable aspect ratio correction for some resolutions
Disable aspect ratio correction for games which have a native 240px 
height res, this fixes Maniac Mansion NES on dingux.

svn-id: r52422
2010-08-28 08:07:10 +00:00
Sven Hesse 1185c2b8be HUGO: Remove executable flag in create_hugo source
svn-id: r52421
2010-08-28 07:42:54 +00:00
Arnaud Boutonné 51b88a69b8 HUGO: Some fixes for the create_hugo tool
svn-id: r52420
2010-08-28 00:47:17 +00:00
Filippos Karapetis fa04c9dd38 SCI: Fixed bug #3054613, "QFG character saves, naming convention"
svn-id: r52419
2010-08-27 23:21:08 +00:00
Arnaud Boutonné 234b8e4f79 HUGO: Fix GCC warnings in objects_xx initialization
svn-id: r52418
2010-08-27 23:11:29 +00:00
Arnaud Boutonné 32734897a8 HUGO: Fix some action types in the creation tool
svn-id: r52417
2010-08-27 22:29:51 +00:00
Johannes Schickel 2444957986 HUGO: Fix "UNIX" redefinition on Unix-like systems in create_hugo.
svn-id: r52416
2010-08-27 22:24:15 +00:00
Johannes Schickel 0650872203 HUGO: Silence some const cast warnings in create_hugo.
svn-id: r52415
2010-08-27 22:13:30 +00:00
Arnaud Boutonné c4db714e35 HUGO: Fix a bug in creation tool in act14 (H1 Dos)
Fix a bug (missing character id in initialization) in creation tool
and silent some more warnings.

svn-id: r52414
2010-08-27 21:13:47 +00:00
Torbjörn Andersson b442ee7010 SCI: Fixed potential memory leak in convert_polygon()
svn-id: r52413
2010-08-27 17:26:34 +00:00
Martin Kiewitz b5b4ecbed6 SCI: adding kq4 0.247
svn-id: r52412
2010-08-27 15:09:54 +00:00