Commit Graph
45 Commits
Author SHA1 Message Date
Eugene Sandulenko fb7095f5a4 COMMON: Move all compression-related files to a separate directory 2022-12-01 11:53:02 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Filippos Karapetis 2f6d499349 ZVISION: Use the liberation fonts by default
These do not exhibit some of the glitches seen with the GNU FreeType
fonts in zvision games
2020-08-30 15:27:15 +03:00
Cameron Cawley 00e3c03755 ALL: Remove unnecessary graphics/colormasks.h includes 2020-06-15 16:59:34 +01:00
Cameron Cawley 1953aa7064 ZVISION: Attempt to load fallback fonts from fonts.dat 2018-12-25 12:47:42 +01:00
Eugene Sandulenko 0e55160cd0 ZVISION: Reuse UTF8->UTF32 converter from Common 2018-06-18 00:08:11 +02:00
Eugene Sandulenko fab199d37e JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
Bastien Bouclet 68be74e0a3 ZVISION: Use the cell size mode when loading TrueType fonts 2015-12-21 18:41:14 +01:00
Bastien Bouclet 2d86f6da9c GRAPHICS: Introduce a size mode for TrueType fonts
Allows to match Windows font size selection by converting font heights
to point sizes using the TrueType tables.
2015-12-21 18:41:14 +01:00
David Russo e323853598 ZVISION: Reorganize detection data
Migrated static detection data to detection_tables.h
and removed the need for detection.h includes. Also
edited game option descriptions.
2015-07-07 15:24:26 +01:00
David Russo fdc4edfa99 ZVISION: Correct code style 2015-07-07 15:24:25 +01:00
Matthew Hoops ddf170de4a ZVISION: Silence gcc warnings 2015-04-11 16:12:47 -04:00
RichieSams 52adf5135b ZVISION: Check for point and style changes when early breaking from a font change 2015-02-14 12:06:30 -06:00
RichieSams a851fa8e1a ZVISION: Refactor text rendering code in order to fix word wrapping
and clarify the logic. Fixes bug #6801
2015-02-11 15:13:19 -06:00
Torbjörn Andersson b7b4e9cc58 ZVISION: Draw transparent text in original save dialog
Before this change, text was drawn in black boxes in Zork Nemesis,
so while this does make it look better (and more like the original)
this may actually make the text slightly harder to read. The
original dialogs allowed only upper-case letters, but I think that
it's better to leave that to the player.
2015-02-08 10:13:18 +01:00
Torbjörn Andersson 5a6f711d07 ZVISION: Convert subtitles to UTF-32 before rendering them (bug #6772)
Because we use Common::String to store UTF-8 data, the font
renderer will draw the wrong glyphs for non-ASCII characters,
unless we first convert the string to UTF-32. (I thought the same
change would have to be made for the ZGI game over screens, but
apparently they work anyway. At least the German version, I'm told.)

I've discussed this change with [md5], and while it would probably
be more correct to make the engine use UTF-32 throughout, that is
also rather painful.
2015-01-20 23:41:59 +01:00
Filippos Karapetis 1b829b95b4 ZVISION: Add support for Liberation Fonts
These look better than the GNU FreeType fonts, and are thus preferred
over them. Many thanks to eriktorbjorn for his work on the different
fonts available

Also, this commit cleans up the font style array, moving it back into
the CPP file
2015-01-13 03:08:35 +02:00
Torbjörn Andersson b247515c58 ZVISION: Check eos() after reading from stream, not before
This fixes stray character in ZGI game over screen, when it reads
an empty line of text.
2015-01-12 06:47:12 +01:00
Filippos Karapetis 3f4c924c9e ZVISION: Check for all the required fonts before starting a game 2015-01-12 02:37:53 +02:00
Filippos Karapetis 5b3705660d ZVISION: Avoid using floating point math when upscaling subtitle timing
Spotted by clone2727
2015-01-11 04:51:07 +02:00
Filippos Karapetis 899cf4813c ZVISION: Change screen resolution for the hires DVD videos to 800x600
Also, this hooks up the MPEG-PS decoder, but only if libmpeg2 is
compiled in. The DVD videos are still disabled until AC3 audio support
is implemented.
The hires DVD videos are encoded a 720x480 resolution, with double the
frame rate of the lowres ones (29.97FPS up from 15FPS)
2015-01-10 21:32:15 +02:00
Filippos Karapetis fb135b38ed ZVISION: Cleanup 2015-01-07 11:42:26 +02:00
Matthew Hoops 34ec4ed6b5 ZVISION: Really fix truetype_font.cpp newlines
They are now all LF.
2015-01-01 17:36:12 -05:00
Filippos Karapetis 0c54278f6c ZVISION: Fix newline in truetype_font.cpp 2015-01-02 00:28:20 +02:00
Marisa-Chan 47b90ef3cd ZVISION: Search fonts in game directory (e.g. in game/FONTS/) 2014-12-30 01:33:47 +02:00
Filippos Karapetis db37cfb1b0 ZVISION: Remove duplicate blitting code for images and animations 2014-12-26 22:30:32 +02:00
Filippos Karapetis e8e21fabe4 ZVISION: Set all the internal graphics operations to use RGB555 (1/2)
This is the first part of the changes to make the engine use RGB555
internally again. This is done to simplify the rendering pipeline -
the engine will use RGB555 internally, but will output to RGB565.
The overall changes have been broken into two commits, thus this
first commit will break all the game colors
2014-12-24 22:56:55 +02:00
Filippos Karapetis 490382098e ZVISION: Disable more unused code 2014-12-23 11:06:39 +02:00
Filippos Karapetis 9f1fd0dbff ZVISION: Disable unused code 2014-12-23 11:03:57 +02:00
Filippos Karapetis 7aeeeabba9 ZVISION: Add a comment about the special 0xCCCC character 2014-12-23 01:57:37 +02:00
Filippos Karapetis 15154641ac ZVISION: Move all of the text related code together 2014-12-23 01:53:40 +02:00
Filippos Karapetis 6a53c7cac1 ZVISION: Ignore the special 0xCCCC character in subtitles
This seems to be used as a newline character
2014-12-23 01:45:44 +02:00
Filippos Karapetis b51852c641 ZVISION: Error out when the game string file isn't found 2014-12-22 02:58:18 +02:00
Filippos Karapetis 85644b8879 ZVISION: Prefix some class member variables with an underscore 2014-12-22 00:54:08 +02:00
Marisa-Chan f4fe0b008f ZVISION: Delete unused code 2014-12-19 10:46:43 +06:00
Filippos Karapetis 003269dc36 ZVISION: Fix the display of state variables, such as the high score
Common::String::format() was used incorrectly. Also, state variables
were handled incorrectly in the TTY text parser
2014-12-16 11:08:40 +02:00
Filippos Karapetis d8a961244d ZVISION: Move all the file-related classes together 2014-12-16 01:58:56 +02:00
Filippos Karapetis f0ce0b498f ZVISION: Move the TruetypeFont class 2014-12-03 02:29:08 +02:00
Filippos Karapetis 2a4a6df5f2 ZVISION: Remove superfluous spacing and reorder some includes 2014-12-03 01:12:35 +02:00
Filippos Karapetis 11d41ace02 ZVISION: Use the ScummVM defined type int32, instead of int32_t 2014-12-03 00:52:11 +02:00
Marisa-Chan 5b352da304 ZVISION: More CamelCase and a bit of comments cleanup 2014-11-20 14:48:24 +06:00
Marisa-Chan 49fc9eb5e6 ZVISION: Define ID's for system strings 2014-08-04 16:41:08 +07:00
Marisa-Chan ce248644b8 ZVISION: Fix drawTxt y-position. 2014-07-12 21:41:49 +00:00
Marisa-Chan 9dd9bfce80 ZVISION: String manager only load text lines without parsing text styles. 2014-07-12 21:38:11 +00:00
Marisa-Chan 23c1b50861 ZVISION: Reorgonize source files into directories. 2014-07-02 19:50:55 +00:00