Changes

Line 430: Line 430:     
* Background hair is always pulled from the second image file.
 
* Background hair is always pulled from the second image file.
βˆ’
      
=== Eyebrows ===
 
=== Eyebrows ===
Line 438: Line 437:  
** int eyebrows[24] = {1,3,14,15,11,10,0,6,8,4,13,12,2,19,16,18,22,9,21,5,17,7,20,23};
 
** int eyebrows[24] = {1,3,14,15,11,10,0,6,8,4,13,12,2,19,16,18,22,9,21,5,17,7,20,23};
 
* The purpose of eyebrows is to translate the '''mii.eyebrowType''' variable into the correct right and left eyebrow tile. For example if mii.eyebrowType returns 4, we would use '''eyebrows[mii.eyebrowType]''' to draw the left eyebrow (tile 11) and '''53-eyebrows[mii.eyebrowType]''' to draw the right eyebrow (tile 42).
 
* The purpose of eyebrows is to translate the '''mii.eyebrowType''' variable into the correct right and left eyebrow tile. For example if mii.eyebrowType returns 4, we would use '''eyebrows[mii.eyebrowType]''' to draw the left eyebrow (tile 11) and '''53-eyebrows[mii.eyebrowType]''' to draw the right eyebrow (tile 42).
βˆ’
      
=== Eyes ===
 
=== Eyes ===
Line 447: Line 445:  
* The purpose of eyes is to translate the '''mii.eyeType''' variable into the correct right and left eyebrow tile. For example if mii.eyeType returns 9, we would use '''eyes[mii.eyeType]''' to draw the left eye (tile 16) and '''95-eyes[mii.eyeType]''' to draw the right eye (tile 79).
 
* The purpose of eyes is to translate the '''mii.eyeType''' variable into the correct right and left eyebrow tile. For example if mii.eyeType returns 9, we would use '''eyes[mii.eyeType]''' to draw the left eye (tile 16) and '''95-eyes[mii.eyeType]''' to draw the right eye (tile 79).
 
* These tiles are used for all three image files to build up a full eye.
 
* These tiles are used for all three image files to build up a full eye.
βˆ’
      
=== Noses ===
 
=== Noses ===
Line 455: Line 452:  
** int noses[12] = {5,0,2,3,7,6,4,10,8,9,1,11};
 
** int noses[12] = {5,0,2,3,7,6,4,10,8,9,1,11};
 
* The purpose of noses is to translate the '''mii.noseType''' variable into the correct nose tile. For example if mii.noseType returns 4, we would use '''noses[mii.noseType]''' to draw the correct nose (tile 7).
 
* The purpose of noses is to translate the '''mii.noseType''' variable into the correct nose tile. For example if mii.noseType returns 4, we would use '''noses[mii.noseType]''' to draw the correct nose (tile 7).
βˆ’
      
=== Mouth ===
 
=== Mouth ===
Line 464: Line 460:  
* The purpose of lips is to translate the '''mii.lipType''' variable into the correct lip tile. For example if mii.lipType returns 2, we would use '''lips[mii.lipType]''' to draw the correct mouth (tile 14).
 
* The purpose of lips is to translate the '''mii.lipType''' variable into the correct lip tile. For example if mii.lipType returns 2, we would use '''lips[mii.lipType]''' to draw the correct mouth (tile 14).
 
* There is an additional check to see if lips[mii.lipType] = 1, 6, 11, 17, or 19 because those tiles have lip colors associated with them.
 
* There is an additional check to see if lips[mii.lipType] = 1, 6, 11, 17, or 19 because those tiles have lip colors associated with them.
βˆ’
      
=== Facial Features ===
 
=== Facial Features ===
221

edits