/[Sims3RigEditor]/trunk/gr2lib_cpp_UnitTest/gr2lib_cpp_UnitTest.cpp
ViewVC logotype

Diff of /trunk/gr2lib_cpp_UnitTest/gr2lib_cpp_UnitTest.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5 by william, Thu Jul 29 17:25:37 2010 UTC revision 6 by william, Fri Jul 30 00:28:19 2010 UTC
# Line 21  void wait() Line 21  void wait()
21  int main(int argc, char const* argv[])  int main(int argc, char const* argv[])
22  {  {
23    
24          grannyfile* grn_file = new grannyfile("C:\\temp\\S3_motorcycleChopper.gr2");          //grannyfile* grn_file = new grannyfile("C:\\temp\\S3_motorcycleChopper.gr2");
25            grannyfile* grn_file = new grannyfile("C:\\Program Files\\Granny Viewer\\Gryphon.gr2");
26    
27          if (!grn_file->GrannyAPIVersion->APIVersionsMatch())          if (!grn_file->GrannyAPIVersion->APIVersionsMatch())
28          {          {
# Line 63  int main(int argc, char const* argv[]) Line 64  int main(int argc, char const* argv[])
64                                                     grn_file->GrannyFileInfo->ArtToolInfo->BackVector[0],  grn_file->GrannyFileInfo->ArtToolInfo->BackVector[1],  grn_file->GrannyFileInfo->ArtToolInfo->BackVector[2]);                                                     grn_file->GrannyFileInfo->ArtToolInfo->BackVector[0],  grn_file->GrannyFileInfo->ArtToolInfo->BackVector[1],  grn_file->GrannyFileInfo->ArtToolInfo->BackVector[2]);
65                                  }                                  }
66    
67                                  gr2lib::core::rigeditor::gr2lib_rigeditor_frm^ _editor = gcnew gr2lib::core::rigeditor::gr2lib_rigeditor_frm(grn_file);                                  gr2lib_rigeditor_frm^ _editor = gcnew gr2lib_rigeditor_frm(grn_file);
68                                  _editor->ShowDialog();                                  _editor->ShowDialog();
69                                  printf("Art Tool Name: %s",   grn_file->GrannyFileInfo->ArtToolInfo->FromArtToolName);                                  printf("Art Tool Name: %s",   grn_file->GrannyFileInfo->ArtToolInfo->FromArtToolName);
70                          }                          }

Legend:
Removed from v.5  
changed lines
  Added in v.6

  ViewVC Help
Powered by ViewVC 1.1.22