Several tweaks and fixes

Bugs:
- Arrow keys activated the arrow buttons in the list-mode edit string dialog
- Graphics classification was not saved correctly in some cases
- Contact info was not correctly saved/loaded
- Place Monster node didn't have a choose button for the monster type
- Alt-Backspace and Alt-Delete did not work correctly in dialog text fields
- When clicking Edit Terrain Types, sometimes the list of items or monsters would appear instead
- Fix monster 0 being selectable in the choose monster dialog
- Fix the hotspots of all the cursors to be more intuitive

New:
- When interrupting a special node sequence with Cmd-. / Ctrl-C, the dialog that appears is more relevant.
- In the choose sound dialog, the sound now plays when you select a choice, so you can hear what it will sound like
- Added a tiny icon so you can distinguish fire and force barriers in the editor
This commit is contained in:
2015-06-04 15:43:16 -04:00
parent 49ec6278d3
commit 6c5e2b5118
19 changed files with 95 additions and 52 deletions

View File

@@ -0,0 +1,12 @@
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<?xml-stylesheet href="dialog.xsl" type="text/xsl"?>
<!--<!DOCTYPE dialog SYSTEM "dialog.dtd">-->
<dialog skin='dark' defbtn='cancel'>
<pict type='dlog' num='23' top='9' left='9'/>
<text top='5' left='51' width='255' height='72'>
Warning: If you terminate the special node sequence, the scenario may be left in an unexpected state.
It is recommended that you immediately reload from a saved game after doing this.
<br/> Are you sure you wish to proceed?</text>
<button name='quit' type='regular' top='86' left='178'>Kill it!</button>
<button name='cancel' type='regular' def-key='esc' top='86' left='248'>Not yet</button>
</dialog>

View File

@@ -2,8 +2,8 @@
<?xml-stylesheet href="dialog.xsl" type="text/xsl"?>
<dialog defbtn='okay'>
<field name='text' type='text' top='34' left='55' width='293' height='98'/>
<button name='left' type='left' def-key='left' top='141' left='6'/>
<button name='right' type='right' def-key='right' top='141' left='69'/>
<button name='left' type='left' top='141' left='6'/>
<button name='right' type='right' top='141' left='69'/>
<text name='num' top='8' left='315' width='40' height='14'/>
<pict type='dlog' num='16' top='8' left='8'/>
<text size='large' top='6' left='50' width='138' height='17'>Editing text:</text>

View File

@@ -16,16 +16,16 @@
<text name='num8' top='48' left='264' width='28' height='16'/>
<text name='num9' top='48' left='300' width='28' height='16'/>
<text name='num10' top='48' left='336' width='28' height='16'/>
<pict name='pic1' type='ter' num='0' top='68' left='12'/>
<pict name='pic2' type='ter' num='1' top='68' left='48'/>
<pict name='pic3' type='ter' num='2' top='68' left='84'/>
<pict name='pic4' type='ter' num='3' top='68' left='120'/>
<pict name='pic5' type='ter' num='4' top='68' left='156'/>
<pict name='pic6' type='ter' num='5' top='68' left='192'/>
<pict name='pic7' type='ter' num='6' top='68' left='228'/>
<pict name='pic8' type='ter' num='7' top='68' left='264'/>
<pict name='pic9' type='ter' num='8' top='68' left='300'/>
<pict name='pic10' type='ter' num='9' top='68' left='336'/>
<pict name='pic1' type='item' num='0' top='68' left='12'/>
<pict name='pic2' type='item' num='1' top='68' left='48'/>
<pict name='pic3' type='item' num='2' top='68' left='84'/>
<pict name='pic4' type='item' num='3' top='68' left='120'/>
<pict name='pic5' type='item' num='4' top='68' left='156'/>
<pict name='pic6' type='item' num='5' top='68' left='192'/>
<pict name='pic7' type='item' num='6' top='68' left='228'/>
<pict name='pic8' type='item' num='7' top='68' left='264'/>
<pict name='pic9' type='item' num='8' top='68' left='300'/>
<pict name='pic10' type='item' num='9' top='68' left='336'/>
<group name='type1'>
<led name='ter1' top='110' left='20'/>
<led name='anim1' top='125' left='20'/>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB