Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-12-18 | GRAPHICS: implement left sided shadowing for SJIS font | athrxx | |
The current shadow mode draws a shadow on the right side of the character. This allows drawing one on the left. Adapt LOOM/PCE accordingly. | |||
2018-11-14 | KYRA: implement SJIS features required for EOB II FM-Towns | athrxx | |
- low res font drawing for intro and outro texts - fat print mode for ingame texts | |||
2018-04-15 | JANITORIAL: Fix whitespace | Adrian Frühwirth | |
2014-02-18 | GRAPHICS: Make GPL headers consistent in themselves. | Johannes Schickel | |
2014-01-15 | ALL: Remove optimization unstable code on checking for null after new. | D G Turner | |
These issues were identified by the STACK tool. By default, the C++ new operator will throw an exception on allocation failure, rather than returning a null pointer. The result is that testing the returned pointer for null is redundant and _may_ be removed by the compiler. This is thus optimization unstable and may result in incorrect behaviour at runtime. However, we do not use exceptions as they are not supported by all compilers and may be disabled. To make this stable without removing the null check, you could qualify the new operator call with std::nothrow to indicate that this should return a null, rather than throwing an exception. However, using (std::nothrow) was not desirable due to the Symbian toolchain lacking a <new> header. A global solution to this was also not easy by redefining "new" as "new (std::nothrow)" due to custom constructors in NDS toolchain and various common classes. Also, this would then need explicit checks for OOM adding to all new usages as per C malloc which is untidy. For now to remove this optimisation unstable code is best as it is likely to not be present anyway, and OOM will cause a system library exception instead, even without exceptions enabled in the application code. | |||
2011-08-23 | GRAPHICS: Formatting. | Johannes Schickel | |
2011-08-23 | GRAPHICS: Display warning in case the SJIS.FNT version does not match. | Johannes Schickel | |
2011-08-07 | JANITORIAL: Remove trailing empty lines. | Christoph Mallon | |
2011-07-10 | GRAPHICS: remove char/line spacing handling from sjis code | athrxx | |
(as discussed with LordHoto this should rather be handled in the engine) | |||
2011-07-09 | SCUMM: Make use of graphics/sjis code for LOOM PCE sjis drawing | athrxx | |
Also move font rom loader to graphics/sjis and make the necessary changes there. | |||
2011-07-01 | GRAPHICS: Fix SJIS PCE font loading. | Johannes Schickel | |
2011-07-01 | GRAPHICS: Offer support for PCE font data of SJIS.FNT. | Johannes Schickel | |
2011-07-01 | GRAPHICS: Cleanup SJIS font code a bit. | Johannes Schickel | |
2011-06-20 | ALL: Remove trailing whitespaces | Max 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-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-05-01 | Merge pull request #16 "Add a PixelFormat to Graphics::Surface.". | Johannes Schickel | |
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp | |||
2011-04-28 | JANITORIAL: Reduce header dependencies in shared code | Ori Avtalion | |
Some backends may break as I only compiled SDL | |||
2011-04-17 | GRPAHICS: Do not access Surface::bytesPerPixel anymore. | Johannes Schickel | |
2011-04-12 | COMMON: Replace MKID_BE by MKTAG | Max Horn | |
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro. | |||
2011-01-08 | BUILD: Include scummsys.h to force rebuild after reconfigure (thanks LordHoto) | Willem Jan Palenstijn | |
svn-id: r55156 | |||
2010-11-19 | ALL: Push down deps on stream.h from .h to .cpp files | Max Horn | |
svn-id: r54358 | |||
2010-11-05 | GRAPHICS/SJIS: cleanup | Florian Kagerer | |
svn-id: r54099 | |||
2010-11-05 | GRAPHICS/SJIS: fix out of bounds shadow mode text drawing | Florian Kagerer | |
svn-id: r54080 | |||
2010-11-05 | SCUMM/FM-TOWNS JAPANESE: fix out of bounds text drawing | Florian Kagerer | |
(could cause invalid memory access in MI1) svn-id: r54079 | |||
2010-10-19 | SCUMM/FM-TOWNS JAPANESE: implement flipped text | Florian Kagerer | |
(used in the MI1 circus scene after Guybrush gets shot out of the cannon) svn-id: r53616 | |||
2010-10-17 | SCUMM/FM-TOWNS: more improvements to japanese font drawing | Florian 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-01-25 | Strip trailing spaces/tabs. | Johannes Schickel | |
svn-id: r47541 | |||
2009-11-19 | Cleanup. | Johannes Schickel | |
svn-id: r45993 | |||
2009-10-11 | Add support for 8x16 chars in the FM-Towns font ROM code. | Johannes Schickel | |
svn-id: r44910 | |||
2009-10-04 | Change a couple places from 'end of namespace' to 'End of namespace', for ↵ | Max Horn | |
consistency svn-id: r44634 | |||
2009-09-30 | Implemented support for drawing 8x16 chars from our custom SJIS font. | Johannes Schickel | |
svn-id: r44486 | |||
2009-09-30 | Update 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-19 | Add another range check in our SJIS font code to avoid out of bounds access. | Johannes Schickel | |
svn-id: r43532 | |||
2009-07-26 | Instead of only printing a warning, when no SJIS char data is present, just ↵ | Johannes Schickel | |
return to the caller. svn-id: r42823 | |||
2009-07-26 | Reflect code to test the magic bytes in the sjis.fnt header. | Johannes Schickel | |
svn-id: r42821 | |||
2009-07-26 | Add way to overwrite default SJIS font. | Johannes Schickel | |
svn-id: r42819 | |||
2009-07-26 | Print warning, when client code does try to draw an unsupported SJIS char. | Johannes Schickel | |
svn-id: r42817 | |||
2009-07-26 | Add 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-26 | Change the way the font data for SJIS fonts is load. | Johannes Schickel | |
svn-id: r42815 | |||
2009-07-26 | Add support for our custom SJIS font. | Johannes Schickel | |
svn-id: r42813 | |||
2009-07-26 | Create base class FontSJIS16x16 for our own SJIS font. | Johannes Schickel | |
svn-id: r42812 | |||
2009-07-09 | Reverted 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-08 | The 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-07 | Simply compile guard of SJIS code and fix comment. | Johannes Schickel | |
svn-id: r42234 | |||
2009-07-07 | Add guards to only include SJIS font code, when KYRA or SCI is enabled. | Johannes Schickel | |
svn-id: r42233 | |||
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 drawing | Johannes Schickel | |
- Adapted KYRA to use that svn-id: r42230 | |||
2009-07-07 | Add generic functionallity to draw FM-Towns ROM. (To be used by KYRA and SCI) | Johannes Schickel | |
svn-id: r42221 |