X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2FObj%2Frules.phh;h=37dbe58d4bd36705a2988e81e82eebc207eb0b09;hb=4504fa6c9ae69cbe9322e28fba9d98d1a6c08cc1;hp=9618bf7a2b84f4eb73f6222c747b4f02a1f0cbd5;hpb=827cf9b1db2abe2e726ac97063f90445244cf99f;p=brisk.git diff --git a/web/briskin5/Obj/rules.phh b/web/briskin5/Obj/rules.phh index 9618bf7..37dbe58 100644 --- a/web/briskin5/Obj/rules.phh +++ b/web/briskin5/Obj/rules.phh @@ -24,6 +24,7 @@ define('BIN5_TOURNAMENT_OLDRULES', 1); define('BIN5_TOURNAMENT_NO_DRAW', 2); +define('BIN5_TOURNAMENT_TOGETHER17', 4); define('BIN5_RULES_OLDSCHEMA', -1); define('BIN5_RULES_FINISH', 0); @@ -31,12 +32,19 @@ define('BIN5_RULES_ABANDON', 1); define('BIN5_RULES_ALLPASS', 2); define('BIN5_RULES_ASTA', 3); define('BIN5_RULES_NEXTAUCT', 4); +define('BIN5_RULES_CHECKCHOOSE',5); require_once("rules_base.phh"); require_once("rules_old_rules.phh"); require_once("rules_no_draw.phh"); require_once("rules_together17.phh"); +// FIXME - DYNAMIC WITH CACHE AND RELOAD FROM DB +function rules_keys() +{ + return array(1,2,4); +} + function rules_id2name($id) { if ($id == 1)