1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-03-12 04:07:01 -04:00

Add two mahjongg layouts

This commit is contained in:
Joe R 2025-03-01 16:17:53 -05:00
parent 81150b4681
commit 52e2ffc58f
3 changed files with 47 additions and 3 deletions

View file

@ -594,8 +594,8 @@ class GI:
tuple(range(19000, 19012)) + tuple(range(22303, 22311)) +
tuple(range(22353, 22361))),
('fc-3.1', tuple(range(961, 971))),
('dev', tuple(range(971, 978)) + tuple(range(18005, 18007)) +
(44, 526,)),
('dev', tuple(range(971, 978)) + tuple(range(5419, 5421)) +
tuple(range(18005, 18007)) + (44, 526,)),
)
# deprecated - the correct way is to or a GI.GT_XXX flag

View file

@ -407,7 +407,7 @@ class AbstractMahjonggGame(Game):
# width of self.texts.info
# ti_width = Font(self.canvas, font).measure(_('Remaining'))
ti_width = 80
ti_width = max(80, l.CW)
# set window size
dxx, dyy = abs(dx) * (max_tl+1), abs(dy) * (max_tl+1)

View file

@ -356,6 +356,50 @@ r(5418, "Zigzag", layout="0aabaajaaracahcb" +
"ynvyniyoaypaAehA" +
"faAgaAmhAnaAoaCa" +
"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")
# ----------------------------------------------------------------------