Change more copies of the window surface to be references
instead. This will make sure they do not contain a stale version that
has a pointer that points to freed memory.
utils::wide_string was a std::vector<wchar_t>
On most unix systems, this is 32 bits wide, and therefore a UCS-4 encoding.
On windows however, wchar_t is 16 bits wide, and the naive approach results
in UCS-2, which can only represent the Basic Multilingual Plane.
Most functions that used wide_string have been moved over to ucs4_string.
The Win32 API has been moved over to a specially created utf16_string instead.
Specialty tolower #ifdefs have been removed, as the towlower function has
been available since OS X 10.3, OpenBSD 3.7 and probably ancient versions of
all other BSDs too. The only issue is that on windows, the function cannot
be applied to characters outside the BMP.
Use clear red/green, as often suggested in forum about my screenshot.
A bit too flashy for my tastes, but let's make the new feature well
visible at first (also to get feedback from color-blind users)
Just add a new Pango style flag and use it to choose between SDL_TTF
or Pango. This allow to easily reuse all the old text functions (word
wrapping etc...) Pango markups are working but not yet allowed in cfg
(help chokes on it)
...unit_type and race in unit sidebars.
Currently uses same colors and indentation as for weapon and its detail.
(for UI visual consistency and cuing importance hierarchy)
This give possibility to use bold titles for tootlips, use bold,
italic and size fonts for map labels, change colors (currently too
powefull since it allow to write labels in the other team colors). Can
also be used to color messages like "poisoned" or "slowed"
PS: Please don't start to use this in WML, it's WIP.
-fix del_tags to span multiple lines
-new method nullify_markup to display error messages containing '#else', etc
-fix an iterator redefinition in the animation code
-add lots of global std namespace fixes for MSVC