mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Add two mahjongg layouts
This commit is contained in:
parent
81150b4681
commit
52e2ffc58f
3 changed files with 47 additions and 3 deletions
|
@ -594,8 +594,8 @@ class GI:
|
||||||
tuple(range(19000, 19012)) + tuple(range(22303, 22311)) +
|
tuple(range(19000, 19012)) + tuple(range(22303, 22311)) +
|
||||||
tuple(range(22353, 22361))),
|
tuple(range(22353, 22361))),
|
||||||
('fc-3.1', tuple(range(961, 971))),
|
('fc-3.1', tuple(range(961, 971))),
|
||||||
('dev', tuple(range(971, 978)) + tuple(range(18005, 18007)) +
|
('dev', tuple(range(971, 978)) + tuple(range(5419, 5421)) +
|
||||||
(44, 526,)),
|
tuple(range(18005, 18007)) + (44, 526,)),
|
||||||
)
|
)
|
||||||
|
|
||||||
# deprecated - the correct way is to or a GI.GT_XXX flag
|
# deprecated - the correct way is to or a GI.GT_XXX flag
|
||||||
|
|
|
@ -407,7 +407,7 @@ class AbstractMahjonggGame(Game):
|
||||||
|
|
||||||
# width of self.texts.info
|
# width of self.texts.info
|
||||||
# ti_width = Font(self.canvas, font).measure(_('Remaining'))
|
# ti_width = Font(self.canvas, font).measure(_('Remaining'))
|
||||||
ti_width = 80
|
ti_width = max(80, l.CW)
|
||||||
|
|
||||||
# set window size
|
# set window size
|
||||||
dxx, dyy = abs(dx) * (max_tl+1), abs(dy) * (max_tl+1)
|
dxx, dyy = abs(dx) * (max_tl+1), abs(dy) * (max_tl+1)
|
||||||
|
|
|
@ -356,6 +356,50 @@ r(5418, "Zigzag", layout="0aabaajaaracahcb" +
|
||||||
"ynvyniyoaypaAehA" +
|
"ynvyniyoaypaAehA" +
|
||||||
"faAgaAmhAnaAoaCa" +
|
"faAgaAmhAnaAoaCa" +
|
||||||
"aCfaCnaCs")
|
"aCfaCnaCs")
|
||||||
|
r(5419, "Lizard", layout="0aadaafaahaajhbe" +
|
||||||
|
"hbghbibccaceacga" +
|
||||||
|
"ciackidjbebaejae" +
|
||||||
|
"laeqheraesifkbga" +
|
||||||
|
"agehgfaggagkagmb" +
|
||||||
|
"grihlaiabifailai" +
|
||||||
|
"nbirijmojqakaakg" +
|
||||||
|
"hkhakiokihkjakko" +
|
||||||
|
"kkvklakmvknakook" +
|
||||||
|
"ohkpakqhllolmhln" +
|
||||||
|
"amaamkammamohnlo" +
|
||||||
|
"nmhnnaokaomaoohp" +
|
||||||
|
"lopmhpnaqjaqlaqn" +
|
||||||
|
"hrkorlhrmasjasla" +
|
||||||
|
"snhtkotlhtmaujau" +
|
||||||
|
"launhvkovlhvmawi" +
|
||||||
|
"awkawmhxjpxkhxla" +
|
||||||
|
"yiaykaymazehzfaz" +
|
||||||
|
"gozghzhozihzjvzj" +
|
||||||
|
"ozkhzlvzlozmhzna" +
|
||||||
|
"zoozohzpazqaAiaA" +
|
||||||
|
"kaAmbBdiBkbBraCj" +
|
||||||
|
"aClaDchDdaDehDka" +
|
||||||
|
"DqhDraDsaEjaElaF" +
|
||||||
|
"daFraGk")
|
||||||
|
r(5420, "Candy", layout="0daadaccaebagbai" +
|
||||||
|
"aakdcbccdbcfbcha" +
|
||||||
|
"cjcecbeebegaeibg" +
|
||||||
|
"dbgfaghbieaigakd" +
|
||||||
|
"akfakhhlfambamda" +
|
||||||
|
"mfamhamjhnchneon" +
|
||||||
|
"fhnghniaobaodaof" +
|
||||||
|
"aohaojhpcipeipgh" +
|
||||||
|
"piaqbaqdaqfvqfaq" +
|
||||||
|
"haqjhrcireirghri" +
|
||||||
|
"asbasdasfashasjh" +
|
||||||
|
"tchteotfhtghtiau" +
|
||||||
|
"baudaufauhaujhvf" +
|
||||||
|
"awdawfawhayebyga" +
|
||||||
|
"AdbAfbAhaCcbCebC" +
|
||||||
|
"gcCiaEbbEdbEfcEh" +
|
||||||
|
"dEjaGabGcbGecGgd" +
|
||||||
|
"GidGk")
|
||||||
|
|
||||||
|
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue