Fix a lot of bugs in the PC editor
- Alchemy dialog had black text on dark background - Buttons didn't depress when clicked - Edit XP button just said "Edit" - Two menuitems in Special Edit menu had been left with default names - Callbacks in Special Edit and Free Extras menu weren't correctly assigned - Edit XP dialog put the XP to next level in the wrong place - Fixed alchemy dialog LED naming Supporting changes in the dialog engine: - Getting or setting control text as a number now uses the long long type to allow maximal precision - When adding a label to a button, the dialog's default text colour is used instead of the button's text colour if the dialog's background is dark
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
Note that the character will not gain any more levels until the character earns at least 1 point more point of experience in the game.
|
||||
The most you can give is 10000.
|
||||
</text>
|
||||
<text name='perlevel' top='99' left='72' width='164' height='16'>Experience for each level:</text>
|
||||
<text framed='true' top='99' left='238' width='76' height='16'/>
|
||||
<text top='99' left='72' width='164' height='16'>Experience for each level:</text>
|
||||
<text name='perlevel' framed='true' top='99' left='238' width='76' height='16'/>
|
||||
<text top='127' left='72' width='138' height='14'>Amount of experience:</text>
|
||||
<button name='okay' type='regular' top='154' left='270'>OK</button>
|
||||
</dialog>
|
@@ -5,26 +5,26 @@
|
||||
<text size='large' top='10' left='54' width='163' height='15'>Alchemy known:</text>
|
||||
<pict type='dlog' num='20' top='6' left='6'/>
|
||||
<button name='done' type='done' top='174' left='356'/>
|
||||
<led name='potion' state='off' top='33' left='217'/>
|
||||
<led name='potion' state='off' top='47' left='217'/>
|
||||
<led name='potion' state='off' top='61' left='217'/>
|
||||
<led name='potion' state='off' top='75' left='217'/>
|
||||
<led name='potion' state='off' top='89' left='217'/>
|
||||
<led name='potion' state='off' top='103' left='217'/>
|
||||
<led name='potion' state='off' top='117' left='217'/>
|
||||
<led name='potion' state='off' top='131' left='217'/>
|
||||
<led name='potion' state='off' top='145' left='217'/>
|
||||
<led name='potion' state='off' top='159' left='217'/>
|
||||
<led name='potion' state='off' top='33' left='402'/>
|
||||
<led name='potion' state='off' top='47' left='402'/>
|
||||
<led name='potion' state='off' top='61' left='402'/>
|
||||
<led name='potion' state='off' top='75' left='402'/>
|
||||
<led name='potion' state='off' top='89' left='402'/>
|
||||
<led name='potion' state='off' top='103' left='402'/>
|
||||
<led name='potion' state='off' top='117' left='402'/>
|
||||
<led name='potion' state='off' top='131' left='402'/>
|
||||
<led name='potion' state='off' top='145' left='402'/>
|
||||
<led name='potion' state='off' top='159' left='402'/>
|
||||
<led name='potion1' state='off' top='33' left='217'/>
|
||||
<led name='potion2' state='off' top='47' left='217'/>
|
||||
<led name='potion3' state='off' top='61' left='217'/>
|
||||
<led name='potion4' state='off' top='75' left='217'/>
|
||||
<led name='potion5' state='off' top='89' left='217'/>
|
||||
<led name='potion6' state='off' top='103' left='217'/>
|
||||
<led name='potion7' state='off' top='117' left='217'/>
|
||||
<led name='potion8' state='off' top='131' left='217'/>
|
||||
<led name='potion9' state='off' top='145' left='217'/>
|
||||
<led name='potion10' state='off' top='159' left='217'/>
|
||||
<led name='potion11' state='off' top='33' left='402'/>
|
||||
<led name='potion12' state='off' top='47' left='402'/>
|
||||
<led name='potion13' state='off' top='61' left='402'/>
|
||||
<led name='potion14' state='off' top='75' left='402'/>
|
||||
<led name='potion15' state='off' top='89' left='402'/>
|
||||
<led name='potion16' state='off' top='103' left='402'/>
|
||||
<led name='potion17' state='off' top='117' left='402'/>
|
||||
<led name='potion18' state='off' top='131' left='402'/>
|
||||
<led name='potion19' state='off' top='145' left='402'/>
|
||||
<led name='potion20' state='off' top='159' left='402'/>
|
||||
<!--
|
||||
TODO: This originally had width=119; if it looks wrong in-game, try reverting to that
|
||||
-->
|
||||
|
Reference in New Issue
Block a user