4366 Commits

Author SHA1 Message Date
Eugene Sandulenko adbeacf1ae GRAPHICS: MACGUI: Fix crash in MacText with scrolling
Introduced in a3fd645, and was visible in Total Distortion bookshelf
2026-05-17 10:32:48 +02:00
Cameron Cawley 71a581288e GRAPHICS Add a fast path for RGB565<->BGR565 conversion 2026-05-09 23:55:23 +02:00
Lothar Serra Mari 1c59d361cf GRAPHICS: Fix compilation in VectorRenderer 2026-05-06 13:04:01 +02:00
Eugene Sandulenko d455995572 GUI: Prevent potential negative radius for border.
Fixes bug #15587
2026-05-06 12:45:36 +02:00
Cameron Cawley a3fd645179 GRAPHICS: MACGUI: Support rendering with any 8/16/32bpp pixel format 2026-05-05 13:45:11 +02:00
Giovanni Cascione 545569a73c GRAPHICS: MACGUI: early return on font generation failed
Abort font generation early on failure to avoid leaving partially initialized MacFont instances and subsequent NULL dereferences.
2026-05-05 01:28:57 +02:00
Cameron Cawley 97c44f64d0 ENGINES: Ensure that in-game cursors are scaled on high DPI displays 2026-05-03 12:02:10 +03:00
Cameron Cawley 1f95ebe5ac ENGINES: Use CursorMan.showMouse instead of directly calling OSystem 2026-05-03 10:07:00 +03:00
neuromancer a6056fe555 COLONY: added basic shaders support for 2d primitives 2026-04-30 18:55:53 +02:00
Le Philousophe 7be89a3abc GRAPHICS: Fix BDF font rendering when x is negative 2026-04-26 11:55:32 +02:00
Le Philousophe b49cb8e61f GRAPHICS: Don't call Font::drawChar if the char is too far left
The call will be a noop as the font code is epxected to not write if the
right of the char is negative.
2026-04-26 11:55:32 +02:00
Miro Kropacek adb53dc3db CONFIGURE: Don't put ATARI in config.h / config.mk
The former lead to nasty bugs if config.h isn't included and the latter
can be easily replaced with ifeq ($(BACKEND),atari).
2026-04-21 14:27:47 +10:00
Scott Percival 7d673a0dda MACGUI: Include line breaks in MacText::getChunkPosFromIndex
Fixes offsets of text colouring in Mission to Planet X.
2026-04-18 22:17:25 +02:00
Scott Percival c72d00db53 MACGUI: Revert getMouseItem and getMouseWord to use getRowCol
Fixes putting the oxygen mask on before asphyxiating in Journeyman Project.
2026-04-18 22:17:25 +02:00
Scott Percival 73582ae9e7 GRAPHICS: Fix crash in MacFont renderer
The modification for the kerning offset needs to be before the bounds
rectification, or else the code will try and access invalid memory.

Fixes heap overflow on the Mars colony death screen in Journeyman
Project.
2026-04-18 22:17:25 +02:00
Cameron Cawley 583ebb1147 GRAPHICS: Always use simpleBlitFrom in VectorRendererSpec 2026-04-14 18:46:14 +03:00
Cameron Cawley 8a01c2a0b0 GUI: Use Common::SharedPtr for reusing surfaces 2026-04-14 18:46:14 +03:00
Cameron Cawley 70050f9d0c GRAPHICS: Remove duplicate scaling function 2026-04-14 18:46:14 +03:00
Eugene Sandulenko f614128b5d GRAPHICS: MACGUI: Final fixes for drawing masked MacText with scrollbar 2026-04-14 14:49:12 +02:00
Eugene Sandulenko ff7fac3644 GRAPHICS: MACGUI: Do not override getSurface() in MacText 2026-04-14 14:49:11 +02:00
Eugene Sandulenko d6810bb49e GRAPHICS: MACGUI: Fixes for masked MacText scrollbar rendering 2026-04-14 14:49:11 +02:00
Robert Megone 33894ae504 AGOS: Move topaz 9 double height draw from AGOS to amigafont 2026-04-13 17:10:32 +03:00
Robert Megone 635d855848 AGOS: PN Amiga improvements and quick save/load 2026-04-13 17:10:32 +03:00
Eugene Sandulenko bfd65a257e GRAPHICS: MACGUI: Create MacText border mask 2026-04-11 22:49:02 +02:00
Eugene Sandulenko b5e9e7aa1a GRAPHICS: Add mask drawing mode to 9-patch 2026-04-11 22:49:02 +02:00
Cameron Cawley 779980fd76 GRAPHICS: Check the return value when clipping in ManagedSurface functions 2026-04-08 16:58:20 +01:00
Donovan Watteau 00cafb0a59 JANITORIAL: GRAPHICS: MACGUI: Fix 404 HTTP resource 2026-04-07 20:09:45 +02:00
Cameron Cawley f5acbd6d62 3DS: Move custom XRGB1555->RGBA5551 conversion path to common code 2026-04-06 08:08:39 +03:00
Cameron Cawley b66cc85b0d OPENGL: Move custom XRGB1555->RGB565 conversion path to common code 2026-04-06 08:08:39 +03:00
Cameron Cawley 43f42b8db2 GRAPHICS: Split out dirty rectangle tracking from Graphics::Screen 2026-04-06 00:32:17 +02:00
Cameron Cawley b1beb6fedd GRAPHICS: Add missing override keywords for Graphics::Screen 2026-04-03 18:15:07 +01:00
neuromancer b1a8eb66ea GRAPHICS: MACGUI: allow to query cursor data 2026-04-03 15:31:42 +02:00
neuromancer b1d4c6bca7 COLONY: restart game popup fixes 2026-04-03 15:31:42 +02:00
neuromancer 6ce1a95141 GRAPHICS: MACGUI: allow to skip g_system->copyRectToScreen (for 3D game backends) 2026-04-03 15:31:24 +02:00
StoneVerve 668daec6a1 GRAPHICS: MACGUI: Do not use bilinear filtering for MacText images
Improves speed in the Help Dialog
2026-03-18 16:41:45 +01:00
StoneVerve 09bf226e1a GRAPHICS: Enhance ImageArchive API with filtering setting 2026-03-18 16:41:45 +01:00
Mohit Bankar 448e8b3b62 GUI: Fix anti-aliased font rendering for RichTextWidget
Add configurable TTFRenderMode to MacFontManager
(default monochrome).

RichTextWidget temporarily uses
kTTFRenderModeLight when creating MacText,
then restores the previous mode.
2026-03-05 00:43:03 +01:00
11-andy-11 a7b05751a0 GRAPHICS: Move Hercules palettes to global graphics manager 2026-02-27 20:04:48 +01:00
Robert Megone 521c3d838d AGOS: Simon 1 Acorn - Code formatting convention sync for RiscOSCursor class members 2026-02-26 21:02:30 +02:00
Robert Megone 9bc86f9709 AGOS - Simon 1 Acorn - Tidy up RiscOsCursor class 2026-02-26 21:02:30 +02:00
Robert Megone d3426968d0 AGOS: Simon1 - Fix RISC OS cursor palette 2026-02-26 21:02:30 +02:00
Robert Megone 6bb757574d AGOS: Simon1 - Acorn cursor palette is tiny.
Co-authored-by: Filippos Karapetis <bluegr@gmail.com>
2026-02-26 21:02:30 +02:00
Robert Megone 7dc239444f AGOS: Simon1 - Adjustments to common acorn cursor rendering. 2026-02-26 21:02:30 +02:00
Robert Megone 25140ecc82 AGOS: Simon1 - Move the Acorn cursor in to graphics/riscoscursor.cpp/h 2026-02-26 21:02:30 +02:00
Eugene Sandulenko 05dbeff45a GRAPHICS: MACGUI: Fixed MacText dumping debug code 2026-02-20 23:51:19 +01:00
Paul Gilbert 879088b5e8 GRAPHICS: MFC: Ignore rather than assert on messages with null hWnd
This fixes a rare assert in Hodj n Podj boardgame where a
message could be sent to a freed null hWnd.
2026-02-20 21:02:04 +11:00
Eugene Sandulenko 418f97a952 GRAPHICS: MACGUI: Rename class variables 2026-02-20 01:13:16 +01:00
Eugene Sandulenko fd6ddff123 GRAPHICS: MACGUI: Added two masks to MacText
One mask is for characters-only, and another one for individual
string bboxes
2026-02-20 01:10:55 +01:00
AndywinXp 7b76fa6ceb GRAPHICS: FONTS: Add surface boundary checks to built-in fonts
This affects:
- AmigaFont
- BgiFont
- DosFont
- WinFont
2026-02-11 23:53:58 +01:00
AndywinXp 802abe1a2d GRAPHICS: FONTS: Add allowCharClipping parameter
This parameter allows for drawing the string until the very end of the allowed boundary,
instead of completely skipping the affected characters.
2026-02-11 23:53:58 +01:00