Eugene Sandulenko
31100637fa
GRAPHICS: OPENGL: Refactor for adding possibility to avoid calling error() directly
2022-10-08 23:39:18 +02:00
Eugene Sandulenko
18c88fabfe
GRAPHICS: Add possibility to specify dithering algorithm. Default is Floyd-Steinberg
2022-09-28 23:02:05 +02:00
Eugene Sandulenko
ff9313056d
GRAPHICS: Implement dithering in Surface::convertTo()
2022-09-28 22:38:08 +02:00
Scott Percival
095ae06405
COMMON: Refactor MacResManager::load* methods to accept a pointer
...
Previously the methods would pass by reference, then convert to a
pointer on success and take ownership. This isn't ideal, as a
reference suggests no transferral of ownership, and doesn't suggest
it needs to be a heap resource allocated by new.
2022-09-25 10:35:03 +02:00
Roland van Laar
034a5efe98
DIRECTOR: Fix memory leak in registered FONDs
...
References to FOND resource streams are stored in an array.
Font streams were registered by their family name in a hashmap.
When a second font with the same name was encoutered it would replace
the pointer to the previous font.
The only use case for the hashmap was to register the stream to be able
to later close them.
2022-09-24 16:37:27 +02:00
Roland van Laar
82142000c6
GRAPHICS: MACGUI: leave _desktopBmp as a nullptr
...
Make sure _desktopBmp can be checked to be a nullptr.
2022-09-20 23:19:08 +02:00
Roland van Laar
c537cd9ca6
GRAPHICS: MACGUI: Fix memory leak
...
Clean up _desktopBmp before it's reallocated again.
2022-09-20 23:12:09 +02:00
Roland van Laar
b517ab6635
GRAPHICS: MACGUI: Fix memory leak in scaleFont
...
Free all surfaces after use.
2022-09-20 11:04:58 +02:00
Eugene Sandulenko
8db0f22a22
GRAPHICS: Change drawRect1 in primitives to fix corner pixel issues
2022-09-19 00:38:28 +02:00
Paweł Kołodziejski
4cea5706d0
GRAPHICS, OPENGL: Fixed static analysis issue report
2022-09-18 17:30:57 +02:00
Le Philousophe
8ec9835358
GRAPHICS: Initialize _japaneseFontsLoaded before it's used
2022-09-18 16:15:56 +02:00
Le Philousophe
5774811be8
GRAPHICS: Don't dereference a null pointer
2022-09-18 16:15:56 +02:00
Le Philousophe
e020710d5d
GRAPHICS: Free WinFont when erroring out
2022-09-18 16:15:56 +02:00
Cameron Cawley
74cead5dd9
GRAPHICS: Add crossKeyBlit and crossKeyBlitMap
2022-09-17 12:04:49 +02:00
Paweł Kołodziejski
d9d0dfa20d
GRAPHICS, OPENGL: Updated GLAD and added EXT_texture_compression_s3tc
2022-09-11 11:43:13 +02:00
Eugene Sandulenko
70721f9a59
GRAPHICS: MACGUI: Sync methods with their prototypes
2022-09-09 17:43:35 +02:00
Pragyansh Chaturvedi
842fe20c5e
DIRECTOR: Modify decomposeColor to fix missing text in buttons in 32bpp mode
2022-09-09 02:21:47 +02:00
Pragyansh Chaturvedi
e439beece7
GRAPHICS: Bump color parameter to uint32 type for functions using it
2022-09-09 02:21:47 +02:00
AndywinXp
16661b2109
GRAPHICS: Add function to create thumbnail without binding it to a output stream
2022-09-08 19:10:42 +02:00
Avijeet
26c3c4f160
MACVENTURE: Invert exit window's color when active
2022-09-04 20:30:02 +02:00
Cameron Cawley
1ff3dba936
GRAPHICS: Support 8bpp formats with the Normal scaler
2022-08-25 21:46:35 +01:00
Eugene Sandulenko
b697ad6cfa
GRAPHICS: MACGUI: Improved debug output
2022-08-22 17:39:47 +02:00
Le Philousophe
12df7f3767
GRAPHICS: Fix uint vs uint32 discrepancies
2022-08-22 13:09:45 +02:00
Eugene Sandulenko
ba4a260e9e
GRAPHICS: MACGUI: Use uint32 for color information
2022-08-20 22:12:29 +02:00
Eugene Sandulenko
4bce66edbb
GRAPHICS: MACGUI: Fix warnings
2022-08-05 20:20:53 +02:00
Avijeet
a21afb29b1
GRAPHICS: MACGUI: Reduce duplicated code in MacTect::render
2022-08-05 20:17:23 +02:00
Avijeet
ff1f5712e3
PINK: Fix reversed hebrew text
2022-08-05 20:17:23 +02:00
Avijeet
4f3dc247e4
GRAPHICS: MACGUI: Handle EVENT_QUIT properly in MacDialog
2022-08-05 20:15:03 +02:00
Avijeet
1ad34487ee
GRAPHICS: MACGUI: Remove unnecessary headers from macdialog.h
2022-08-05 20:15:03 +02:00
Avijeet
033bc00cd1
GRAPHICS: MACGUI: Poll events in MacDialog itself
2022-08-05 20:15:03 +02:00
Avijeet
1b955dc90c
GRAPHICS: MACGUI: Refactor MacDialog to not use WAGE functions
2022-08-05 20:15:03 +02:00
Avijeet
2c905885c4
GRAPHICS: MACGUI: Fix text alignment for MacDialog
2022-08-05 20:15:03 +02:00
Avijeet
c4ede93e79
WAGE: Add about screen
2022-08-05 20:15:03 +02:00
Avijeet
27f48f6d41
GRAPHICS: MACGUI: Use MacText in MacDialog
2022-08-05 20:15:03 +02:00
Avijeet
ac847e4117
GRAPHICS: MACGUI: Refactor wage/dialog.cpp to macgui/macdialog.cpp
2022-08-05 20:15:03 +02:00
Avijeet
dc52ccaec9
GRAPHICS: MACGUI: Enable blinking cursor on input line
2022-08-05 20:15:03 +02:00
Avijeet
920a925265
GRAPHICS: Round border length to nearest interger
2022-08-05 20:15:03 +02:00
Avijeet
c0cf312748
GRAPHICS: MACGUI: Account for characters having 1 white space around them
2022-08-05 20:15:03 +02:00
Avijeet
efea402993
GRAPHICS: MACGUI: Don't consider right and bottom edges while drawing round rect
2022-08-05 20:15:03 +02:00
Avijeet
94efaeb278
GRAPHICS: MACGUI: Draw SubMenu over copy of game screen
2022-08-05 20:15:03 +02:00
Avijeet
02194c87af
GRAPHICS: MACGUI: Make MacText editable when MacTextWindow is editable
2022-08-05 20:15:03 +02:00
Avijeet
d933b504ed
GRAPHICS: MACGUI: Change MacText's dimensions when MacTextWindow's dimensions are changed
2022-08-05 20:15:03 +02:00
Avijeet
007cc0a5c0
GRAPHICS: MACGUI: Scroll MacText whenever MacTextWindow is scrolled
2022-08-05 20:15:03 +02:00
Eugene Sandulenko
f67d9fb70c
GRAPHICS: MACGUI: Fix regression in WM mode setting
2022-08-01 18:41:07 +02:00
Avijeet
77810fed70
GRAPHICS: MACGUI: Limit submenu width to 200
2022-07-31 18:33:22 +02:00
Avijeet
154bcf414a
GRAPHICS: MACGUI: Enable all menus in win95 mode
2022-07-31 18:33:22 +02:00
Avijeet
5e5dd3f399
GRAPHICS: MACGUI: Fix signed/unsigned mismatch
2022-07-31 18:33:22 +02:00
Avijeet
c031566369
GRAPHICS: MACGUI: Add removeMenuItem
2022-07-31 18:33:22 +02:00
Avijeet
82688d5fb5
GRAPHICS: MACGUI: Add insertMenuItem
2022-07-31 18:33:22 +02:00
Avijeet
cd985e2a7f
GRAPHICS: MACGUI: Add flag to enforce mac font in win95 mode
2022-07-31 18:33:22 +02:00