/[projects]/queensgui/src/solutionint.cpp
ViewVC logotype

Diff of /queensgui/src/solutionint.cpp

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

revision 8 by torben, Fri Jul 20 16:58:04 2007 UTC revision 655 by torben, Fri Apr 23 05:57:28 2010 UTC
# Line 17  Line 17 
17   *   Free Software Foundation, Inc.,                                       *   *   Free Software Foundation, Inc.,                                       *
18   *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *   *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
19   ***************************************************************************/   ***************************************************************************/
20    /*
21  #include "solutionint.h"  #include "solutionint.h"
22    
23  SolutionInt::SolutionInt(int size)  SolutionInt::SolutionInt(int size)
# Line 87  void SolutionInt::mirror() Line 88  void SolutionInt::mirror()
88  void SolutionInt::rotate90()  void SolutionInt::rotate90()
89  {  {
90          unsigned char temp[MAX_SIZE];          unsigned char temp[MAX_SIZE];
91                            
92          for (int i=0; i<m_size; i++)          for (int i=0; i<m_size; i++)
93          {          {
94                  int x = i;                  int x = i;
95                  int y = m_matrix[i];                  int y = m_matrix[i];
96    
97                  temp[y] = (m_size-1) - i;                  temp[y] = (m_size-1) - x;
98          }          }
99                                    
100          set( temp);          set( temp);
101  }  }
102    */

Legend:
Removed from v.8  
changed lines
  Added in v.655

  ViewVC Help
Powered by ViewVC 1.1.20