Line 48:
Line 48:
|}
|}
* '''Notes:''' two arrays have been created called hairbg[72] and hairfg[72]. See the ARRAYS section below for description of how these work.
* '''Notes:''' two arrays have been created called hairbg[72] and hairfg[72]. See the ARRAYS section below for description of how these work.
+
=== Eye Brows ===
=== Eye Brows ===
+
* '''Image File(s):''' mii_eyebrows.png (contains the parts for the 24 different eyebrows)
+
** ''Image Size:'' 324x324
+
** ''Tile Size:'' 48 tiles of 36x54 (a tile for each eyebrow left and right)
+
** ''Tile Anchor Point:'' 0,54 (for right eyebrow) 36,54 (for left eyebrow)
+
* '''Variable(s) from libmii:'''
+
:{| cellpadding="5" cellspacing="0" border="1"
+
!align="center"|Variable
+
!align="center"|Possible Values
+
!align="center"|Notes
+
|-
+
|mii.eyebrowType
+
|0 - 23
+
|values DO NOT align with order of tiles (see note below)
+
|-
+
|mii.eyebrowRotation
+
|0 - 11
+
|each rotation value equates to 11.25 degrees
+
|-
+
|mii.eyebrowColor
+
|0 - 7
+
|see COLORS section below to get translation
+
|-
+
|mii.eyebrowSize
+
|0 - 8
+
|translates fro 30% to 110% scale in increments of 10%
+
|-
+
|mii.eyebrowVertPos
+
|3 - 18
+
|each step is worth 2.8 pixels
+
|-
+
|mii.eyebrowHorizSpacing
+
|0 - 12
+
|each step is worth 2.6 pixels
+
|}
+
* '''Notes:''' an array has been created called eyebrows[24]. See the ARRAYS section below for description of how this works.
+
=== Eyes ===
=== Eyes ===