Commit Graph
23 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Eugene Sandulenko bf1b6a35aa AGI: Do not use Hercules font for Cyrillic titles. Addresses bug #12745 2021-08-17 19:29:17 +02:00
Eugene Sandulenko e8b2a5456a AGI: Switch to AmigaFont 2021-04-15 17:45:38 +02:00
Zvika Haramaty a4befd9a1e AGI: Issue GUI warning when there is a missing Hercules font 2020-08-21 00:08:19 +02:00
Torbjörn Andersson 9d4216e158 AGI: Fix small memory leak in Hercules font loader 2016-02-28 14:34:22 +01:00
Martin Kiewitz 953c26cbf6 AGI: Disable font loading from HGC_GRAF.OVL (AGI3)
It seems Sierra basically put a low res font in there, so
it's useless. We should rather directly use the PC BIOS font
in those cases. The code could be useful at some point in case
we add support for the AGI3 Hercules rendering, although I think
it looks worse, because graphics are basically "compressed".
2016-02-28 11:56:48 +01:00
Martin Kiewitz 7a169c90f6 AGI: Hercules rendering for game screen 2016-02-28 11:23:31 +01:00
Martin Kiewitz e1c36a52b5 AGI: Add support for upscaling and Hercules hires font
- User option to force Hercules hires font for any rendering mode
- Also change mouse cursor hotspots from 1,1 to 0,0
- Fix inaccuracy in mouse controlled game menu
- Change render_Block(), drawBox(), drawDisplayRect() to use
  upper Y instead of lower Y. Original AGI uses lower Y, but
  upper Y makes upscaling way easier.
2016-02-27 21:44:21 +01:00
Martin Kiewitz 7807bcb76b AGI: Fix warning 2016-02-09 20:22:06 +01:00
Martin Kiewitz f5a83adc01 AGI: Fix various CIDs
CID 1350104: regression from graphics rewrite in C64 picture drawing
CID 1350101: potential buffer overflow in set.simple command
CID 1350112: uninitialized variable in TextMgr
CID 1350113: false positive uninitialized variable in SystemUI
CID 1350114: potentially uninitialized variable in IIgsSample
CID 1350117: false positive uninitialized variable in InventoryMgr
CID 1350103: code bug in CGA rendering TextMgr::charAttrib_Set()
CID 1350109: false positive in GfxFont::loadFontAmigaPseudoTopaz()
CID 1350111: original AGI uninitialized memory issue
             in SpritesMgr::showObject
2016-02-09 12:47:45 +01:00
Johannes Schickel 6778175f6d AGI: Fix formatting.
This mostly enforces tabs for indentation and spaces for formatting. But also
fixes spaces on empty lines, some extra/missing spaces.

astyle + manual fixup
2016-02-02 20:15:18 +01:00
Martin Kiewitz 5acce8276e AGI: changed debug msg VGA font -> PC BIOS font 2016-02-02 11:04:08 +01:00
Martin Kiewitz 60cd621b74 AGI: fix warnings 2016-01-31 23:13:19 +01:00
Martin Kiewitz 121415ef1f AGI: rename VGA font to PC BIOS font
probably more accurate
2016-01-31 14:14:33 +01:00
Martin Kiewitz 143fb9458f AGI: added/improved font debug output 2016-01-31 13:58:10 +01:00
Martin Kiewitz 6baadff8d3 AGI: font cleanup
We now only offer the original VGA font (a few characters
were modified) and overwrite the extended set range with a
Russian set, when needed.
2016-01-31 13:49:42 +01:00
Martin Kiewitz 855059ca05 AGI: font loader support for Atari ST font 2016-01-29 21:13:33 +01:00
Martin Kiewitz 72161adf1c AGI: overwrite save restore dialog font character
Overwrite it, to make sure that original save/restore dialogs
look properly.
2016-01-29 17:14:49 +01:00
Martin Kiewitz 614884ed39 AGI: support for user-supplied font-file
agi-font-atarist.bin -> used for platform Atari ST
agi-font-amiga.bin -> used for platform Amiga
agi-font-dos.bin -> used for platform DOS
agi-font-fanmade.bin -> used for fan-made games

That way users can get a more accurate font.
2016-01-29 16:43:15 +01:00
Martin Kiewitz 0c2de08155 AGI: new font class created
moved font stuff into GfxFont class
removed Mickey Mouse font data (is loaded from mickey.exe)
2016-01-29 16:18:31 +01:00
David Symonds 994604527b Finish restructuring font data header for const correctness.
svn-id: r25100
2007-01-16 09:24:13 +00:00
Paweł Kołodziejski 20cf952b68 removed defines USE_PCM_SOUND, AGDS_SUPPORT, USE_HIRES
svn-id: r22609
2006-05-24 14:00:08 +00:00
Paweł Kołodziejski 107073537e imported AGI engine
svn-id: r22588
2006-05-23 23:43:52 +00:00