Introduce two dialogs for debugging - a Set SDF dialog and a Debug Help dialog
- sd_legit() moved into cParty class
This commit is contained in:
32
rsrc/dialogs/help-debug.xml
Normal file
32
rsrc/dialogs/help-debug.xml
Normal file
@@ -0,0 +1,32 @@
|
||||
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
||||
<?xml-stylesheet href="dialog.xsl" type="text/xsl"?>
|
||||
<dialog defbtn='okay'>
|
||||
<pict type='dlog' num='16' top='8' left='8'/>
|
||||
<text top='8' left='50' width='400' height='16'>DEBUG MODE HELP</text>
|
||||
<text top='22' left='50' width='400' height='250'>
|
||||
Debug mode is intended to aid you in testing your scenario.
|
||||
While in debug mode, monsters don't move in combat and are killed in one hit.
|
||||
In addition, you have access to a lot of additional hotkeys.<br/><br/>
|
||||
Debug hot keys<br/>
|
||||
B - Leave town<br/>
|
||||
C - Get cleaned up (lose negative status effects)<br/>
|
||||
D - Toggle Debug mode<br/>
|
||||
E - Stealth, Detect Life, Firewalk<br/>
|
||||
F - Flight<br/>
|
||||
G - Toggle Ghost mode (letting you pass through walls)<br/>
|
||||
H - Heal<br/>
|
||||
K - Kill everything<br/>
|
||||
N - End Scenario<br/>
|
||||
O - Location<br/>
|
||||
Q - Magic map<br/>
|
||||
R - Return to Start<br/>
|
||||
S - Set stuff done flags<br/>
|
||||
T - Enter Town<br/>
|
||||
W - Refresh jobs/shops<br/>
|
||||
= - Heal, increase magic skills<br/>
|
||||
< - Make one day pass<br/>
|
||||
> - Reset towns (excludes the one you're in, if any)<br/>
|
||||
/ - Bring up this list<br/>
|
||||
</text>
|
||||
<button name='okay' type='regular' top='280' left='387'>OK</button>
|
||||
</dialog>
|
19
rsrc/dialogs/set-sdf.xml
Normal file
19
rsrc/dialogs/set-sdf.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
||||
<?xml-stylesheet href="dialog.xsl" type="text/xsl"?>
|
||||
<dialog defbtn='okay'>
|
||||
<pict type='dlog' num='7' top='8' left='8'/>
|
||||
<text size='large' top='8' left='50' width='200' height='17'>Edit Stuff Done</text>
|
||||
<text top='30' left='50' width='200' height='50'>
|
||||
Here you can edit all the game data that lets the scenario know what you've done.
|
||||
You can very easily mess up your game by doing this, so be sure you know what you're doing first.
|
||||
</text>
|
||||
<text top='105' left='8' width='100' height='16'>SDF Part A:</text>
|
||||
<field name='x' top='103' left='110' width='80' height='16'/>
|
||||
<text top='125' left='8' width='100' height='16'>SDF Part B:</text>
|
||||
<field name='y' top='123' left='110' width='80' height='16'/>
|
||||
<text top='145' left='8' width='100' height='16'>Value:</text>
|
||||
<field name='val' top='143' left='110' width='80' height='16'/>
|
||||
<text name='feedback' top='165' left='8' width='230' height='16'/>
|
||||
<button name='exit' type='regular' top='185' left='187'>Exit</button>
|
||||
<button name='set' type='regular' top='185' left='122'>Set</button>
|
||||
</dialog>
|
Reference in New Issue
Block a user