1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-20 04:09:16 +00:00
Commit Graph

19 Commits

Author SHA1 Message Date
a0bbef1819 Undo the kRenderJustXForceLeft bugfix of 4 commits back.
The fix (adding adjustment of fRenderInfo.fDestPtr) made kRenderJustXForceLeft behave as intended (left-aligning the edge of the bitmap rather than the side bearing of the first character) but cuts off shadows in some places (e.g. at the left edges of "BUDDIES" and "NEIGHBORS" in the mini KI). To ensure enough space for the shadow, and considering that all content was developed and visually optimized with the bug in place, it seems better to preserve the buggy behavior and make kRenderJustXForceLeft work exactly like kRenderJustXLeft.
2014-04-06 17:19:42 +02:00
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.
2013-07-04 20:13:03 -04:00
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.
2012-01-25 22:16:19 +01:00
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.
2011-12-30 15:10:47 +01:00
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.
2014-04-03 22:17:45 +02:00
48ded426a9 Merge msvc10 into cursors2 2012-06-24 16:01:01 +02:00
82857fb0bb Update9 for MSVC10
Fix some includes.
2012-04-22 15:22:03 +10:00
5a1b5bf055 Update5 for MSVC10
Funtion pointers use address of fully qualified name.
2012-04-22 13:21:52 +10:00
bc74371c57 Update2 for MSVC10
Add missing type specifiers.
2012-04-22 12:50:08 +10:00
1d23f50bf6 Merge open source re-licensing into added files
(from git 4f01583)
2012-04-09 23:35:26 +02:00
f67e52eeb2 Change indentation to tabs and line endings to CRLF on the added files, to match the rest of the code. 2012-04-09 23:21:13 +02:00
16a6b8a28e Open source re-licensing 2011-10-20 15:20:01 -07:00
6538d78d9f Fix for plPNG::IRead improperly handling 24-bit RGB and non-transparent paletted images. 2011-06-25 20:22:53 -07:00
7998b3bcc4 Fix for plPNG::IRead not reading final end block of image. 2011-05-30 16:44:46 -07:00
7af3a02c66 AStyle formatting fixes. 2011-05-11 00:17:55 -07:00
7523f6fa1f Add PNG write support to plPNG. 2011-05-10 23:47:27 -07:00
8cee080878 Add PNG read support to plPNG. 2011-05-09 22:09:27 -07:00
3e34e30308 Add libPNG support stubs. 2011-05-07 15:37:35 -07:00
a20a222fc2 Initial Commit of CyanWorlds.com Engine Open Source Client/Plugin 2011-03-12 12:34:52 -05:00