Add dialog allowing you to alter the scenario's graphics sheets from within the scenario editor

- You can copy/paste images into the sheet, or import/export to/from png files

Also:
- Picture controls in the dialog engine have a new "scaled" flag; if set, the picture will be scaled into the provided bounds rather than overflowing. Currently, only full sheets honour the setting.
This commit is contained in:
2015-06-15 16:20:03 -04:00
parent 9d59b80a5c
commit e055b97c9f
18 changed files with 297 additions and 51 deletions

View File

@@ -90,6 +90,7 @@ BEGIN
MENUITEM "&Scenario Details", IDM_SCEN_DETAILS
MENUITEM "Scenario Intr&o Text", IDM_SCEN_INTRO
MENUITEM "Set Starting &Location", IDM_SCEN_START
MENUITEM "Edit Custom Graphic Sheets", IDM_SCEN_CUSTOM_SHEETS
MENUITEM "Classify Custom &Graphics", IDM_SCEN_CUSTOM_PICS
MENUITEM SEPARATOR
MENUITEM "Advanced:", IDM_SCEN_NEW_TOWN, GRAYED

View File

@@ -66,6 +66,7 @@
#define IDM_EDIT_DELETE 161
#define IDM_EDIT_SELECT 162
#define IDM_SCEN_CUSTOM_PICS 163
#define IDM_SCEN_CUSTOM_SHEETS 164
// Next default values for new objects
//
@@ -74,6 +75,6 @@
#define _APS_NEXT_RESOURCE_VALUE 103
#define _APS_NEXT_COMMAND_VALUE 40014
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 164
#define _APS_NEXT_SYMED_VALUE 165
#endif
#endif