X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2FObj%2Frules.phh;h=37dbe58d4bd36705a2988e81e82eebc207eb0b09;hb=4504fa6c9ae69cbe9322e28fba9d98d1a6c08cc1;hp=4b14773af35c228ae8276da78b79d933fc83c307;hpb=648e67ab39b09ae4a82fe2548a6c63154b61e901;p=brisk.git diff --git a/web/briskin5/Obj/rules.phh b/web/briskin5/Obj/rules.phh index 4b14773..37dbe58 100644 --- a/web/briskin5/Obj/rules.phh +++ b/web/briskin5/Obj/rules.phh @@ -24,18 +24,27 @@ 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); 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)