aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
AgeCommit message (Collapse)Author
2010-04-20SCI: menu - handle right aligned "=" as actual text not as tag marker, also ↵Martin Kiewitz
handle "=" as being a supported shortcut key svn-id: r48747
2010-04-20SCI: remove lone spaces at the end of right aligned menu items. fixes ↵Martin Kiewitz
"wrongly" aligned menu items in some games svn-id: r48746
2010-04-20SCI: sq4/japanese uses sjis 0x9781 for line breaks as wellMartin Kiewitz
svn-id: r48742
2010-04-19SCI: removed bad commentMartin Kiewitz
svn-id: r48734
2010-04-19SCI: sierra switched hardcoded inside their pc98 interpreter to font 900, if ↵Martin Kiewitz
sjis text got detected svn-id: r48726
2010-04-19SCI: added comments about sierra not upscaling cursors for shape and view ↵Martin Kiewitz
cursors svn-id: r48721
2010-04-19SCI: added upscaling for shape cursors in upscaled hires games (will make ↵Martin Kiewitz
the cursor "normal" sized in japanese sci01 games) svn-id: r48720
2010-04-19SCI: added even more comments about the 0xD 0xA inside GetLongest()Martin Kiewitz
svn-id: r48718
2010-04-19SCI: added more comments for 0xD 0xA cases inside GetLongest()Martin Kiewitz
svn-id: r48715
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-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-17More const correctness fixesMax Horn
svn-id: r48695
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: 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-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-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-21SCI: added warning when getting invalid rect in kCan(t)BeHereMartin Kiewitz
svn-id: r48102
2010-02-21Handle invalid rects in kCanBeHere(). Fixes some odd crashes in IcemanFilippos Karapetis
svn-id: r48098
2010-02-17SCI: Reduce header interdependenciesMax Horn
svn-id: r48086
2010-02-17SCI: Cleanup resource.hMax Horn
svn-id: r48084
2010-02-13SCI: Move language related code from EngineState to SciEngineMax Horn
svn-id: r48052
2010-02-13SCI: Remove EngineState::_kernel, use SciEngine::_kernel insteadMax Horn
svn-id: r48050
2010-02-13SCI: Get rid of EngineState::resManMax Horn
svn-id: r48048
2010-02-13SCI: Move Gui/Gfx related permanent objects from EngineState to SciEngineMax Horn
svn-id: r48047
2010-02-13SCI: Add global g_sci pointer to the active SciEngine instanceMax Horn
svn-id: r48046
2010-02-09SCI: also reset some variables inside reset(), so we dont error() out in ↵Martin Kiewitz
lsl2 and other games that reset game engine inbetween svn-id: r48015
2010-02-07SCI: GfxPalette::setFromResource() now actually passes force further down ↵Martin Kiewitz
the chain svn-id: r47965
2010-02-07SCI: set screen palette only when it got changed during merge (performance ↵Martin Kiewitz
only change) svn-id: r47955
2010-02-07SCI: dont set palette on kernelDrawCel() callMartin Kiewitz
svn-id: r47954
2010-02-07SCI: added dummy assertpalette to GfxPalette, setting destination palette ↵Martin Kiewitz
immediately on kPalVary(start) call svn-id: r47953
2010-02-06Removed unnecessary semi-colons to keep GCC happy.Torbjörn Andersson
svn-id: r47942
2010-02-06SCI: added plane coordinate adjustment code for sci32 when drawing pictures, ↵Martin Kiewitz
put everything into GfxCoordAdjuster svn-id: r47939
2010-02-06SCI: put kShakeScreen into GfxPaint, called directly nowMartin Kiewitz
svn-id: r47936
2010-02-06Mark the sanity checks inside kernelSetNowSeen and kernelBaseSetter as hacksFilippos Karapetis
svn-id: r47932