aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/screen.cpp
AgeCommit message (Collapse)Author
2011-07-01GRAPHICS: Remove default values from FontSJIS::drawChar.Johannes Schickel
drawChar is overloaded in FontSJIS. One takes a "Surface &" as first parameter another one "void *", they furthermore have the exact same number of required parameters. The one "void *" just had a few extra parameters with default values. This resulted in a bug in SCUMM, where "VirtScreen *" (a subclass of Surface) was passed instead of "VirtScreen &" and thus the method taking "void *" was incorrectly used. To make it easier to spot such bugs in the future I just removed the default values and thus disallow such calls.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28KYRA: Clean up of header includes.Johannes Schickel
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-07KYRA: Slight cleanup.Johannes Schickel
2011-02-20KYRA: Fix regression in Screen::setInterfacePalette.Johannes Schickel
This fixes an out of bounds write introduced with 9216c7e.
2011-02-14KYRA: Adapt to setPalette/grabPalette RGBA->RGB changes.Johannes Schickel
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-10-19SCUMM/FM-TOWNS JAPANESE: implement flipped textFlorian Kagerer
(used in the MI1 circus scene after Guybrush gets shot out of the cannon) svn-id: r53616
2010-10-17SCUMM/FM-TOWNS: more improvements to japanese font drawingFlorian Kagerer
- made use of LordHotos graphics/sjis code to reduce code duplication - japanese mode for version 3 and 5 works fine now with few exceptions (some line spacing glitches in MI1 intro etc.) svn-id: r53554
2010-10-12JANITORIAL: Cleanup (mostly whitespace)Torbjörn Andersson
svn-id: r53161
2010-09-18JANITORIAL: Removed most punctuation at end of warning() and error()Torbjörn Andersson
Our warning() and error() functions always add an exclamation mark to the end of the message anyway. svn-id: r52791
2010-08-24KYRA: Cleanup.Johannes Schickel
svn-id: r52340
2010-07-22KYRA: Remove superfluous palette update on quit.Johannes Schickel
svn-id: r51169
2010-05-17Some more enforcement of our formatting conventions in KYRA too.Johannes Schickel
svn-id: r49069
2010-05-04Move initGraphics and initCommonGFX from to new header.Max Horn
These functions are only used internally be Engine subclasses, and by moving them to a separate header we can reduce indirect header dependencies. svn-id: r48934
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-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-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-08Move DisposeAfterUse::Flag from Common to global namespace, and into a new ↵Max Horn
header common/types.h svn-id: r47180
2009-10-18Introduced new type Common::DisposeAfterUse::FlagMax Horn
svn-id: r45233
2009-10-17Fix valgrind warning.Johannes Schickel
svn-id: r45207
2009-10-11LOL/PC-98: fix king richard healing sequenceFlorian Kagerer
svn-id: r44936
2009-10-11Print warning, when the number of colors in a palette file exceed the number ↵Johannes Schickel
of colors in the target palette on load. svn-id: r44922
2009-10-11Fix regression introduced with r44907.Johannes Schickel
svn-id: r44911
2009-10-11Cleanup.Johannes Schickel
svn-id: r44907
2009-10-11Revert changes to graphics/sjis.h in r44709.Johannes Schickel
svn-id: r44904
2009-10-10LOL/PC-98: implemented drawing code for teleportersFlorian Kagerer
svn-id: r44883
2009-10-10LOL/PC-98: fixed minor glitch in wsa codeFlorian Kagerer
svn-id: r44879
2009-10-10LOL/PC-98: fixed two minor bugsFlorian Kagerer
svn-id: r44870
2009-10-08LOLLOL/PC-98: fixed add-spell-to-scroll animationFlorian Kagerer
svn-id: r44797
2009-10-06KYRA/LOL: - get rid of ascii/sjis detection which could cause problems when ↵Florian Kagerer
typing savegame names - fixed some minor bugs svn-id: r44709
2009-10-04LoL PC98: Fix thumbnail creation for quick saves and autosave.Johannes Schickel
svn-id: r44623
2009-09-30Adapt KYRA engine to use the ASCII and half-width katakana support of the ↵Johannes Schickel
SJIS font. (required for LoL PC98) svn-id: r44488
2009-09-30Cleanup: got rid of Screen::ShadeType.Johannes Schickel
svn-id: r44487
2009-09-30Implemented support for drawing 8x16 chars from our custom SJIS font.Johannes Schickel
svn-id: r44486
2009-09-26LOL/PC-98: fix menu colorsFlorian Kagerer
svn-id: r44381
2009-09-20Fix removal of SJIS characters in LoL PC98 menu.Johannes Schickel
svn-id: r44213
2009-09-20Add checks for half-width katakana, which are currently unsupported.Johannes Schickel
svn-id: r44204
2009-08-19Use Common::List::empty instead of Common::List::size, which is faster for ↵Johannes Schickel
checking whether the list is empty and easier to read. svn-id: r43538
2009-08-19Make KYRA only call OSystem::updateScreen from inside Screen::updateScreen, ↵Johannes Schickel
when the screen really changed OR the palette changed. svn-id: r43537
2009-08-19Implemented proper character selection of Lands of Lore PC98.Johannes Schickel
svn-id: r43531
2009-08-17Fix possible out of bounds access in Screen::drawShape.Johannes Schickel
svn-id: r43475
2009-08-16Fix valgrind warnings.Johannes Schickel
svn-id: r43428
2009-08-13Little optimization in Screen::setPaletteIndex, now it only resets the ↵Johannes Schickel
palette, when the color index really changed. svn-id: r43338
2009-08-12Add a slight paranoia check to drawCharANSI.Johannes Schickel
svn-id: r43325
2009-08-11Enable dirty rect handling for the Amiga version again.Johannes Schickel
svn-id: r43280
2009-08-11Cleanup.Johannes Schickel
svn-id: r43279
2009-08-10- Fix AMIGA to DOS palette conversionJohannes Schickel
- Amiga version uses 13 instead of 12 palette buffers svn-id: r43220