aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2010-04-18SCI: fix regression from r48685 - english got always used for menu entriesMartin Kiewitz
svn-id: r48698
2010-04-18SCI: Don't add subtitles for monolingual strings.Walter van Niftrik
svn-id: r48697
2010-04-17Fix warnings when FLAC&MP3&VORBIS is disabled; also fixes leak in TinselMax Horn
svn-id: r48696
2010-04-17More const correctness fixesMax Horn
svn-id: r48695
2010-04-17Fixing some warnings (with gcc 3.3.6)Max Horn
svn-id: r48694
2010-04-17SCI: key presses of extended chars (umlauts, etc.) will now get ignored in ↵Martin Kiewitz
games that don't support them (which is all non-multilingual games) svn-id: r48693
2010-04-17This should fix the scaler Valgrind warning reported in (but probably not theTorbjörn Andersson
cause of) bug #2976008 ("BS2: Game lockup in British Museum"). svn-id: r48692
2010-04-17SCI: change textedit control to cast to unsigned char to fix cursor position ↵Martin Kiewitz
when multilingual chars are used. Also make getFontHeight() private inside GfxFontFromResource class, remove it in all the other classes svn-id: r48689
2010-04-17SCI: map keys from 8859-1 to dos codepage, makes special chars like umlauts ↵Martin Kiewitz
work in multilingual games svn-id: r48687
2010-04-17SCI: move menu window inside the screen, if parts of it are outside (happens ↵Martin Kiewitz
in multilingual sq3 and lsl3) svn-id: r48686
2010-04-17SCI: implement ability to handle multilingual menu separators (is actually 2 ↵Martin Kiewitz
separators with a language separator inbetween) svn-id: r48685
2010-04-17SCI: changed coordinate adjustment for kanji chars to & 0xFFCMartin Kiewitz
svn-id: r48684
2010-04-17SCI: Remove subtitles in menu.Walter van Niftrik
svn-id: r48683
2010-04-16SCI: handle given coordinate to draw() inside SJIS font support as if the ↵Martin Kiewitz
horizontal part would be the center of the character, fixes not perfectly centered japanese text. I assume that PC98 ROM also handled it that way. The actual cause for those "bad" coordinates is GetLongest(), but that behaviour is definitely how sierra sci does it svn-id: r48678
2010-04-16SCI: support for kanji (sjis), minor centering issue leftMartin Kiewitz
svn-id: r48674
2010-04-16SCI: dont switch to english on kanji text, also cut off text w/o spaces ↵Martin Kiewitz
inside GetLongest() so that kanji raw chars will appear in windows svn-id: r48673
2010-04-16Added a sanity check for the current list node inside GfxAnimate::invoke(). ↵Filippos Karapetis
This should fix the crash in LSL2 as described in patch #2987942, without adding additional lookups svn-id: r48670
2010-04-16SCI: make pixelation transition work in upscaled hires modeMartin Kiewitz
svn-id: r48668
2010-04-16SCI: make scroll transitions work in upscaled hires modeMartin Kiewitz
svn-id: r48667
2010-04-16Fix for bug #2987895: "DW2: graphical errors in video on Windows"Max Horn
svn-id: r48665
2010-04-16Added code to de-activate town NPCs once the player makes it to the castle, ↵Paul Gilbert
since they're no longer needed svn-id: r48661
2010-04-15SCI: split menu/item strings when displaying instead of when initializing - ↵Martin Kiewitz
makes on-the-fly menu language changes possible (used by multilingual SCI01 games) svn-id: r48659
2010-04-14Added a default case for characters that don't have a message set, but try ↵Paul Gilbert
to display one svn-id: r48656
2010-04-12Apply patch #2982163 - CONFIG: Use HE keyword instead of HB for the Hebrew ↵Ori Avtalion
language svn-id: r48645
2010-04-12Revert "Fix use of "friend" keyword in KYRA for strict C++ compilers."Johannes Schickel
Actually g++ is just fine in this case :-). The thing I missed here was that I declared the "offending" classes as friends in subclasses of KyraEngine_v1, thus those friends were allowed to access the protected elements of KyraEngine_v1 too. svn-id: r48643
2010-04-12Fix use of "friend" keyword in KYRA for strict C++ compilers.Johannes Schickel
Unlike g++, which does inherit friends (it seems), C++ does specify that friend is not inherited. I.e. when B is a friend of A and you have a class C subclassing B, C is not allowed to access private memebers of A. svn-id: r48641
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-04-12Added the beginnings of the main timer listPaul Gilbert
svn-id: r48635
2010-04-11Apply patch #2984508 - "GSoC: SCUMM stopped audio from playing while saving"Ori Avtalion
This is a fix for bug #2090846 - "SCUMM: saving a game will play music before finishing" svn-id: r48630
2010-04-11Explain the rational of the CursorMan.pushCursor calls directlyMax Horn
Instead of referring to the commit log of a prior ref. Also rewrap some comments. svn-id: r48628
2010-04-11Setup and destroy a dummy cursor and palette in the Engine class.Johannes Schickel
The idea behind this is exactly the same as behind r48620, but it affects all engines, thus engine authors can now use CursorMan.replaceCursor without having to worry about possible memory leaks or the like. svn-id: r48626
2010-04-11Enable the cursor palette in ScummEngine_v70he::setDefaultCursor just to ↵Johannes Schickel
avoid problems in case it was disabled earlier. svn-id: r48622
2010-04-11Fix KYRA's cursor handling by pushing a dummy cursor via ↵Johannes Schickel
CursorMan.pushCursor too. Also replace CursorMan.popAllCursors by CursorMan.popCursor to prevent the caller's cursor from being destroyed. svn-id: r48621
2010-04-11Fix a memory leak in SCUMM which was caused by the SCUMM engine never ↵Johannes Schickel
removing its cursor from CursorMan. The problem here was that SCUMM only uses CursorMan.replaceCursor. When no cursor had been setup before it would cause the SCUMM cursor to be never removed from CursorMan, since in this case replaceCursor just uses pushCursor. To avoid this problem I am just pushing a dummy cursor (and palette, since that is used in SCUMM HE games too) on engine setup and removing it on engine destruction. Actually every engine should setup their first cursor via CursorMan.pushCursor and then on quit remove it again via CursorMan.popCursor. Using CursorMan.replaceCursor is *no* good idea for the first cursor to setup, since that might either replace an existing cursor, thus destroying the caller's cursor, or pushing a new cursor on the stack, which might result in a leak. This would also result in making a call to CursorMan.popCursor unsafe, since that might also impact the caller's cursor setup again. svn-id: r48620
2010-04-11Fix bug #2985387 "KYRA1: Crash at the end of game".Johannes Schickel
svn-id: r48617
2010-04-11Fix bug 2983187 on continuing palette changeRobert Špalek
svn-id: r48615
2010-04-09Remove unnecessary 'extern' keywordsOri Avtalion
svn-id: r48598
2010-04-08Remove unused dereferenceOri Avtalion
svn-id: r48586
2010-04-07fixed crash during time challenges (rclick without object)Vladimir Menshakov
svn-id: r48581
2010-04-07Add detection for an English ADI2 environment disk (for Amiga)Arnaud Boutonné
svn-id: r48580
2010-04-06Cleanup the Myst resource caching code a bit and add support for caching ↵Matthew Hoops
Myst ME MJMP sound 'jumps' svn-id: r48579
2010-04-06More transistions->transitions fixesMatthew Hoops
svn-id: r48571
2010-04-06Fix "Transitions" typoOri Avtalion
svn-id: r48570
2010-04-06Fix AdvancedMetaEngine::createInstance to use ConfMan.setBoolMax Horn
svn-id: r48568
2010-04-06Switch SaveStateDescriptor::getBool to use Common::parseBoolMax Horn
svn-id: r48567
2010-04-06GUI: Unify various definitions of kOKCmd and move it to namespace GUIMax Horn
svn-id: r48564
2010-04-06Factor out save/load code from MainMenuDialog::handleCommand into new methodsMax Horn
svn-id: r48563
2010-04-06SCUMM: Make HelpDialog & ConfigDialog internalMax Horn
svn-id: r48562
2010-04-06Remove old & undocumented MSVC 6 workaroundMax Horn
svn-id: r48561
2010-04-05Add support for 32bpp DirectBitsRect in Myst ME PICT's. Fixes various cards, ↵Matthew Hoops
especially in the Myst observatory. svn-id: r48558