Changeset 16 for trunk/MainForm.cpp
- Timestamp:
- 01/04/08 21:22:55 (1 year ago)
- Files:
-
- trunk/MainForm.cpp (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/MainForm.cpp
r12 r16 1828 1828 this->ValuesEditor->Strings->Add("IsQuestUnit="+IntToStr(MobObject->IsQuestUnit)); 1829 1829 //UncnByte1 1830 this->ValuesEditor->Strings->Add(" UncnByte1="+IntToStr(MobObject->UncnByte1));1830 this->ValuesEditor->Strings->Add("ShowShadow="+IntToStr(MobObject->ShowShadow)); 1831 1831 //UncnDw2 1832 1832 this->ValuesEditor->Strings->Add("UncnDw2="+IntToStr(MobObject->UncnDw2)); … … 1861 1861 //Sleigth 1862 1862 this->ValuesEditor->Strings->Add("Sleigth="+IntToStr(MobObject->Sleigth)); 1863 //UncnByte11864 this->ValuesEditor->Strings->Add("UncnByte1="+IntToStr(MobObject->UncnByte1));1865 1863 //UncnByte2 1866 1864 this->ValuesEditor->Strings->Add("UncnByte2="+IntToStr(MobObject->UncnByte2)); … … 1871 1869 //UncnByte5 1872 1870 this->ValuesEditor->Strings->Add("UncnByte5="+IntToStr(MobObject->UncnByte5)); 1871 //UncnByte6 1872 this->ValuesEditor->Strings->Add("UncnByte6="+IntToStr(MobObject->UncnByte6)); 1873 1873 1874 1874 //À òåïåðü ïðî÷èòàòü "íàñëåäíóþ" èíôó %). … … 2322 2322 }; 2323 2323 } 2324 else if (KeyName == " UncnByte1")2324 else if (KeyName == "ShowShadow") 2325 2325 { 2326 2326 //byte … … 2329 2329 { 2330 2330 //Çàïîìèíàåì èíôó... 2331 MobObject-> UncnByte1= StrToInt(this->ValuesEditor->Values[KeyName]);2332 this->SetMobModified(); 2333 } 2334 else 2335 { 2336 //Âîññòàíàâëèâàåì ñòàðîå èç îáúåêòà êëàññà... 2337 this->ValuesEditor->Values[KeyName] = IntToStr(MobObject-> UncnByte1);2331 MobObject->ShowShadow = StrToInt(this->ValuesEditor->Values[KeyName]); 2332 this->SetMobModified(); 2333 } 2334 else 2335 { 2336 //Âîññòàíàâëèâàåì ñòàðîå èç îáúåêòà êëàññà... 2337 this->ValuesEditor->Values[KeyName] = IntToStr(MobObject->ShowShadow); 2338 2338 }; 2339 2339 } … … 2589 2589 }; 2590 2590 } 2591 else if (KeyName == "UncnByte 1")2591 else if (KeyName == "UncnByte2") 2592 2592 { 2593 2593 //DWORD … … 2596 2596 { 2597 2597 //Çàïîìèíàåì èíôó... 2598 MobObject->UncnByte 1= StrToInt(this->ValuesEditor->Values[KeyName]);2599 this->SetMobModified(); 2600 } 2601 else 2602 { 2603 //Âîññòàíàâëèâàåì ñòàðîå èç îáúåêòà êëàññà... 2604 this->ValuesEditor->Values[KeyName] = IntToStr(MobObject->UncnByte 1);2605 }; 2606 } 2607 else if (KeyName == "UncnByte 2")2598 MobObject->UncnByte2 = StrToInt(this->ValuesEditor->Values[KeyName]); 2599 this->SetMobModified(); 2600 } 2601 else 2602 { 2603 //Âîññòàíàâëèâàåì ñòàðîå èç îáúåêòà êëàññà... 2604 this->ValuesEditor->Values[KeyName] = IntToStr(MobObject->UncnByte2); 2605 }; 2606 } 2607 else if (KeyName == "UncnByte3") 2608 2608 { 2609 2609 //DWORD … … 2612 2612 { 2613 2613 //Çàïîìèíàåì èíôó... 2614 MobObject->UncnByte 2= StrToInt(this->ValuesEditor->Values[KeyName]);2615 this->SetMobModified(); 2616 } 2617 else 2618 { 2619 //Âîññòàíàâëèâàåì ñòàðîå èç îáúåêòà êëàññà... 2620 this->ValuesEditor->Values[KeyName] = IntToStr(MobObject->UncnByte 2);2621 }; 2622 } 2623 else if (KeyName == "UncnByte 3")2614 MobObject->UncnByte3 = StrToInt(this->ValuesEditor->Values[KeyName]); 2615 this->SetMobModified(); 2616 } 2617 else 2618 { 2619 //Âîññòàíàâëèâàåì ñòàðîå èç îáúåêòà êëàññà... 2620 this->ValuesEditor->Values[KeyName] = IntToStr(MobObject->UncnByte3); 2621 }; 2622 } 2623 else if (KeyName == "UncnByte4") 2624 2624 { 2625 2625 //DWORD … … 2628 2628 { 2629 2629 //Çàïîìèíàåì èíôó... 2630 MobObject->UncnByte 3= StrToInt(this->ValuesEditor->Values[KeyName]);2631 this->SetMobModified(); 2632 } 2633 else 2634 { 2635 //Âîññòàíàâëèâàåì ñòàðîå èç îáúåêòà êëàññà... 2636 this->ValuesEditor->Values[KeyName] = IntToStr(MobObject->UncnByte 3);2637 }; 2638 } 2639 else if (KeyName == "UncnByte 4")2630 MobObject->UncnByte4 = StrToInt(this->ValuesEditor->Values[KeyName]); 2631 this->SetMobModified(); 2632 } 2633 else 2634 { 2635 //Âîññòàíàâëèâàåì ñòàðîå èç îáúåêòà êëàññà... 2636 this->ValuesEditor->Values[KeyName] = IntToStr(MobObject->UncnByte4); 2637 }; 2638 } 2639 else if (KeyName == "UncnByte5") 2640 2640 { 2641 2641 //DWORD … … 2644 2644 { 2645 2645 //Çàïîìèíàåì èíôó... 2646 MobObject->UncnByte 4= StrToInt(this->ValuesEditor->Values[KeyName]);2647 this->SetMobModified(); 2648 } 2649 else 2650 { 2651 //Âîññòàíàâëèâàåì ñòàðîå èç îáúåêòà êëàññà... 2652 this->ValuesEditor->Values[KeyName] = IntToStr(MobObject->UncnByte 4);2653 }; 2654 } 2655 else if (KeyName == "UncnByte 5")2646 MobObject->UncnByte5 = StrToInt(this->ValuesEditor->Values[KeyName]); 2647 this->SetMobModified(); 2648 } 2649 else 2650 { 2651 //Âîññòàíàâëèâàåì ñòàðîå èç îáúåêòà êëàññà... 2652 this->ValuesEditor->Values[KeyName] = IntToStr(MobObject->UncnByte5); 2653 }; 2654 } 2655 else if (KeyName == "UncnByte6") 2656 2656 { 2657 2657 //DWORD … … 2660 2660 { 2661 2661 //Çàïîìèíàåì èíôó... 2662 MobObject->UncnByte 5= StrToInt(this->ValuesEditor->Values[KeyName]);2663 this->SetMobModified(); 2664 } 2665 else 2666 { 2667 //Âîññòàíàâëèâàåì ñòàðîå èç îáúåêòà êëàññà... 2668 this->ValuesEditor->Values[KeyName] = IntToStr(MobObject->UncnByte 5);2662 MobObject->UncnByte6 = StrToInt(this->ValuesEditor->Values[KeyName]); 2663 this->SetMobModified(); 2664 } 2665 else 2666 { 2667 //Âîññòàíàâëèâàåì ñòàðîå èç îáúåêòà êëàññà... 2668 this->ValuesEditor->Values[KeyName] = IntToStr(MobObject->UncnByte6); 2669 2669 }; 2670 2670 }
