From The Battle for Wesnoth Wiki
Revision as of 16:34, 14 May 2007 by Alink (talk | contribs) (Icons in the status bar)

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.

Text rendering

hp/xp bars

Replace this old, complex, buggy(zoom), hard-coded code of bars ( ). 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)