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

Commit 31ee39a

Browse files
committed
Version 10.10.3
1 parent 18fb696 commit 31ee39a

File tree

25 files changed

+696
-60
lines changed

25 files changed

+696
-60
lines changed

Code/ControlPGN.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,10 @@ def actual(self):
158158
rival = self.gestor.libro.nombre
159159
elif tipoJuego in (kJugFics, kJugFide):
160160
rival = self.gestor.nombreObj
161-
elif self.gestor.xrival:
162-
rival = self.gestor.xrival.nombre
163-
else:
164-
rival = "";
161+
elif self.gestor.xrival: # foncap change
162+
rival = self.gestor.xrival.nombre # foncap change
163+
else: # foncap change
164+
rival = "" # foncap change
165165

166166
jugador = self.gestor.configuracion.jugador
167167
resultado = self.gestor.resultado

Code/EnginesWindows.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ def mas(cm):
6565

6666
cm = ConfigMotor("gaia", "Jean-Francois Romang, David Rabel", "3.5", "http://gaiachess.free.fr")
6767
cm.path = "gaia32.exe"
68+
cm.nombre = "Gaïa 3.5".decode("utf-8")
6869
cm.elo = 2378
6970
cm.ordenUCI("Ponder", "false")
7071
mas(cm)
@@ -140,6 +141,8 @@ def mas(cm):
140141
cm.elo = 2720
141142
cm.ordenUCI("Hash", "32")
142143
cm.ordenUCI("Ponder", "false")
144+
cm.nombre = "Gödel 3.4.9".decode("utf-8")
145+
143146
mas(cm)
144147

145148
cm = ConfigMotor("rhetoric", "Alberto Sanjuan", "1.4.3", "http://www.chessrhetoric.com/")
@@ -255,7 +258,7 @@ def mas(cm):
255258
cm.ponMultiPV(20, 64)
256259
mas(cm)
257260

258-
cm = ConfigMotor("irina", "Lucas Monge", "0.12", "")
261+
cm = ConfigMotor("irina", "Lucas Monge", "0.13", "")
259262
cm.path = "irina.exe"
260263
cm.elo = 1200
261264
mas(cm)

Code/Init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
DEBUG = False
2-
VERSION = "10.10.2"
2+
VERSION = "10.10.3"
33

44
import os
55
import sys

Code/QT/Histogram.py

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,9 @@ def drawBackground(self, painter, rect):
337337
pen.setWidth(2)
338338
pen.setColor(QtGui.QColor("#DE5044"))
339339
painter.setPen(pen)
340-
p = self.hserie.liPoints[self.pointActive]
341-
painter.drawLine(p.rx, bottom, p.rx, top)
340+
if 0 <= self.pointActive < len(self.hserie.liPoints):
341+
p = self.hserie.liPoints[self.pointActive]
342+
painter.drawLine(p.rx, bottom, p.rx, top)
342343

343344
def mousePressEvent(self, event):
344345
super(Histogram, self).mousePressEvent(event)
@@ -430,15 +431,9 @@ def genHistograms(partida, sicentipawns):
430431
alm.lijgW = lijgW
431432
alm.lijgB = lijgB
432433

433-
alm.porcT = porcT*1.0/len(lijg)
434-
if len(lijgW) != 0:
435-
alm.porcW = porcW*1.0/len(lijgW)
436-
else:
437-
alm.porcW = 0;
438-
if len(lijgB) != 0:
439-
alm.porcB = porcB*1.0/len(lijgB)
440-
else:
441-
alm.porcB = 0;
434+
alm.porcT = porcT*1.0/len(lijg) if len(lijg) else 0
435+
alm.porcW = porcW*1.0/len(lijgW) if len(lijgW) else 0
436+
alm.porcB = porcB*1.0/len(lijgB) if len(lijgB) else 0
442437

443438
return alm
444439

Code/QT/PantallaManualSave.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from Code import ControlPosicion
77
from Code import XVoyager
88
from Code import Partida
9+
910
from Code.QT import Colocacion
1011
from Code.QT import Controles
1112
from Code.QT import Iconos

Code/QT/PantallaPGN.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,16 @@ def gridDobleClick(self, grid, fila, oColumna):
193193
def gridDobleClickCabecera(self, grid, oColumna):
194194
clave = oColumna.clave
195195
orden = self.dbf.orden
196-
if orden.startswith(clave):
196+
if clave == "PLIES":
197+
siDesc = orden.endswith("DESC")
198+
siPrevio = orden.startswith("CAST")
199+
orden = "CAST(PLIES AS INTEGER)"
200+
if siPrevio:
201+
if siDesc:
202+
orden = ""
203+
else:
204+
orden += " DESC"
205+
elif orden.startswith(clave):
197206
siDesc = orden.endswith("DESC")
198207
if siDesc:
199208
orden = ""

Engines/Windows/irina/irina.bin

655 KB
Binary file not shown.

Engines/Windows/irina/irina.exe

11.5 KB
Binary file not shown.

Engines/Windows/irina/src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
LINK_TARGET = irina.exe
22

3-
OBJS = main.o loop.o board.o data.o util.o movegen.o makemove.o perft.o eval.o evalst.o search.o person.o hash.o
3+
OBJS = main.o loop.o board.o data.o util.o movegen.o makemove.o perft.o eval.o evalst.o search.o person.o hash.o book.o
44

55
REBUILDABLES = $(OBJS) $(LINK_TARGET)
66

0 commit comments

Comments
 (0)