aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
2010-04-19SCI: Fix yet another (new) const correctness violation.Max Horn
I would suggest rewriting all of text16.cpp to use byte* instead of char*, then all this casting around (which introduces the const correctness violations) would not be necessary in the first place. svn-id: r48711
2010-04-19SCI: comment about platforms, where 8859-1 mapping is workingMartin Kiewitz
svn-id: r48708
2010-04-19SCI: For Japanese system-font strings, convert half-width characters toWalter van Niftrik
full-width characters. svn-id: r48707
2010-04-18SCI: removing single byte chars from double byte check in sjis class (damn ↵Martin Kiewitz
wikipedia with their similar colors hehe) svn-id: r48706
2010-04-18SCI: sierra sci reacts on 0xD and 0xA to end a line. We only reacted on 0xA ↵Martin Kiewitz
and ignored 0xD before (fixes subtitles in multilingual games, because the official subtitle separator is 0xD'----'0xD) svn-id: r48699
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-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-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-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-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-04-04SCI: check before writing 0 in SegManager::strncpy, fixes jones/cd crashMartin Kiewitz
svn-id: r48519
2010-04-04SCI: put an ending NUL in strncpy, fixes castle of brain scrolling problem - ↵Martin Kiewitz
should be verified by the vm gurus (waltervn and lskovlun) svn-id: r48511
2010-04-02SCI: removing unused variable from palette::setMartin Kiewitz
svn-id: r48475
2010-04-02SCI: change actual setting of palette, fixes gk1 palette issue when talking ↵Martin Kiewitz
to grace indirectly caused by r47955, seems to also fix jones palette issue, could cause regressions svn-id: r48474
2010-03-22Patch #2973290: Semicolon cleanupMax Horn
svn-id: r48359
2010-03-18COMMON: Get rid of Common::StringListMax Horn
svn-id: r48287
2010-03-18COMMON: Move typedef StringList from str.h to new header str-array.hMax Horn
This removes the dependency on array.h from str.h. Also, begun migration from the confusing type name "StringList" to the more appropriate StringArray. svn-id: r48282
2010-03-16SCI: fix assert in sound code when fadeout is done (lsl1 bug #2970301)Martin Kiewitz
svn-id: r48271
2010-03-10Fix warningMax Horn
svn-id: r48222
2010-03-10Silenced some harmless cppcheck warnings about unreachable code after a return.Torbjörn Andersson
In this case, it was always a break after a return in a switch case. There are similar cases which cppcheck didn't detect, and a couple of cases where we have a break after a continue in a switch case (where the continue refers to an outer loop), but I didn't touch those. Not yet, at least. svn-id: r48218
2010-03-08SCI: Make EngineState parameter to INV_SEL explicitMax Horn
svn-id: r48202
2010-03-08SCI: Made some stuff staticMax Horn
svn-id: r48199
2010-03-05SCI: Add detection entry for Space Quest 5 french found in Space Quest ↵Fabio Battaglia
Collector's edition svn-id: r48165
2010-02-28Add detection entry for SQ4 Mac.Matthew Hoops
svn-id: r48156
2010-02-23SCI: Turn kernel_sleep() into SciEvent::sleep()Max Horn
svn-id: r48119
2010-02-23SCI: Move SciGui::wait to EngineState::waitMax Horn
svn-id: r48118
2010-02-23SCI: Stop storing EngineState in SciGui32Max Horn
svn-id: r48117
2010-02-23SCI: add Gabriel Knight 1 French DOS CD detection entryFabio Battaglia
svn-id: r48115
2010-02-21SCI: added warning when getting invalid rect in kCan(t)BeHereMartin Kiewitz
svn-id: r48102
2010-02-21Patch for bug 2943361 by littleboy, adding full kb modifier support to all ↵Yotam Barnoy
engines + GUI and proper keypad handling svn-id: r48101
2010-02-21Added comments on the SCI0-SCI1.1 kernel function table differences Filippos Karapetis
svn-id: r48100
2010-02-21Handle invalid rects in kCanBeHere(). Fixes some odd crashes in IcemanFilippos Karapetis
svn-id: r48098
2010-02-20Removed dead codeFilippos Karapetis
svn-id: r48097
2010-02-17SCI: Reduce header interdependenciesMax Horn
svn-id: r48086
2010-02-17SCI: Rename some members of class ResourceMax Horn
svn-id: r48085
2010-02-17SCI: Cleanup resource.hMax Horn
svn-id: r48084