Adam Johnson
3825317e5e
Link shadowed text rendering to the plDynamicTextMap::kFontShadowed flag.
...
Conveniently enough, this existing but unimplemented flag is already set mostly the way we want it in the current PRPs.
12 years ago
Christian Walther
b343e389ab
Implement shadowed text rendering.
...
Intended to make KI text (player list and chat) better readable on light and patterned backgrounds. In this WIP, all text on GUI controls is rendered shadowed.
13 years ago
Christian Walther
e02141055a
Use premultiplied alpha for plDynamicTextMaps on GUI controls.
...
This fixes the irregular dark fringes around light text when not exactly pixel-aligned that are caused by independent interpolation of color and alpha. It also makes calculations simpler for things to come.
13 years ago
Christian Walther
1f0277e3e0
Pixel-accurately clip characters to the available space instead of omitting whole characters that stick out.
...
In addition to being a prerequisite for shadowed text, this also fixes an issue sometimes seen at the bottom of the mini KI player list where characters with a descender were missing.
11 years ago
Christian Walther
ece6e6c063
Build 918 chunk 2: update from CWE-ou
12 years ago
CyanWorlds
46a0cf6206
Build 918
12 years ago
Skoader
82857fb0bb
Update9 for MSVC10
...
Fix some includes.
13 years ago
Skoader
5a1b5bf055
Update5 for MSVC10
...
Funtion pointers use address of fully qualified name.
13 years ago
Skoader
bc74371c57
Update2 for MSVC10
...
Add missing type specifiers.
13 years ago
Christian Walther
1d23f50bf6
Merge open source re-licensing into added files
...
(from git 4f01583)
13 years ago
Christian Walther
f67e52eeb2
Change indentation to tabs and line endings to CRLF on the added files, to match the rest of the code.
13 years ago
CyanWorlds
16a6b8a28e
Open source re-licensing
14 years ago
Joseph Davies
6538d78d9f
Fix for plPNG::IRead improperly handling 24-bit RGB and non-transparent paletted images.
14 years ago
Joseph Davies
7998b3bcc4
Fix for plPNG::IRead not reading final end block of image.
14 years ago
Joseph Davies
7af3a02c66
AStyle formatting fixes.
14 years ago
Joseph Davies
7523f6fa1f
Add PNG write support to plPNG.
14 years ago
Joseph Davies
8cee080878
Add PNG read support to plPNG.
14 years ago
Joseph Davies
3e34e30308
Add libPNG support stubs.
14 years ago
JWPlatt
a20a222fc2
Initial Commit of CyanWorlds.com Engine Open Source Client/Plugin
14 years ago