From be2c0557755c8ab66a49ba32d4d80b2cbd6859aa Mon Sep 17 00:00:00 2001 From: Choupom Date: Fri, 27 Jan 2012 20:25:43 +0100 Subject: [PATCH] tweaked the skin files syntax a bit --- data/skins/bluestripe.skn | 38 +++++++++---------- data/skins/cammo.skn | 46 +++++++++++------------ data/skins/cammostripes.skn | 46 +++++++++++------------ data/skins/coala.skn | 48 ++++++++++++------------ data/skins/default.skn | 34 ++++++++--------- data/skins/pinky.skn | 46 +++++++++++------------ data/skins/redbopp.skn | 56 ++++++++++++++-------------- data/skins/redstripe.skn | 38 +++++++++---------- data/skins/saddo.skn | 46 +++++++++++------------ data/skins/toptri.skn | 38 +++++++++---------- data/skins/twinbop.skn | 56 ++++++++++++++-------------- data/skins/twintri.skn | 46 +++++++++++------------ src/game/client/components/skins.cpp | 4 +- 13 files changed, 271 insertions(+), 271 deletions(-) diff --git a/data/skins/bluestripe.skn b/data/skins/bluestripe.skn index 6031b8c43..771c9fff7 100644 --- a/data/skins/bluestripe.skn +++ b/data/skins/bluestripe.skn @@ -1,23 +1,23 @@ -body_filename := standard -body_custom_colors := true -body_hue := 155 -body_sat := 116 -body_lgt := 122 +body.filename := standard +body.custom_colors := true +body.hue := 155 +body.sat := 116 +body.lgt := 122 -tattoo_filename := stripes -tattoo_custom_colors := false +tattoo.filename := stripes +tattoo.custom_colors := false -hands_filename := standard -hands_custom_colors := true -hands_hue := 11 -hands_sat := 117 -hands_lgt := 0 +hands.filename := standard +hands.custom_colors := true +hands.hue := 11 +hands.sat := 117 +hands.lgt := 0 -feet_filename := standard -feet_custom_colors := true -feet_hue := 29 -feet_sat := 173 -feet_lgt := 87 +feet.filename := standard +feet.custom_colors := true +feet.hue := 29 +feet.sat := 173 +feet.lgt := 87 -eyes_filename := standard -eyes_custom_colors := false +eyes.filename := standard +eyes.custom_colors := false diff --git a/data/skins/cammo.skn b/data/skins/cammo.skn index 2e31ebaf9..d43a2a64b 100644 --- a/data/skins/cammo.skn +++ b/data/skins/cammo.skn @@ -1,27 +1,27 @@ -body_filename := standard -body_custom_colors := true -body_hue := 81 -body_sat := 101 -body_lgt := 70 +body.filename := standard +body.custom_colors := true +body.hue := 81 +body.sat := 101 +body.lgt := 70 -tattoo_filename := cammo2 -tattoo_custom_colors := true -tattoo_hue := 76 -tattoo_sat := 97 -tattoo_lgt := 45 -tattoo_alp := 255 +tattoo.filename := cammo2 +tattoo.custom_colors := true +tattoo.hue := 76 +tattoo.sat := 97 +tattoo.lgt := 45 +tattoo.alp := 255 -hands_filename := standard -hands_custom_colors := true -hands_hue := 11 -hands_sat := 117 -hands_lgt := 0 +hands.filename := standard +hands.custom_colors := true +hands.hue := 11 +hands.sat := 117 +hands.lgt := 0 -feet_filename := standard -feet_custom_colors := true -feet_hue := 29 -feet_sat := 173 -feet_lgt := 87 +feet.filename := standard +feet.custom_colors := true +feet.hue := 29 +feet.sat := 173 +feet.lgt := 87 -eyes_filename := standard -eyes_custom_colors := false +eyes.filename := standard +eyes.custom_colors := false diff --git a/data/skins/cammostripes.skn b/data/skins/cammostripes.skn index 8f52b9b8f..fd8ec87e1 100644 --- a/data/skins/cammostripes.skn +++ b/data/skins/cammostripes.skn @@ -1,27 +1,27 @@ -body_filename := standard -body_custom_colors := true -body_hue := 81 -body_sat := 101 -body_lgt := 70 +body.filename := standard +body.custom_colors := true +body.hue := 81 +body.sat := 101 +body.lgt := 70 -tattoo_filename := cammostripes -tattoo_custom_colors := true -tattoo_hue := 29 -tattoo_sat := 142 -tattoo_lgt := 0 -tattoo_alp := 255 +tattoo.filename := cammostripes +tattoo.custom_colors := true +tattoo.hue := 29 +tattoo.sat := 142 +tattoo.lgt := 0 +tattoo.alp := 255 -hands_filename := standard -hands_custom_colors := true -hands_hue := 11 -hands_sat := 117 -hands_lgt := 0 +hands.filename := standard +hands.custom_colors := true +hands.hue := 11 +hands.sat := 117 +hands.lgt := 0 -feet_filename := standard -feet_custom_colors := true -feet_hue := 29 -feet_sat := 173 -feet_lgt := 87 +feet.filename := standard +feet.custom_colors := true +feet.hue := 29 +feet.sat := 173 +feet.lgt := 87 -eyes_filename := standard -eyes_custom_colors := false +eyes.filename := standard +eyes.custom_colors := false diff --git a/data/skins/coala.skn b/data/skins/coala.skn index 2fdb86825..91bb3566e 100644 --- a/data/skins/coala.skn +++ b/data/skins/coala.skn @@ -1,29 +1,29 @@ -body_filename := bear -body_custom_colors := true -body_hue := 0 -body_sat := 0 -body_lgt := 184 +body.filename := bear +body.custom_colors := true +body.hue := 0 +body.sat := 0 +body.lgt := 184 -tattoo_filename := bear -tattoo_hue := 21 -tattoo_sat := 12 -tattoo_lgt := 226 -tattoo_alp := 255 +tattoo.filename := bear +tattoo.hue := 21 +tattoo.sat := 12 +tattoo.lgt := 226 +tattoo.alp := 255 -decoration_filename := hair -decoration_custom_colors := false +decoration.filename := hair +decoration.custom_colors := false -hands_filename := standard -hands_custom_colors := true -hands_hue := 0 -hands_sat := 0 -hands_lgt := 184 +hands.filename := standard +hands.custom_colors := true +hands.hue := 0 +hands.sat := 0 +hands.lgt := 184 -feet_filename := standard -feet_custom_colors := true -feet_hue := 149 -feet_sat := 4 -feet_lgt := 71 +feet.filename := standard +feet.custom_colors := true +feet.hue := 149 +feet.sat := 4 +feet.lgt := 71 -eyes_filename := standard -eyes_custom_colors := false +eyes.filename := standard +eyes.custom_colors := false diff --git a/data/skins/default.skn b/data/skins/default.skn index 5a42fa57c..5a846d7fb 100644 --- a/data/skins/default.skn +++ b/data/skins/default.skn @@ -1,20 +1,20 @@ -body_filename := standard -body_custom_colors := true -body_hue := 27 -body_sat := 111 -body_lgt := 116 +body.filename := standard +body.custom_colors := true +body.hue := 27 +body.sat := 111 +body.lgt := 116 -hands_filename := standard -hands_custom_colors := true -hands_hue := 27 -hands_sat := 117 -hands_lgt := 158 +hands.filename := standard +hands.custom_colors := true +hands.hue := 27 +hands.sat := 117 +hands.lgt := 158 -feet_filename := standard -feet_custom_colors := true -feet_hue := 28 -feet_sat := 135 -feet_lgt := 62 +feet.filename := standard +feet.custom_colors := true +feet.hue := 28 +feet.sat := 135 +feet.lgt := 62 -eyes_filename := standard -eyes_custom_colors := false +eyes.filename := standard +eyes.custom_colors := false diff --git a/data/skins/pinky.skn b/data/skins/pinky.skn index daf5e9142..db910115b 100644 --- a/data/skins/pinky.skn +++ b/data/skins/pinky.skn @@ -1,27 +1,27 @@ -body_filename := standard -body_custom_colors := true -body_hue := 242 -body_sat := 201 -body_lgt := 187 +body.filename := standard +body.custom_colors := true +body.hue := 242 +body.sat := 201 +body.lgt := 187 -tattoo_filename := whisker -tattoo_custom_colors := true -tattoo_hue := 243 -tattoo_sat := 198 -tattoo_lgt := 214 -tattoo_alp := 255 +tattoo.filename := whisker +tattoo.custom_colors := true +tattoo.hue := 243 +tattoo.sat := 198 +tattoo.lgt := 214 +tattoo.alp := 255 -hands_filename := standard -hands_custom_colors := true -hands_hue := 229 -hands_sat := 137 -hands_lgt := 218 +hands.filename := standard +hands.custom_colors := true +hands.hue := 229 +hands.sat := 137 +hands.lgt := 218 -feet_filename := standard -feet_custom_colors := true -feet_hue := 229 -feet_sat := 137 -feet_lgt := 218 +feet.filename := standard +feet.custom_colors := true +feet.hue := 229 +feet.sat := 137 +feet.lgt := 218 -eyes_filename := standard -eyes_custom_colors := false +eyes.filename := standard +eyes.custom_colors := false diff --git a/data/skins/redbopp.skn b/data/skins/redbopp.skn index e2b8243cd..b7e4a3291 100644 --- a/data/skins/redbopp.skn +++ b/data/skins/redbopp.skn @@ -1,33 +1,33 @@ -body_filename := standard -body_custom_colors := true -body_hue := 246 -body_sat := 216 -body_lgt := 108 +body.filename := standard +body.custom_colors := true +body.hue := 246 +body.sat := 216 +body.lgt := 108 -tattoo_filename := donny -tattoo_custom_colors := true -tattoo_hue := 2 -tattoo_sat := 217 -tattoo_lgt := 202 -tattoo_alp := 255 +tattoo.filename := donny +tattoo.custom_colors := true +tattoo.hue := 2 +tattoo.sat := 217 +tattoo.lgt := 202 +tattoo.alp := 255 -decoration_filename := unibop -decoration_custom_colors := true -decoration_hue := 246 -decoration_sat := 216 -decoration_lgt := 108 +decoration.filename := unibop +decoration.custom_colors := true +decoration.hue := 246 +decoration.sat := 216 +decoration.lgt := 108 -hands_filename := standard -hands_custom_colors := true -hands_hue := 246 -hands_sat := 216 -hands_lgt := 108 +hands.filename := standard +hands.custom_colors := true +hands.hue := 246 +hands.sat := 216 +hands.lgt := 108 -feet_filename := standard -feet_custom_colors := true -feet_hue := 116 -feet_sat := 85 -feet_lgt := 233 +feet.filename := standard +feet.custom_colors := true +feet.hue := 116 +feet.sat := 85 +feet.lgt := 233 -eyes_filename := standard -eyes_custom_colors := false +eyes.filename := standard +eyes.custom_colors := false diff --git a/data/skins/redstripe.skn b/data/skins/redstripe.skn index 7e62475c9..9a9dee5d9 100644 --- a/data/skins/redstripe.skn +++ b/data/skins/redstripe.skn @@ -1,23 +1,23 @@ -body_filename := standard -body_custom_colors := true -body_hue := 248 -body_sat := 214 -body_lgt := 123 +body.filename := standard +body.custom_colors := true +body.hue := 248 +body.sat := 214 +body.lgt := 123 -tattoo_filename := stripe -tattoo_custom_colors := false +tattoo.filename := stripe +tattoo.custom_colors := false -hands_filename := standard -hands_custom_colors := true -hands_hue := 0 -hands_sat := 0 -hands_lgt := 184 +hands.filename := standard +hands.custom_colors := true +hands.hue := 0 +hands.sat := 0 +hands.lgt := 184 -feet_filename := standard -feet_custom_colors := true -feet_hue := 149 -feet_sat := 4 -feet_lgt := 71 +feet.filename := standard +feet.custom_colors := true +feet.hue := 149 +feet.sat := 4 +feet.lgt := 71 -eyes_filename := standard -eyes_custom_colors := false +eyes.filename := standard +eyes.custom_colors := false diff --git a/data/skins/saddo.skn b/data/skins/saddo.skn index 6fc9d5c4a..85447d12b 100644 --- a/data/skins/saddo.skn +++ b/data/skins/saddo.skn @@ -1,27 +1,27 @@ -body_filename := standard -body_custom_colors := true -body_hue := 109 -body_sat := 109 -body_lgt := 127 +body.filename := standard +body.custom_colors := true +body.hue := 109 +body.sat := 109 +body.lgt := 127 -tattoo_filename := saddo -tattoo_custom_colors := true -tattoo_hue := 108 -tattoo_sat := 54 -tattoo_lgt := 68 -tattoo_alp := 255 +tattoo.filename := saddo +tattoo.custom_colors := true +tattoo.hue := 108 +tattoo.sat := 54 +tattoo.lgt := 68 +tattoo.alp := 255 -hands_filename := standard -hands_custom_colors := true -hands_hue := 55 -hands_sat := 141 -hands_lgt := 170 +hands.filename := standard +hands.custom_colors := true +hands.hue := 55 +hands.sat := 141 +hands.lgt := 170 -feet_filename := standard -feet_custom_colors := true -feet_hue := 88 -feet_sat := 97 -feet_lgt := 119 +feet.filename := standard +feet.custom_colors := true +feet.hue := 88 +feet.sat := 97 +feet.lgt := 119 -eyes_filename := standard -eyes_custom_colors := false +eyes.filename := standard +eyes.custom_colors := false diff --git a/data/skins/toptri.skn b/data/skins/toptri.skn index e464a85e4..663b021dd 100644 --- a/data/skins/toptri.skn +++ b/data/skins/toptri.skn @@ -1,23 +1,23 @@ -body_filename := standard -body_custom_colors := true -body_hue := 93 -body_sat := 95 -body_lgt := 163 +body.filename := standard +body.custom_colors := true +body.hue := 93 +body.sat := 95 +body.lgt := 163 -tattoo_filename := toptri -tattoo_custom_colors := false +tattoo.filename := toptri +tattoo.custom_colors := false -hands_filename := standard -hands_custom_colors := true -hands_hue := 55 -hands_sat := 141 -hands_lgt := 170 +hands.filename := standard +hands.custom_colors := true +hands.hue := 55 +hands.sat := 141 +hands.lgt := 170 -feet_filename := standard -feet_custom_colors := true -feet_hue := 88 -feet_sat := 97 -feet_lgt := 119 +feet.filename := standard +feet.custom_colors := true +feet.hue := 88 +feet.sat := 97 +feet.lgt := 119 -eyes_filename := standard -eyes_custom_colors := false +eyes.filename := standard +eyes.custom_colors := false diff --git a/data/skins/twinbop.skn b/data/skins/twinbop.skn index 6a4c79355..a0cf0beb0 100644 --- a/data/skins/twinbop.skn +++ b/data/skins/twinbop.skn @@ -1,33 +1,33 @@ -body_filename := standard -body_custom_colors := true -body_hue := 233 -body_sat := 158 -body_lgt := 183 +body.filename := standard +body.custom_colors := true +body.hue := 233 +body.sat := 158 +body.lgt := 183 -tattoo_filename := duodonny -tattoo_custom_colors := true -tattoo_hue := 231 -tattoo_sat := 146 -tattoo_lgt := 218 -tattoo_alp := 255 +tattoo.filename := duodonny +tattoo.custom_colors := true +tattoo.hue := 231 +tattoo.sat := 146 +tattoo.lgt := 218 +tattoo.alp := 255 -decoration_filename := twinbopp -decoration_custom_colors := true -decoration_hue := 233 -decoration_sat := 158 -decoration_lgt := 183 +decoration.filename := twinbopp +decoration.custom_colors := true +decoration.hue := 233 +decoration.sat := 158 +decoration.lgt := 183 -hands_filename := standard -hands_custom_colors := true -hands_hue := 233 -hands_sat := 158 -hands_lgt := 183 +hands.filename := standard +hands.custom_colors := true +hands.hue := 233 +hands.sat := 158 +hands.lgt := 183 -feet_filename := standard -feet_custom_colors := true -feet_hue := 0 -feet_sat := 146 -feet_lgt := 224 +feet.filename := standard +feet.custom_colors := true +feet.hue := 0 +feet.sat := 146 +feet.lgt := 224 -eyes_filename := standard -eyes_custom_colors := false +eyes.filename := standard +eyes.custom_colors := false diff --git a/data/skins/twintri.skn b/data/skins/twintri.skn index 16578aa67..c93bf8678 100644 --- a/data/skins/twintri.skn +++ b/data/skins/twintri.skn @@ -1,27 +1,27 @@ -body_filename := standard -body_custom_colors := true -body_hue := 52 -body_sat := 156 -body_lgt := 124 +body.filename := standard +body.custom_colors := true +body.hue := 52 +body.sat := 156 +body.lgt := 124 -tattoo_filename := twintri -tattoo_custom_colors := true -tattoo_hue := 40 -tattoo_sat := 219 -tattoo_lgt := 227 -tattoo_alp := 255 +tattoo.filename := twintri +tattoo.custom_colors := true +tattoo.hue := 40 +tattoo.sat := 219 +tattoo.lgt := 227 +tattoo.alp := 255 -hands_filename := standard -hands_custom_colors := true -hands_hue := 0 -hands_sat := 0 -hands_lgt := 184 +hands.filename := standard +hands.custom_colors := true +hands.hue := 0 +hands.sat := 0 +hands.lgt := 184 -feet_filename := standard -feet_custom_colors := true -feet_hue := 149 -feet_sat := 4 -feet_lgt := 71 +feet.filename := standard +feet.custom_colors := true +feet.hue := 149 +feet.sat := 4 +feet.lgt := 71 -eyes_filename := standard -eyes_custom_colors := false +eyes.filename := standard +eyes.custom_colors := false diff --git a/src/game/client/components/skins.cpp b/src/game/client/components/skins.cpp index 468162822..adcf7fdf7 100644 --- a/src/game/client/components/skins.cpp +++ b/src/game/client/components/skins.cpp @@ -140,8 +140,8 @@ int CSkins::SkinScan(const char *pName, int IsDir, int DirType, void *pUser) pStr = str_skip_whitespaces(pStr); char *pValue = pStr; - static const char *const apParts[6] = {"body_", "tattoo_", "decoration_", - "hands_", "feet_", "eyes_"}; + static const char *const apParts[6] = {"body.", "tattoo.", "decoration.", + "hands.", "feet.", "eyes."}; int Part = -1; for(int p = 0; p < NUM_SKINPARTS; p++) {