Fix some rough edges when handling large pictures or full sheets

- Choose Picture dialog now scales these pictures down to fit in the available space, thus avoiding the ugly overlap issue.
- Choose Picture dialog now supports full sheets, scaling them down in a similar manner
- Due to the above, the Display Picture node now offers a Choose button
- The possibility of large (72x72) dialog pictures is now properly documented
This commit is contained in:
2015-06-28 20:13:33 -04:00
parent f6d9ac7633
commit 860cf9d5dd
6 changed files with 72 additions and 23 deletions

View File

@@ -385,6 +385,7 @@ void cSpecial::append(legacy::special_node_type& old){
// J - Choose button to select a quest status
// < - Choose button to select a cardinal direction
// ~ - Choose button to select a weapon enchantment
// _ - Choose button to select a full sheet
// 0..9 - Choose button to select a specific type of picture
// (terrain, monster, dialog, talk, item, pc, field, boom, missile, status)
static const char*const button_dict[7][11] = {
@@ -394,7 +395,7 @@ static const char*const button_dict[7][11] = {
" ", // msg3
" p 3 ", // pic
" ? ", // pictype
" & x T i M cit j ", // ex1a
" & x T i _ M cit j ", // ex1a
" % S ss cJ ", // ex1b
" ", // ex1c
" tt ", // ex2a