Implement all the missing parts of the Edit Sheets and Edit Sounds dialogs
- On load, the game now detects graphic sheets and sounds whose IDs are "discontinuous", as well as graphics intended to directly replace preset graphic sheets. - Edit sheets dialog can now handle "discontinuous" graphics. (The edit sounds dialog already could.) - Edit sheets dialog prompts user to create a new sheet if there are none already, and also if there are some but not ID 0 (in the latter case they can cancel and still edit the sheets). - Edit sheets dialog prompts user to convert sheets if the scenario is legacy, rather than doing it silently - Edit sheets dialog now has "new" and "delete" buttons - Edit sounds dialog now has functioning "delete" button
This commit is contained in:
13
rsrc/dialogs/must-delete-in-order.xml
Normal file
13
rsrc/dialogs/must-delete-in-order.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
||||
<?xml-stylesheet href="dialog.xsl" type="text/xsl"?>
|
||||
<dialog skin='light' defbtn='cancel'>
|
||||
<pict type='dlog' num='16' top='6' left='6'/>
|
||||
<text top='6' left='48' width='252' height='91'>
|
||||
Warning: By deleting this sheet, graphics on subsequent sheets will no longer be recognized by the game.
|
||||
You can delete the sheet anyway, or you can move the subsequent sheets back one, overwriting this sheet.
|
||||
Note that, either way, anything referencing graphics on these sheets will have to be updated.
|
||||
</text>
|
||||
<button name='cancel' type='regular' top='101' left='234'>Cancel</button>
|
||||
<button name='move' type='large' top='101' left='63'>Move Sheets</button>
|
||||
<button name='del' type='regular' top='101' left='169'>Delete</button>
|
||||
</dialog>
|
Reference in New Issue
Block a user