130 {
131 components = new Container();
132 ComponentResourceManager resources =
new ComponentResourceManager(typeof(
CollisionEditor));
197 btnUndo =
new ToolStripButton();
198 btnRedo =
new ToolStripButton();
218 btnHelp =
new ToolStripButton();
222 moveToNewObjectToolStripMenuItem = new ToolStripMenuItem();
223 toolStripSeparator4 = new ToolStripSeparator();
224 splitToolStripMenuItem = new ToolStripMenuItem();
225 mergeToolStripMenuItem = new ToolStripMenuItem();
226 flipToolStripMenuItem = new ToolStripMenuItem();
227 _deleteToolStripMenuItem1 = new ToolStripMenuItem();
228 transformToolStripMenuItem = new ToolStripMenuItem();
229 alignXToolStripMenuItem = new ToolStripMenuItem();
230 alignYToolStripMenuItem = new ToolStripMenuItem();
252 ((ISupportInitialize)
trackBar1).BeginInit();
254 SuspendLayout();
255
256
257
258 undoToolStrip.Dock = DockStyle.Fill;
259 undoToolStrip.FixedPanel = FixedPanel.Panel1;
260 undoToolStrip.Location = new Point(0, 0);
261 undoToolStrip.Name = "undoToolStrip";
262
263
264
266
267
268
271 undoToolStrip.Size = new Size(694, 467);
272 undoToolStrip.SplitterDistance = 209;
273 undoToolStrip.TabIndex = 1;
274
275
276
277 redoToolStrip.Dock = DockStyle.Fill;
278 redoToolStrip.Location = new Point(0, 0);
279 redoToolStrip.Name = "redoToolStrip";
280 redoToolStrip.Orientation = Orientation.Horizontal;
281
282
283
286
287
288
292 redoToolStrip.Size = new Size(209, 467);
293 redoToolStrip.SplitterDistance = 242;
294 redoToolStrip.TabIndex = 2;
295
296
297
298 modelTree.BorderStyle = BorderStyle.None;
299 modelTree.CheckBoxes = true;
301 modelTree.Dock = DockStyle.Fill;
302 modelTree.HideSelection = false;
303 modelTree.Location = new Point(0, 17);
304 modelTree.Name = "modelTree";
305 modelTree.Size = new Size(209, 225);
306 modelTree.TabIndex = 4;
310
311
312
314 {
319 });
320 contextMenuStrip2.Name = "contextMenuStrip2";
321 contextMenuStrip2.Size = new Size(239, 76);
323
324
325
326 assignToolStripMenuItem.Name = "assignToolStripMenuItem";
327 assignToolStripMenuItem.Size = new Size(238, 22);
328 assignToolStripMenuItem.Text = "Assign";
330
331
332
333 assignNoMoveToolStripMenuItem.Name = "assignNoMoveToolStripMenuItem";
334 assignNoMoveToolStripMenuItem.Size = new Size(238, 22);
335 assignNoMoveToolStripMenuItem.Text = "Assign (No relative movement)";
337
338
339
340 assignSeperatorToolStripMenuItem.Name = "assignSeperatorToolStripMenuItem";
341 assignSeperatorToolStripMenuItem.Size = new Size(235, 6);
342
343
344
345 snapToolStripMenuItem1.Name = "snapToolStripMenuItem1";
346 snapToolStripMenuItem1.Size = new Size(238, 22);
347 snapToolStripMenuItem1.Text = "Snap";
349
350
351
355 panel2.Dock = DockStyle.Top;
356 panel2.Location = new Point(0, 0);
357 panel2.Name = "panel2";
358 panel2.Size = new Size(209, 17);
359 panel2.TabIndex = 3;
360
361
362
363 chkBones.Location = new Point(100, 0);
364 chkBones.Name = "chkBones";
365 chkBones.Padding = new Padding(1, 0, 0, 0);
366 chkBones.Size = new Size(67, 17);
367 chkBones.TabIndex = 4;
368 chkBones.Text = "Bones";
369 chkBones.UseVisualStyleBackColor = true;
371
372
373
374 chkPoly.Checked = true;
375 chkPoly.CheckState = CheckState.Checked;
376 chkPoly.Location = new Point(44, 0);
377 chkPoly.Name = "chkPoly";
378 chkPoly.Padding = new Padding(1, 0, 0, 0);
379 chkPoly.Size = new Size(54, 17);
380 chkPoly.TabIndex = 3;
381 chkPoly.Text = "Poly";
382 chkPoly.ThreeState = true;
383 chkPoly.UseVisualStyleBackColor = true;
385
386
387
388 chkAllModels.Checked = true;
389 chkAllModels.CheckState = CheckState.Checked;
390 chkAllModels.Location = new Point(0, 0);
391 chkAllModels.Name = "chkAllModels";
392 chkAllModels.Padding = new Padding(1, 0, 0, 0);
393 chkAllModels.Size = new Size(41, 17);
394 chkAllModels.TabIndex = 2;
395 chkAllModels.Text = "All";
396 chkAllModels.UseVisualStyleBackColor = true;
398
399
400
401 lstObjects.BorderStyle = BorderStyle.None;
403 lstObjects.Dock = DockStyle.Fill;
404 lstObjects.FormattingEnabled = true;
405 lstObjects.IntegralHeight = false;
406 lstObjects.Location = new Point(0, 0);
407 lstObjects.Name = "lstObjects";
408 lstObjects.Size = new Size(209, 82);
409 lstObjects.TabIndex = 1;
413
414
415
417 {
426 });
427 contextMenuStrip1.Name = "contextMenuStrip1";
428 contextMenuStrip1.Size = new Size(238, 132);
430
431
432
433 newObjectToolStripMenuItem.Name = "newObjectToolStripMenuItem";
434 newObjectToolStripMenuItem.Size = new Size(237, 22);
435 newObjectToolStripMenuItem.Text = "New Object";
437
438
439
440 toolStripMenuItem3.Name = "toolStripMenuItem3";
441 toolStripMenuItem3.Size = new Size(234, 6);
442
443
444
445 unlinkToolStripMenuItem.Name = "unlinkToolStripMenuItem";
446 unlinkToolStripMenuItem.Size = new Size(237, 22);
447 unlinkToolStripMenuItem.Text = "Unlink";
449
450
451
452 unlinkNoMoveToolStripMenuItem.Name = "unlinkNoMoveToolStripMenuItem";
453 unlinkNoMoveToolStripMenuItem.Size = new Size(237, 22);
454 unlinkNoMoveToolStripMenuItem.Text = "Unlink (No relative movement)";
456
457
458
459 toolStripMenuItem2.Name = "toolStripMenuItem2";
460 toolStripMenuItem2.Size = new Size(234, 6);
461
462
463
464 snapToolStripMenuItem.Name = "snapToolStripMenuItem";
465 snapToolStripMenuItem.Size = new Size(237, 22);
466 snapToolStripMenuItem.Text = "Snap";
468
469
470
471 toolStripMenuItem1.Name = "toolStripMenuItem1";
472 toolStripMenuItem1.Size = new Size(234, 6);
473
474
475
476 _deleteToolStripMenuItem.Name = "_deleteToolStripMenuItem";
477 _deleteToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.Delete;
478 _deleteToolStripMenuItem.Size = new Size(237, 22);
479 _deleteToolStripMenuItem.Text = "Delete";
481
482
483
487 panel3.Dock = DockStyle.Bottom;
488 panel3.Location = new Point(0, 82);
489 panel3.Name = "panel3";
490 panel3.Size = new Size(209, 115);
491 panel3.TabIndex = 16;
492
493
494
502 pnlPlaneProps.Dock = DockStyle.Bottom;
503 pnlPlaneProps.Location = new Point(0, -273);
504 pnlPlaneProps.Name = "pnlPlaneProps";
505 pnlPlaneProps.Size = new Size(209, 188);
506 pnlPlaneProps.TabIndex = 0;
507 pnlPlaneProps.Visible = false;
508
509
510
511 groupBoxFlags2.Anchor = AnchorStyles.Top | AnchorStyles.Bottom
512 | AnchorStyles.Left;
517 groupBoxFlags2.Location = new Point(104, 102);
518 groupBoxFlags2.Margin = new Padding(0);
519 groupBoxFlags2.Name = "groupBoxFlags2";
520 groupBoxFlags2.Padding = new Padding(0);
521 groupBoxFlags2.Size = new Size(105, 160);
522 groupBoxFlags2.TabIndex = 14;
523 groupBoxFlags2.TabStop = false;
524
525
526
527 chkFlagCrush.Location = new Point(8, 49);
528 chkFlagCrush.Margin = new Padding(0);
529 chkFlagCrush.Name = "chkFlagCrush";
530 chkFlagCrush.Size = new Size(105, 18);
531 chkFlagCrush.TabIndex = 3;
532 chkFlagCrush.Text = "Crush (SSE)";
533 chkFlagCrush.UseVisualStyleBackColor = true;
535
536
537
538 chkFlagBucculus.Location = new Point(8, 65);
539 chkFlagBucculus.Margin = new Padding(0);
540 chkFlagBucculus.Name = "chkFlagCrush";
541 chkFlagBucculus.Size = new Size(105, 18);
542 chkFlagBucculus.TabIndex = 3;
543 chkFlagBucculus.Text = "Bucculus (SSE)";
544 chkFlagBucculus.UseVisualStyleBackColor = true;
546
547
548
549 chkFlagSuperSoft.Location = new Point(8, 33);
550 chkFlagSuperSoft.Margin = new Padding(0);
551 chkFlagSuperSoft.Name = "chkFlagSuperSoft";
552 chkFlagSuperSoft.Size = new Size(86, 18);
553 chkFlagSuperSoft.TabIndex = 3;
554 chkFlagSuperSoft.Text = "Super Soft";
555 chkFlagSuperSoft.UseVisualStyleBackColor = true;
557
558
559
560 groupBoxFlags1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom
561 | AnchorStyles.Left;
566 groupBoxFlags1.Location = new Point(0, 102);
567 groupBoxFlags1.Margin = new Padding(0);
568 groupBoxFlags1.Name = "groupBoxFlags1";
569 groupBoxFlags1.Padding = new Padding(0);
570 groupBoxFlags1.Size = new Size(104, 160);
571 groupBoxFlags1.TabIndex = 13;
572 groupBoxFlags1.TabStop = false;
573 groupBoxFlags1.Text = "Flags";
574
575
576
577 chkLeftLedge.Location = new Point(8, 33);
578 chkLeftLedge.Margin = new Padding(0);
579 chkLeftLedge.Name = "chkLeftLedge";
580 chkLeftLedge.Size = new Size(86, 18);
581 chkLeftLedge.TabIndex = 4;
582 chkLeftLedge.Text = "Left Ledge";
583 chkLeftLedge.UseVisualStyleBackColor = true;
585
586
587
588 chkNoWalljump.Location = new Point(8, 65);
589 chkNoWalljump.Margin = new Padding(0);
590 chkNoWalljump.Name = "chkNoWalljump";
591 chkNoWalljump.Size = new Size(90, 18);
592 chkNoWalljump.TabIndex = 2;
593 chkNoWalljump.Text = "No Walljump";
594 chkNoWalljump.UseVisualStyleBackColor = true;
596
597
598
599 chkRightLedge.Location = new Point(8, 49);
600 chkRightLedge.Margin = new Padding(0);
601 chkRightLedge.Name = "chkRightLedge";
602 chkRightLedge.Size = new Size(86, 18);
603 chkRightLedge.TabIndex = 1;
604 chkRightLedge.Text = "Right Ledge";
605 chkRightLedge.UseVisualStyleBackColor = true;
607
608
609
610 chkTypeRotating.Location = new Point(8, 17);
611 chkTypeRotating.Margin = new Padding(0);
612 chkTypeRotating.Name = "chkTypeRotating";
613 chkTypeRotating.Size = new Size(86, 18);
614 chkTypeRotating.TabIndex = 4;
615 chkTypeRotating.Text = "Rotating";
616 chkTypeRotating.UseVisualStyleBackColor = true;
618
619
620
621 chkFallThrough.Location = new Point(8, 17);
622 chkFallThrough.Margin = new Padding(0);
623 chkFallThrough.Name = "chkFallThrough";
624 chkFallThrough.Size = new Size(90, 18);
625 chkFallThrough.TabIndex = 0;
626 chkFallThrough.Text = "Fall-Through";
627 chkFallThrough.UseVisualStyleBackColor = true;
629
630
631
632 groupBoxTargets.Anchor = AnchorStyles.Top | AnchorStyles.Bottom
633 | AnchorStyles.Left;
637 groupBoxTargets.Location = new Point(0, 50);
638 groupBoxTargets.Margin = new Padding(0);
639 groupBoxTargets.Name = "groupBoxTargets";
640 groupBoxTargets.Padding = new Padding(0);
641 groupBoxTargets.Size = new Size(208, 71);
642 groupBoxTargets.TabIndex = 14;
643 groupBoxTargets.TabStop = false;
644 groupBoxTargets.Text = "Collision Targets";
645
646
647
648 chkTypePokemonTrainer.Location = new Point(82, 33);
649 chkTypePokemonTrainer.Margin = new Padding(0);
650 chkTypePokemonTrainer.Name = "chkTypePokemonTrainer";
651 chkTypePokemonTrainer.Size = new Size(116, 18);
652 chkTypePokemonTrainer.TabIndex = 3;
653 chkTypePokemonTrainer.Text = "Pokémon Trainer";
654 chkTypePokemonTrainer.UseVisualStyleBackColor = true;
656
657
658
659 chkTypeItems.Location = new Point(8, 33);
660 chkTypeItems.Margin = new Padding(0);
661 chkTypeItems.Name = "chkTypeItems";
662 chkTypeItems.Size = new Size(86, 18);
663 chkTypeItems.TabIndex = 3;
664 chkTypeItems.Text = "Items";
665 chkTypeItems.UseVisualStyleBackColor = true;
667
668
669
670 chkTypeCharacters.Location = new Point(8, 17);
671 chkTypeCharacters.Margin = new Padding(0);
672 chkTypeCharacters.Name = "chkTypeCharacters";
673 chkTypeCharacters.Size = new Size(194, 18);
674 chkTypeCharacters.TabIndex = 4;
675 chkTypeCharacters.Text = "Everything";
676 chkTypeCharacters.UseVisualStyleBackColor = true;
678
679
680
681 cboMaterial.DropDownStyle = ComboBoxStyle.DropDownList;
682 cboMaterial.FormattingEnabled = true;
683 cboMaterial.Location = new Point(66, 25);
684 cboMaterial.Name = "cboMaterial";
685 cboMaterial.Size = new Size(139, 21);
686 cboMaterial.TabIndex = 12;
688 cboMaterial.Anchor = AnchorStyles.Top | AnchorStyles.Right
689 | AnchorStyles.Left;
690
691
692
693 cboType.DropDownStyle = ComboBoxStyle.DropDownList;
694 cboType.FormattingEnabled = true;
695 cboType.Location = new Point(66, 4);
696 cboType.Name = "cboType";
697 cboType.Size = new Size(139, 21);
698 cboType.TabIndex = 5;
700 cboType.Anchor = AnchorStyles.Top | AnchorStyles.Right
701 | AnchorStyles.Left;
702
703
704
705 label5.Location = new Point(7, 25);
706 label5.Name = "label5";
707 label5.Size = new Size(53, 21);
708 label5.TabIndex = 8;
709 label5.Text = "Material:";
710 label5.TextAlign = ContentAlignment.MiddleRight;
711
712
713
714 labelType.Location = new Point(7, 4);
715 labelType.Name = "labelType";
716 labelType.Size = new Size(53, 21);
717 labelType.TabIndex = 8;
718 labelType.Text = "Type:";
719 labelType.TextAlign = ContentAlignment.MiddleRight;
720
721
722
727 pnlPointProps.Dock = DockStyle.Bottom;
728 pnlPointProps.Location = new Point(0, -85);
729 pnlPointProps.Name = "pnlPointProps";
730 pnlPointProps.Size = new Size(209, 70);
731 pnlPointProps.TabIndex = 15;
732 pnlPointProps.Visible = false;
733
734
735
736 label2.BorderStyle = BorderStyle.FixedSingle;
737 label2.Location = new Point(18, 32);
738 label2.Name = "label2";
739 label2.Size = new Size(42, 20);
740 label2.TabIndex = 3;
741 label2.Text = "Y";
742 label2.TextAlign = ContentAlignment.MiddleRight;
743
744
745
746 numY.BorderStyle = BorderStyle.FixedSingle;
747 numY.Integral = false;
748 numY.Location = new Point(59, 32);
749 numY.MaximumValue = 3.402823E+38F;
750 numY.MinimumValue = -3.402823E+38F;
751 numY.Name = "numY";
752 numY.Size = new Size(100, 20);
753 numY.TabIndex = 2;
754 numY.Text = "0";
756
757
758
759 label1.BorderStyle = BorderStyle.FixedSingle;
760 label1.Location = new Point(18, 13);
761 label1.Name = "label1";
762 label1.Size = new Size(42, 20);
763 label1.TabIndex = 1;
764 label1.Text = "X";
765 label1.TextAlign = ContentAlignment.MiddleRight;
766
767
768
769 numX.BorderStyle = BorderStyle.FixedSingle;
770 numX.Integral = false;
771 numX.Location = new Point(59, 13);
772 numX.MaximumValue = 3.402823E+38F;
773 numX.MinimumValue = -3.402823E+38F;
774 numX.Name = "numX";
775 numX.Size = new Size(100, 20);
776 numX.TabIndex = 0;
777 numX.Text = "0";
779
780
781
791 pnlObjProps.Dock = DockStyle.Bottom;
792 pnlObjProps.Location = new Point(0, -15);
793 pnlObjProps.Name = "pnlObjProps";
794 pnlObjProps.Size = new Size(209, 130);
795 pnlObjProps.TabIndex = 1;
796 pnlObjProps.Visible = false;
797
798
799
800 chkObjSSEUnk.AutoSize = true;
801 chkObjSSEUnk.Location = new Point(10, 102);
802 chkObjSSEUnk.Name = "chkObjSSEUnk";
803 chkObjSSEUnk.Size = new Size(96, 17);
804 chkObjSSEUnk.TabIndex = 15;
805 chkObjSSEUnk.Text = "SSE Unknown";
806 chkObjSSEUnk.UseVisualStyleBackColor = true;
808
809
810
811 chkObjModule.AutoSize = true;
812 chkObjModule.Location = new Point(10, 79);
813 chkObjModule.Name = "chkObjModule";
814 chkObjModule.Size = new Size(111, 17);
815 chkObjModule.TabIndex = 14;
816 chkObjModule.Text = "Module Controlled";
817 chkObjModule.UseVisualStyleBackColor = true;
819
820
821
822 chkObjUnk.AutoSize = true;
823 chkObjUnk.Location = new Point(10, 56);
824 chkObjUnk.Name = "chkObjUnk";
825 chkObjUnk.Size = new Size(72, 17);
826 chkObjUnk.TabIndex = 13;
827 chkObjUnk.Text = "Unknown";
828 chkObjUnk.UseVisualStyleBackColor = true;
830
831
832
833 btnUnlink.Location = new Point(177, 22);
834 btnUnlink.Name = "btnUnlink";
835 btnUnlink.Size = new Size(28, 21);
836 btnUnlink.TabIndex = 12;
837 btnUnlink.Text = "-";
838 btnUnlink.UseVisualStyleBackColor = true;
840
841
842
843 btnRelink.Location = new Point(177, 2);
844 btnRelink.Name = "btnRelink";
845 btnRelink.Size = new Size(28, 21);
846 btnRelink.TabIndex = 4;
847 btnRelink.Text = "+";
848 btnRelink.UseVisualStyleBackColor = true;
850
851
852
853 txtBone.Location = new Point(49, 23);
854 txtBone.Name = "txtBone";
855 txtBone.ReadOnly = true;
856 txtBone.Size = new Size(126, 20);
857 txtBone.TabIndex = 3;
858
859
860
861 label4.Location = new Point(4, 23);
862 label4.Name = "label4";
863 label4.Size = new Size(42, 20);
864 label4.TabIndex = 2;
865 label4.Text = "Bone:";
866 label4.TextAlign = ContentAlignment.MiddleRight;
867
868
869
870 txtModel.Location = new Point(49, 3);
871 txtModel.Name = "txtModel";
872 txtModel.ReadOnly = true;
873 txtModel.Size = new Size(126, 20);
874 txtModel.TabIndex = 1;
875
876
877
878 label3.Location = new Point(4, 3);
879 label3.Name = "label3";
880 label3.Size = new Size(42, 20);
881 label3.TabIndex = 0;
882 label3.Text = "Model:";
883 label3.TextAlign = ContentAlignment.MiddleRight;
884
885
886
890 panel4.Dock = DockStyle.Bottom;
891 panel4.Enabled = false;
892 panel4.Location = new Point(0, 197);
893 panel4.Name = "panel4";
894 panel4.Size = new Size(209, 24);
895 panel4.TabIndex = 17;
896 panel4.Visible = false;
897
898
899
900 btnPlayAnims.Dock = DockStyle.Fill;
901 btnPlayAnims.Location = new Point(35, 0);
902 btnPlayAnims.Name = "btnPlayAnims";
903 btnPlayAnims.Size = new Size(139, 24);
904 btnPlayAnims.TabIndex = 16;
905 btnPlayAnims.Text = "Play Animations";
906 btnPlayAnims.UseVisualStyleBackColor = true;
908
909
910
911 btnPrevFrame.Dock = DockStyle.Left;
912 btnPrevFrame.Location = new Point(0, 0);
913 btnPrevFrame.Name = "btnPrevFrame";
914 btnPrevFrame.Size = new Size(35, 24);
915 btnPrevFrame.TabIndex = 18;
916 btnPrevFrame.Text = "<";
917 btnPrevFrame.UseVisualStyleBackColor = true;
919
920
921
922 btnNextFrame.Dock = DockStyle.Right;
923 btnNextFrame.Location = new Point(174, 0);
924 btnNextFrame.Name = "btnNextFrame";
925 btnNextFrame.Size = new Size(35, 24);
926 btnNextFrame.TabIndex = 17;
927 btnNextFrame.Text = ">";
928 btnNextFrame.UseVisualStyleBackColor = true;
930
931
932
933 _modelPanel.Dock = DockStyle.Fill;
934 _modelPanel.Location = new Point(0, 25);
935 _modelPanel.Name = "_modelPanel";
936 _modelPanel.Size = new Size(481, 442);
937 _modelPanel.TabIndex = 0;
944
945
946
947 panel1.BackColor = Color.WhiteSmoke;
951 panel1.Dock = DockStyle.Top;
952 panel1.Location = new Point(0, 0);
953 panel1.Name = "panel1";
954 panel1.Size = new Size(481, 25);
955 panel1.TabIndex = 2;
956
957
958
959 toolStrip1.BackColor = Color.WhiteSmoke;
960 toolStrip1.Dock = DockStyle.Fill;
961 toolStrip1.GripStyle = ToolStripGripStyle.Hidden;
963 {
986 });
987 toolStrip1.Location = new Point(0, 0);
988 toolStrip1.Name = "toolStrip1";
989 toolStrip1.Size = new Size(335, 25);
990 toolStrip1.TabIndex = 1;
991 toolStrip1.Text = "toolStrip1";
992
993
994
995 btnUndo.DisplayStyle = ToolStripItemDisplayStyle.Text;
996 btnUndo.Enabled = false;
997 btnUndo.ImageTransparentColor = Color.Magenta;
998 btnUndo.Name = "btnUndo";
999 btnUndo.Size = new Size(40, 22);
1000 btnUndo.Text = "Undo";
1001 btnUndo.Click +=
new EventHandler(
Undo);
1002
1003
1004
1005 btnRedo.DisplayStyle = ToolStripItemDisplayStyle.Text;
1006 btnRedo.Enabled = false;
1007 btnRedo.ImageTransparentColor = Color.Magenta;
1008 btnRedo.Name = "btnRedo";
1009 btnRedo.Size = new Size(38, 22);
1010 btnRedo.Text = "Redo";
1011 btnRedo.Click +=
new EventHandler(
Redo);
1012
1013
1014
1015 toolStripSeparator3.Name = "toolStripSeparator3";
1016 toolStripSeparator3.Size = new Size(6, 25);
1017
1018
1019
1020 btnTransform.DisplayStyle = ToolStripItemDisplayStyle.Text;
1021 btnTransform.Enabled = false;
1022 btnTransform.ImageTransparentColor = Color.Magenta;
1023 btnTransform.Name = "btnTransform";
1024 btnTransform.Size = new Size(34, 22);
1025 btnTransform.Text = "Transform";
1027
1028
1029
1030 btnSplit.DisplayStyle = ToolStripItemDisplayStyle.Text;
1031 btnSplit.Enabled = false;
1032 btnSplit.ImageTransparentColor = Color.Magenta;
1033 btnSplit.Name = "btnSplit";
1034 btnSplit.Size = new Size(34, 22);
1035 btnSplit.Text = "Split";
1037
1038
1039
1040 btnMerge.DisplayStyle = ToolStripItemDisplayStyle.Text;
1041 btnMerge.Enabled = false;
1042 btnMerge.ImageTransparentColor = Color.Magenta;
1043 btnMerge.Name = "btnMerge";
1044 btnMerge.Size = new Size(45, 22);
1045 btnMerge.Text = "Merge";
1047
1048
1049
1050 btnFlipColl.DisplayStyle = ToolStripItemDisplayStyle.Text;
1051 btnFlipColl.Enabled = false;
1052 btnFlipColl.ImageTransparentColor = Color.Magenta;
1053 btnFlipColl.Name = "btnFlipColl";
1054 btnFlipColl.Size = new Size(30, 22);
1055 btnFlipColl.Text = "Flip";
1057
1058
1059
1060 btnDelete.DisplayStyle = ToolStripItemDisplayStyle.Text;
1061 btnDelete.Enabled = false;
1062 btnDelete.ImageTransparentColor = Color.Magenta;
1063 btnDelete.Name = "btnDelete";
1064 btnDelete.Size = new Size(44, 22);
1065 btnDelete.Text = "Delete";
1067
1068
1069
1070 toolStripSeparator2.Name = "toolStripSeparator2";
1071 toolStripSeparator2.Size = new Size(6, 25);
1072
1073
1074
1075 btnSameX.DisplayStyle = ToolStripItemDisplayStyle.Text;
1076 btnSameX.ImageTransparentColor = Color.Magenta;
1077 btnSameX.Name = "btnSameX";
1078 btnSameX.Size = new Size(49, 22);
1079 btnSameX.Text = "Align X";
1081
1082
1083
1084 btnSameY.DisplayStyle = ToolStripItemDisplayStyle.Text;
1085 btnSameY.ImageTransparentColor = Color.Magenta;
1086 btnSameY.Name = "btnSameY";
1087 btnSameY.Size = new Size(49, 19);
1088 btnSameY.Text = "Align Y";
1090
1091
1092
1093 toolStripSeparator1.Name = "toolStripSeparator1";
1094 toolStripSeparator1.Size = new Size(6, 25);
1095
1096
1097
1098 btnPerspectiveCam.Checked = true;
1099 btnPerspectiveCam.CheckState = CheckState.Checked;
1100 btnPerspectiveCam.DisplayStyle = ToolStripItemDisplayStyle.Text;
1101 btnPerspectiveCam.ImageTransparentColor = Color.Magenta;
1102 btnPerspectiveCam.Name = "btnPerspectiveCam";
1103 btnPerspectiveCam.Size = new Size(71, 19);
1104 btnPerspectiveCam.Text = "Perspective";
1106
1107
1108
1109 btnOrthographicCam.DisplayStyle = ToolStripItemDisplayStyle.Text;
1110 btnOrthographicCam.ImageTransparentColor = Color.Magenta;
1111 btnOrthographicCam.Name = "btnOrthographicCam";
1112 btnOrthographicCam.Size = new Size(82, 19);
1113 btnOrthographicCam.Text = "Orthographic";
1115
1116
1117
1118 btnResetCam.DisplayStyle = ToolStripItemDisplayStyle.Text;
1119 btnResetCam.ImageTransparentColor = Color.Magenta;
1120 btnResetCam.Name = "btnResetCam";
1121 btnResetCam.Size = new Size(67, 19);
1122 btnResetCam.Text = "Reset Cam";
1124
1125
1126
1127 toolStripSeparatorCamera.Name = "toolStripSeparatorCamera";
1128 toolStripSeparatorCamera.Size = new Size(6, 25);
1129
1130
1131
1132 btnSpawns.DisplayStyle = ToolStripItemDisplayStyle.Text;
1133 btnSpawns.ImageTransparentColor = Color.Magenta;
1134 btnSpawns.Name = "btnSpawns";
1135 btnSpawns.Size = new Size(51, 19);
1136 btnSpawns.Text = "Spawns";
1138
1139
1140
1141 btnItems.DisplayStyle = ToolStripItemDisplayStyle.Text;
1142 btnItems.ImageTransparentColor = Color.Magenta;
1143 btnItems.Name = "btnItems";
1144 btnItems.Size = new Size(40, 19);
1145 btnItems.Text = "Items";
1147
1148
1149
1150 btnBoundaries.Checked = true;
1151 btnBoundaries.CheckState = CheckState.Checked;
1152 btnBoundaries.DisplayStyle = ToolStripItemDisplayStyle.Text;
1153 btnBoundaries.ImageTransparentColor = Color.Magenta;
1154 btnBoundaries.Name = "btnBoundaries";
1155 btnBoundaries.Size = new Size(70, 19);
1156 btnBoundaries.Text = "Boundaries";
1158
1159
1160
1161 toolStripSeparatorOverlays.Name = "toolStripSeparatorOverlays";
1162 toolStripSeparatorOverlays.Size = new Size(6, 6);
1163
1164
1165
1166 btnResetSnap.DisplayStyle = ToolStripItemDisplayStyle.Text;
1167 btnResetSnap.ImageTransparentColor = Color.Magenta;
1168 btnResetSnap.Name = "btnResetSnap";
1169 btnResetSnap.Size = new Size(57, 19);
1170 btnResetSnap.Text = "Un-Snap";
1172
1173
1174
1175 btnHelp.DisplayStyle = ToolStripItemDisplayStyle.Text;
1176 btnHelp.Image = (Image) resources.GetObject("btnHelp.Image");
1177 btnHelp.ImageTransparentColor = Color.Magenta;
1178 btnHelp.Name = "btnHelp";
1179 btnHelp.Size = new Size(36, 19);
1180 btnHelp.Text = "Help";
1182
1183
1184
1185 btnResetRot.Dock = DockStyle.Right;
1186 btnResetRot.Enabled = false;
1187 btnResetRot.FlatAppearance.BorderSize = 0;
1188 btnResetRot.FlatStyle = FlatStyle.Flat;
1189 btnResetRot.Location = new Point(335, 0);
1190 btnResetRot.Name = "btnResetRot";
1191 btnResetRot.Size = new Size(16, 25);
1192 btnResetRot.TabIndex = 4;
1193 btnResetRot.Text = "*";
1194 btnResetRot.UseVisualStyleBackColor = true;
1195 btnResetRot.Visible = false;
1197
1198
1199
1200 trackBar1.Dock = DockStyle.Right;
1201 trackBar1.Enabled = false;
1202 trackBar1.Location = new Point(351, 0);
1203 trackBar1.Maximum = 180;
1204 trackBar1.Minimum = -180;
1205 trackBar1.Name = "trackBar1";
1206 trackBar1.Size = new Size(130, 25);
1207 trackBar1.TabIndex = 3;
1208 trackBar1.TickStyle = TickStyle.None;
1209 trackBar1.Visible = false;
1211
1212
1213
1215 {
1216 moveToNewObjectToolStripMenuItem,
1217 transformToolStripMenuItem,
1218 alignXToolStripMenuItem,
1219 alignYToolStripMenuItem,
1220 toolStripSeparator4,
1221 splitToolStripMenuItem,
1222 mergeToolStripMenuItem,
1223 flipToolStripMenuItem,
1224 _deleteToolStripMenuItem1
1225 });
1226 contextMenuStrip3.Name = "contextMenuStrip3";
1227 contextMenuStrip3.Size = new Size(184, 208);
1229
1230
1231
1232 moveToNewObjectToolStripMenuItem.Name = "moveToNewObjectToolStripMenuItem";
1233 moveToNewObjectToolStripMenuItem.Size = new Size(183, 22);
1234 moveToNewObjectToolStripMenuItem.Text = "Move to New Object";
1235
1236
1237
1238 toolStripSeparator4.Name = "toolStripSeparator4";
1239 toolStripSeparator4.Size = new Size(180, 6);
1240
1241
1242
1243 splitToolStripMenuItem.Name = "splitToolStripMenuItem";
1244 splitToolStripMenuItem.Size = new Size(183, 22);
1245 splitToolStripMenuItem.Text = "Split";
1246 splitToolStripMenuItem.Click +=
new EventHandler(
btnSplit_Click);
1247
1248
1249
1250 mergeToolStripMenuItem.Name = "mergeToolStripMenuItem";
1251 mergeToolStripMenuItem.Size = new Size(183, 22);
1252 mergeToolStripMenuItem.Text = "Merge";
1253 mergeToolStripMenuItem.Click +=
new EventHandler(
btnMerge_Click);
1254
1255
1256
1257 flipToolStripMenuItem.Name = "flipToolStripMenuItem";
1258 flipToolStripMenuItem.Size = new Size(183, 22);
1259 flipToolStripMenuItem.Text = "Flip";
1261
1262
1263
1264 _deleteToolStripMenuItem1.Name = "_deleteToolStripMenuItem1";
1265 _deleteToolStripMenuItem1.Size = new Size(183, 22);
1266 _deleteToolStripMenuItem1.Text = "Delete";
1268
1269
1270
1271 transformToolStripMenuItem.Name = "transformToolStripMenuItem";
1272 transformToolStripMenuItem.Size = new Size(183, 22);
1273 transformToolStripMenuItem.Text = "Transform";
1275
1276
1277
1278 alignXToolStripMenuItem.Name = "alignXToolStripMenuItem";
1279 alignXToolStripMenuItem.Size = new Size(183, 22);
1280 alignXToolStripMenuItem.Text = "Align X";
1281 alignXToolStripMenuItem.Click +=
new EventHandler(
btnSameX_Click);
1282
1283
1284
1285 alignYToolStripMenuItem.Name = "alignYToolStripMenuItem";
1286 alignYToolStripMenuItem.Size = new Size(183, 22);
1287 alignYToolStripMenuItem.Text = "Align Y";
1288 alignYToolStripMenuItem.Click +=
new EventHandler(
btnSameY_Click);
1289
1290
1291
1292 BackColor = Color.Lavender;
1294 Name = "CollisionEditor";
1295 Size = new Size(694, 467);
1305 panel2.ResumeLayout(
false);
1307 panel3.ResumeLayout(
false);
1316 panel4.ResumeLayout(
false);
1317 panel1.ResumeLayout(
false);
1321 ((ISupportInitialize)
trackBar1).EndInit();
1323 ResumeLayout(false);
1324 }
Label label1
Definition: CollisionEditor.cs:66
void contextMenuStrip1_Opening(object sender, CancelEventArgs e)
Definition: CollisionEditor.cs:4024
void chkFlagSuperSoft_CheckedChanged(object sender, EventArgs e)
Definition: CollisionEditor.cs:3703
ToolStripSeparator toolStripMenuItem3
Definition: CollisionEditor.cs:72
Panel panel1
Definition: CollisionEditor.cs:44
void cboType_SelectedIndexChanged(object sender, EventArgs e)
Definition: CollisionEditor.cs:2917
void contextMenuStrip3_Opening(object sender, CancelEventArgs e)
Definition: CollisionEditor.cs:4042
void numY_ValueChanged(object sender, EventArgs e)
Definition: CollisionEditor.cs:3750
Panel pnlPlaneProps
Definition: CollisionEditor.cs:30
void _modelPanel_KeyDown(object sender, KeyEventArgs e)
Definition: CollisionEditor.cs:2698
Button btnPrevFrame
Definition: CollisionEditor.cs:105
void modelTree_AfterSelect(object sender, TreeViewEventArgs e)
Definition: CollisionEditor.cs:3895
void btnResetRot_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:2620
void lstObjects_SelectedValueChanged(object sender, EventArgs e)
Definition: CollisionEditor.cs:1582
void chkTypeCharacters_CheckedChanged(object sender, EventArgs e)
Definition: CollisionEditor.cs:2954
NumericInputBox numX
Definition: CollisionEditor.cs:63
ToolStripSeparator toolStripSeparatorCamera
Definition: CollisionEditor.cs:111
ToolStripSeparator toolStripMenuItem1
Definition: CollisionEditor.cs:74
Label label3
Definition: CollisionEditor.cs:77
void chkFlagCrush_CheckedChanged(object sender, EventArgs e)
Definition: CollisionEditor.cs:3675
ToolStripMenuItem unlinkNoMoveToolStripMenuItem
Definition: CollisionEditor.cs:92
void btnPlayAnims_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:4228
void btnRelink_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:3916
void btnSpawns_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:2665
void btnItems_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:2676
TrackBar trackBar1
Definition: CollisionEditor.cs:45
void chkFallThrough_CheckedChanged(object sender, EventArgs e)
Definition: CollisionEditor.cs:3147
ToolStripButton btnFlipColl
Definition: CollisionEditor.cs:113
void btnBoundaries_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:2687
Button btnNextFrame
Definition: CollisionEditor.cs:106
ToolStripButton btnTransform
Definition: CollisionEditor.cs:36
Button btnResetRot
Definition: CollisionEditor.cs:46
void chkAllModels_CheckedChanged(object sender, EventArgs e)
Definition: CollisionEditor.cs:1794
Panel pnlObjProps
Definition: CollisionEditor.cs:34
TextBox txtModel
Definition: CollisionEditor.cs:76
void contextMenuStrip2_Opening(object sender, CancelEventArgs e)
Definition: CollisionEditor.cs:4016
void chkTypeItems_CheckedChanged(object sender, EventArgs e)
Definition: CollisionEditor.cs:2998
ToolStripMenuItem _deleteToolStripMenuItem
Definition: CollisionEditor.cs:75
void btnNextFrame_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:4236
void snapToolStripMenuItem1_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:4052
ToolStripMenuItem unlinkToolStripMenuItem
Definition: CollisionEditor.cs:91
ToolStripButton btnOrthographicCam
Definition: CollisionEditor.cs:114
void _modelPanel_PreRender(object sender)
Definition: CollisionEditor.cs:2355
ToolStripSeparator assignSeperatorToolStripMenuItem
Definition: CollisionEditor.cs:73
void lstObjects_ItemCheck(object sender, ItemCheckEventArgs e)
Definition: CollisionEditor.cs:1698
Panel panel4
Definition: CollisionEditor.cs:103
void chkObjModule_CheckedChanged(object sender, EventArgs e)
Definition: CollisionEditor.cs:4206
SplitContainer undoToolStrip
Definition: CollisionEditor.cs:27
ToolStripButton btnSplit
Definition: CollisionEditor.cs:37
ToolStripButton btnSameY
Definition: CollisionEditor.cs:69
Button btnPlayAnims
Definition: CollisionEditor.cs:102
void _modelPanel_PostRender(object sender)
Definition: CollisionEditor.cs:2359
void chkLeftLedge_CheckedChanged(object sender, EventArgs e)
Definition: CollisionEditor.cs:3216
void btnDelete_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:3990
ToolStripSeparator toolStripMenuItem2
Definition: CollisionEditor.cs:71
Button btnUnlink
Definition: CollisionEditor.cs:87
ToolStripMenuItem assignNoMoveToolStripMenuItem
Definition: CollisionEditor.cs:90
CheckBox chkPoly
Definition: CollisionEditor.cs:79
ToolStripMenuItem newObjectToolStripMenuItem
Definition: CollisionEditor.cs:70
CollisionEditor()
Definition: CollisionEditor.cs:1360
ContextMenuStrip contextMenuStrip2
Definition: CollisionEditor.cs:88
GroupBox groupBoxTargets
Definition: CollisionEditor.cs:60
void btnSameX_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:3829
void _modelPanel_MouseUp(object sender, MouseEventArgs e)
Definition: CollisionEditor.cs:2264
ToolStripSeparator toolStripSeparator1
Definition: CollisionEditor.cs:67
void btnPrevFrame_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:4232
void btnPerspectiveCam_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:2632
Label label5
Definition: CollisionEditor.cs:31
void chkBones_CheckedChanged(object sender, EventArgs e)
Definition: CollisionEditor.cs:3863
void modelTree_AfterCheck(object sender, TreeViewEventArgs e)
Definition: CollisionEditor.cs:3868
Button btnRelink
Definition: CollisionEditor.cs:80
void _modelPanel_MouseDown(object sender, MouseEventArgs e)
Definition: CollisionEditor.cs:1941
SplitContainer redoToolStrip
Definition: CollisionEditor.cs:28
NumericInputBox numY
Definition: CollisionEditor.cs:65
void btnResetCam_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:2626
void btnUnlink_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:3954
void btnSplit_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:2571
GroupBox groupBoxFlags1
Definition: CollisionEditor.cs:48
ToolStripMenuItem assignToolStripMenuItem
Definition: CollisionEditor.cs:89
ToolStripMenuItem snapToolStripMenuItem
Definition: CollisionEditor.cs:43
ToolStripButton btnDelete
Definition: CollisionEditor.cs:39
ToolStripMenuItem snapToolStripMenuItem1
Definition: CollisionEditor.cs:93
ToolStripButton btnHelp
Definition: CollisionEditor.cs:107
void newObjectToolStripMenuItem_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:1624
void cboMaterial_SelectedIndexChanged(object sender, EventArgs e)
Definition: CollisionEditor.cs:2899
Panel panel3
Definition: CollisionEditor.cs:104
void btnUnlinkNoMove_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:3968
void snapToolStripMenuItem_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:1588
void _modelPanel_MouseMove(object sender, MouseEventArgs e)
Definition: CollisionEditor.cs:2298
void btnSameY_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:3842
void transformToolStripMenuItem_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:3781
ContextMenuStrip contextMenuStrip3
Definition: CollisionEditor.cs:41
void chkFlagBucculus_CheckedChanged(object sender, EventArgs e)
Definition: CollisionEditor.cs:3689
void numX_ValueChanged(object sender, EventArgs e)
Definition: CollisionEditor.cs:3721
Panel panel2
Definition: CollisionEditor.cs:78
ToolStripButton btnPerspectiveCam
Definition: CollisionEditor.cs:112
void chkObjUnk_CheckedChanged(object sender, EventArgs e)
Definition: CollisionEditor.cs:4191
ToolStripButton btnResetSnap
Definition: CollisionEditor.cs:95
void lstObjects_MouseDown(object sender, MouseEventArgs e)
Definition: CollisionEditor.cs:1576
void btnHelp_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:4240
Panel pnlPointProps
Definition: CollisionEditor.cs:62
ToolStripSeparator toolStripSeparator2
Definition: CollisionEditor.cs:94
void trackBar1_Scroll(object sender, EventArgs e)
Definition: CollisionEditor.cs:2615
ToolStripSeparator toolStripSeparator3
Definition: CollisionEditor.cs:98
ToolStrip toolStrip1
Definition: CollisionEditor.cs:35
void _deleteToolStripMenuItem_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:1593
ToolStripSeparator toolStripSeparatorOverlays
Definition: CollisionEditor.cs:127
ToolStripButton btnResetCam
Definition: CollisionEditor.cs:47
void chkRightLedge_CheckedChanged(object sender, EventArgs e)
Definition: CollisionEditor.cs:3350
void chkTypeRotating_CheckedChanged(object sender, EventArgs e)
Definition: CollisionEditor.cs:3074
ToolStripButton btnMerge
Definition: CollisionEditor.cs:38
void chkNoWalljump_CheckedChanged(object sender, EventArgs e)
Definition: CollisionEditor.cs:3488
Label label2
Definition: CollisionEditor.cs:64
void btnFlipColl_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:4070
ToolStripButton btnSameX
Definition: CollisionEditor.cs:68
void btnMerge_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:2585
void btnRelinkNoMove_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:3931
Label label4
Definition: CollisionEditor.cs:82
void btnOrthographicCam_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:2649
void btnResetSnap_Click(object sender, EventArgs e)
Definition: CollisionEditor.cs:4064
Label labelType
Definition: CollisionEditor.cs:32
void chkPoly_CheckStateChanged(object sender, EventArgs e)
Definition: CollisionEditor.cs:3855
TextBox txtBone
Definition: CollisionEditor.cs:81
void modelTree_BeforeSelect(object sender, TreeViewCancelEventArgs e)
Definition: CollisionEditor.cs:3906
GroupBox groupBoxFlags2
Definition: CollisionEditor.cs:50
void chkTypePokemonTrainer_CheckedChanged(object sender, EventArgs e)
Definition: CollisionEditor.cs:3036
void chkObjSSEUnk_CheckedChanged(object sender, EventArgs e)
Definition: CollisionEditor.cs:4217
Definition: ModelPanel.cs:20
delegate void GLRenderEventHandler(ModelPanelViewport sender)