(Scenario Editor is unaffected by this commit.) - Menubar converted to a .xib file - Don't include the Info.plist in "Copy Files" stage - Several more dialogs converted; as before, the source resources have had their resource name changed to the new filename - One more converted STR# has been included There were several functions in the PC Editor code that also existed in the BoE game code. I've moved these into the pc.editors.cpp file, so that there's only one copy of each. - display_alchemy() functions changed signatures - moved keyToChar() function into a common file (winutil) - Several constants and globals moved to pc.editors.cpp Supporting changes to dialog framework: - New formatting option to set the frame style; this because the PC editor uses a different frame style in some contexts - Added global default dialog background setting --> This was necessary to correctly set the default text colour --> Will also be needed for the scenario editor, which uses a different default background Other changes: - Add option to load_scenario to skip loading the strings - Fix for crash in soundtool in the event of initialization before playing the first sound
10 lines
528 B
XML
10 lines
528 B
XML
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
|
<?xml-stylesheet href="dialog.xsl" type="text/xsl"?>
|
|
<dialog defbtn='save'>
|
|
<button name='save' type='large' top='31' left='230'>Save First</button>
|
|
<button name='quit' type='large' top='31' left='122'>Just Quit</button>
|
|
<button name='cancel' type='regular' def-key='esc' top='31' left='54'>Cancel</button>
|
|
<pict top='9' left='9' type='dlog' num='23'/>
|
|
<text size='large' top='5' left='52' width='254' height='18'>Do you want to save before quitting?</text>
|
|
</dialog>
|