Difference between revisions of "User:Alink"

From The Battle for Wesnoth Wiki
(Icons in the status bar)
(Text rendering)
Line 12: Line 12:
 
== Text rendering ==
 
== Text rendering ==
 
* Fix the imprecise wrapping when using special format characters and don't even watch size variation.
 
* Fix the imprecise wrapping when using special format characters and don't even watch size variation.
* Do something about wrapping of language not using spaces (fix tag use or add a new wrap parameter for language): http://www.wesnoth.org/forum/viewtopic.php?p=228337#228337
+
* Do something about wrapping of language not using spaces (add a new wrap parameter for language: CJK or wrap-letter): http://www.wesnoth.org/forum/viewtopic.php?p=228337#228337
  
 
== hp/xp bars ==
 
== hp/xp bars ==

Revision as of 16:36, 14 May 2007

I'm just starting this page, so for the moment, there is only the essential current things

Current projects

Icons in the status bar

  • Modify themes to add space for the new flag icon (from 16 pixels to 24). For better visibility of the playing side, because a rectangle is better for a flag and the images ave already this size (so they are shrinked). Done for the default theme.
  • Use standard size (16x16, 24x16) for the icons instead of 15x15. Done, except for the flag-icons.
  • Remove a "feature" of the theme engine which delete transparent part of icons and strech them regardless of their proportions.
  • Add support and nice icons for other resolutions (tiny-gui). Need to do previous point before and take care of the automatic resizing during the tiny-gui install
  • Try to graying icons during opponent's turn. https://gna.org/bugs/?9058

Text rendering

hp/xp bars

Replace this old, complex, buggy(zoom), hard-coded code of bars ( https://gna.org/bugs/?4931 ). I plan to use an all images-based system for easy configuration and customization. Current prototype works fine except and seems powerfull. Except this stupid alpha variation of the filled part of the bar. So on standby, 3 currents options:

  • Drop the alpha variation.
  • Use a little expensive adjust_alpha for the special cases.
  • Use new bars (and so a different set of images) when highlighting an unit. This will also allow some fancy things like bigger bars etc... but need more memory (a dozen of images)

Future projects

  • Do some tweaking about the mousewheel scrolling
  • Polish the drag&drop
  • Try again the grab-map feature for scrolling
  • Starting to replace coloUr by color in the code
  • Continue to improve zoom
  • Optimize the image cache system
  • Optimize some sdl_utils functions
  • Desynchronize flags of villages
  • Change this bad system of special characters to a tag system. Or at least, use a better characters choice (using "{" for normal text is really a bad idea for macros)