1
2
3
4
5
6
7 """fics server definitions
8 """
9
10 from pyfics.server import IcsServer
11
12
13
14 IV_SINGLEBOARD, IV_OBSPING, IV_NOWRAP, IV_FR, IV_WILDCASTLE, IV_LOSERS, \
15 IV_CRAZYHOUSE, IV_SUICIDE, IV_MOVECASE, IV_SMARTMOVE, IV_PREMOVE, \
16 IV_SHOWOWNSEEK, IV_SEEKCA, IV_EXTUSERINFO, IV_BOARDINFO, IV_PINGINFO, \
17 IV_MS, IV_PIN, IV_SHOWSERVER, IV_VTHILIGHT, IV_NOHILIGHT, IV_EXTASCII, \
18 IV_SEEKINFO, IV_GRAPH, IV_PENDINFO, IV_XDR, IV_GAMEINFO, IV_BLOCK, \
19 IV_STARTPOS, IV_LOCK, IV_DEFPROMPT, IV_SEEKREMOVE, IV_AUDIOCHAT, \
20 IV_COMPRESSMOVE = [ 2**__x for __x in range(0,34) ]
21
22
23 IVARS = 0
24 IVARS = IV_SEEKREMOVE
25 IVARS = IV_DEFPROMPT
26
27 IVARS |= IV_GAMEINFO
28 IVARS |= IV_PENDINFO
29 IVARS |= IV_SEEKINFO
30 IVARS |= IV_NOHILIGHT
31 IVARS |= IV_NOWRAP
32 IVARS |= IV_SINGLEBOARD
33
34 -class Fics(IcsServer):
44