Reorder elements in some dialogs in logical order - no functional changes

This commit is contained in:
2025-01-26 23:19:39 -05:00
parent 46c102257b
commit 34b9db0aaa
3 changed files with 133 additions and 95 deletions

View File

@@ -4,80 +4,101 @@
<!--
TODO: Assign numeric types (type = 'int' or 'uint') to fields as appropriate
-->
<pict name='icon' type='monst' num='0' top='8' left='8'/>
<text size='large' top='6' left='44' width='158' height='16'>Edit Monster Statistics</text>
<text top='8' left='216' width='111' height='16'>Monster number:</text>
<text name='num' top='8' left='334' width='37' height='14'/>
<text top='31' left='44' width='120' height='14'>Monster type name:</text>
<field name='name' top='30' left='180' width='186' height='16'/>
<text top='58' left='8' width='120' height='14'>Monster picture:</text>
<field name='pic' top='57' left='140' width='52' height='16'/>
<button name='pickicon' type='large' top='53' left='201'>Select Icon</button>
<text name='w' top='59' left='334' width='86' height='14'>Width = </text>
<text name='h' top='59' left='426' width='86' height='14'>Height = </text>
<text top='83' left='8' width='179' height='14'>Monster level: (0 - 40)</text>
<field name='level' top='82' left='206' width='52' height='16'/>
<text top='107' left='8' width='179' height='14'>Monster health: (0 - 2500)</text>
<field name='health' top='106' left='206' width='52' height='16'/>
<text top='131' left='8' width='179' height='14'>Monster armor: (0 - 50)</text>
<field name='armor' top='130' left='206' width='52' height='16'/>
<text top='155' left='8' width='179' height='14'>Monster skill: (0 - 40)</text>
<field name='skill' top='154' left='206' width='52' height='16'/>
<text top='179' left='8' width='179' height='14'>Monster speed: (1-12)</text>
<field name='speed' top='178' left='206' width='52' height='16'/>
<text top='203' left='8' width='179' height='14'>Monster magic spells: (0 - 7)</text>
<field name='mage' top='202' left='206' width='51' height='16'/>
<text top='227' left='8' width='179' height='14'>Monster priest spells: (0 - 7)</text>
<field name='priest' top='226' left='206' width='51' height='16'/>
<text size='large' top='82' left='273' width='158' height='16'>Hand to hand combat:</text>
<text top='102' left='350' width='56' height='40'>Number of dice:<br/>(0 - 20)</text>
<text top='102' left='410' width='56' height='40'>Number of sides:<br/>(1-50)</text>
<text top='128' left='470' width='56' height='14'>Type</text>
<text top='150' left='283' width='50' height='14'>Attack 1:</text>
<field name='dice1' top='149' left='350' width='52' height='16'/>
<field name='sides1' top='149' left='410' width='52' height='16'/>
<text name='type1' top='150' left='470' width='120' height='14'/>
<button name='picktype1' type='regular' top='146' left='600'>Choose</button>
<text top='174' left='283' width='50' height='14'>Attack 2:</text>
<field name='dice2' top='173' left='350' width='52' height='16'/>
<field name='sides2' top='173' left='410' width='52' height='16'/>
<text name='type2' top='174' left='470' width='120' height='14'/>
<button name='picktype2' type='regular' top='170' left='600'>Choose</button>
<text top='198' left='283' width='50' height='14'>Attack 3:</text>
<field name='dice3' top='197' left='350' width='52' height='16'/>
<field name='sides3' top='197' left='410' width='52' height='16'/>
<field name='talk' top='276' left='138' width='77' height='16'/>
<field name='treas' top='273' left='513' width='55' height='16'/>
<button name='okay' type='regular' top='367' left='600'>OK</button>
<button name='cancel' type='regular' def-key='esc' top='367' left='527'>Cancel</button>
<button name='left' type='left' top='367' left='335'/>
<button name='right' type='right' top='367' left='398'/>
<button name='abils' type='large' top='337' left='561'>Abilities</button>
<button name='pickicon' type='large' top='53' left='201'>Select Icon</button>
<button name='picktype' type='regular' top='250' left='264'>Choose</button>
<button name='picktype1' type='regular' top='146' left='600'>Choose</button>
<button name='picktype2' type='regular' top='170' left='600'>Choose</button>
<text name='type3' top='198' left='470' width='120' height='14'/>
<button name='picktype3' type='regular' top='194' left='600'>Choose</button>
<text top='253' left='8' width='120' height='14'>Monster type:</text>
<text name='type' top='253' left='134' width='120' height='14'/>
<button name='picktype' type='regular' top='250' left='264'>Choose</button>
<text top='278' left='8' width='120' height='14'>Default talking picture:</text>
<field name='talk' top='276' left='138' width='77' height='16'/>
<pict name='talkpic' type='talk' num='0' top='276' left='226'/>
<button name='picktalk' type='regular' top='275' left='264'>Choose</button>
<text size='large' top='250' left='343' width='158' height='16'>Treasure:</text>
<text top='275' left='343' width='162' height='14'>Monster treasure: (0-4)</text>
<field name='treas' top='273' left='513' width='55' height='16'/>
<text top='310' left='8' width='302' height='14'>Default attitude:
(attitude creature has when you place it)
</text>
<group name='attitude'>
<led name='docile' top='304' left='358'>Friendly, Docile</led>
<led name='A' top='319' left='358'>Hostile, Type A</led>
<led name='friendly' top='304' left='490'>Friendly, Will Fight</led>
<led name='B' top='319' left='490'>Hostile, Type B</led>
</group>
<text name='num' top='8' left='334' width='37' height='14'/>
<pict name='icon' type='monst' num='0' top='8' left='8'/>
<text size='large' top='6' left='44' width='158' height='16'>Edit Monster Statistics</text>
<text top='8' left='216' width='111' height='16'>Monster number:</text>
<text top='335' left='8' width='150' height='16'>Summoned by these spells:</text>
<text name='summons' font='plain' size='small' framed='true' top='337' left='160' width='340' height='14'/>
<text top='353' left='4' width='320' height='40'>
Enter properties for this monster type.
For a detailed description of the fields, see the documentation.
To edit monster's special abilities, press the Edit Abilities button.
</text>
<text top='31' left='44' width='120' height='14'>Monster type name:</text>
<text top='58' left='8' width='120' height='14'>Monster picture:</text>
<text name='w' top='59' left='334' width='86' height='14'>Width = </text>
<text name='h' top='59' left='426' width='86' height='14'>Height = </text>
<text name='type' top='253' left='134' width='120' height='14'/>
<text name='type1' top='150' left='470' width='120' height='14'/>
<text name='type2' top='174' left='470' width='120' height='14'/>
<text name='type3' top='198' left='470' width='120' height='14'/>
<text top='253' left='8' width='120' height='14'>Monster type:</text>
<text top='278' left='8' width='120' height='14'>Default talking picture:</text>
<pict name='talkpic' type='talk' num='0' top='276' left='226'/>
<text top='310' left='8' width='302' height='14'>Default attitude:
(attitude creature has when you place it)
</text>
<text size='large' top='250' left='343' width='158' height='16'>Treasure:</text>
<text top='275' left='343' width='162' height='14'>Monster treasure: (0-4)</text>
<text top='83' left='8' width='179' height='14'>Monster level: (0 - 40)</text>
<text top='107' left='8' width='179' height='14'>Monster health: (0 - 2500)</text>
<text top='131' left='8' width='179' height='14'>Monster armor: (0 - 50)</text>
<text top='155' left='8' width='179' height='14'>Monster skill: (0 - 40)</text>
<text top='179' left='8' width='179' height='14'>Monster speed: (1-12)</text>
<text top='203' left='8' width='179' height='14'>Monster magic spells: (0 - 7)</text>
<text top='227' left='8' width='179' height='14'>Monster priest spells: (0 - 7)</text>
<text size='large' top='82' left='273' width='158' height='16'>Hand to hand combat:</text>
<text top='102' left='350' width='56' height='40'>Number of dice:<br/>(0 - 20)</text>
<text top='102' left='410' width='56' height='40'>Number of sides:<br/>(1-50)</text>
<text top='128' left='470' width='56' height='14'>Type</text>
<text top='150' left='283' width='50' height='14'>Attack 1:</text>
<text top='174' left='283' width='50' height='14'>Attack 2:</text>
<text top='198' left='283' width='50' height='14'>Attack 3:</text>
<button name='preview' type='regular' top='8' left='600'>Preview</button>
<button name='abils' type='large' top='337' left='561'>Abilities</button>
<button name='okay' type='regular' top='367' left='600'>OK</button>
<button name='cancel' type='regular' def-key='esc' top='367' left='527'>Cancel</button>
<button name='left' type='left' top='367' left='335'/>
<button name='right' type='right' top='367' left='398'/>
</dialog>

View File

@@ -4,16 +4,31 @@
<!--
TODO: Assign numeric types (type = 'int' or 'uint') to fields as appropriate
-->
<text size='large' top='6' left='50' height='17' width='138'>Edit Terrain Type</text>
<pict name='graphic' type='ter' num='0' top='8' left='8'/>
<text size='large' top='6' left='50' height='17' width='138'>Edit Terrain Type</text>
<text top='8' left='222' height='14' width='111'>Terrain number:</text>
<text name='number' top='8' left='340' height='14' width='37'>*num</text>
<button name='help' type='help' def-key='help' top='5' left='588'/>
<text top='7' left='431' height='50' width='157'>
Enter properties for this terrain type. For a detailed description of the fields, see the documentation.
</text>
<text top='31' left='50' height='14' width='120'>Terrain type name:</text>
<field name='name' top='30' left='186' height='16' width='186'/>
<text top='63' left='9' height='14' width='120'>Terrain picture:</text>
<field name='pict' top='62' left='141' height='16' width='52' />
<button name='pickpict' type='large' top='59' left='205'>Pick Picture</button>
<button name='pickanim' type='large' top='59' left='319'>Animated</button>
<text top='63' left='430' width='60' height='14'>Map icon:</text>
<field name='map' top='62' left='495' width='80' height='16'/>
<pict name='seemap' top='86' left='465' type='map' num='0'/>
<button name='pickmap' type='regular' top='86' left='495'>Choose</button>
<text top='110' left='431' height='32' width='157'>(Enter -1 to scale down the large picture)</text>
<text top='90' left='8' height='14' width='120'>Terrain blockage:</text>
<group name='blockage'>
<led name='clear' top='90' left='132' state='off'>Clear</led>
@@ -23,10 +38,12 @@
<led name='obstructed' top='107' left='293' state='off'>Blocked, obstructed</led>
<led name='opaque' top='124' left='293' state='off'>Blocked, opaque</led>
</group>
<led name='flight' top='150' left='26' state='off'>Can fly over?</led>
<led name='boat' top='150' left='154' state='off'>Can boat over?</led>
<led name='horse' top='150' left='307' state='off'>Blocked to horses?</led>
<led name='arch' top='150' left='447' state='off'>Archetype?</led>
<text top='165' left='8' height='14' width='91'>Step sound:</text>
<group name='sound'>
<led name="step" top='167' left='102' state='off'>Footstep</led>
@@ -35,6 +52,7 @@
<led name="nosound" top='167' left='386' state='off'>Silence</led>
<led name="splash" top='167' left='497' state='off'>Big Splash</led>
</group>
<text top='194' left='8' height='14' width='91'>Shortcut key:</text>
<field name='key' top='193' left='109' height='16' width='52' />
<text top='194' left='171' height='14' width='91'>Light radius:</text>
@@ -78,6 +96,13 @@
<led name='prop22' top='344' left='308' state='off'>Change when used</led>
<led name='prop23' top='359' left='308' state='off'>Call special when used</led>
</group>
<text top='254' left='467' height='14' width='100'>Combat Arena:</text>
<field name='arena' top='275' left='467' height='16' width='64'/>
<button name='pickarena' type='regular' top='299' left='467'>Choose</button>
<button name='picktown' type='regular' top='299' left='532'>Custom</button>
<button name='object' top='344' left='467' type='large'>Object Detail</button>
<text top='385' left='9' height='14' width='91'>Extra values:</text>
<text name='flag1text' framed='true' top='385' left='109' height='14' width='209'>*flag1</text>
<field name='flag1' top='384' left='329' height='16' width='64' />
@@ -90,20 +115,8 @@
<field name='flag3' top='434' left='329' height='16' width='64' />
<button name='pickflag3' top='431' left='404' type='regular'>Choose</button>
<text top='254' left='467' height='14' width='100'>Combat Arena:</text>
<field name='arena' top='275' left='467' height='16' width='64'/>
<button name='pickarena' type='regular' top='299' left='467'>Choose</button>
<button name='picktown' type='regular' top='299' left='532'>Custom</button>
<button name='object' top='344' left='467' type='large'>Object Detail</button>
<text top='63' left='430' width='60' height='14'>Map icon:</text>
<pict name='seemap' top='86' left='465' type='map' num='0'/>
<field name='map' top='62' left='495' width='80' height='16'/>
<button name='pickmap' type='regular' top='86' left='495'>Choose</button>
<text top='110' left='431' height='32' width='157'>(Enter -1 to scale down the large picture)</text>
<button name='done' type='regular' top='455' left='517'>OK</button>
<button name='cancel' type='regular' def-key='esc' top='455' left='451'>Cancel</button>
<button name='left' type='left' top='455' left='11'/>
<button name='right' type='right' top='455' left='74'/>
<text top='7' left='431' height='50' width='157'>Enter properties for this terrain type. For a detailed description of the fields, see the documentation.</text>
<button name='help' type='help' def-key='help' top='5' left='588'/>
</dialog>

View File

@@ -1,24 +1,6 @@
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<?xml-stylesheet href="dialog.xsl" type="text/xsl"?>
<dialog defbtn='okay'>
<!-- OK button -->
<field name='onexit1' top='77' left='308' width='67' height='16'/>
<field name='onexit2' top='105' left='308' width='67' height='16'/>
<field name='onexit3' top='77' left='440' width='67' height='16'/>
<field name='onexit4' top='105' left='440' width='67' height='16'/>
<field name='onenter' top='134' left='405' width='67' height='16'/>
<field name='onenterdead' top='162' left='405' width='67' height='16'/>
<field name='onhostile' top='190' left='405' width='67' height='16'/>
<field name='exit1-x' top='231' left='323' width='39' height='16'/>
<field name='exit1-y' top='231' left='371' width='39' height='16'/>
<field name='exit2-x' top='258' left='323' width='39' height='16'/>
<field name='exit2-y' top='258' left='371' width='39' height='16'/>
<field name='exit3-x' top='285' left='323' width='39' height='16'/>
<field name='exit3-y' top='285' left='371' width='39' height='16'/>
<field name='exit4-x' top='312' left='323' width='39' height='16'/>
<field name='exit4-y' top='312' left='371' width='39' height='16'/>
<button name='okay' type='regular' top='397' left='452'>OK</button>
<button name='cancel' type='regular' def-key='esc' top='397' left='386'>Cancel</button>
<pict type='dlog' num='16' top='8' left='8'/>
<text size='large' top='6' left='50' width='256' height='17'>Advanced town details</text>
<text top='25' left='50' width='439' height='40'>
@@ -26,36 +8,56 @@
such as specials called when entering or leaving town.
All of these options are decribed in the documentation chapter on town editing.
</text>
<text top='68' left='50' width='197' height='64'>
Exit town specials:
(These are the numbers of the town special nodes to call when the party tries to leave town in the given direction.)
</text>
<button name='edit-onexit1' type='tiny' top='81' left='251' height='15'>Top</button>
<field name='onexit1' top='77' left='308' width='67' height='16'/>
<button name='edit-onexit3' type='tiny' top='81' left='382' height='15'>Bottom</button>
<field name='onexit3' top='77' left='440' width='67' height='16'/>
<button name='edit-onexit2' type='tiny' top='109' left='251' height='15'>Left</button>
<field name='onexit2' top='105' left='308' width='67' height='16'/>
<button name='edit-onexit4' type='tiny' top='109' left='382' height='15'>Right</button>
<field name='onexit4' top='105' left='440' width='67' height='16'/>
<text top='134' left='50' width='202' height='66'>
Town entry special node:
(Enter the number of the town special node to call if the party enters the town when it's still alive, and/or when it's been abandoned.)
</text>
<button name='edit-onenter' type='tiny' top='135' left='259' height='15'>Still alive</button>
<field name='onenter' top='134' left='405' width='67' height='16'/>
<button name='edit-onenterdead' type='tiny' top='162' left='259' height='15'>Been abandoned</button>
<field name='onenterdead' top='162' left='405' width='67' height='16'/>
<button name='edit-onhostile' type='tiny' top='189' left='259' height='15'>When Goes Hostile</button>
<field name='onhostile' top='190' left='405' width='67' height='16'/>
<text top='207' left='50' width='197' height='64'>
Exit town location:
(these are the locations the party ends up at outdoors if they leave in the given direction.
Leave at -1 for the regular location to be used.)
</text>
<text top='134' left='50' width='202' height='66'>
Town entry special node:
(Enter the number of the town special node to call if the party enters the town when it's still alive, and/or when it's been abandoned.)
</text>
<text top='68' left='50' width='197' height='64'>
Exit town specials:
(These are the numbers of the town special nodes to call when the party tries to leave town in the given direction.)
</text>
<button name='edit-onenter' type='tiny' top='135' left='259' height='15'>Still alive</button>
<button name='edit-onenterdead' type='tiny' top='162' left='259' height='15'>Been abandoned</button>
<button name='edit-onhostile' type='tiny' top='189' left='259' height='15'>When Goes Hostile</button>
<button name='edit-onexit1' type='tiny' top='81' left='251' height='15'>Top</button>
<button name='edit-onexit2' type='tiny' top='109' left='251' height='15'>Left</button>
<button name='edit-onexit3' type='tiny' top='81' left='382' height='15'>Bottom</button>
<button name='edit-onexit4' type='tiny' top='109' left='382' height='15'>Right</button>
<text top='232' left='257' width='49' height='15'>Top</text>
<text top='259' left='258' width='49' height='15'>Left</text>
<text top='285' left='258' width='53' height='15'>Bottom</text>
<text top='313' left='259' width='49' height='15'>Right</text>
<text top='212' left='331' width='35' height='15'>X</text>
<text top='212' left='379' width='40' height='15'>Y</text>
<text top='232' left='257' width='49' height='15'>Top</text>
<field name='exit1-x' top='231' left='323' width='39' height='16'/>
<field name='exit1-y' top='231' left='371' width='39' height='16'/>
<text top='259' left='258' width='49' height='15'>Left</text>
<field name='exit2-x' top='258' left='323' width='39' height='16'/>
<field name='exit2-y' top='258' left='371' width='39' height='16'/>
<text top='285' left='258' width='53' height='15'>Bottom</text>
<field name='exit3-x' top='285' left='323' width='39' height='16'/>
<field name='exit3-y' top='285' left='371' width='39' height='16'/>
<text top='313' left='259' width='49' height='15'>Right</text>
<field name='exit4-x' top='312' left='323' width='39' height='16'/>
<field name='exit4-y' top='312' left='371' width='39' height='16'/>
<button name='pick-town' type='tiny' top='276' left='30'>Town Background:</button>
<field name='bg-town' top='274' left='160' width='80' height='16'/>
<button name='pick-fight' type='tiny' top='302' left='30'>Combat Background:</button>
<field name='bg-fight' top='298' left='160' width='80' height='16'/>
<text top='319' left='30' width='100' height='16'>Town Properties:</text>
<led name='hidden' font='plain' top='336' left='30'>
Town hidden?
@@ -65,4 +67,6 @@
<led name='noscry' font='plain' top='370' left='30'>Defy scrying (Magic Map doesn't work)</led>
<led name='barrier' font='plain' top='387' left='30'>Magical barriers are stronger in this town</led>
<led name='tavern' font='plain' top='404' left='30'>You can create new PCs in this town</led>
<button name='okay' type='regular' top='397' left='452'>OK</button>
<button name='cancel' type='regular' def-key='esc' top='397' left='386'>Cancel</button>
</dialog>