aboutsummaryrefslogtreecommitdiff
path: root/graphics/sjis.h
AgeCommit message (Collapse)Author
2012-02-26COMMON: Move Language and Platform functionality into separate filesMax Horn
2011-08-23GRAPHICS: Display warning in case the SJIS.FNT version does not match.Johannes Schickel
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-07-10GRAPHICS: remove char/line spacing handling from sjis codeathrxx
(as discussed with LordHoto this should rather be handled in the engine)
2011-07-09SCUMM: Make use of graphics/sjis code for LOOM PCE sjis drawingathrxx
Also move font rom loader to graphics/sjis and make the necessary changes there.
2011-07-01GRAPHICS: More default parameter remove in SJIS code.Johannes Schickel
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-07-01GRAPHICS: Offer support for PCE font data of SJIS.FNT.Johannes Schickel
2011-07-01GRAPHICS: Cleanup SJIS font code a bit.Johannes Schickel
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2010-11-19ALL: Push down deps on stream.h from .h to .cpp filesMax Horn
svn-id: r54358
2010-11-05GRAPHICS/SJIS: cleanupFlorian Kagerer
svn-id: r54099
2010-11-05GRAPHICS/SJIS: fix out of bounds shadow mode text drawingFlorian Kagerer
svn-id: r54080
2010-11-05SCUMM/FM-TOWNS JAPANESE: fix out of bounds text drawingFlorian Kagerer
(could cause invalid memory access in MI1) svn-id: r54079
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-17GRAPHICS: enable sjis code for scumm engineFlorian Kagerer
svn-id: r53555
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
2009-11-19Cleanup.Johannes Schickel
svn-id: r45993
2009-10-11Add support for 8x16 chars in the FM-Towns font ROM code.Johannes Schickel
svn-id: r44910
2009-10-11Revert changes to graphics/sjis.h in r44709.Johannes Schickel
svn-id: r44904
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-04Change a couple places from 'end of namespace' to 'End of namespace', for ↵Max Horn
consistency svn-id: r44634
2009-09-30Implemented support for drawing 8x16 chars from our custom SJIS font.Johannes Schickel
svn-id: r44486
2009-09-30Update SJIS code to read SJIS.FNT version 2 data (no support for drawing ↵Johannes Schickel
ASCII and half-width katakana glyphs yet). svn-id: r44483
2009-08-12Change SJIS code guard to also check whether dynamic plugins are enabled.Johannes Schickel
svn-id: r43318
2009-07-26Add a todo to FontSJIS::drawChar taking an Graphics::Surface.Johannes Schickel
svn-id: r42824
2009-07-26Add way to overwrite default SJIS font.Johannes Schickel
svn-id: r42819
2009-07-26Specify that the chars passed to FontSJIS::drawChar should be little endian.Johannes Schickel
svn-id: r42818
2009-07-26Add a factory method, which tries to open different SJIS fonts/ROMs and ↵Johannes Schickel
returns a font for the first present data. svn-id: r42816
2009-07-26Change the way the font data for SJIS fonts is load.Johannes Schickel
svn-id: r42815
2009-07-26Add support for our custom SJIS font.Johannes Schickel
svn-id: r42813
2009-07-26Create base class FontSJIS16x16 for our own SJIS font.Johannes Schickel
svn-id: r42812
2009-07-09Reverted commit #42257, as the original issue was with the compilation ↵Filippos Karapetis
process of MSVC and the ENABLE_* checks work correctly svn-id: r42289
2009-07-08The ENABLE_* flags are only checked for *.cpp files in MSVC, so move the ↵Filippos Karapetis
ENABLE_* checks to sjis.cpp to fix compilation under MSVC svn-id: r42257
2009-07-07Simply compile guard of SJIS code and fix comment.Johannes Schickel
svn-id: r42234
2009-07-07Add guards to only include SJIS font code, when KYRA or SCI is enabled.Johannes Schickel
svn-id: r42233
2009-07-07Change "FM-Towns" to "FM-TOWNS" for consistency.Johannes Schickel
svn-id: r42232
2009-07-07- Rename FontSJIS::enableShadow to enableOutline.Johannes Schickel
- Initialize outline to false by default in FontTowns. svn-id: r42231
2009-07-07- Added support for outlined FM-Towns ROM drawingJohannes Schickel
- Adapted KYRA to use that svn-id: r42230
2009-07-07Add generic functionallity to draw FM-Towns ROM. (To be used by KYRA and SCI)Johannes Schickel
svn-id: r42221