castleraider
changeset 333:abe1e2a3e703
Started laying the groundwork for the completion routine.
Fixed a problem with rendering the game ending position.
| author | David Boddie <david@boddie.org.uk> |
|---|---|
| date | Fri Oct 10 00:11:08 2014 +0200 |
| parents | 4d2ef247d046 |
| children | eaf2149855f7 |
| files | ending.oph levels/default.txt utilities/editor.py |
| diffstat | 3 files changed, 73 insertions(+), 19 deletions(-) [+] |
line diff
1.1 --- a/ending.oph Wed Oct 08 00:47:54 2014 +0200 1.2 +++ b/ending.oph Fri Oct 10 00:11:08 2014 +0200 1.3 @@ -21,7 +21,61 @@ 1.4 ; Do something to indicate the game has been completed. 1.5 ; Check whether the player found the treasures. 1.6 1.7 - jmp game_completed 1.8 + ldx #0 1.9 + game_completed_text_loop: 1.10 + 1.11 + lda completed_text,x 1.12 + jsr $ffee 1.13 + inx 1.14 + cpx #completed_text_length 1.15 + bne game_completed_text_loop 1.16 + 1.17 + ldx #0 1.18 + game_completed_copy_loop: 1.19 + 1.20 + lda #4 ; column 4 is text column 2 1.21 + jsr read_screen_address_bank2 ; $72,$73=address 1.22 + 1.23 + lda $72 ; Use $70,$71 for the source address. 1.24 + sta $70 1.25 + lda $73 1.26 + sec 1.27 + sbc #$0a ; Subtract 8 rows ($a00) from the address. 1.28 + sta $71 1.29 + clc 1.30 + 1.31 + lda #4 1.32 + jsr read_screen_address_bank1 ; $72,$73=address 1.33 + 1.34 + lda $73 1.35 + sec 1.36 + sbc #$0a ; Subtract 8 rows ($a00) from the address. 1.37 + sta $73 1.38 + clc 1.39 + 1.40 + ldy #255 1.41 + game_completed_copy_inner_loop: 1.42 + 1.43 + lda ($70),y 1.44 + sta ($72),y 1.45 + dey 1.46 + cpy #255 1.47 + bne game_completed_copy_inner_loop 1.48 + 1.49 + inx 1.50 + cpx #12 1.51 + bne game_completed_copy_loop 1.52 + 1.53 + game_completed_wait: 1.54 + 1.55 + jmp game_completed_wait 1.56 1.57 clc 1.58 rts 1.59 + 1.60 +completed_text: .byte 17,131, 28,2,16,17,5, 12, 26 1.61 + .byte 17,130, 28,3,15,16,6, 12, 26 1.62 + .byte 17,129, 28,4,14,15,7, 12, 26 1.63 +completed_text_end: 1.64 + 1.65 +.alias completed_text_length [completed_text_end - completed_text]
2.1 --- a/levels/default.txt Wed Oct 08 00:47:54 2014 +0200 2.2 +++ b/levels/default.txt Fri Oct 10 00:11:08 2014 +0200 2.3 @@ -35,22 +35,22 @@ 2.4 Finish: 746 2.5 2.6 Start 2.7 -.............................................................................................................................................................................................................................................................@@..@@................@@..@@.....................@@..@@.........................@@@@@@@@@@@@@@@@@@@@@...<......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@..............--.......<..........@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.............................................................................................+++++++++++..................................................................................................... 2.8 -.............................................................................................................................................................................................................................................................@@@@@@................@@@@@@.....................@@@@@@.......................@@@@@@@@@@@@@@@@@@@@@............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.........--..........--............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@........................................................................................+++++###########+++++................................................................................................ 2.9 -................................................................?..?....?..?.................................................................................................................................................................................@@@@@@@@@@@@@@@@@@@@@@@@@@@@.....................@@@@@@.....................@@@@@@@@@@@@@@@@@@@@@@.............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@........................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@..................................................................................@@@@@@@@@.....................................................................................+++#####################+++............................................................................................. 2.10 -................................................................@@@@@@@@@@@@.................................................................................................................................................................................@@@@@@....................0..............................................@@@@@@@@@@@@@@@@@@@@@@@@@.............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......................n.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@..................................................................................@@@@@@@@@..................................................................................+++###########################++........................................................................................... 2.11 -................................................................@@@@....@@@@....................................................................@..@..............@..@.......................................................................................@@@@@@....................0...............................................@@@@@@@@@@@@@@@@@@@@@@@@.............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.........<..............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.......................--..............................................................4...................................................................................++################################+......................................................................?................... 2.12 -................................................................@@@@....@@@@....................................................................@@@@..............@@@@.......................................................................................@@........................0.................................................@@@@@@@@@@@@@@@@@@@@@@.............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@............................@@@@@@@@@@@@@@@@@@@@@@@@@@@@..........................4.................................................................................++###################################++.................................................................@.@@................... 2.13 -................@@..@@..@@..@@.......................................V..........................................................................@@@@@@@@@@@@@@@@@@@@@@.......................................................................................@@...........<........@@@@@@..................>..@@@@@@.............>.......@@@@@@@@@@@@@@@@@@@@@@..........@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@................2........---.........@@@@@@@@@@@@@@@....@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.....--......................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.................V......4..............................................................................+++#######################################++...............................................................@@@@................... 2.14 -................@@@@@@@@@@@@@@..................................................................................................................@@@@..............@@@@.............................................................................................................@@@@@@+++++++++++++++++++++@@@@@@++++++++++++++++++++@@@@@@@@@@@@@@@@@@@@@@@............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.wx.............2....................@@@@@@@@@@@@@........@@@@@@@@@@@@@@@@@@@@@@@@@@@/.\@@@@........--.............<.....@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@........................4....................................................++++++................++++############################################+++................................................................................... 2.15 -.................@@@@@@@@@@@@...................................................................................................................@@@@..............@@@@....................?..?.....................................................................................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@................2....................@@@@@@@@@@@@..........@@@@@@@@@@@@@@@@@@@@@@@@@@..................................m.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......................4.................................................+++######+++.........++++###################################################++++............................................................................... 2.16 -.................@@@............................................................................................................................@@@@...........<..@@@@....................@@@@.....................................................................................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......<...@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...................@@@@@@@@@@@@..........@@@@@@@@@@@@@@@@@@@@@@@@@@....................................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.....................@@@....>........@@...............................++############+++++++++###########################################################++++........................................................................... 2.17 -..................I.......................................................................................................................................................................@@@@.....<..........@@............>.........>...@@..................................@@@@@@/..\@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/\@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@................@@@@@@@@@@@@..........@@@@@@@@@@@@@@@@@@@@@@@@@@JJJ..............................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.................@@@@@@@@@@@@@@@@@@@@.............................++######################################################################################+++........................................................................ 2.18 -..................I.............................................++++++++++++................................................................................................................................@@@@--------------------------@@@@.................@@@@@@@@@@@@@@@@@@.......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@..@@@@@@@@@@@@@@@@@@@@@@@@/.\@@@@@@@@@@..............3............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...................@@@@@@@@@@@@..........@@@/.\@@@@@@@@@@@@@@@@@@@@@@@@@@@@@............--..........@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...........@@@@@@@@@@@@@@@@@@@@@@@@..........................+++###########################################################################################++++.............................................@@@@..........@@....... 2.19 -..................I..........................................+++############++++..........................................................................................................................@@@@@@..........................@@@@@@........................................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@..@@@@@@@@@@@@@@@@@@@@@@@@...........................3..........o.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...................................V...........@@@@@@@@@@@@@@@@@@@@@@@@@@@@.........................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...........@@@@@@@@@@@@@@@@@@@@@@@@.......................+++##################################################################################################+++++......................................@@@@@@----------@@....... 2.20 -..................I.......................................+++###################++........................+++++.....................+++++++.............................................................@@@@@@@@..........................@@@@@@@@..................................ZZZZ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...........................3............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...............................................@@@@@@@@@@@@@@@@@@@@@@@@@@@@.........................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...........@@@@@@@@@@@@@@@@@@@@@@@@...................++++##########################################################################################################+++.................................@@@@@@@@..........@@....... 2.21 -...@@------------@@@@@@@@@@@@.......>................+++++########################++++............>.....++#####++.>............+++++#######+++++@@........>.........@@++++++++++++++++++++++++++++++++@@@@@@@@@@..........................@@@@@@@@@@..................>.............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@SSS.......................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......----..................................NNN@@@@@@@@@@@@@@@@@@@@@@@@@@@@................>........@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@..>........@@@@@@@@@@@@@@@@@@@@@@@@...............++++#################################################################################################################++++++++++.....................@@@@@@@@@@..........@@....... 2.22 -+++@@............@@@@@@@@@@@@++++++++++++++++++++++++#################################++++++++++++++++++#########++++++++++++++#################@@@@@@@@@@@@@@@@@@@@@@################################@@@@@@@@@@..........................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...............@@@@@@@@@@@@@@@@@@......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+++++++++++++++###############################################################################################################################+++++++++++++++++++++@@@@@@@@@@..........@@+++++++ 2.23 +.............................................................................................................................................................................................................................................................@@..@@................@@..@@.....................@@..@@.........................@@@@@@@@@@@@@@@@@@@@@...<......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@..............--.......<..........@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.............................................................................................+++++++++++...................................................................................................... 2.24 +.............................................................................................................................................................................................................................................................@@@@@@................@@@@@@.....................@@@@@@.......................@@@@@@@@@@@@@@@@@@@@@............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.........--..........--............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@........................................................................................+++++###########+++++................................................................................................. 2.25 +................................................................?..?....?..?.................................................................................................................................................................................@@@@@@@@@@@@@@@@@@@@@@@@@@@@.....................@@@@@@.....................@@@@@@@@@@@@@@@@@@@@@@.............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@........................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@..................................................................................@@@@@@@@@.....................................................................................+++#####################+++.............................................................................................. 2.26 +................................................................@@@@@@@@@@@@.................................................................................................................................................................................@@@@@@....................0..............................................@@@@@@@@@@@@@@@@@@@@@@@@@.............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......................n.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@..................................................................................@@@@@@@@@..................................................................................+++###########################++............................................................................................ 2.27 +................................................................@@@@....@@@@....................................................................@..@..............@..@.......................................................................................@@@@@@....................0...............................................@@@@@@@@@@@@@@@@@@@@@@@@.............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.........<..............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.......................--..............................................................4...................................................................................++################################+........................................................................................... 2.28 +................................................................@@@@....@@@@....................................................................@@@@..............@@@@.......................................................................................@@........................0.................................................@@@@@@@@@@@@@@@@@@@@@@.............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@............................@@@@@@@@@@@@@@@@@@@@@@@@@@@@..........................4.................................................................................++###################################++....................................................................?.................... 2.29 +................@@..@@..@@..@@.......................................V..........................................................................@@@@@@@@@@@@@@@@@@@@@@.......................................................................................@@...........<........@@@@@@..................>..@@@@@@.............>.......@@@@@@@@@@@@@@@@@@@@@@..........@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@................2........---.........@@@@@@@@@@@@@@@....@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.....--......................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.................V......4..............................................................................+++#######################################++...............................................................@.@@.................... 2.30 +................@@@@@@@@@@@@@@..................................................................................................................@@@@..............@@@@.............................................................................................................@@@@@@+++++++++++++++++++++@@@@@@++++++++++++++++++++@@@@@@@@@@@@@@@@@@@@@@@............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.wx.............2....................@@@@@@@@@@@@@........@@@@@@@@@@@@@@@@@@@@@@@@@@@/.\@@@@........--.............<.....@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@........................4....................................................++++++................++++############################################+++............................................................@@@@.................... 2.31 +.................@@@@@@@@@@@@...................................................................................................................@@@@..............@@@@....................?..?.....................................................................................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@................2....................@@@@@@@@@@@@..........@@@@@@@@@@@@@@@@@@@@@@@@@@..................................m.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......................4.................................................+++######+++.........++++###################################################++++................................................................................ 2.32 +.................@@@............................................................................................................................@@@@...........<..@@@@....................@@@@.....................................................................................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......<...@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...................@@@@@@@@@@@@..........@@@@@@@@@@@@@@@@@@@@@@@@@@....................................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.....................@@@....>........@@...............................++############+++++++++###########################################################++++............................................................................ 2.33 +..................I.......................................................................................................................................................................@@@@.....<..........@@............>.........>...@@..................................@@@@@@/..\@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/\@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@................@@@@@@@@@@@@..........@@@@@@@@@@@@@@@@@@@@@@@@@@JJJ..............................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.................@@@@@@@@@@@@@@@@@@@@.............................++######################################################################################+++......................................................................... 2.34 +..................I.............................................++++++++++++................................................................................................................................@@@@--------------------------@@@@.................@@@@@@@@@@@@@@@@@@.......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@..@@@@@@@@@@@@@@@@@@@@@@@@/.\@@@@@@@@@@..............3............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...................@@@@@@@@@@@@..........@@@/.\@@@@@@@@@@@@@@@@@@@@@@@@@@@@@............--..........@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...........@@@@@@@@@@@@@@@@@@@@@@@@..........................+++###########################################################################################++++.............................................@@@@..........@@@@...... 2.35 +..................I..........................................+++############++++..........................................................................................................................@@@@@@..........................@@@@@@........................................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@..@@@@@@@@@@@@@@@@@@@@@@@@...........................3..........o.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...................................V...........@@@@@@@@@@@@@@@@@@@@@@@@@@@@.........................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...........@@@@@@@@@@@@@@@@@@@@@@@@.......................+++##################################################################################################+++++......................................@@@@@@----------@@@@@@.... 2.36 +..................I.......................................+++###################++........................+++++.....................+++++++.............................................................@@@@@@@@..........................@@@@@@@@..................................ZZZZ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...........................3............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...............................................@@@@@@@@@@@@@@@@@@@@@@@@@@@@.........................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...........@@@@@@@@@@@@@@@@@@@@@@@@...................++++##########################################################################################################+++.................................@@@@@@@@..........@@@@@@@@.. 2.37 +...@@------------@@@@@@@@@@@@.......>................+++++########################++++............>.....++#####++.>............+++++#######+++++@@........>.........@@++++++++++++++++++++++++++++++++@@@@@@@@@@..........................@@@@@@@@@@..................>.............@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@SSS.......................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@......----..................................NNN@@@@@@@@@@@@@@@@@@@@@@@@@@@@................>........@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@..>........@@@@@@@@@@@@@@@@@@@@@@@@...............++++#################################################################################################################++++++++++.....................@@@@@@@@@@..........@@@@@@@@@@ 2.38 ++++@@............@@@@@@@@@@@@++++++++++++++++++++++++#################################++++++++++++++++++#########++++++++++++++#################@@@@@@@@@@@@@@@@@@@@@@################################@@@@@@@@@@..........................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...............@@@@@@@@@@@@@@@@@@......@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+++++++++++++++###############################################################################################################################+++++++++++++++++++++@@@@@@@@@@..........@@@@@@@@@@ 2.39 2.40 Basement 2.41 ..................@@@@@@@@@@]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
3.1 --- a/utilities/editor.py Wed Oct 08 00:47:54 2014 +0200 3.2 +++ b/utilities/editor.py Fri Oct 10 00:11:08 2014 +0200 3.3 @@ -378,13 +378,14 @@ 3.4 painter.drawLine(19 * 4 * self.xs, 0, 19 * 4 * self.xs, 24 * 8 * self.ys) 3.5 3.6 # Plot the finishing position. 3.7 - if c1 <= self.finishing_offset + 19 and c2 >= self.finishing_offset + 20: 3.8 + if c1 <= self.finishing_offset + 20 and c2 >= self.finishing_offset + 19: 3.9 3.10 pen = QPen(Qt.white) 3.11 pen.setStyle(Qt.DashLine) 3.12 painter.setPen(pen) 3.13 + painter.setBrush(Qt.NoBrush) 3.14 painter.drawRect((self.finishing_offset + 19) * 4 * self.xs, 0, 3.15 - 8 * self.xs, 24 * 8 * self.ys) 3.16 + 8 * self.xs - 1, 24 * 8 * self.ys) 3.17 3.18 painter.end() 3.19
