Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
These are flagged by GCC if -Wswitch-default is enabled.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This has a similar issue to the Palette structure and thus this will
avoid possible unstable uninitialized bugs which could be very hard
to track down or replicate.
|
|
This is used for outPalette in sci/graphics/palette32 code without
calling through the nominal constructor which leaves the various
fields _possibly_ uninitialised and thus triggers various compiler
warnings. Adding a default constructor fixes the root cause.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Byte did not allow to have 256 color palettes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Bug #7050
|
|
This removes the usage of memset to clear complex structures and replaces
them with constructor methods for the structures which will be executed
when these are instantiated.
|
|
|
|
|
|
|
|
Graphics::Cursor
|
|
|
|
The new arguments are optional. The lines segments will be close to the same width.
The algorithm is similar to the one we had for Blade Runner but not exactly the same, since that one would wrap a line at a white space after the theoretical split point (quotient of full line text width divided by target lines number)
|
|
|
|
We want the srcRect size and not the original surface size
|