Age | Commit message (Collapse) | Author |
|
Selecting whether a clipping variant of a draw call needs to be used is
no longer the responsibility to the caller. The clipping rect is now
part of the state of the renderer.
Also fix some of the draw calls to better apply the clipping rect.
|
|
Since the ampersand is used as an escape character, it is repeated when
it actually appears in the string. Unfortunately, this requires a one
character lookahead which could result in reading beyond the string if
this ampersand is the last character (which would be malformed, but
possible). To avoid an out of bounds read, this is now qualified by
the string length. Trailing ampersands will now be ignored without issue.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|