/[projectaxis]/projectaxis/projectAxis/src/visual/uiscreen_main.cpp
ViewVC logotype

Diff of /projectaxis/projectAxis/src/visual/uiscreen_main.cpp

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

revision 1.4 by leiavoia, Sat Aug 23 17:35:29 2003 UTC revision 1.5 by leiavoia, Sun Sep 14 01:05:00 2003 UTC
# Line 182  PARAGUI_CALLBACK(UIScreen_Main::handle_h Line 182  PARAGUI_CALLBACK(UIScreen_Main::handle_h
182    
183    
184  PARAGUI_CALLBACK(UIScreen_Main::handle_next_turn) {  PARAGUI_CALLBACK(UIScreen_Main::handle_next_turn) {
   
   
         char b[4];  
185          char str[10] = "Turn ";          char str[10] = "Turn ";
186    
187          status_label->SetText("Processing Turn...");          status_label->SetText("Processing Turn...");
188          turnmgr->NextTurn();          turnmgr->NextTurn();
189          status_label->SetText("Turn Finished...");          status_label->SetText("Turn Finished...");
190    
191          strcat(str, gcvt(turnmgr->GetTurn(), 3, b));          strcat(  str, rm->IntToChar( turnmgr->GetTurn() ).c_str()  );
192    
193          num_turns->SetText(str);          num_turns->SetText(str);
194          return true;          return true;
# Line 248  PARAGUI_CALLBACK(UIScreen_Main::handle_p Line 245  PARAGUI_CALLBACK(UIScreen_Main::handle_p
245    
246          map_window->DrawMap();          map_window->DrawMap();
247    
         // run the main loop  
         //for(int i=0; i<10; i++) {  
         //      a_pod->Move();  
         //      another_pod->Misn(0)->Exe();  
         //      another_pod2->Misn(0)->Exe();  
         //      another_pod3->Misn(0)->Exe();  
         //      }  
   
   
         //status_label->SetText("Football Finished.");  
   
         //delete a_pod;  
         //delete another_pod;  
         //delete another_pod2;  
         //delete another_pod3;  
   
         //map_window->DrawMap();  
   
248          return true;          return true;
249    
250  }  }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26