Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Commit

Permalink
Version 9.05
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmonk committed Jun 13, 2015
1 parent d2646b7 commit 2e497b7
Show file tree
Hide file tree
Showing 13 changed files with 27 additions and 21 deletions.
10 changes: 6 additions & 4 deletions Code/Analisis.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,12 +560,14 @@ def hazListaRM(self):
hasta = pv1[2:4]
coronacion = pv1[4] if len(pv1) == 5 else None

txt = rm.abrTextoBase()
if txt:
txt = "(%s)"%txt
if self.siFigurines:
nombre = pb.pgn(desde, hasta, coronacion) + \
" (%s)" % rm.abrTextoBase()
nombre = pb.pgn(desde, hasta, coronacion) + txt

else:
nombre = pb.pgnSP(desde, hasta, coronacion) + \
" (%s)" % rm.abrTextoBase()
nombre = pb.pgnSP(desde, hasta, coronacion) + txt
li.append((rm, nombre, rm.puntosABS()))

return li
Expand Down
4 changes: 2 additions & 2 deletions Code/EnginesWindows.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ def mas(cm):
cm.elo = 1854
mas(cm)

cm = ConfigMotor("cinnamon", "Giuseppe Cannella", "1.2b", "http://cinnamonchess.altervista.org/")
cm.path = "cinnamon_1.2b-generic.exe"
cm = ConfigMotor("cinnamon", "Giuseppe Cannella", "1.2c", "http://cinnamonchess.altervista.org/")
cm.path = "cinnamon_1.2c-generic.exe"
cm.ordenUCI("Hash", "32")
cm.elo = 1930
mas(cm)
Expand Down
2 changes: 1 addition & 1 deletion Code/Gestor.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def atajosRaton(self, a1h8):

if not siPredictivo:
if self.atajosRatonOrigen and self.atajosRatonDestino:
self.tablero.muevePiezaTemporal(self.atajosRatonOrigen, self.atajosRatonDestino)
# self.tablero.muevePiezaTemporal(self.atajosRatonOrigen, self.atajosRatonDestino)
self.tablero.mensajero(self.atajosRatonOrigen, self.atajosRatonDestino)
elif not self.atajosRatonOrigen:
self.atajosRatonReset()
Expand Down
1 change: 1 addition & 0 deletions Code/GestorEntPos.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ def piensaHumano(self, siBlancas):

self.siJuegaHumano = True
self.activaColor(siBlancas)
self.siAnalizadoTutor = False

def piensaRival(self):
self.rivalPensando = True
Expand Down
3 changes: 1 addition & 2 deletions Code/GestorFideFics.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,7 @@ def mueveHumano(self, desde, hasta, coronacion=""):
bmove = _("book move")
comentario = "%s: %s %s\n%s: %s %s" % (self.nombreObj, jgObj.pgnSP(), bmove,
self.configuracion.jugador, jgUsu.pgnSP(), bmove)
w = PantallaJuicio.MensajeF(self.pantalla, comentario)
w.mostrar()
QTUtil2.mensajeTemporal(self.pantalla, comentario, 2)
siAnalizaJuez = False
else:
siAnalizaJuez = True
Expand Down
5 changes: 4 additions & 1 deletion Code/QT/PantallaAnalisis.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,10 @@ def gridDato(self, grid, fila, oColumna):
desde = pv1[:2]
hasta = pv1[2:4]
coronacion = pv1[4] if len(pv1) == 5 else None
return jg.posicionBase.pgn(desde, hasta, coronacion) + " (%s)" % rm.abrTextoBase()
txt = rm.abrTextoBase()
if txt:
txt = " (%s)" % txt
return jg.posicionBase.pgn(desde, hasta, coronacion) + txt
elif columna == "DIF":
mrm, pos = jg.analisis
rm = mrm.liMultiPV[0]
Expand Down
1 change: 0 additions & 1 deletion Code/QT/Tablero.py
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,6 @@ def mousePressEvent(self, event):
f = chr(48 + yc)
c = chr(96 + xc)
a1h8 = c + f

self.liMouse.append(a1h8)

if self.atajosRaton:
Expand Down
11 changes: 6 additions & 5 deletions Code/QT/WBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,11 +370,12 @@ def gridDato(self, grid, fila, oColumna):
mate = analisis.mate
siW = jg.posicionBase.siBlancas
if mate:
if mate > 0:
mate -= 1
if not siW:
mate = -mate
info = ("(M%+d)" % mate) if mate else ""
if mate == 1:
info = ""
else:
if not siW:
mate = -mate
info = "(M%+d)" % mate
else:
pts = analisis.puntos
if not siW:
Expand Down
6 changes: 3 additions & 3 deletions Code/XMotorRespuesta.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,11 @@ def abrTextoPDT(self):
def abrTextoBase(self):
if self.mate != 0:
mt = self.mate
if mt > 0:
mt -= 1
if mt == 1:
return ""
if not self.siBlancas:
mt = -mt
return ("M%+d" % mt) if mt else "M"
return ("M%+d" % mt)
else:
pts = self.puntos
if not self.siBlancas:
Expand Down
Binary file not shown.
Binary file modified Locale/br/LC_MESSAGES/lucaschess.mo
Binary file not shown.
Binary file modified Locale/fr/LC_MESSAGES/lucaschess.mo
Binary file not shown.
5 changes: 3 additions & 2 deletions Lucas.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@


"""
1. Mate label in analysis. (dima d)
1. Wrong analysis label when mate. (dima d)
2. When program path includes cyrillic characters. (tserv)
3. Merging polyglot books.
4. Renaming a Personal opening guide. (Mario L)
5. Changed stockfish with a compilation valid to old pcs. (Jörg R)
6. Play like a GM, when saving to PGN. (Uli)
7. Cinnamon problems working with low fixed depths, detected but not fixed. (Xema)
7. Cinnamon engine, problems working with low depths, fixed by author Giussepe Cannella. (Xema)
8. Moving pieces pressing cell, can put pieces in wrong positions. (Bolivar Gonzalez)
"""

import os
Expand Down

0 comments on commit 2e497b7

Please sign in to comment.