|
19 | 19 | "nuritwin", |
20 | 20 | "marutaring", |
21 | 21 | "tetroctb", |
22 | | - "bramble", |
23 | | - "disco" |
| 22 | + "bramble" |
24 | 23 | ], |
25 | 24 | { |
26 | 25 | //--------------------------------------------------------- |
|
46 | 45 | play: ["shade", "unshade", "info-blk"] |
47 | 46 | } |
48 | 47 | }, |
49 | | - "MouseEvent@disco": { |
50 | | - inputModes: { |
51 | | - edit: ["info-blk"], |
52 | | - play: ["shade", "unshade", "info-blk"] |
53 | | - }, |
54 | | - mouseinputAutoEdit: function() { |
55 | | - this.inputborder(); |
56 | | - } |
57 | | - }, |
58 | 48 | "MouseEvent@cocktail,martini,tetroctb,bramble#2": { |
59 | 49 | dispInfoBlk: function() { |
60 | 50 | var cell = this.getcell(); |
|
194 | 184 | Board: { |
195 | 185 | hasborder: 1 |
196 | 186 | }, |
197 | | - "Board@shimaguni,stostone,heyablock,cocktail,martini,nuritwin,marutaring,tetroctb,disco": { |
| 187 | + "Board@shimaguni,stostone,heyablock,cocktail,martini,nuritwin,marutaring,tetroctb": { |
198 | 188 | addExtraInfo: function() { |
199 | 189 | this.stonegraph = this.addInfoList(this.klass.AreaStoneGraph); |
200 | 190 | } |
|
316 | 306 | "AreaShadeGraph@chocona,tetroctb,bramble": { |
317 | 307 | enabled: true |
318 | 308 | }, |
319 | | - "AreaShadeGraph@nuritwin,marutaring,disco": { |
| 309 | + "AreaShadeGraph@nuritwin,marutaring": { |
320 | 310 | enabled: true, |
321 | 311 | coloring: true |
322 | 312 | }, |
|
328 | 318 | component.hinge = null; |
329 | 319 | } |
330 | 320 | }, |
331 | | - "AreaStoneGraph:AreaShadeGraph@shimaguni,stostone,heyablock,cocktail,martini,nuritwin,marutaring,tetroctb,disco": { |
| 321 | + "AreaStoneGraph:AreaShadeGraph@shimaguni,stostone,heyablock,cocktail,martini,nuritwin,marutaring,tetroctb": { |
332 | 322 | // Same as LITS AreaTetrominoGraph |
333 | 323 | enabled: true, |
334 | 324 | relation: { "cell.qans": "node", "border.ques": "separator" }, |
|
384 | 374 | paint: function() { |
385 | 375 | this.drawBGCells(); |
386 | 376 |
|
387 | | - if (this.pid !== "nuritwin" && this.pid !== "disco") { |
| 377 | + if (this.pid !== "nuritwin") { |
388 | 378 | this.drawGrid(); |
389 | 379 | } |
390 | 380 |
|
391 | 381 | if ( |
392 | 382 | this.pid === "stostone" || |
393 | 383 | this.pid === "nuritwin" || |
394 | | - this.pid === "disco" || |
395 | 384 | this.pid === "marutaring" |
396 | 385 | ) { |
397 | 386 | this.drawDotCells_stostone(); |
398 | 387 | } |
399 | 388 | this.drawShadedCells(); |
400 | 389 |
|
401 | | - if (this.pid === "nuritwin" || this.pid === "disco") { |
| 390 | + if (this.pid === "nuritwin") { |
402 | 391 | this.drawGrid(); |
403 | 392 | } |
404 | 393 |
|
|
434 | 423 | ); |
435 | 424 | } |
436 | 425 | }, |
437 | | - "Graphic@stostone,nuritwin,marutaring,disco#1": { |
| 426 | + "Graphic@stostone,nuritwin,marutaring#1": { |
438 | 427 | irowakeblk: true, |
439 | 428 | bgcellcolor_func: "error1", |
440 | 429 | bcolor: "rgb(80, 204, 80)", |
|
545 | 534 | : this.getCircleFillColor_qnum(cell); |
546 | 535 | } |
547 | 536 | }, |
548 | | - "Graphic@martini,nuritwin,disco#2": { |
| 537 | + "Graphic@martini,nuritwin#2": { |
549 | 538 | shadecolor: "#444444" |
550 | 539 | }, |
551 | 540 |
|
|
571 | 560 | this.encodeNumber16(); |
572 | 561 | } |
573 | 562 | }, |
574 | | - "Encode@disco": { |
575 | | - decodePzpr: function(type) { |
576 | | - this.decodeBorder(); |
577 | | - }, |
578 | | - encodePzpr: function(type) { |
579 | | - this.encodeBorder(); |
580 | | - } |
581 | | - }, |
582 | 563 | //--------------------------------------------------------- |
583 | 564 | FileIO: { |
584 | 565 | decodeData: function() { |
|
603 | 584 | } |
604 | 585 | } |
605 | 586 | }, |
606 | | - "FileIO@disco": { |
607 | | - decodeData: function() { |
608 | | - this.decodeBorderQues(); |
609 | | - this.decodeCellAns(); |
610 | | - }, |
611 | | - encodeData: function() { |
612 | | - this.encodeBorderQues(); |
613 | | - this.encodeCellAns(); |
614 | | - } |
615 | | - }, |
616 | 587 |
|
617 | 588 | //--------------------------------------------------------- |
618 | 589 | // 正解判定処理実行部 |
|
660 | 631 | "checkShadeCellCount" |
661 | 632 | ] |
662 | 633 | }, |
663 | | - "AnsCheck@nuritwin,disco#1": { |
| 634 | + "AnsCheck@nuritwin#1": { |
664 | 635 | checklist: [ |
665 | 636 | "check2x2ShadeCell", |
666 | | - "checkShadeBlockSize@nuritwin", |
667 | | - "checkSizesEqual@nuritwin", |
| 637 | + "checkShadeBlockSize", |
| 638 | + "checkSizesEqual", |
668 | 639 | "checkTwoBlocks", |
669 | 640 | "checkConnectShade", |
670 | 641 | "checkNoShadeCellInArea", |
|
1016 | 987 | this.checkOneArea(this.board.sblk8mgr, "csDivide"); |
1017 | 988 | } |
1018 | 989 | }, |
1019 | | - "AnsCheck@nuritwin,disco": { |
| 990 | + "AnsCheck@nuritwin": { |
1020 | 991 | checkShadeBlockSize: function() { |
1021 | 992 | var blocks = this.board.stonegraph.components; |
1022 | 993 | for (var id = 0; id < blocks.length; id++) { |
|
0 commit comments