#4869: Change radar size calculation
-------------------------------------------------+-------------------------
 Reporter:  Forgon                               |             Owner:
     Type:  patch (an actual patch, not a        |            Status:  new
  request for one)                               |         Milestone:
 Priority:  normal                               |  unspecified
Component:  other                                |           Version:
 Keywords:                                       |  git/master
 Blocking:                                       |        Blocked By:
                                                 |  Operating System:  All
                                                 |  /Non-Specific
-------------------------------------------------+-------------------------
 The simplified radar size calculation introduced in ticket #4689 led to
 many
 user complaints about the radar being:
 * too small
 * partly outside of the game window when rotating it
 * of different sizes in pre-offworld and offworld missions

 Just as before commit 619e84d56189f45138ff18b3aea733dc15d9ca0c the radar
 should
 * be centered when rotating to avoid breaking the game window
 * be scaled down to a predefined size rather than tile size

 Different radar sizes change their meaning:
 * size 8 is now equal to the size of the reticule area in the lower left
   corner of the screen, without breaking the layout in any way whatsoever.
 * size 48 is the new default size and equal to 30% of the screen width.

 In addition, the radar's offset from the lower right corner of the game
 window
 has been decreased so that it visually aligns with other widgets.

 Unfortunately, preventing rotating radar from being partially outside of
 the
 game window requires to increase its side length by the square root of 2
 and
 looks irritating. I have nevertheless implemented this change so that I
 can get
 feedback on how exactly radar rotation is supposed to behave.

--
Ticket URL: <http://developer.wz2100.net/ticket/4869>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project

_______________________________________________
Warzone2100-project mailing list
Warzone2100-project@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/warzone2100-project

Reply via email to