Kaloyan Chehlarski
aa2b2d4178
GRAPHICS: Compile SJIS code when building AGOS
...
SJIS code only gets built when it's needed by an engine, but AGOS
wasn't marked as one of the engines that requires it, breaking static
engine builds.
2021-05-09 15:13:37 +03:00
Bartosz Gentkowski
a35cbeab46
DOXYGEN: Add doxy groups to remaining headers in 'graphics'
...
To make sure that they appear in the graphics group
in the doc structure.
2020-12-01 23:24:37 +00:00
athrxx
cf08894520
GRAPHICS: (SJIS) - SAGA adjustments
2020-11-22 19:02:43 +01:00
Eugene Sandulenko
3bc8e687f2
GRAPHICS: Expose SJIS font chunk calculation
2020-08-31 23:46:50 +02:00
athrxx
1f42999a7c
GRAPHICS: implement left sided shadowing for SJIS font
...
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.
2019-12-18 20:50:44 +01:00
athrxx
e4e5e68f0d
KYRA: implement SJIS features required for EOB II FM-Towns
...
- low res font drawing for intro and outro texts
- fat print mode for ingame texts
2018-11-14 17:22:20 +01:00
Johannes Schickel
53332e8066
GRAPHICS: Make GPL headers consistent in themselves.
2014-02-18 02:39:34 +01:00
Johannes Schickel
89abab97e3
JANITORIAL: Remove trailing whitespaces.
...
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Max Horn
367131ef0e
COMMON: Move Language and Platform functionality into separate files
2012-02-26 15:21:36 +01:00
Johannes Schickel
243779a7eb
GRAPHICS: Display warning in case the SJIS.FNT version does not match.
2011-08-23 15:15:29 +02:00
Christoph Mallon
23a0f5318c
JANITORIAL: Remove trailing empty lines.
2011-08-07 13:53:33 +02:00
athrxx
c06c05a769
GRAPHICS: remove char/line spacing handling from sjis code
...
(as discussed with LordHoto this should rather be handled in the engine)
2011-07-10 00:45:00 +02:00
athrxx
e3dbae886d
SCUMM: Make use of graphics/sjis code for LOOM PCE sjis drawing
...
Also move font rom loader to graphics/sjis and make the necessary changes there.
2011-07-09 20:07:58 +02:00
Johannes Schickel
77bfaa1bb4
GRAPHICS: More default parameter remove in SJIS code.
2011-07-01 05:51:10 +02:00
Johannes Schickel
933ee5b156
GRAPHICS: Remove default values from FontSJIS::drawChar.
...
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-01 05:42:54 +02:00
Johannes Schickel
685e32dbd7
GRAPHICS: Offer support for PCE font data of SJIS.FNT.
2011-07-01 05:42:54 +02:00
Johannes Schickel
c047f871d6
GRAPHICS: Cleanup SJIS font code a bit.
2011-07-01 05:42:54 +02:00
Max Horn
88913c0139
ALL: Remove trailing whitespaces
...
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-06-20 00:59:48 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Max Horn
a0df86955f
ALL: Push down deps on stream.h from .h to .cpp files
...
svn-id: r54358
2010-11-19 01:37:04 +00:00
Florian Kagerer
e4da5e3af4
GRAPHICS/SJIS: cleanup
...
svn-id: r54099
2010-11-05 20:36:13 +00:00
Florian Kagerer
4457d10f84
GRAPHICS/SJIS: fix out of bounds shadow mode text drawing
...
svn-id: r54080
2010-11-05 01:11:05 +00:00
Florian Kagerer
206971d16b
SCUMM/FM-TOWNS JAPANESE: fix out of bounds text drawing
...
(could cause invalid memory access in MI1)
svn-id: r54079
2010-11-05 00:36:23 +00:00
Florian Kagerer
1d87f434a2
SCUMM/FM-TOWNS JAPANESE: implement flipped text
...
(used in the MI1 circus scene after Guybrush gets shot out of the cannon)
svn-id: r53616
2010-10-19 16:58:27 +00:00
Florian Kagerer
365cb758fb
GRAPHICS: enable sjis code for scumm engine
...
svn-id: r53555
2010-10-17 14:11:06 +00:00
Florian Kagerer
c841c3fb7c
SCUMM/FM-TOWNS: more improvements to japanese font drawing
...
- 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-17 13:08:00 +00:00
Johannes Schickel
746f391b8a
Cleanup.
...
svn-id: r45993
2009-11-19 22:22:08 +00:00
Johannes Schickel
67c6e92efb
Add support for 8x16 chars in the FM-Towns font ROM code.
...
svn-id: r44910
2009-10-11 12:00:56 +00:00
Johannes Schickel
6492c00a3a
Revert changes to graphics/sjis.h in r44709.
...
svn-id: r44904
2009-10-11 11:28:43 +00:00
Florian Kagerer
45fda46cf3
KYRA/LOL: - get rid of ascii/sjis detection which could cause problems when typing savegame names
...
- fixed some minor bugs
svn-id: r44709
2009-10-06 17:22:40 +00:00
Max Horn
f242266f6d
Change a couple places from 'end of namespace' to 'End of namespace', for consistency
...
svn-id: r44634
2009-10-04 21:26:33 +00:00
Johannes Schickel
03a26923c9
Implemented support for drawing 8x16 chars from our custom SJIS font.
...
svn-id: r44486
2009-09-30 14:53:07 +00:00
Johannes Schickel
1b94303b78
Update SJIS code to read SJIS.FNT version 2 data (no support for drawing ASCII and half-width katakana glyphs yet).
...
svn-id: r44483
2009-09-30 13:07:12 +00:00
Johannes Schickel
cf336367e5
Change SJIS code guard to also check whether dynamic plugins are enabled.
...
svn-id: r43318
2009-08-12 14:02:18 +00:00
Johannes Schickel
df7e4ad7ec
Add a todo to FontSJIS::drawChar taking an Graphics::Surface.
...
svn-id: r42824
2009-07-26 14:40:44 +00:00
Johannes Schickel
ec67b583b0
Add way to overwrite default SJIS font.
...
svn-id: r42819
2009-07-26 14:18:34 +00:00
Johannes Schickel
be9c906c72
Specify that the chars passed to FontSJIS::drawChar should be little endian.
...
svn-id: r42818
2009-07-26 14:18:21 +00:00
Johannes Schickel
ebc74a7c9b
Add a factory method, which tries to open different SJIS fonts/ROMs and returns a font for the first present data.
...
svn-id: r42816
2009-07-26 14:17:54 +00:00
Johannes Schickel
cb960ad976
Change the way the font data for SJIS fonts is load.
...
svn-id: r42815
2009-07-26 14:17:40 +00:00
Johannes Schickel
0a612f40eb
Add support for our custom SJIS font.
...
svn-id: r42813
2009-07-26 14:17:06 +00:00
Johannes Schickel
712e0c80ea
Create base class FontSJIS16x16 for our own SJIS font.
...
svn-id: r42812
2009-07-26 14:16:51 +00:00
Filippos Karapetis
a0a675e42d
Reverted commit #42257 , as the original issue was with the compilation process of MSVC and the ENABLE_* checks work correctly
...
svn-id: r42289
2009-07-09 15:15:49 +00:00
Filippos Karapetis
570d157ff3
The ENABLE_* flags are only checked for *.cpp files in MSVC, so move the ENABLE_* checks to sjis.cpp to fix compilation under MSVC
...
svn-id: r42257
2009-07-08 07:13:56 +00:00
Johannes Schickel
832540f64f
Simply compile guard of SJIS code and fix comment.
...
svn-id: r42234
2009-07-07 19:18:32 +00:00
Johannes Schickel
2a117d9a90
Add guards to only include SJIS font code, when KYRA or SCI is enabled.
...
svn-id: r42233
2009-07-07 19:00:51 +00:00
Johannes Schickel
e35dd4df1c
Change "FM-Towns" to "FM-TOWNS" for consistency.
...
svn-id: r42232
2009-07-07 19:00:39 +00:00
Johannes Schickel
8c65d4d4a9
- Rename FontSJIS::enableShadow to enableOutline.
...
- Initialize outline to false by default in FontTowns.
svn-id: r42231
2009-07-07 18:17:30 +00:00
Johannes Schickel
62eebc3e17
- Added support for outlined FM-Towns ROM drawing
...
- Adapted KYRA to use that
svn-id: r42230
2009-07-07 18:10:35 +00:00
Johannes Schickel
8623081666
Add generic functionallity to draw FM-Towns ROM. (To be used by KYRA and SCI)
...
svn-id: r42221
2009-07-07 14:22:23 +00:00