another temp code for review

develop
NMLittle 2010-03-25 17:04:29 -05:00
parent da6874d725
commit 57689b18ab
1 changed files with 5 additions and 2 deletions

@ -21,12 +21,11 @@ int main (void)
cerr << "DF not found" << endl;
return 1;
}
DF.InitMap();
if (DF.InitViewAndCursor())
{
if(DF.getCursorCoords(x,y,z))
{
{
if(DF.isValidBlock(x,y,z))
{
DF.ReadDesignations((x/16),(y/16),(z/16), &designations);
@ -36,7 +35,11 @@ int main (void)
DF.WriteDesignations(x,y,z, &designations);
cout << "Success" << endl;
}
else
cout << "Failure 1" << endl;
}
else
cout << "Failure 1" << endl;
}
else
cout << "Process Failed" << endl;