minor code improvements
changed coor from m,n to col,row as per philipp request. added typecast to uint8 before bitmaskconversion.
This commit is contained in:
		@@ -7,7 +7,7 @@ unsigned int PuzzlePiece::idcount(0);
 | 
			
		||||
int main()
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
    unsigned int cols=2, rows=3;
 | 
			
		||||
    unsigned int cols=5, rows=6;
 | 
			
		||||
 | 
			
		||||
    //some basic random puzzle stuff
 | 
			
		||||
    vector<PuzzlePiece> myFirstBox = createBox(coor(cols,rows));
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user