aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-01MOHAWK: Implement xbookclickMatthew Hoops
It is now possible to trap Gehn in the trap book. Side note: Riven is now completable from the beginning provided you know the D'ni number system already (and the marble puzzle is just hacked to always work). svn-id: r52482
2010-09-01PSP: removed strict-aliasingYotam Barnoy
It's no longer needed after adding __may_alias__ flag in endian.h. svn-id: r52481
2010-09-01COMMON: changed read/write endian function to use __may_alias__ attributeYotam Barnoy
This is a better solution for the gcc aliasing problem that happens when aliasing a struct onto something else. What happens is that the compiler assumes no aliasing can happen when -O2 and -O3 are activated, and a call to READ_UINT32() followed by WRITE_UINT32() and another READ_UINT32() will be optimized to return the original read value instead of re-reading. svn-id: r52480
2010-09-01SCI: disable dialog replacement for jonesMartin Kiewitz
fixes odd crash right at the start, although you can't save/restore in jones o_O (fixes bug #3057080) svn-id: r52479
2010-08-31SCI: Added the Italian version of QFG3 (bug #3053457)Filippos Karapetis
svn-id: r52478
2010-08-31SCI: Added a workaround for bug #3056811 - "SQ5: Game crashes while playing ↵Filippos Karapetis
"Battle Cruiser"" svn-id: r52477
2010-08-31MOHAWK: Implement functionality for the dome slidersMatthew Hoops
The sliders are now movable and reset properly. The combination defined in the lab journal works on all the domes too. svn-id: r52476
2010-08-31I18N: Add "lowres" context in one place for the Add Game buttonThierry Crozat
svn-id: r52475
2010-08-31SCI: adding workaround for platform-specificMartin Kiewitz
incompatibility with some sierra games. Some games open a new menu, set mouse cursor within that menu and expect the mouse cursor to be in there and will close it, if it's outside. In case of Wiimote/touch interfaces this logic won't work of course. Fixes island of dr. brain and QfG1VGA on Wii and touch-interface platforms svn-id: r52474
2010-08-31PSP: fix BS2 crash by disabling strict aliasingYotam Barnoy
The problem that caused the crash in BS2 had to do with GCC making improper assumptions about our code. Specifically, the alignment trick we use for READ_UINT32/16 allows some targets(e.g. MIPS) to generate better code, but it also goes against ANSI C aliasing rules, which prohibit the sharing of addresses between a struct and another variable value. Using -fno-strict-aliasing tells GCC not to assume strict ANSI C aliasing and also unfortunately prevents it from making some good optimizations. This change is probably needed for other platforms as well -- the crash on the PSP was simply a very rare coincidence. svn-id: r52473
2010-08-31SCI: still set game cursor, when mouse outsideMartin Kiewitz
of ScummVM window. Just don't change actual mouse position svn-id: r52472
2010-08-31SCI: renaming fb01-enable to "native_fb01"Martin Kiewitz
svn-id: r52471
2010-08-31SCI: forgot one rename of "enable_fb01"Martin Kiewitz
svn-id: r52470
2010-08-31SCI: renaming config-variablesMartin Kiewitz
"sci_dither" got removed, "undither" renamed to "sci_undither". Also changed logic for handling "sci_originalsaveload" svn-id: r52469
2010-08-31SCI: Remove duplicate comment line.Johannes Schickel
svn-id: r52468
2010-08-31SCI: enable new kDoBresen/InitBresenMartin Kiewitz
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-31SCI: Added automatic detection of some static selectorsFilippos Karapetis
which keep changing location in each game svn-id: r52466
2010-08-31SCI: Disabled some debug related GC code, which effectivelyFilippos Karapetis
wastes cycles if we're not debugging the GC svn-id: r52465
2010-08-31AGOS: Add Polish version of Swampy Adventures.Travis Howell
svn-id: r52464
2010-08-30I18N: Update translation template and all translations.Thierry Crozat
svn-id: r52462
2010-08-30I18N: Add "lowres" context for several GUI strings when in 1x mode.Thierry Crozat
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-30I18N: Add a macro to define a context for a translatable string.Thierry Crozat
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-30I18N: Modify create-translations tool to remove duplicate translationsThierry Crozat
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-30README: Improve formulation for Reporting Bugs paragraphThierry Crozat
svn-id: r52458
2010-08-30SCI: fix warningMartin Kiewitz
svn-id: r52457
2010-08-30WII: Abuse pollEvent() to update the screen of skipped frames.Andre Heider
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-30SCI: ability to ignore movecount for new DoBresenMartin Kiewitz
fixes later sci games, when using new kDoBresen/kInitBresen svn-id: r52454
2010-08-30SCI: freshly reversed kDoBresen/kInitBresenMartin Kiewitz
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-30SCI: adding comments for kDoBresenMartin Kiewitz
svn-id: r52452
2010-08-30SCI: adding comments for r52450Martin Kiewitz
svn-id: r52451
2010-08-30SCI: check filesize of qfg import filesMartin Kiewitz
filter out files that are larger than 1k, actually removes real saved games from the list svn-id: r52450
2010-08-30SCI: reverting r52448Martin Kiewitz
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-29SCI: Only show exported characters in the QFG import screens.Filippos Karapetis
QFG can't import saved games, thus there is no point in including them in the character import screens. svn-id: r52448
2010-08-29SCI: Fixed bug #3038767 - "SCI Fanmade - Cascade Quest: Crash when restoring ↵Filippos Karapetis
a game" svn-id: r52447
2010-08-29SCI: cleanup kDoBresen (no real code change)Martin Kiewitz
svn-id: r52446
2010-08-29SCI: fix typo in commentMartin Kiewitz
svn-id: r52445
2010-08-29SCI: adding comment about invalid rect return valMartin Kiewitz
svn-id: r52444
2010-08-29SCI: fix warning (thx wjp, thank you not msvc)Martin Kiewitz
svn-id: r52443
2010-08-29SCI: fix buildMartin Kiewitz
svn-id: r52442
2010-08-29SCI: adding virtual lists for qfg-import roomsMartin Kiewitz
now lists import files of all possible games, adds game title before that, removes game prefixes for all files svn-id: r52441
2010-08-29SCI: Properly fixed bug #3053268 - "QFG1 VGA: Fetch spell crashes game"Filippos Karapetis
svn-id: r52440
2010-08-29PLUGINS: Fix warnings and unnecessary casts.Andre Heider
svn-id: r52439
2010-08-29SCI: fixed debug outputFilippos Karapetis
svn-id: r52438
2010-08-29SCI: Throw a warning in QFG import screens for unmatched filesFilippos Karapetis
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-29SCI: changing scroll transition behaviourMartin Kiewitz
makes scroll smooth on linux (and maybe others too) svn-id: r52436
2010-08-29Build a couple of different variant to split engines in two.Lars Persson
svn-id: r52435
2010-08-29SCI: Fixed bug #3051475 - "MOTHERGOOSE CD: Crash after giving the pipe to ↵Filippos Karapetis
the king" svn-id: r52433
2010-08-29SCI: Fixed bug #3037874 - "SCI1.1: High cpu usage when a textbox is displayed"Filippos Karapetis
svn-id: r52432
2010-08-29SCI: Throttle the invocations of Engine::shouldQuit()Filippos Karapetis
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-29SCI: Added proper handling of QFG exported character files.Filippos Karapetis
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