Changeset 7534 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 02/27/06 11:33:38 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MEnv.cc
r7458 r7534 124 124 switch (str.Hash()) 125 125 { 126 case (unsigned)-1920099718/*2374867578*/: return 0;// hollow127 case 764279305: return 1001;// solid128 case 1854683492 : return 2001; // hatch126 case 2374867578U: return 0; // hollow 127 case 764279305U: return 1001; // solid 128 case 1854683492U: return 2001; // hatch 129 129 } 130 130 … … 148 148 switch (str.Hash()) 149 149 { 150 case 764279305:return kSolid;151 case 241979881:return kDashed;152 case (unsigned)-1903324694: return kDotted;153 case 1124931659 : return kDashDotted;150 case 764279305U: return kSolid; 151 case 241979881U: return kDashed; 152 case 2391642602U: return kDotted; 153 case 1124931659U: return kDashDotted; 154 154 } 155 155 … … 255 255 switch (str.Hash()) 256 256 { 257 case (unsigned)-1926423925/*2368543371*/: return kWhite+offset;258 case 1814927399 : return kBlack+offset;259 case 7496964:return kRed+offset;260 case (unsigned)-1397860222/*2897107074*/: return kGreen+offset;261 case 1702194402 : return kBlue+offset;262 case (unsigned)-1920149414/* 2374817882*/: return kYellow+offset;263 case (unsigned)-1400748595/*2894218701*/: return kMagenta+offset;264 case 1851881955 : return kCyan+offset;265 case 749623518: return 19; // grey1266 case 749623517: return 18; // grey2267 case 749623516: return 17; // grey3268 case 749623515: return 16; // grey4269 case 749623514: return 15; // grey5270 case 749623513: return 14; // grey6271 case 749623512: return 13; // grey7272 case 749623511: return 12; // grey8273 case 741234910: return 19; // gray1274 case 741234909: return 18; // gray2275 case 741234908: return 17; // gray3276 case 741234907: return 16; // gray4277 case 741234906: return 15; // gray5278 case 741234905: return 14; // gray6279 case 741234904: return 13; // gray7280 case 741234903: return 12; // gray8257 case 2368543371U: return kWhite+offset; 258 case 1814927399U: return kBlack+offset; 259 case 7496964U: return kRed+offset; 260 case 2897107074U: return kGreen+offset; 261 case 1702194402U: return kBlue+offset; 262 case 2374817882U: return kYellow+offset; 263 case 2894218701U: return kMagenta+offset; 264 case 1851881955U: return kCyan+offset; 265 case 749623518U: return 19; // grey1 266 case 749623517U: return 18; // grey2 267 case 749623516U: return 17; // grey3 268 case 749623515U: return 16; // grey4 269 case 749623514U: return 15; // grey5 270 case 749623513U: return 14; // grey6 271 case 749623512U: return 13; // grey7 272 case 749623511U: return 12; // grey8 273 case 741234910U: return 19; // gray1 274 case 741234909U: return 18; // gray2 275 case 741234908U: return 17; // gray3 276 case 741234907U: return 16; // gray4 277 case 741234906U: return 15; // gray5 278 case 741234905U: return 14; // gray6 279 case 741234904U: return 13; // gray7 280 case 741234903U: return 12; // gray8 281 281 } 282 282 return str.Atoi();
Note:
See TracChangeset
for help on using the changeset viewer.